History log of /frameworks/base/tools/aapt/Command.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
57fe48389f845709db23234088b97f4e30307ff4 11-May-2017 Adam Lesinski <adamlesinski@google.com> AAPT: Allow including dependencies in dump command

Feature splits depend on their base. The dump badging command
does resource resolution, and needs to be able to find resources
located in the base APK of a feature split.

Bug: 38038608
Test: manual
Change-Id: I8c22f0083c46a853a3a56a4049715409ac2723fe
/frameworks/base/tools/aapt/Command.cpp
8c2df71739808d6f1aec4277fb47c191e7031164 21-Mar-2017 Guang Zhu <guangzhu@google.com> Revert "AAPT: Version <adaptive-icon> to v26"

Bug: 36462965
Bug: 35908647

This reverts commit c7614e5d1e8f9139cccf6ab9b78dda16b98f7656.

Change-Id: I25279e7c53823dad0703c7e2ea8ff91bdbc1a0f2
/frameworks/base/tools/aapt/Command.cpp
c7614e5d1e8f9139cccf6ab9b78dda16b98f7656 17-Mar-2017 Adam Lesinski <adamlesinski@google.com> AAPT: Version <adaptive-icon> to v26

Bug: 35908647
Change-Id: I307fb2f666cb8519adb9a7f676b87706dc6c683f
Test: manual
/frameworks/base/tools/aapt/Command.cpp
cd154e95353e7af11314d2339500d6c7f85e181a 01-Mar-2017 Dianne Hackborn <hackbod@google.com> Implement issue #34842682: Add ability to limit permissions based on features

Two new attributes for <uses-permission>: android:requiredFeature and
android:requiredNotFeature.

Also update aapt to include this information in badging:

uses-permission: name='android.content.cts.REQUIRED_NOT_FEATURE_UNDEFINED' requiredNotFeature='android.software.cts.undefined'
uses-permission: name='android.content.cts.REQUIRED_MULTI_DENY' requiredFeature='android.software.cts.undefined' requiredNotFeature='android.software.cts'

Test: new PermissionFeatureTest suite.

Change-Id: Icc1f815a4675ae9dd2cb7f61730ab28b5c11228a
/frameworks/base/tools/aapt/Command.cpp
2386df23ac9e932a385b9c2fbddbf9e445eaada0 28-Dec-2016 Adam Lesinski <adamlesinski@google.com> AAPT: Dump maxSdkVersion for implicit permissions

Bug: 32599997
Test: Manual
Change-Id: I13bdcf097625e3cb5fb35da1eb2544b0f8906e79
/frameworks/base/tools/aapt/Command.cpp
fcb5f7bf36cb77a359fd3fb01af7bf0140da16be 02-Nov-2016 Adam Lesinski <adamlesinski@google.com> AAPT: fix error message

Test: none
Bug:9779154
Change-Id: Iebda7d4f0061cdc51db0103977195964fcc1211d
/frameworks/base/tools/aapt/Command.cpp
a77685fa59a327b33e7acbcefe35e63243014cbd 04-Oct-2016 Adam Lesinski <adamlesinski@google.com> Remove unused methods from AssetManager.cpp

A lot of the vendor/locale specific code existed pre-1.0
and was reworked into the current system.

Test: refactoring CL, all code except setLocale() was not being executed.
Test: setLocale() change tested manually
Change-Id: Ifb098f9808763a6cf5fb4336e089430adc09e198
/frameworks/base/tools/aapt/Command.cpp
fd2cfb17e84b0ba1697dba8f6c1c9410669725df 22-Sep-2016 Adam Lesinski <adamlesinski@google.com> AAPT: Don't imply specific location hardware for dump badging am: 43158773b4 am: 7f56759cfd
am: 5c60cb9208

Change-Id: I7251036c3212a576fb68023d05687d0e10a9f6b5
5c60cb9208a9a8d2f6b05d341800097643615401 22-Sep-2016 Adam Lesinski <adamlesinski@google.com> AAPT: Don't imply specific location hardware for dump badging am: 43158773b4
am: 7f56759cfd

Change-Id: Id54d729793267634f1ade9073395ed6d6921ce60
43158773b469c2d5b23e52998d0afba9a4b34323 12-Nov-2015 Adam Lesinski <adamlesinski@google.com> AAPT: Don't imply specific location hardware for dump badging

Permissions such as android.permission.ACCESS_FINE_LOCATION
and android.permission.ACCESS_COARSE_LOCATION assumed the underlying feature
technology and aapt dump badging would emit an implied feature.

This is no longer accurate, so the only implied feature is on the general
android.hardware.location when the target SDK of the app is 21+.

Bug:25218770
Change-Id: Ica9ebf7d4f360b137af54a8c8fd6c0358cd9be6a
/frameworks/base/tools/aapt/Command.cpp
84717d4118cff0790aecd8365029200e36a47bba 12-Aug-2016 Chih-Hung Hsieh <chh@google.com> resolve merge conflicts of 17bd236 to stage-aosp-master am: b3d46b44a3
am: c76aa69207

Change-Id: I6bb066d131dde297612c5dcbf5051f4964e62a8b
b3d46b44a399ba0a9b14caac8603db15089ab55b 12-Aug-2016 Chih-Hung Hsieh <chh@google.com> resolve merge conflicts of 17bd236 to stage-aosp-master

Change-Id: I08d4500aaa378b08d41e8d046c62101e08dbfba8
8bd37ba458633ee7b2aeec0a7593817000aa84b2 10-Aug-2016 Chih-Hung Hsieh <chh@google.com> Fix clang-tidy warnings in aapt and aapt2.

* Add explicit keyword to conversion constructors.
* Add NOLINT(implicit) comments for implicit conversion constructors.
Bug: 28341362
* Use const reference type for read-only parameters.
Bug: 30407689
* Use const reference type to avoid unnecessary copy.
Bug: 30413862
Test: build with WITH_TIDY=1

Change-Id: Id6d21961f313a1ad92b15a37fdaa5be9e8ab48e1
Merged-In: Id6d21961f313a1ad92b15a37fdaa5be9e8ab48e1
/frameworks/base/tools/aapt/Command.cpp
9b8528fee4eed35b8e887ded0851d08eb2b10db6 10-Aug-2016 Chih-Hung Hsieh <chh@google.com> Fix clang-tidy warnings in aapt and aapt2.

* Add explicit keyword to conversion constructors.
* Add NOLINT(implicit) comments for implicit conversion constructors.
Bug: 28341362
* Use const reference type for read-only parameters.
Bug: 30407689
* Use const reference type to avoid unnecessary copy.
Bug: 30413862
Test: build with WITH_TIDY=1

Change-Id: Id6d21961f313a1ad92b15a37fdaa5be9e8ab48e1
/frameworks/base/tools/aapt/Command.cpp
72979573d925d4def627d7fef29ea8ee920c934e 02-Aug-2016 Adam Lesinski <adamlesinski@google.com> AAPT: faketouch feature implied if no touchscreen feature requested. am: ca955a4c3a am: 76cbcd495e
am: 12e5b87771

Change-Id: Idf7c77d4122ab88b0fe1a1b3c42a196fd532d45c
ca955a4c3ab3d4b83c6e9d5278bcd8d2258d44ad 02-Aug-2016 Adam Lesinski <adamlesinski@google.com> AAPT: faketouch feature implied if no touchscreen feature requested.

This changes the default implied feature of 'android.hardware.touchscreen'
to 'android.hardware.faketouch' if no 'android.hardware.touchscreen'
feature is requested, required or otherwise.

Bug:30571641
Change-Id: I1e41242d4b1dc549cf69741d2a309baf476d084e
/frameworks/base/tools/aapt/Command.cpp
10de3af152fc8612db08f3787fd17e70122b7486 13-Jul-2016 Adam Lesinski <adamlesinski@google.com> AAPT: Improve debuggability of aapt dump badging errors

AAPT dump badging errors have been cryptic and difficult
to debug for app developers. Added some line info to the
error statements.

Change-Id: Ieeeb903a1274a91b77329b445e0248b1e67c9568
/frameworks/base/tools/aapt/Command.cpp
d53e3bed1ca4a14b2a86d53eaef6969bd043176e 03-May-2016 Chih-Hung Hsieh <chh@google.com> Fix google-explicit-constructor warnings.

Bug: 28341362
Change-Id: I080090d50f1a368a4e7c1a0732297bb6a295e34f
/frameworks/base/tools/aapt/Command.cpp
0d9f32da56fe19d985cf1d35d07e5e6909923a9a 28-Apr-2016 Adam Lesinski <adamlesinski@google.com> Merge "AAPT: ProGuard config for components in main dex." am: da66fa7526
am: 1d58c18081

* commit '1d58c18081a2f17afc964de2f261a699e11d6f02':
AAPT: ProGuard config for components in main dex.

Change-Id: I156e1805ad64798be891747a81561589d9543424
682583c8902efbd33d4394131a2214ce94469535 22-Apr-2016 Rohit Agrawal <rohitagr@google.com> AAPT: ProGuard config for components in main dex.

Create an analogue of "aapt -G" which outputs a proguard configuration
that keeps only components which need to be in the main dex.

Bug: 27383099
Bug: 28425556

Change-Id: Ic18c8c563794ff27a5598a214111d1b446a005f1
(cherry picked from commit 86229cb622fccde8ab8cbe85eead91a34313a708)
/frameworks/base/tools/aapt/Command.cpp
6ba873faec0d165b74acfecf1533f58433d431e9 22-Apr-2016 Rohit Agrawal <rohitagr@google.com> AAPT: ProGuard config for components in main dex.

Create an analogue of "aapt -G" which outputs a proguard configuration
that keeps only components which need to be in the main dex.

BUG: 27383099

Change-Id: Ic18c8c563794ff27a5598a214111d1b446a005f1
(cherry picked from commit 86229cb622fccde8ab8cbe85eead91a34313a708)
/frameworks/base/tools/aapt/Command.cpp
86229cb622fccde8ab8cbe85eead91a34313a708 22-Apr-2016 Rohit Agrawal <rohitagr@google.com> AAPT: ProGuard config for components in main dex.

Create an analogue of "aapt -G" which outputs a proguard configuration
that keeps only components which need to be in the main dex.

BUG: 27383099

Change-Id: Ic18c8c563794ff27a5598a214111d1b446a005f1
/frameworks/base/tools/aapt/Command.cpp
694d0a7dfd281060c9f8d92a79bda1b7071affe3 07-Apr-2016 Adam Lesinski <adamlesinski@google.com> AAPT: Dump uses-feature version in dump badging

Bug:27162500
Change-Id: I4f82cdd8ef1801c92d4ea6b4bb982c6e7d91edb5
/frameworks/base/tools/aapt/Command.cpp
087e0fcba687bce677f39fd2b708a9cbb1defcd0 17-Dec-2015 Adam Lesinski <adamlesinski@google.com> DO NOT MERGE: AAPT: Dump uses-permission-sdk-23 am: b2c5155638 am: 40d1ab91d2 am: 8c9209183f am: 7f5ad22330
am: 1f7a36b8e6

* commit '1f7a36b8e6aa55dcb22a63c250fb318260ac349f':
DO NOT MERGE: AAPT: Dump uses-permission-sdk-23
b2c51556382acd3981e5a6380e2fb3d85c2f68a5 03-Dec-2015 Adam Lesinski <adamlesinski@google.com> DO NOT MERGE: AAPT: Dump uses-permission-sdk-23

Include <uses-permission-sdk-23> permissions in dump badging and dump permissions.

This will also add implied features for that permission, marked as -sdk-23 features.

Ex:

uses-permission: name='android.permission.ACCESS_FINE_LOCATION'
uses-permission-sdk-23: name='android.permission.CAMERA'

feature-group: label=''
uses-feature: name='android.hardware.location'
uses-implied-feature: name='android.hardware.location' reason='...'
uses-feature-sdk-23: name='android.hardware.camera'
uses-implied-feature-sdk-23: name='android.hardware.camera' reason='...'

Bug:24939655
Change-Id: Ifb374696ed4760b0ba2f1cc3516f3bf08e6cb6a3
(cherry picked from commit 5f3b2ecb3e9d27e77bd59c7b9006a6239b773944)
/frameworks/base/tools/aapt/Command.cpp
5f3b2ecb3e9d27e77bd59c7b9006a6239b773944 03-Dec-2015 Adam Lesinski <adamlesinski@google.com> AAPT: Dump uses-permission-sdk-23

Include <uses-permission-sdk-23> permissions in dump badging and dump permissions.

This will also add implied features for that permission, marked as -sdk-23 features.

Ex:

uses-permission: name='android.permission.ACCESS_FINE_LOCATION'
uses-permission-sdk-23: name='android.permission.CAMERA'

feature-group: label=''
uses-feature: name='android.hardware.location'
uses-implied-feature: name='android.hardware.location' reason='...'
uses-feature-sdk-23: name='android.hardware.camera'
uses-implied-feature-sdk-23: name='android.hardware.camera' reason='...'

Bug:24939655
Change-Id: Ifb374696ed4760b0ba2f1cc3516f3bf08e6cb6a3
/frameworks/base/tools/aapt/Command.cpp
a6d7e3fb9c9233b9ae46b702d17433854c43d6a0 02-Sep-2015 Tao Bai <michaelbai@google.com> Load app resource as shared library.

- Added aapt command line flag --app-as-shared-lib to build app resources
that could be loaded as shared lib at runtime.
- Added new method AssetManager.addAssetPathAsSharedLibrary() to load an
app resource as shared library.

Bug 22487604

Change-Id: Ib9b33c35f9c2b7129f3ba205de03d4564623ea39
/frameworks/base/tools/aapt/Command.cpp
ba3fe56edc1da4dad0d831a1892e7b1c3c20c437 12-Aug-2015 Elliott Hughes <enh@google.com> Lose HAVE_ANDROID_OS from frameworks/base.

Change-Id: I713881fdbaec7cbbb5e7f2f4be6f9b8be3d2ca4e
/frameworks/base/tools/aapt/Command.cpp
4308c2aea45a4780b460734ee8634d74205c15c5 10-Feb-2015 Chris Warrington <cmw@google.com> am 510c24e8: Merge "Fix AAPT daemon mode with paths containg spaces." into lmp-mr1-dev
automerge: 4499888

* commit '449988872be61f273c91db13069d5b7172429032':
Fix AAPT daemon mode with paths containg spaces.
de3ab0a9e8609f6a631b2c047f352069bb9cfa86 10-Feb-2015 Chris Warrington <cmw@google.com> Fix AAPT daemon mode with paths containg spaces.

Use new line as a delimiter rather than space.
Fixes: https://code.google.com/p/android/issues/detail?id=135757
Gradle CL: https://android-review.googlesource.com/130423

Change-Id: I7c73e680b0417b0e7cff9e0110822675c53ae20f
/frameworks/base/tools/aapt/Command.cpp
55188f591844ce34e9c1862f10a85d89fa20cb91 09-Dec-2014 Adam Lesinski <adamlesinski@google.com> am c765655a: am fbba9b57: Merge "AAPT: Dump status of required flag for uses-feature" into lmp-mr1-dev

* commit 'c765655ae1ae35f9d5f0958295f0b71270132ca7':
AAPT: Dump status of required flag for uses-feature
73a05114b051c6dcf5e5126ac94eaf8cac0ab289 08-Dec-2014 Adam Lesinski <adamlesinski@google.com> AAPT: Dump status of required flag for uses-feature

Outside of a feature-group, the legacy uses-feature tag
has a boolean required flag that should be emitted in
dump badging.

Bug:17790999
Change-Id: I43023af00e9c9ed4bc35795c3a983fc719bf9b7a
/frameworks/base/tools/aapt/Command.cpp
a9aecc0c29ce9b9692b9b317559f83b2520dcc43 24-Oct-2014 Tim Kilbourn <tkilbourn@google.com> Merge "aapt updates for Android TV" into lmp-mr1-dev automerge: 6af7d76
automerge: 181c18e

* commit '181c18efd438f7a5e8cc18327367c49bf51795be':
aapt updates for Android TV
d9b1cad71e8aaf94e7738d2e47d3a06daa3cdf2d 24-Oct-2014 Tim Kilbourn <tkilbourn@google.com> aapt updates for Android TV

- Output whether an app claims to be a game (android:isGame)
- Output android:banner if it is specified at the application level.

Change-Id: I7118b524f62cdfc4effeef21b32b3cdd814d9bfa
/frameworks/base/tools/aapt/Command.cpp
b51644c3c7d428d92202c2c6a8f6ba69700a71f1 11-Oct-2014 Jerome Dochez <jedo@google.com> am e36550dc: am 0757e5fd: am c9c512e0: am f47f8855: Merge "Added a daemon mode to aapt to receive streams of commands from gradle." into lmp-dev

* commit 'e36550dc9e202450d0921bf65d00d14e7e3e8a54':
Added a daemon mode to aapt to receive streams of commands from gradle.
6f1280cf170b358a57ff70341a9f2ad224e5a662 26-Sep-2014 Jerome Dochez <jedo@google.com> Added a daemon mode to aapt to receive streams of commands from gradle.

When crunching png, we used to spawn a separate aapt process from java
which is slow and resource intensive.
Introduced a daemon mode to appt which when invoked with -m parameter
will listen from commands on stdin and give report of command execution
on stdout.

One one command is supported so far :
s f1 f2

This command perform a single png crunch, f1 pointing to the input
png file to crunch, and f2 pointing to the path for the resulting
crunced file.

Expected output from the command is "Done" or "Error".

Change-Id: Iaf1d865e8d5ee5d36abe39dea6443715865a98d3
/frameworks/base/tools/aapt/Command.cpp
5e77475b5d1de1fecbaf5b3e27988a255a3c399e 02-Oct-2014 Andreas Gampe <agampe@google.com> am 152d9aae: am 31629651: Merge "Frameworks/base: Fix more aapt issues"

* commit '152d9aae631381ea28f5701168d372a1486a7502':
Frameworks/base: Fix more aapt issues
b8dc7bc582ee4acd9d6c1379701a002c5ddbe323 02-Oct-2014 Andreas Gampe <agampe@google.com> Frameworks/base: Fix more aapt issues

Change-Id: I6da7dc674e9f9e3b0886a3cfd1e3194d6b5ac948
/frameworks/base/tools/aapt/Command.cpp
0bdcb84b55bd94843081ba45e95256e0655e99b7 11-Sep-2014 Marcin Kosiba <mkosiba@google.com> am 972628dc: am 5128e88e: Merge "Don\'t use reflection when generating the onResourcesLoaded callback." into lmp-dev

* commit '972628dc8c63b02b75f9e976b3ab67e3913da1a8':
Don't use reflection when generating the onResourcesLoaded callback.
0f3a5a6559a955ea20f1ae2d3e0995f3fa821c90 11-Sep-2014 Marcin Kosiba <mkosiba@google.com> Don't use reflection when generating the onResourcesLoaded callback.

BUG: 17466240
Change-Id: I74608f3d8b3617281639a9d387face97e15fb616
/frameworks/base/tools/aapt/Command.cpp
6800165351b693fa7e4bcf0f205655f0cd16b361 09-Sep-2014 Dan Albert <danalbert@google.com> resolved conflicts for merge of 1d99636f to lmp-dev-plus-aosp

Change-Id: Ic5f808de7d9722056112c6a73c718892e00bc9df
8085477fb98eab36bbc8c3e9add76f398235b469 09-Sep-2014 Dan Albert <danalbert@google.com> Merge "Don't check for null references."
a8995adc2b363811482c38009f64992b322efaad 09-Sep-2014 Dan Albert <danalbert@google.com> Don't check for null references.

The address of a reference will never be null in well formed C++ code.
The function returning the value being checked simply returns a
dereferenced pointer (which is just going to segfault if it is null!).

Change-Id: I3a4eb6adfc003c63ebf21b81d46088d52154d99d
/frameworks/base/tools/aapt/Command.cpp
f348c15ecf78e9d58b8238ffcf1d78a279e3a862 09-Sep-2014 Dan Albert <danalbert@google.com> Use char16_t for char things.

When compiling in C++ mode, the compiler will complain about conversions
from uint16_t to char16_t. Be consistent in using char16_t for strings.

Change-Id: I052b6176ced635162920b31560052d9a64f92764
/frameworks/base/tools/aapt/Command.cpp
5283faba4a75a4d1fd9990637d22768e423895e3 29-Aug-2014 Adam Lesinski <adamlesinski@google.com> Change platformBuildVersionCode to name in aapt dump badging

Change-Id: Ie3972105b3f6a727682f91851f7a99b05bb28e1a
/frameworks/base/tools/aapt/Command.cpp
ad2d07d2d98a46babb2a9472413fe9ce5080ca76 28-Aug-2014 Adam Lesinski <adamlesinski@google.com> Stamp platform version code into app Apks

The versionCode of theframework resources that an app is built against
gets stamped inside an app's AndroidManifest.xml in the <manifest>
tag as "platformBuildVersionCode" and "platformBuildVersionName"
attributes.

Bug:17207635
Change-Id: Id573c3dffcbca38eec9c0eb3e89f4a547e3361d3
/frameworks/base/tools/aapt/Command.cpp
1e466385d4a4f1acee080fa0fdf16cc8fd8ce7ca 15-Aug-2014 Adam Lesinski <adamlesinski@google.com> Have R classes generate their own reference rewrite logic

Change-Id: I0e5b8311fc3479d966a49f9acf0d4c32a6a024d3
/frameworks/base/tools/aapt/Command.cpp
caf797c84a6a2829662872e0df93fcd61da78d51 22-Aug-2014 Adam Lesinski <adamlesinski@google.com> AAPT: Dump installLocation in badging

Bug:17033144
Change-Id: I87dea9af47eef8bcba1465df9b49e355ac6346ec
/frameworks/base/tools/aapt/Command.cpp
ad751224401564dcc8338df3d5c4c5de7722be8f 18-Aug-2014 Adam Lesinski <adamlesinski@google.com> Include build number in aapt version

Teams are constantly confused over which version of aapt
they are running. Include the build number from the
Android build system in the binary. Can be retrieved by executing
'aapt version'.

Change-Id: I9165c7d01f977344e143c2cb4dd963310ab28b72
/frameworks/base/tools/aapt/Command.cpp
9a9a17eb07e748542dc8eff15daef1eccfa5717d 19-Aug-2014 Adam Lesinski <adamlesinski@google.com> Revert "Include build number in aapt version"

This reverts commit a7ce555ee82ed91345a54ee171dc9a415b65e134.

Change-Id: I1018747766963e75bec11ddb01ba6d138f133959
/frameworks/base/tools/aapt/Command.cpp
71809ee7f63229d0ea4f6169922ddfbfee330fd2 18-Aug-2014 Adam Lesinski <adamlesinski@google.com> Include build number in aapt version

Teams are constantly confused over which version of aapt
they are running. Include the build number from the
Android build system in the binary. Can be retrieved by executing
'aapt version'.

Change-Id: Ie4692fb160c7cbe720a8e76b73e435170214fe0e
/frameworks/base/tools/aapt/Command.cpp
e47fd129057b19862e94b89f9ba413b5ceaca498 16-Aug-2014 Adam Lesinski <adamlesinski@google.com> AAPT: Output only 64-bit arch when multiArch is true

When android:multiArch="true" in the <application> tag,
aapt dump badging should only output the 64-bit architecture
under the 'native-code' entry.

Other architectures will be emitted under the 'alt-native-code'
entry.

Bug:17061929
Change-Id: I8310b2388b06a2ed571e5e121e4989403082ba68
/frameworks/base/tools/aapt/Command.cpp
91306bccf16715f0867a10f3537122179527f7c3 16-Aug-2014 Adam Lesinski <adamlesinski@google.com> Merge "Add FeatureGroup to PackageInfo" into lmp-dev
d3edfde51bd069a63e820282421d1a534fcf00ce 09-Aug-2014 Adam Lesinski <adamlesinski@google.com> Add FeatureGroup to PackageInfo

FeatureGroups replace top-level FeatureInfo objects.
FeatureGroups inherit top-level FeatureInfos but override
them if the feature names are the same.

Bug:16822121

Change-Id: I80b2cb778a0fbcb4521efce986fba641e0914290
/frameworks/base/tools/aapt/Command.cpp
2cb761e3ddb9d68ab430013e9cd15ecaab9fbc62 15-Aug-2014 Adam Lesinski <adamlesinski@google.com> Fix assumption about DynamicRefTable in aapt

Packages without any resources should not expect to have
a DynamicRefTable.

Bug:16895517
Bug:17056720
Change-Id: Id006f6bdbf08f30505f6ba5982bc9d1b09db0f0a
/frameworks/base/tools/aapt/Command.cpp
25d35a9d68fed6304352d0bfc2e0d581ed47f8b5 11-Aug-2014 Adam Lesinski <adamlesinski@google.com> AAPT: Dump an APK's split name attribute

Bug:16919497

Change-Id: I109e21bff9e4a64a10f48dce7f2d41102b32ee1d
/frameworks/base/tools/aapt/Command.cpp
c2dea8daea2ae0001d56689d96ce1066012b7b40 05-Aug-2014 Adam Lesinski <adamlesinski@google.com> Modify base Configuration used for aapt dump badging

Some apps don't provide defaults when providing icons
for different screen sizes, so use a configuration
that has a screen size set to NORMAL.

Change-Id: If4b9eebd37e5d2e2991301d09ff5c39dd41c1565
/frameworks/base/tools/aapt/Command.cpp
63e646eed5a8d7f5d04544ac8628f65b0173cf3a 30-Jul-2014 Adam Lesinski <adamlesinski@google.com> Add shared library support to aapt dump

AAPT dump should be able to handle dynamic references
that often come with shared library resources.

Bug:16678251
Change-Id: I6c8cd943145aab20ca9db9694c8c433b3c64279b
/frameworks/base/tools/aapt/Command.cpp
d7a94da476e9b783acf0673ed938cc3fc2cc6ba5 25-Jul-2014 Adam Lesinski <adamlesinski@google.com> Have AEP GL feature depend on GLES 3.1 in badging

AAPT dump badging should output the uses-gl-es tag with
a version of 3.1 when android.hardware.opengles.aep is
declared as a feature.

Change-Id: I8affc6dad574c8303c6ba9810ad8e6e205ea9506
/frameworks/base/tools/aapt/Command.cpp
2c72b6822debb08fe997926eedc110f62d287d34 24-Jun-2014 Adam Lesinski <adamlesinski@google.com> Add <feature-group> tag and change aapt badging

A <feature-group> represents a set of features required
for an app to be compatible with a device. Multiple
<feature-group> elements represent a logical 'or'
of required features.

Features defined in the old way with <uses-feature> tags
under the <manifest> tag are automatically added to each
feature-group defined.

Defining a <feature-group> means that any default
features are not included (such as android.hardware.touchscreen)
and declared permissions do not imply any features.

Change-Id: I45626f0fdc546e47bcf2aead7ef05ebcca12b023
/frameworks/base/tools/aapt/Command.cpp
eb8d1be6acad180eabde84f19196b9ecaba81353 25-Jun-2014 John Spurlock <jspurlock@google.com> Add a BIND_DREAM_SERVICE signature-level permission.

Starting in api 21, will be required to bind to a
declared dream or doze service.

Also added to aapt dump badging output.

Bug:15862654
Change-Id: Ifa0a594eeecf21e6146176c7810a847e1d08fe3b
/frameworks/base/tools/aapt/Command.cpp
9d5b08ea8c1eef6658418b33090a6a8142d75208 25-Apr-2014 Adam Lesinski <adamlesinski@google.com> Dump more info about behaviors an APK offers

Behaviors include things like print services,
custom launchers, camera apps, etc.

Bug:13748429

Change-Id: I9fb83bac95b1be61fc630c1e74daf0f4a8b9b27f
/frameworks/base/tools/aapt/Command.cpp
25e9d55e964c180ec6e57ba1d977d6c2e1115f5a 20-May-2014 Adam Lesinski <adamlesinski@google.com> Don't dump data from a bad ResTable

AAPT dumps data from a bad ResTable, which
causes crashes. Prevent this by checking if
there were errors when creating the ResTable.

Bug:14902008
Change-Id: I5e04ebf967c60b78c511dd175785a13bca52f09a
/frameworks/base/tools/aapt/Command.cpp
9e1e95f6e3af79f0d659afa2476e462fdac2f5e2 15-May-2014 Adam Lesinski <adamlesinski@google.com> Merge "AAPT dump badging should allow refs in meta-data"
b71adb6571aa740f4fa794602133f708e1b96545 15-May-2014 Adam Lesinski <adamlesinski@google.com> AAPT dump badging should allow refs in meta-data

The framework allows references in the <meta-data>
element in an AndroidManifest.xml, so badging should
do the same.

Bug:14088271
Change-Id: Ia8157655e21adaf11b7ace90a98a9cca3c8a476c
/frameworks/base/tools/aapt/Command.cpp
4c1227e448c938eb2deb431336abb9e67d6e1099 15-May-2014 Adam Lesinski <adamlesinski@google.com> Merge "Fix crash in AAPT dump badging with bad StringPool"
9cb2c68fafce55d43aacb2202deb882b986fa237 15-May-2014 Adam Lesinski <adamlesinski@google.com> Fix crash in AAPT dump badging with bad StringPool

With a malformed StringPool, AAPT dump badging would
crash trying to retrieve the name of an XML tag.

Bug:14658555
Change-Id: I6aa6c53c60b20725a461da2d3a39685c174b4d35
/frameworks/base/tools/aapt/Command.cpp
3921e87e6e67a063caa1987937d7944b24aef489 13-May-2014 Adam Lesinski <adamlesinski@google.com> Quick fix to ensure mipmap doesn't get stripped by AAPT

This is a quick fix. A refactoring is already underway to properly
solve this problem.

Bug:14857725
Change-Id: Ic0c475aa0b180803a687904ad9f71eb87e137a25
/frameworks/base/tools/aapt/Command.cpp
fab50875b98e8274ac8ee44b38ba42521bbbf1f9 16-Apr-2014 Adam Lesinski <adamlesinski@google.com> Add support for building split APKs

Build multiple APKs, each containing a disjoint subset
of configurations. These can then be loaded into the device
AssetManager and should operate as if they were never split.

Use the idea of building multiple sets of files, where each
set represents an APK. An ApkBuilder can place files
in a set based on its configuration, but you can actually
add directly to a set, in the case of the resources.arsc and
generated AndroidManifest.xml for splits.

Change-Id: Ic65d3f0ac1bbd290185695b9971d425c85ab1de3
/frameworks/base/tools/aapt/Command.cpp
4b0ee78bfa0df6e278c7327822fd9a0eff52b584 19-Apr-2014 Elliott Hughes <enh@google.com> resolved conflicts for merge of 56ca8219 to master

Change-Id: I62f5804a5c4404eedce09188cda2e3b1bb990b36
56ca82191231f3aba1132e3db06e7e09a10ec6dc 19-Apr-2014 Elliott Hughes <enh@google.com> resolved conflicts for merge of ec42199a to klp-modular-dev-plus-aosp

Change-Id: I9ecd5d51be4d073ab93dbb0bd60097735e76bf94
a2ef5c0d4fb863c0382e77ae00f986a019b11cbe 12-Mar-2014 Anton Krumin <antkrumin@google.com> Pseudolocalizer improvements.

Fixes accented pseudolocalization and adds RTL pseudolocale.

This change contains following modifications in the pseudolocalization logic:
1) zz_ZZ pseudolocale was removed;
2) en_XA pseudolocale was added for pseudo-accented;
3) ar_XB pseudolocale was added for pseudo-rtl;
4) Pseudo RTL localization functionality was implemented;
5) Text expansion functionality was implemented;
6) Text bracketing was implemented;
7) Couple of issues of previous implementation were fixed.

Change-Id: I9f7f27bed717e39e82717d15c398decffc8bec3c
Signed-off-by: Anton Krumin <antkrumin@google.com>
/frameworks/base/tools/aapt/Command.cpp
9eaaaf0fe3917f4fec85d3e45da37914654847ec 08-Mar-2014 Tim Kilbourn <tkilbourn@google.com> resolved conflicts for merge of a81ee86b to master

Change-Id: I7be3a64261d2405eda55b43c02b47657f393c095
032305fbcf1f1923030723d60621d8bbfa138511 08-Mar-2014 Tim Kilbourn <tkilbourn@google.com> am b559b371: Merge "Dump leanback info in aapt dump badging." into klp-modular-dev

* commit 'b559b37150d24411f0b5ef102ced8d5acf858a0e':
Dump leanback info in aapt dump badging.
0a5a5d6996e54a927af750e122a1275d64f77ee5 08-Mar-2014 Tim Kilbourn <tkilbourn@google.com> Dump leanback info in aapt dump badging.

Leanback launcher activities are reported, including the banner.

Change-Id: Ifa496736ad3ba4239ec95e166768af895ff4dc53
/frameworks/base/tools/aapt/Command.cpp
8c1fc83445f8dce7e6d0789feeed8bf98d33bf01 17-Feb-2014 Narayan Kamath <narayan@google.com> am 28879bbf: am be57fca4: Merge "Extended locales in AAPT / AssetManager."

* commit '28879bbfe89dc4bf2067a7183975ecffb82f68e6':
Extended locales in AAPT / AssetManager.
788fa41482b9d398591b7db8b0b01839029611ad 21-Jan-2014 Narayan Kamath <narayan@google.com> Extended locales in AAPT / AssetManager.

Support 3 letter language codes, script codes &
variants. The bulk of the changes are related to
the implementation of command line filtering of
locales etc. The previous code assumed that the
value of each "axis" (locale, density, size etc.)
could be represented by a 4 byte type. This is
no longer the case.

This change introduces a new class, AaptLocaleValue
which holds a (normalized) locale parsed from a
directory name or a filter string. This class takes
responsibility for parsing locales as well as
writing them to ResTable_config structures, which is
their representation in the resource table.

This includes minor changes at the java / JNI level
for AssetManager. We now call locale.toLanguageTag()
to give the native layer a well formed BCP-47 tag.
I've removed some duplicated parsing code in
AssetManager.cpp and replaced them with functions on
ResTable_config. The native getLocales function has
been changed to return well formed BCP-47 locales as
well, so that the corresponding java function can use
Locale.forLanguageTag to construct a Locale object
out of it.

Finally, this change introduces default and copy
constructors for ResTable_config to prevent having
to memset() the associated memory to 0 on every
stack allocation.

(cherry-picked from commit 91447d88f2bdf9c2bf8d1a53570efef6172fba74)

Change-Id: I1b43086860661012f949fb8e5deb7df44519b854
/frameworks/base/tools/aapt/Command.cpp
91447d88f2bdf9c2bf8d1a53570efef6172fba74 21-Jan-2014 Narayan Kamath <narayan@google.com> Extended locales in AAPT / AssetManager.

Support 3 letter language codes, script codes &
variants. The bulk of the changes are related to
the implementation of command line filtering of
locales etc. The previous code assumed that the
value of each "axis" (locale, density, size etc.)
could be represented by a 4 byte type. This is
no longer the case.

This change introduces a new class, AaptLocaleValue
which holds a (normalized) locale parsed from a
directory name or a filter string. This class takes
responsibility for parsing locales as well as
writing them to ResTable_config structures, which is
their representation in the resource table.

This includes minor changes at the java / JNI level
for AssetManager. We now call locale.toLanguageTag()
to give the native layer a well formed BCP-47 tag.
I've removed some duplicated parsing code in
AssetManager.cpp and replaced them with functions on
ResTable_config. The native getLocales function has
been changed to return well formed BCP-47 locales as
well, so that the corresponding java function can use
Locale.forLanguageTag to construct a Locale object
out of it.

Finally, this change introduces default and copy
constructors for ResTable_config to prevent having
to memset() the associated memory to 0 on every
stack allocation.

Change-Id: I899a56a9a182ee6be52b9389d1ae59266f5482e9
/frameworks/base/tools/aapt/Command.cpp
94c40a4cf90933216e6d656213dfdfa19c68a9c3 04-Feb-2014 Adam Lesinski <adamlesinski@google.com> resolved conflicts for merge of 1b5b60d6 to master

Change-Id: I2b713a55fcdf02c01afa99f175bf14248f210460
203356a34a82bfc759be02dfa1caa4529dce0732 04-Feb-2014 Adam Lesinski <adamlesinski@google.com> Merge "Add support for multiple asset dirs (-A)" into klp-modular-dev
f85e41f29a0e9313c2d4725f9d9648591ea49f3b 24-Jan-2014 Narayan Kamath <narayan@google.com> AssetManager cookies are now int32_t, not void*.

Change-Id: Id383e31922ca81c52dad52d422c5c1ab1a1365ce
/frameworks/base/tools/aapt/Command.cpp
58f1f3617cb6d96e3f3cf3d5c99004a362f0a61e 12-Nov-2013 Adam Lesinski <adamlesinski@google.com> Dump maxSdk of uses-permission during badging

If the manifest specifies a maxSdkVersion for which to
stop granting a certain permission, output that value
when dumping badging.

bug:11630700
Change-Id: I922a3186340383828e1af3ce0815efb407d9d535
/frameworks/base/tools/aapt/Command.cpp
2675f769673f69b0661ddee346292f25cb30a296 23-Oct-2013 Maurice Chu <mochu@google.com> Escape strings that are output by aapt dump badging

Also, changed getComponentName() to output a String8 object
instead of a const char * because the const char * is an internal
buffer of a String8 object which gets immediately destroyed
after returning from getComponentName().

Bug: 11329761
Change-Id: Ic459dec0ad3b20162c36de0ee492bcc022863b12
/frameworks/base/tools/aapt/Command.cpp
76327314d2238e105f8b94909f9c0cf85caca318 17-Oct-2013 Maurice Chu <mochu@google.com> Fix aapt when outputting meta-data tag values

This fixes outputting string as well as not crashing when the
<meta-data> element has an "android:resource" attribute instead
of an "android:value" attribute.

Bug: 11255844
Change-Id: Iadb62b5dcb18ea3db8dbd2ba3241f489606d535d
/frameworks/base/tools/aapt/Command.cpp
94fc9124f51f0a101cc11e4563f9c647980fe2aa 01-Oct-2013 Adam Lesinski <adamlesinski@google.com> resolved conflicts for merge of 0c923b7c to master

Change-Id: I4f314b48c7714706329509d931d2c53079f5e248
/frameworks/base/tools/aapt/Command.cpp
a5018c900f126ee8424c82497f32983873db741b 01-Oct-2013 Adam Lesinski <adamlesinski@google.com> resolved conflicts for merge of 5223a5ff to master

Change-Id: I6523e4b7df88f21fbe0ecd3ab8f493e5a9867305
/frameworks/base/tools/aapt/Command.cpp
ec4fdec76f2916b91a69d979f400cd69a3812631 07-Sep-2013 Michael Wright <michaelwr@google.com> Add support for supports-input element to aapt

Change-Id: Ie8c8c44f126383c351f2ebb9ae7c3694fb0a9b16
/frameworks/base/tools/aapt/Command.cpp
282e181b58cf72b6ca770dc7ca5f91f135444502 24-Jan-2014 Adam Lesinski <adamlesinski@google.com> Revert "Move frameworks/base/tools/ to frameworks/tools/"

This reverts commit 9f6a119c8aa276432ece4fe2118bd8a3c9b1067e.
/frameworks/base/tools/aapt/Command.cpp
745d4efc8369d255341d810790132660e33d3b61 27-Jan-2014 Narayan Kamath <narayan@google.com> AssetManager cookies should be int32_t and not void*.

Cookies are really indices into vectors and arrays, so
they don't need to be void*. We choose int32_t instead
of size_t to allow their width to be well specified.

(cherry picked from commit ebfdd0f467e39c3af8d92cade78263935340acb7)
(cherry picked from commit a7fa2e592e2e579e5acdb903dba83fc074ebc215)
(cherry picked from commit a9d5701b034ed2d9771b3f0943e1add00741d7cd)

Change-Id: I2aed3db568b6fdc487bf99e2c5dd123206736fda
/frameworks/base/tools/aapt/Command.cpp
09384303dea4f3f01d5682918d7bab9bf83a02b1 23-Jan-2014 Adam Lesinski <adamlesinski@google.com> Add support for multiple asset dirs (-A)

Bug: 12608034
Change-Id: I02c5a1a73b83498d799570428cca3dd914f8ac11
/frameworks/base/tools/aapt/Command.cpp
d831e80a2fa80d18867e70927e4e8cd797ead56f 27-Sep-2013 Adam Lesinski <adamlesinski@google.com> Add badging of Payment apps

HCE apps that declare themselves as payment apps will receive
that badge when running aapt dump badging.

bug:10899864
Change-Id: I7c095214412465ad7a925285d6167e12de16b600
/frameworks/base/tools/aapt/Command.cpp
b1249b822cef4e187814b83ae788f71842b88c28 26-Sep-2013 Adam Lesinski <adamlesinski@google.com> Add support for dumping new badging

APKs with AccessibilityServices, PrintServices, and or DeviceAdmin
will have those services dumped when running 'aapt dump badging'.

bug:10899864
Change-Id: I9c1f1f36c397b128dca802510368573a54977459
/frameworks/base/tools/aapt/Command.cpp
eaeb19048672337714c1724de7992be8cb3f2124 06-Sep-2013 Michael Wright <michaelwr@google.com> Added support for supports-input manifest element

Change-Id: Ifa7c87908081585c1940b5a47fdf5138a287d9ea
/frameworks/base/tools/aapt/Command.cpp
9f6a119c8aa276432ece4fe2118bd8a3c9b1067e 28-Aug-2013 Mike Lockwood <lockwood@google.com> Move frameworks/base/tools/ to frameworks/tools/

Change-Id: I3ffafdab27cc4aca256c3a5806b630795b75d5c8
/frameworks/base/tools/aapt/Command.cpp
681c4f45bf373f84c5b80a4c8dda871ae6fcfcbd 22-Aug-2013 Maurice Chu <mochu@google.com> Modify 'aapt dump badging' to output <meta-data> tags

This enables output of <meta-data> tags within the <application>
element of the AndroidManifest.xml if the --include-meta-data
command line option is invoked. For example, by

aapt dump --include-meta-data badging Foo.apk

Bug: 10257318
Change-Id: I88da1a14ab21146b64ac947e0eeb1107816acd4d
/frameworks/base/tools/aapt/Command.cpp
1bcc3d691fd1cb68abced62caf3024e2bb228561 03-Apr-2013 Nick Kralevich <nnk@google.com> aapt: add support for optional uses-permission

Applications can request a permission with android:required="false".
For example:

<uses-permission android:name="android.permission.READ_PHONE_STATE" android:required="false" />

Make aapt understand such permissions.

Bug: 8522021
Change-Id: I7d3af64e7c3eca608316d5bea19c4ea639dd2b7a
/frameworks/base/tools/aapt/Command.cpp
ec559ff78caa16cffcc7b9d688fe911e8945e17d 26-Feb-2013 Dianne Hackborn <hackbod@google.com> Fix typo.

Change-Id: I71c8458e02dc9b9a4c59e51ded37b57a930038f9
/frameworks/base/tools/aapt/Command.cpp
b7de2194d54eb81b1db4b50c171ddd0339831155 16-Jan-2013 Xavier Ducrohet <xav@android.com> resolved conflicts for merge of c71c678e to master

Change-Id: I9e1a6a1151af00f0a13e2010776276b240e0ac3a
6080cc5fd7c332c79098a50605c0c37d99d4c481 15-Jan-2013 Xavier Ducrohet <xav@android.com> resolved conflicts for merge of dd52dfed to jb-mr1.1-ub-dev

Change-Id: I839981af97e54c39f0ea0b8141a4dd02959263a0
c75d3f5c10bf6d7718ef69c6bbc1cdf64cd8ff04 15-Jan-2013 Xavier Ducrohet <xav@android.com> Fix the single crunch command to return the right error code.

Casting from status_t to int doesn't work for return values
if the lower 8 bits are all 0.

Change-Id: I88e910dfe46cb72acd1595352e71da3c8eff4ca9
/frameworks/base/tools/aapt/Command.cpp
22d7cf239d8a9b009ea7adf86d8826a8a8116d03 21-Dec-2012 Xavier Ducrohet <xav@android.com> Add single crunch command to aapt. do not merge.

Previously the crunch command would work on a full res folder
and output a full res folder (with only the drawables). This
was only used in the SDK.

The incremental logic is moved to the SDK build system so we
change the crunch command (or rather add a new one) to only
crunch a single file.

(cherry picked from commit b1f6ad82dd8d1702617a757a88430604b3131fac)

Change-Id: I3653f67ee321eac37cb8a6d228b1ef6d104ff0be
/frameworks/base/tools/aapt/Command.cpp
b1f6ad82dd8d1702617a757a88430604b3131fac 21-Dec-2012 Xavier Ducrohet <xav@android.com> Add single crunch command to aapt.

Previously the crunch command would work on a full res folder
and output a full res folder (with only the drawables). This
was only used in the SDK.

The incremental logic is moved to the SDK build system so we
change the crunch command (or rather add a new one) to only
crunch a single file.

Change-Id: I635ee3e871d035b9db2fb593802d914e48241abf
/frameworks/base/tools/aapt/Command.cpp
2bd8d0403be62df679f0f94ab4d84c9ae9a2e918 11-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6641368: can't launch gallery

This is a revert of 1db36528b12395b9ed9bf8a1005a6d4ace737627,
but with comments added so I don't make this mistake again. :)

Change-Id: I053216279e3721f08f32f561bb989736ef619f82
/frameworks/base/tools/aapt/Command.cpp
002f53770a7f6850eab4d7e381e91dc94d28968f 26-Apr-2012 Ying Wang <wangying@google.com> Apply --extra-packages in case --custom-pacakge is also specified.

Cherry-picked from master.

Change-Id: I2d67b8821afdf064f4186ccd8def1b65f9a7dc88
/frameworks/base/tools/aapt/Command.cpp
4aa14b912fa7b0e8f2f1deb3e66dab4668de1e12 14-Apr-2012 Dianne Hackborn <hackbod@google.com> Add new aapt dump badging output explaining implicit badging.

New uses-implied-feature and uses-implied-permission tell you
about any features or permissions that aapt is automatically
adding to your app, and why it is doing so.

Change-Id: I45edb055408e1259699c994f956166ce67e8db5d
/frameworks/base/tools/aapt/Command.cpp
4527a9242127c28ad9472ec3b7677b444b3ef215 11-Apr-2012 Dan Morrill <morrildl@google.com> Merge "Adding a line for android-debuggable to 'dump badging' if AndroidManifest.xml is configured as such. This is to be used by e.g. Play Store to warn the developer that they are about to publish a security hole."
31b0e0e86ad061cd8005e80817bcad017e2d56dd 06-Apr-2012 Dianne Hackborn <hackbod@google.com> Implement call log permission compatibility.

If a pre-JellyBean application requests read/write contacts, it
will implicitly be given read/write call log.

Change-Id: I029db4b09fda737bb8fba4e1611355ebdbbfd34f
/frameworks/base/tools/aapt/Command.cpp
b6ec11ef372a498c4d5fd2317a015b808495a2ed 03-Apr-2012 Dan Morrill <morrildl@google.com> Adding a line for android-debuggable to 'dump badging' if AndroidManifest.xml
is configured as such. This is to be used by e.g. Play Store to warn the
developer that they are about to publish a security hole.

Change-Id: Ib6f8537462cbc00ed0504435bdeee2aae0c5b69b
/frameworks/base/tools/aapt/Command.cpp
7924512aa12c6af37d90e8ccfcdf04eb78a294a3 12-Mar-2012 Dianne Hackborn <hackbod@google.com> Add new READ_EXTERNAL_STORAGE permission.

Also adds some initial compatibility code for dealing with it.

Change-Id: I104bff11798349e4aaa6da9b7be787b257daa1bb
/frameworks/base/tools/aapt/Command.cpp
1644c6d7f4931d0b4fe7ea77c63b016af01a46d3 07-Feb-2012 Dianne Hackborn <hackbod@google.com> Only generate private symbols that are needed.

Change-Id: Icc4c86638db8429a387bf87c934cc712f807e213
/frameworks/base/tools/aapt/Command.cpp
6c997a9e880e08c354ffd809bd62df9e25e9c4d4 31-Jan-2012 Dianne Hackborn <hackbod@google.com> aapt now sorts the strings in the resource string pool.

In our current environment with very many translations, this can
save a lot of RAM -- for example over 200K in Gmail just by sorting
the strings in the Gmail .apk (not the framework).

Also add a new aapt command to print the contents of the resource
table string pool.

Change-Id: I1da037b3e2c377b890833ff57ab158965314ac48
/frameworks/base/tools/aapt/Command.cpp
e74763e26f760e8de23a4edfbe599a166ef6bb53 06-Jan-2012 Dan Morrill <morrildl@google.com> Minor tweak to console output.

Change-Id: I494910eda1d02f6bcff945b9a13c83767f2248b6
/frameworks/base/tools/aapt/Command.cpp
063a44e541335819b673fb1c20a338bbcaf3a3f5 08-Dec-2011 Kenny Root <kroot@google.com> Add aapt support for implicitly-granted permissions

Bug: 2363582
Bug: 2877343
Change-Id: Iff7b496fb845e45fe1be2317089a96f7d63ed223
/frameworks/base/tools/aapt/Command.cpp
e6b680364dd992907a8d2037685a2e500d188dfb 14-Oct-2011 Dianne Hackborn <hackbod@google.com> New aapt feature to do smarter filtering of configurations.

This adds a --preferred-configurations flag that specifies the
specific configurations you would like to have.

It is smarter than "-c" because it will avoid stripping a
configuration if that would result in there being no value
for the resource.

It is dumber than "-c" because it can't process as many kinds
of resources. It is really only intended for bitmaps and use
with density configs.

This required re-arranging AaptAssets to group files together
by config again, like they used to be. I think this hasn't
broken anything. Hopefully.

Change-Id: I4e9d12ff6e6dbd1abb8fd4cb1814c6674b19d0e5
/frameworks/base/tools/aapt/Command.cpp
56088a55ca6c9277f09040a7883117cb127e1e56 29-Sep-2011 Kenny Root <kroot@google.com> Add package-verifier to aapt dump badging

Print out the package-verifier information when printing out badging.

Change-Id: I9c79c163261d5d4f1094bda76d90b3ff6e1ce540
/frameworks/base/tools/aapt/Command.cpp
d98e1be20e1cca5c36c7e0344500d4a5574568aa 18-Aug-2011 Xavier Ducrohet <xav@android.com> am f4750724: am 9d829f98: am 21e6e2de: Merge "Change generated dependency file names"

* commit 'f4750724cf8db972a052cb388dc9a39fc7aa6dd6':
Change generated dependency file names
b711f3f7ee0544685ef26a1a4b4755d5a6233dba 16-Aug-2011 Josiah Gaskin <josiahgaskin@google.com> Change generated dependency file names

This changes the name of the generated dependency files to R.java.d
and <ApkName>.ap_.d respectively.

Change-Id: I17e18770fc0d0a5d31c7b37b40ac1949f45ef13a
/frameworks/base/tools/aapt/Command.cpp
84be06e4ce0778fbf0c1ac72f94795ef8433439b 21-Jul-2011 Xavier Ducrohet <xav@android.com> resolved conflicts for merge of ea9e6d24 to honeycomb-plus-aosp

Change-Id: I8e047147a4d2c899b6654c03a5f32b04d929e602
a125c937de06b1cc43368743592f47513eb88b76 21-Jul-2011 Xavier Ducrohet <xav@android.com> resolved conflicts for merge of 2c311be7 to honeycomb-plus-aosp

Change-Id: I806c7b4ae95f66df621587e52497dd8739a115fe
8a39da80b33691b0c82458c3b7727e13ff71277e 07-Jun-2011 Josiah Gaskin <josiahgaskin@google.com> Added Caching for PreProcessed PNGs

Added a cache management system for pre-processed PNG files
along with unit tests. The cache system will be used if
the --no-crunch flag is passed to AAPT during the package
phase. The cache can be updated by a call to 'aapt crunch'
(see usage statement). Also put in benchmarking code.

Change-Id: I58271fb2ee2f5f9075fd74d4ff6f15e7afabd05c
/frameworks/base/tools/aapt/Command.cpp
9139868b6c5cb29b3665984225dceb0193fec31d 19-Jul-2011 Xavier Ducrohet <xav@android.com> am ba6c98db: am 82943ecf: am d40c93f6: Merge "Add dependency generation to Aapt for R.java"

* commit 'ba6c98db8f21016f81ecac35bb0ea3c433044bb7':
Add dependency generation to Aapt for R.java
bf31250ba0858a2e72a3906a1f0216846683bc2e 19-Jul-2011 Xavier Ducrohet <xav@android.com> am d5431ed5: am 2e659ae5: am 42755155: Merge "Copy once-created R.java into library projects"

* commit 'd5431ed5505a42e5e33c8bf7cc2ff72792979be9':
Copy once-created R.java into library projects
03589cc65355220e0a4a0c816189a9fa25cc81fc 28-Jun-2011 Josiah Gaskin <josiahgaskin@google.com> Add generation of dependency file for .ap_ package

Make Aapt generate a dependency file in the same directory as the
output ap_ file if the --generate-dependencies flag is set.
This dependency file can then be read by the ant exec loop task
to see whether to repackage resources.

Change-Id: I763679414daf76369700aa599c26dcf78d4de099
/frameworks/base/tools/aapt/Command.cpp
9bf34ca6f85309c65b0ebdf614cb8266401b49ba 14-Jun-2011 Josiah Gaskin <josiahgaskin@google.com> Add dependency generation to Aapt for R.java

Make Aapt generate a dependency file in the location specified
by RClassDir for R.java if the --generate-dependencies flag is set.
This dependency file is then read by the ant exec loop task
to see whether to recreate R.java.

Change-Id: I7152dac86b6ea0e448ef65e3a95694afe233c789
/frameworks/base/tools/aapt/Command.cpp
ce89f1531ed8b96b8b790b3f8b18dd4cf483f7f0 09-Jun-2011 Josiah Gaskin <josiahgaskin@google.com> Copy once-created R.java into library projects

This change adds functionality in Aapt to allow specification of
library projects to copy the generated R.java file into rather
than regenerating the file for each library project.

Change-Id: I05939d1dc875bd875be9298ca47cb639235070c6
/frameworks/base/tools/aapt/Command.cpp
f77ae6e65a7ab47e7ab0ee1536d708b6e56fe45b 16-Jun-2011 Dianne Hackborn <hackbod@google.com> New orientation handling. Only impacts SDK (aapt dump badging).

This is a new way of determining whether an application requires
specific orientations, done by looking at any requirements in its
activity tags. Note that this won't catch all possible issues,
because applications can still force an orientation through Java
APIs, but the vast majority of applications that actually require
a specific orientation should be doing it this way because it the
easiest way and the only way to cleanly launch into the app from
a different orientation without doing some serious activity tricks.

Change-Id: I11d32104f6bc3d2a72aeeff1ca150b8f1c9f5588
/frameworks/base/tools/aapt/Command.cpp
e289bff0ec2b1af4ba773e0c8d49d5fd46eb9921 14-Jun-2011 Dianne Hackborn <hackbod@google.com> Add new landscape and portrait orientation features.

Updates aapt to know about these. Also updates aapt badging to:

- No longer crash due to the change to how we match unspecified
configuration resources.
- Report the new "smallest screen" supported screen configs.
- Infer old screen size buckets based on new smallest width attrs.
- Report all of the different labels and icons in an app.

Change-Id: I7376042b817391bd070f549cebbc7f03be4635c8
/frameworks/base/tools/aapt/Command.cpp
00db2213bf82c04610137a36e9190003f712952c 14-Dec-2010 Dan Morrill <morrildl@google.com> am 0ccc8b73: am 5441a9ff: Merge "GL texture filtering changed from AND to OR, so rename tag name to match. (<uses-foo> == AND, <supports-foo> == OR, e.g. uses-feature vs. supports-screen)." into gingerbread

* commit '0ccc8b7345eac0b507c221be47e55926cbda8957':
GL texture filtering changed from AND to OR, so rename tag name to match. (<uses-foo> == AND, <supports-foo> == OR, e.g. uses-feature vs. supports-screen).
096b67f65510a5076f1f845f9e19dda2b30ea6bb 14-Dec-2010 Dan Morrill <morrildl@google.com> GL texture filtering changed from AND to OR, so rename tag name to match.
(<uses-foo> == AND, <supports-foo> == OR, e.g. uses-feature vs.
supports-screen).

Change-Id: I0f20aed7f95169d9adfc7fe128191eb6e49d116f
/frameworks/base/tools/aapt/Command.cpp
41a4833bf2603d4194e470f783531581dd532545 07-Nov-2010 Scott Main <smain@google.com> am 4da6efc8: am 46151652: Merge "fix xlarge support in aapt for gingerbread" into gingerbread

* commit '4da6efc8a3ecfcf46a8988ad1d277ae00ed1f58c':
fix xlarge support in aapt for gingerbread
d58fb97ddf052b3ceac921ac7e936af990392b2c 05-Nov-2010 Scott Main <smain@google.com> fix xlarge support in aapt for gingerbread

Change-Id: I4d8872fb839a6eadc538055215d4455af328846c
/frameworks/base/tools/aapt/Command.cpp
a0b46c9c441f017a2008ca8ee2c864987465996b 22-Oct-2010 Dianne Hackborn <hackbod@google.com> Implement issue #3116702: New manifest tags for supported screen sizes

Merged from GB.

Change-Id: I94730b54bcacd083f77708e84c35f4932a7b9d2e
/frameworks/base/tools/aapt/Command.cpp
a6d9c7c04c4b17d85ac70f4494777555655f3be1 22-Oct-2010 Dianne Hackborn <hackbod@google.com> Implement issue #3116702: New manifest tags for supported screen sizes DO NOT MERGE

Change-Id: Iabf64d86c89d387ffbfbc39f950d308a73fe17eb
/frameworks/base/tools/aapt/Command.cpp
1785627fb36a93a1cbc69a048de6ed6412f83de9 15-Oct-2010 Dan Morrill <morrildl@google.com> am b58af2b8: am 5c62ab0a: Merge "Adding a new <uses-gl-texture/> tag, to be used to enable apps to specify filtering based on support for OpenGL ES texture and texture compression formats." into gingerbread

Merge commit 'b58af2b8b3871436942d0e2c878c906bffaa2fb0'

* commit 'b58af2b8b3871436942d0e2c878c906bffaa2fb0':
Adding a new <uses-gl-texture/> tag, to be used to enable apps to specify
6f51fc14d0c3df8f9153ae5df992cc2731f099c8 13-Oct-2010 Dan Morrill <morrildl@google.com> Adding a new <uses-gl-texture/> tag, to be used to enable apps to specify
filtering based on support for OpenGL ES texture and texture compression
formats.

Change-Id: I993209a673579b296007ae2ba830d0275770dd11
/frameworks/base/tools/aapt/Command.cpp
f156e752b50ec3bfe013c6a7af6b1c16b0dfa611 03-Sep-2010 Dianne Hackborn <hackbod@google.com> am 31103928: am 192b56d4: Merge "Implement #2964234: Add support for <uses-package> element to aapt" into gingerbread

Merge commit '31103928ed5b9091bcd7de74c8a49675d10c87e7'

* commit '31103928ed5b9091bcd7de74c8a49675d10c87e7':
Implement #2964234: Add support for <uses-package> element to aapt
43b6803095e41e6a1cf844a77813c6cdbdc84ec3 03-Sep-2010 Dianne Hackborn <hackbod@google.com> Implement #2964234: Add support for <uses-package> element to aapt

Change-Id: Ifb381f387cab7e5a99006691e330d0e3d9d0f250
/frameworks/base/tools/aapt/Command.cpp
dc059804666c35abf51d09481f2fe5516339fcc6 26-Aug-2010 Kenny Root <kroot@google.com> am eb0e0f46: am 2e7427f3: Merge "Add LFH offset to verbose list of APK" into gingerbread

Merge commit 'eb0e0f465155bc9ec2c79741890fb65bd403e33a'

* commit 'eb0e0f465155bc9ec2c79741890fb65bd403e33a':
Add LFH offset to verbose list of APK
fb2a9467ad77336edbf2a1a272dbe6ec30ef8a1b 25-Aug-2010 Kenny Root <kroot@google.com> Add LFH offset to verbose list of APK

The Local File Header (LFH) offset is printed in debugging cases when
the platform is inspecting APKs. This adds the LFH offset field to the
list of contents of an APK, so that it can be checked easily against the
Central Directory (CD).

Change-Id: I08f9a13256bfe6563c1a963c4f0289789b2e7857
/frameworks/base/tools/aapt/Command.cpp
cc5239b78b7d418d78d00bf9ee92192ccd851cda 24-Aug-2010 Dianne Hackborn <hackbod@google.com> am 8b569c8d: am 42f90ca5: Merge "Fix aapt dump badging to support xlarge screens." into gingerbread

Merge commit '8b569c8d49924d849793513a5418ef0350320962'

* commit '8b569c8d49924d849793513a5418ef0350320962':
Fix aapt dump badging to support xlarge screens.
f43489d7d5e1c0c5c9a7e54c22845fcb99765f81 20-Aug-2010 Dianne Hackborn <hackbod@google.com> Fix aapt dump badging to support xlarge screens.

Change-Id: Ieeb757cd48ad9b3f46c5e4aed9d5efaeac834049
/frameworks/base/tools/aapt/Command.cpp
f1ff21ac62a51f5ba8ca0821ea8a90f70957e25d 14-Jun-2010 Steve Block <steveblock@google.com> Fixes a few minor problems with AAPT

- Fixes casting problems with stricter compilers
- Adds a couple of missing ifdef guards

This is a first step toward being able to generate APKs on the fly on the device.

Bug: 2766918
Change-Id: Icaaee5a4032afa313256add321b447443861dd85
/frameworks/base/tools/aapt/Command.cpp
6b22d81aa35d9a9b32670995c002e92588b2fe09 16-Jun-2010 Dan Morrill <morrildl@google.com> As Donut (API=4) devices and earlier do not have a Bluetooth API, .apk files
that have minSdkLevel (or targetSdkLevel) set to 4 or lower should not be
presumed to require Bluetooth just because they take the permission.

Change-Id: Ia629e9ef0425a577e4e14f9b348f5aa2b39c1e74
/frameworks/base/tools/aapt/Command.cpp
89d97c1418c7a8b54fd57cc90daa1b1a98848bf6 04-May-2010 Dan Morrill <morrildl@google.com> Adding the backward-compatible filtering heuristics for the new device
features definitions added in FroYo.

Change-Id: I5024e45c62813fe2fd2ff4d222df816a86a94f86
/frameworks/base/tools/aapt/Command.cpp
cf244ada58539ce857ec041d7288d0271204fbb6 10-Mar-2010 Dianne Hackborn <hackbod@google.com> Add ability for some manifest attributes to reference resources.

This loosens our restriction on many manifest attributes requiring
literal string values, to allow various ones to use values from
resources. This is only allowed if the resource value does not change
from configuration changes, and the restriction is still in place
for attributes that are core to security (requesting permissions) or
market operation (used libraries and features etc).

Change-Id: I4da02f6a5196cb6a7dbcff9ac25403904c42c2c8
/frameworks/base/tools/aapt/Command.cpp
ef05e076ced1a32c5c0aaee28403779834adb2ba 02-Mar-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2448075: aapt doesn't fix up activity-alias android:targetActivity links

And related:

- The aapt tool now sets a resource configurations sdk level to match any configs
that have been set (for example if you specify density your sdk level will be
at least 4).
- New option to modify the targetPackage attribute of instrumentation.
- Clean up of aapt options help.
- Fix of UI type values to leave 0 for "unspecified".
- Make the UI mode config APIs public.
/frameworks/base/tools/aapt/Command.cpp
e2c17f9174144a6eca3fdbed8d5d1370f318f549 12-Feb-2010 Jeff Hamilton <jham@android.com> Dump original-package entries.

Change-Id: I29b20811847555ff9858ef47cca69c8b992b24ea
/frameworks/base/tools/aapt/Command.cpp
93cee56d87ef9571e7f535d0bf356b160d5f6710 07-Jan-2010 Dianne Hackborn <hackbod@google.com> am ce56857e: am cb2d50d0: Fix issue #2357259: aapt tool prints "uses-configuation:"

Merge commit 'ce56857ef72538c197afd91b9f30dc868d2667d9'

* commit 'ce56857ef72538c197afd91b9f30dc868d2667d9':
Fix issue #2357259: aapt tool prints "uses-configuation:"
ce56857ef72538c197afd91b9f30dc868d2667d9 06-Jan-2010 Dianne Hackborn <hackbod@google.com> am cb2d50d0: Fix issue #2357259: aapt tool prints "uses-configuation:"

Merge commit 'cb2d50d0d6e2e37ae02b014999da23ecd32038b8' into eclair-plus-aosp

* commit 'cb2d50d0d6e2e37ae02b014999da23ecd32038b8':
Fix issue #2357259: aapt tool prints "uses-configuation:"
cb2d50d0d6e2e37ae02b014999da23ecd32038b8 06-Jan-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2357259: aapt tool prints "uses-configuation:"

Change-Id: Id3ea3a86bd4d385441b05fcbe85b8ab62c35afff
/frameworks/base/tools/aapt/Command.cpp
926d1a22007d94ef2b29ec979ab6038fa8d9e40e 11-Dec-2009 Jean-Baptiste Queru <jbq@google.com> am a5a8cc13: resolved conflicts for merge of ce307f88 to eclair-mr2

Merge commit 'a5a8cc13d3f906650a1eb17e20e1b26d68b78453' into eclair-mr2-plus-aosp

* commit 'a5a8cc13d3f906650a1eb17e20e1b26d68b78453':
Add --custom-package to aapt
a5a8cc13d3f906650a1eb17e20e1b26d68b78453 11-Dec-2009 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of ce307f88 to eclair-mr2
9af0c6facbbc86acba23ca0937fb94842d0c10c6 10-Dec-2009 Xavier Ducrohet <xav@android.com> am ce307f88: Merge change Ie4cdb5a3 into eclair

Merge commit 'ce307f889b509143899a2221359219fbc91b618c' into eclair-plus-aosp

* commit 'ce307f889b509143899a2221359219fbc91b618c':
Add --custom-package to aapt
5cd6fcd518d47d1974a10fccf3c3d5431a83307a 10-Dec-2009 Kenny Root <kroot@google.com> am e6c0e993: Merge change I129483f8 into eclair-mr2

Merge commit 'e6c0e99334bc2f47e5d36db253ac8f166047c03b' into eclair-mr2-plus-aosp

* commit 'e6c0e99334bc2f47e5d36db253ac8f166047c03b':
Optional use of UTF-8 strings in resource bundles
19138468caf7050d482dc15f35a344eab11bb756 04-Dec-2009 Kenny Root <kroot@google.com> Optional use of UTF-8 strings in resource bundles

Allows the use of UTF-8 for packing resources instead of the
default of UTF-16 for Java. When strings are extracted from the
ResStringPool, they are converted to UTF-16 and the result is
cached for subsequent calls.

When using aapt to package, add in the "-8" switch to pack the
resources using UTF-8. This will result in the value, key, and
type strings as well as the compiled XML string values taking
significantly less space in the final application package in
most scenarios.

Change-Id: I129483f8b3d3b1c5869dced05cb525e494a6c83a
/frameworks/base/tools/aapt/Command.cpp
63459ad555c10de1f316d6de01fc3cd0c0aaa457 01-Dec-2009 Xavier Ducrohet <xav@android.com> Add --custom-package to aapt

This is needed to add library support to the SDK.

The goal is to have libraries and main project use the same
package for the R/Manifest classes to that they can share code
and resources.

BUG 2293994

Change-Id: Ie4cdb5a3bdabe1760a91316fd8969e4f53344bf9
/frameworks/base/tools/aapt/Command.cpp
16b696af615447dd98c2291e5b6bffeb5a723278 20-Oct-2009 Doug Zongker <dougz@android.com> am 617262d8: Merge change I37c4157d into eclair

Merge commit '617262d8f57362536ddc00a070c1c0994741de44' into eclair-plus-aosp

* commit '617262d8f57362536ddc00a070c1c0994741de44':
add "junk path" -k option to aapt (DO NOT MERGE)
37c4157d7cdad71dc9abc93d652e81c33e346d93 20-Oct-2009 Doug Zongker <dougz@android.com> add "junk path" -k option to aapt (DO NOT MERGE)

Adds a "junk path" option to aapt so that you can do:

aapt add -k archive.zip path/to/some.file

and have the file stored in the zip under the name "some.file"
(without the path). Needed so that we can use 'aapt add' in place of
'zip -j' when building jar files, which will lead to smaller
incremental OTAs.

(This is a cherry-pick of a change already submitted to eclair-mr2;
the change was approved for mr1.)
/frameworks/base/tools/aapt/Command.cpp
b80d1d0cc8b75b9e51c94169892f1d03cdcd788a 13-Oct-2009 Doug Zongker <dougz@android.com> am afbf8afa: Merge change I564b5b00 into eclair-mr2

Merge commit 'afbf8afa858a78b66c19f11cfda030e913b34085' into eclair-mr2-plus-aosp

* commit 'afbf8afa858a78b66c19f11cfda030e913b34085':
add "junk path" -k option to aapt
dbe7a68cc13ae135b33769918932838d2d447169 09-Oct-2009 Doug Zongker <dougz@android.com> add "junk path" -k option to aapt

Adds a "junk path" option to aapt so that you can do:

aapt add -k archive.zip path/to/some.file

and have the file stored in the zip under the name "some.file"
(without the path). Needed so that we can use 'aapt add' in place of
'zip -j' when building jar files, which will lead to smaller
incremental OTAs.
/frameworks/base/tools/aapt/Command.cpp
e8e977bc4a5031da623188a562a1276305a7bf21 20-Sep-2009 Suchi Amalapurapu <asuchitra@google.com> am f1871e27: Merge change 26009 into eclair

Merge commit 'f1871e273e1bf49d72a7f2ef51a4ef377d8f3112' into eclair-plus-aosp

* commit 'f1871e273e1bf49d72a7f2ef51a4ef377d8f3112':
Fix issue with printing gles version in aapt dump badging option
40b94725dc1c62ea66db0b9502dd81b97dd3e35f 20-Sep-2009 Suchi Amalapurapu <asuchitra@google.com> Fix issue with printing gles version in aapt dump badging option
If the name attribute for uses-feature or uses-permission is empty
the error value is still empty indicating error and preventing the
else part from being checked as it should be.
/frameworks/base/tools/aapt/Command.cpp
3c193a4a8d748faf420988250aabda0145e74bf7 04-Sep-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master
be8e36e32b9cb2bb37e28e4c0d414ee0e46c84a2 04-Sep-2009 Jean-Baptiste Queru <jbq@google.com> merge from donut
44b283dc27ed8ba5a946d809489f29b4ae88cb15 02-Sep-2009 Kenny Root <kenny@the-b.org> Fix %p vs %s typo in aapt message

When trying to print an xmltree or xmlstrings from aapt, the error
message if the resource didn't exist erroneously printed a pointer
instead of a string.

Change-Id: I317bbbdc1200e0f10922e80a36e41a22b2d50d0d
/frameworks/base/tools/aapt/Command.cpp
72b1f379d5c97c8ff31d2201e78215af777d6bda 31-Aug-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
/frameworks/base/tools/aapt/Command.cpp
1553c82e084ac5763fb393857224145506771b99 30-Aug-2009 Joe Onorato <joeo@android.com> Add a flag (-G) to aapt to have it output the classes that shouldn't be obfuscated by ProGuard.
/frameworks/base/tools/aapt/Command.cpp
49237345d83e62fdb9eb8d50b13ad086636a04fa 28-Aug-2009 Dianne Hackborn <hackbod@google.com> Add platform infrastructure for features.

This introduces a new mechanism to define features associated with
a platform, query the current device for the available features,
and enforce that apps requiring features that aren't available can't
be installed.

Also now allows uses-library to specify that a library is optional,
so the lack of such a library will not prevent the app from being
installed (but if it does exist it will be correctly linked into
the app).

Change-Id: I5b369b46cfa0b3d37c9e08fd14ef1098a978e67b
/frameworks/base/tools/aapt/Command.cpp
e5276a74746b5e8f09b05a50155e7aa0bbb4a747 28-Aug-2009 Dianne Hackborn <hackbod@google.com> Fix issue #2084148: Define the format for the auto focus preview for barcode scanning

Add new manifest/aapt support for specifying device features an application
requires. The aapt badging now returns these (as well as uses-permission since
I need to look for those anyway); if an app doesn't explicitly request the
camera feature but does request the permission, then aapt will say that it has
requested both the basic camera feature as well as the autofocus feature.

Here's what you put in your manifest to say you need a camera but don't need
autofocus:

<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />

Here's what will be seen from aapt:

uses-permission:'android.permission.CAMERA'
uses-feature:'android.hardware.camera'
uses-feature-not-required:'android.hardware.camera.autofocus'

Change-Id: I4dd19cee0486cc54771f5bf14fc9db0e892115d5
/frameworks/base/tools/aapt/Command.cpp
1b125980c5de597c18a179b9b02b9a5afe106895 18-Aug-2009 Suchi Amalapurapu <asuchitra@google.com> Add aapt extensions to dump badging to print more info about activities, receivers and services
Fix issue with checking end tags. Earlier some boolean variables were being set once a new
tag is detected at the same level which causes some incorrect values to be overwritten.
we should be doing this when we detect the end tag.
/frameworks/base/tools/aapt/Command.cpp
6919f69281e32d0c3d4b3791b273f71f178cbb7c 18-Aug-2009 Suchi Amalapurapu <asuchitra@google.com> am 75c49842: Add maxSdkVersion information in dump badging option

Merge commit '75c498426a17b47d445711bb9e36794b05876a56' into eclair

* commit '75c498426a17b47d445711bb9e36794b05876a56':
Add maxSdkVersion information in dump badging option
75c498426a17b47d445711bb9e36794b05876a56 15-Aug-2009 Suchi Amalapurapu <asuchitra@google.com> Add maxSdkVersion information in dump badging option
/frameworks/base/tools/aapt/Command.cpp
cf4550c3198d6b3d92cdc52707fe70d7cc0caa9f 21-Jul-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
/frameworks/base/tools/aapt/Command.cpp
f6ff591decdea6299aab1a5b6f95917800571de4 30-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 72eb0aca: Merge change 5483 into donut

Merge commit '72eb0acad5cffc57ce5006f6deab29ee259e461e'

* commit '72eb0acad5cffc57ce5006f6deab29ee259e461e':
Expand support for different screen sizes.
723738cfaec3dd7b0fe152c872c41bebf94074c4 26-Jun-2009 Dianne Hackborn <hackbod@google.com> Expand support for different screen sizes.

Applications can now declare that they support small, normal, or
large screens. Resource selection can also be done based on these
sizes. By default, pre-Donut apps are false for small and large,
and Donut or later apps are assumed to support all sizes. In either
case they can use <supports-screens> in their manifest to declare
what they actually support.
/frameworks/base/tools/aapt/Command.cpp
fc68623c03439db95401a18a435dbc491cd7f6fd 20-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 1585bd24: Merge change 4828 into donut

Merge commit '1585bd24c10d16351f89e32dddbfa799f18db6bd'

* commit '1585bd24c10d16351f89e32dddbfa799f18db6bd':
Report densities in badging, debugging for nine patch bug.
e17086ba346009a26cc2299b133a0fe602acb6ec 20-Jun-2009 Dianne Hackborn <hackbod@google.com> Report densities in badging, debugging for nine patch bug.

The aapt tool now reports all available densities like it already did
for locales. Also this includes more resource data output, which I
was using to examine bug #1867049 (which at this point I am unable to
reproduce).
/frameworks/base/tools/aapt/Command.cpp
55e3d60da5626752ffe1d15150d35ccb8fa644e7 05-Jun-2009 Mathias Agopian <mathias@google.com> break dependency on utils/ZipEntry.h and utils/ZipFile.h, get rid of inet_address.h and Socket.h which were not used
/frameworks/base/tools/aapt/Command.cpp
3b4062eeb01be33951ba214e027da523cf09f8b1 01-Jun-2009 Mathias Agopian <mathias@google.com> get rid of utils.h
/frameworks/base/tools/aapt/Command.cpp
bb9ea30ea9e390e69602935571795d2c80dc7b91 19-May-2009 Dianne Hackborn <hackbod@google.com> Update aapt badging for native code, configs, density, etc.
/frameworks/base/tools/aapt/Command.cpp
7ef189d0a90f3c9a409512ab7dce9304639df481 03-Apr-2009 Suchi Amalapurapu <> AI 144309: am: CL 144308 aapt extensions: required sdk version, dependent software libraries, gadgets
Add new attributes for sdk version, software libs and gadgets
BUG = 1730924
Original author: asuchitra
Merged from: //branches/cupcake/...

Automated import of CL 144309
/frameworks/base/tools/aapt/Command.cpp
633d8cddb81ed40b560fa475b8a74a9e41bb34f8 03-Apr-2009 Suchi Amalapurapu <> AI 144308: aapt extensions: required sdk version, dependent software libraries, gadgets
Add new attributes for sdk version, software libs and gadgets
BUG = 1730924
BUG=1730924

Automated import of CL 144308
/frameworks/base/tools/aapt/Command.cpp
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/tools/aapt/Command.cpp
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/tools/aapt/Command.cpp
9266c558bf1d21ff647525ff99f7dadbca417309 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
/frameworks/base/tools/aapt/Command.cpp
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/tools/aapt/Command.cpp
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/tools/aapt/Command.cpp