| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
(<uses-foo> == AND, <supports-foo> == OR, e.g. uses-feature vs.
supports-screen).
Change-Id: I0f20aed7f95169d9adfc7fe128191eb6e49d116f
|
|
|
|
| |
Change-Id: I4d8872fb839a6eadc538055215d4455af328846c
|
|
|
|
|
|
| |
NOT MERGE
Change-Id: Iabf64d86c89d387ffbfbc39f950d308a73fe17eb
|
|
|
|
|
|
|
| |
filtering based on support for OpenGL ES texture and texture compression
formats.
Change-Id: I993209a673579b296007ae2ba830d0275770dd11
|
|
|
|
| |
Change-Id: I24db3645c399f66dc7cc0e85909ce34b68ff829e
|
|
|
|
|
|
|
|
| |
This is implemented based on whether we are using the "nosdcard"
product. Needed to tweak aapt to allow use of the product attribute
with other resource definition tags besides strings.
Change-Id: I49922d23b52a34183a8e2f4d2515adaf1fc9149a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The --product option to aapt is a comma-separated list of characteristics
of the device being built for. For example, --product nosdcard,grayscale
for a device with no SD card and a grayscale screen.
Strings can specify a product="characteristic" option to cause that version
of the string to be used only for that type of device. All such strings
should also specify, at the end of the block, product="default", which
will be used if none of the variations match. For example:
<string name="choose" product="bw">Choose black or white</string>
<string name="choose" product="grayscale">Choose a shade of gray</string>
<string name="choose" product="default">Choose a color</string>
The default characteristic will also be used when no --product option
is specified.
Change-Id: Ie6c1505599e02e15b7818e8be6ec47bc6ce71aaa
|
|
|
|
| |
Change-Id: Ifb381f387cab7e5a99006691e330d0e3d9d0f250
|
|
|
|
|
|
|
|
|
|
|
| |
When passed (with no needed parameters) to the aapt command line,
aapt will insert debuggable=true in the application node of the manifest
automatically.
This is to be used by the SDK tools to make true "debug" builds
that require no code/file change.
Change-Id: I6f0a7af7b7d51f26bb0ec012e6f142a6060b8618
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
| |
git cherry-pick -e 49416bc658e37a0f4ae4f2b7b8582dd1606fba0f
Change-Id: I37a689acea8aeb5d6ac92ee56b077bafe4fba170
|
|
|
|
| |
Change-Id: Ieeb757cd48ad9b3f46c5e4aed9d5efaeac834049
|
|\ |
|
| |
| |
| |
| |
| | |
Change-Id: I28c10fbf18b91f8ba3dfc2575cd41215f65f11ec
Bug: 2916847
|
|\ \
| | |
| | |
| | | |
"true"." into gingerbread
|
| |/
| |
| |
| |
| |
| | |
True is the default and specifying it won't suppress the warning.
Change-Id: I8ecc919b4059bf3321e781649cb46dd2d3807592
|
|/
|
|
|
|
|
|
|
|
| |
aapt will ignore any versioned resource directories over the
specified version (if used). e.g. --max-res-version=6 will
cause layout-land-v7 to be ignored.
Merged from froyo.
Change-Id: Ia4eabae535b95b75d18b0c83135d44ed9a95b9eb
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
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.
Merge commit '6b22d81aa35d9a9b32670995c002e92588b2fe09' into gingerbread
* commit '6b22d81aa35d9a9b32670995c002e92588b2fe09':
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
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
an apps-only build, so don\'t try to build them." into froyo
Merge commit '9d71860e8cbaf16ddae3cd5d06ede8e6cfc7675a' into gingerbread
* commit '9d71860e8cbaf16ddae3cd5d06ede8e6cfc7675a':
The aapt and aidl tools are prebuilt when we're doing an apps-only build, so don't try to build them.
|
| |
| |
| |
| |
| |
| | |
don't try to build them.
Change-Id: I9896b11a9b90cbbbe2170243c8bdbc40231dfbff
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '5474902fe9fe72c825855c4a77f99a581a9f6594' into kraken
* commit '5474902fe9fe72c825855c4a77f99a581a9f6594':
xhdpi
|
| |
| |
| |
| |
| |
| | |
This is only a tool (aapt) change, and does not impact any current code.
Change-Id: I562063f612af919eaadba8ac4868a95ff41ac840
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Translatable strings that have multiple substitutions should use
positional String.format() substitutions. This change makes it an error
not to use that format on translatable strings that have more than one
substitution in its text.
Change-Id: I3a19707f3804aa24e8568dc1653a11576cac5916
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
heuristics for the new device features definitions added in FroYo." into froyo
Merge commit 'f7ebcfeccbd4433be5252857a854a6b565bf3fb9' into kraken
* commit 'f7ebcfeccbd4433be5252857a854a6b565bf3fb9':
Adding the backward-compatible filtering heuristics for the new device
|
| |
| |
| |
| |
| |
| | |
features definitions added in FroYo.
Change-Id: I5024e45c62813fe2fd2ff4d222df816a86a94f86
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Not complete, only for experimentation at this point.
This includes a reworking of how screen size configurations are matched,
so that if you are on a larger screen we can select configurations for
smaller screens if there aren't any exactly matching the current screen.
The screen size at which we switch to xlarge has been arbitrarily
chosen; the compatibility behavior has not yet been defined.
Change-Id: I1a33b3818eeb51a68fb72397568c39ab040a07f5
|
|
|
|
| |
(Merge master Change Ic4a7b9e4)
|
|
|
|
|
|
|
|
| |
Use the constant for checking the API version in aapt instead of a bare
number.
Bug: 2541326
Change-Id: Ice7af7b393363a00f1832dd84753b8138d057fb4
|
|
|
|
|
|
|
|
| |
The previous warning made it seem like it could be using the value
specified on the command line, but, in fact, it would ignore the command
line value if it were already specified in the AndroidManifest.xml
Change-Id: I15e8161e094f17412680d25d3b7b810474eb4a31
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For the UTF8/UTF16 switch code, we needed to know what was the
minSdkVersion specified as early as possible. Unfortunately, this threw
warnings when the SDK was compiling since we always set this field in
the Bundle.
This splits out the field used by the initial AndroidManifest.xml scan
to a separate one that we won't attempt to re-insert into the
AndroidManifest.xml This also switches the logic to better reflect the
preference of UTF-8 over UTF-16; previously UTF-16 was the default.
Change-Id: Ia81f6b21047043ebb711eb24c2c3718534979ef6
|
|
|
|
|
|
|
|
|
| |
When you have too many rows and columns, there are not enough colors in
the 9-patch private metadata to represent them. Instead of crashing
aapt, this change gives the user an error message telling them why it's
invalid.
Change-Id: I5e7bd59472a3a2eafa7cbc263792458cce2b5594
|
|
|
|
| |
This reverts commit 7b467d8b44c00d14590c021928b6a9ad5a36348e.
|
|
|
|
|
|
|
|
|
| |
When there are two configs in a StringPool that would match a string ID
only keep the more generic entry to save some space. This means that if
you have both "es" and "es_US" translations that have the same
translation, the string entry would be removed from the "es_US" config.
Change-Id: I4d619942d35ddb477e2eabe4437b7f02697c24de
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| | |
stars). "*** " (three stars and a space) is the 'magic make error string'; so this change makes it easier to find the real issues/errors in build logs. Besides, other aapt messages are "**** "."
|
| |
| |
| |
| |
| | |
"*** " (three stars and a space) is the 'magic make error string'; so this change makes it
easier to find the real issues/errors in build logs. Besides, other aapt messages are "**** ".
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If an overlay has a type of resources that's not defined in
the main res pool, then aapt would crash.
This dynamically create new ResourceTypeSet when needed
when processing the overlays
Change-Id: I67bc3622281bde73cf42f37a0983798d3f658ce2
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Extract all UI behavior from dock observer and ACTION_DOCK_EVENT.
Also introduce a desk type to go along with the car type all through
the resource system, since we now need to have corresponding high-level
broadcasts for desk dock mode. As part of that I also reworked some
of the logic for switching modes to all funnel through a single
update() call that looks all of the current state to decide what to
do next, and fixed various locking issues.
In addition I found there were bugs in the configuration change
handling causing us to only switch into the car mode config and
then never get out of it. Unfortunately now that we are actually
changing the configuration for each mode change, the transitions
between them are really crummy as we restart all kinds of
activities. :(
|
|
|
|
|
| |
Need to take care of fixing up backupAdjust as well as reporting it
to ProGuard.
|
|
|
|
|
| |
Take care of more custom classes in layouts, and also scan through
preference XMLs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Fix bug where applications defining a minSdkVersion were experiencing
transient errors from memory corruption in aapt.
Change-Id: I839d5eda7388baac6133e735fa59f9799ca2822d
|
|
|
|
|
|
|
|
| |
android:minSdkVersion wasn't being correctly scanned because the
namespace was incorrect. This fixes that problem so packages aren't
generated as UTF-8 when minSdkVersion is less than 7.
Change-Id: I8f45d47ea886915da6a4770f6e111e6085d61bee
|
|
|
|
|
|
|
|
|
|
|
|
| |
StringBlock instances containing UTF-8 strings use a cache to convert
into UTF-16, but using that cache and then using a JNI call to NewString
causes the UTF-8 string as well as two copies of the UTF-16 string to
be held in memory. Getting the UTF-8 string directly from the StringPool
eliminates one copy of the UTF-16 string being held in memory.
This is part 1. Part 2 will include ResXMLParser optimizations.
Change-Id: Ibd4509a485db746d59cd4b9501f544877139276c
|
|
|
|
|
|
|
| |
The second argument to the getNavHiddenName can be NULL, so use a direct
reference to the class to get the enum values instead of the argument.
Change-Id: I0444572c23cb4de9e7da15a8310a49cf4619bb15
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
A 32-bit integer can be 10 characters long plus a byte for \0 at the
end.
Change-Id: I58040fe6e1674e78bcc6e07463ff36fb26e280f4
|