]> git.saurik.com Git - android/aapt.git/log
android/aapt.git
13 years agoUmmm... f*, stop breaking the build.
Dianne Hackborn [Thu, 9 Jun 2011 18:29:08 +0000 (11:29 -0700)] 
Ummm...  f*, stop breaking the build.

Change-Id: I6a42cb60e7cebda6d17222e6af1f327889323c40

13 years agoEnforce public resource restriction on bag parents.
Dianne Hackborn [Thu, 9 Jun 2011 18:29:08 +0000 (11:29 -0700)] 
Enforce public resource restriction on bag parents.

Need to put some more styles in the SDK to avoid breaking apps.

Also, welcome Android 3.2.

Change-Id: Ia31d07c9b1b91ad868d8630437fdc1b5ae24f37d

13 years agoAdd "tv" density for 720p screens.
Dianne Hackborn [Fri, 27 May 2011 20:40:26 +0000 (13:40 -0700)] 
Add "tv" density for 720p screens.

Change-Id: I028969b007f2fceea66947d77a2ae31ef1d1a630

13 years agoAdd "television" mode.
Dianne Hackborn [Fri, 20 May 2011 23:11:04 +0000 (16:11 -0700)] 
Add "television" mode.

Change-Id: Ida1fdb61b036a8b489dbeda196fb4bc82e651b2b

13 years agoAdd new "-swNNNdp" resource qualifier.
Dianne Hackborn [Fri, 20 May 2011 01:13:32 +0000 (18:13 -0700)] 
Add new "-swNNNdp" resource qualifier.

Change-Id: I0101e88ca9d8d44138bdcaf571f24b0352f4f6ce

13 years agoDO NOT MERGE. Integrate add new screen width/height in "dp" configs.
Dianne Hackborn [Fri, 13 May 2011 01:07:47 +0000 (18:07 -0700)] 
DO NOT MERGE.  Integrate add new screen width/height in "dp" configs.

You can now specify resource configuration variants "wNNNdp"
and "hNNNdp".  These are the minimum screen width/height in "dp"
units.  This allows you to do things like have your app adjust
its layout based only on the about of horizontal space available.

This introduces a new configuration change flag for screen size.
Note that this configuration change happens each time the orientation
changes.  Applications often say they handle the orientation change
to avoid being restarted at a screen rotation, and this will now
cause them to be restarted.  To address this, we assume the app can
handle this new config change if its target SDK version is < ICS.

Change-Id: I4acb73d82677b74092c1da9e4046a4951921f9f4

13 years agoAdd notice files for aapt and aidl.
Xavier Ducrohet [Tue, 1 Mar 2011 02:36:18 +0000 (18:36 -0800)] 
Add notice files for aapt and aidl.

Change-Id: I51da138475618287760043059790aba87f4c3f35

13 years agoam ce57a7f3: am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."
Xavier Ducrohet [Mon, 28 Feb 2011 18:10:38 +0000 (10:10 -0800)] 
am ce57a7f3: am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."

* commit 'ce57a7f35344e76689d30f45964d1e37b78280cb':
  GpsLocationProvider: Clean up HAL initialization/cleanup sequence
  Fixed GSM encoded network initiated position request
  Ensuring thread-safe usage of DateFormat.
  Fixing infinite loop for zero duration.
  Fix for an infinite loop while scrolling lists.
  WAPPushManager, WAP Push over SMS message handler
  Add --non-constant-id to aapt.

13 years agoam dff6b8e7: Merge "Add --non-constant-id to aapt."
Xavier Ducrohet [Mon, 28 Feb 2011 17:16:38 +0000 (09:16 -0800)] 
am dff6b8e7: Merge "Add --non-constant-id to aapt."

* commit 'dff6b8e71dda9f5d841fa26408714aec2aef1505':
  GpsLocationProvider: Clean up HAL initialization/cleanup sequence
  Fixed GSM encoded network initiated position request
  Ensuring thread-safe usage of DateFormat.
  Fixing infinite loop for zero duration.
  Fix for an infinite loop while scrolling lists.
  WAPPushManager, WAP Push over SMS message handler
  Add --non-constant-id to aapt.

13 years agoAdd --non-constant-id to aapt.
Xavier Ducrohet [Tue, 15 Feb 2011 00:58:00 +0000 (16:58 -0800)] 
Add --non-constant-id to aapt.

This option enbables creating resource constant in the R class
that are not actual constant, but simply static fields.

The goal is to build library projects with these types of
IDs so that the constant does not get inlined in the library
code, since the ID for the library resources only are not
the final values.

The final resource IDs, generated from the main project and
its library(ies), will have proper constant with the final
values.

This allows us to generate binary library bundle (a jar file
and associated resources) that can be distributed. Additionally,
this will let us make the library project support in Eclipse
much more robust and a better user experience overall.

Change-Id: Ibe2f08d68493fde658fc3f7606abf7446f312ad2

13 years agoam a1f5e82f: am a30063d8: am 25eb0464: Merge "Normalize output from aapt d"
Dianne Hackborn [Sun, 30 Jan 2011 07:07:48 +0000 (23:07 -0800)] 
am a1f5e82f: am a30063d8: am 25eb0464: Merge "Normalize output from aapt d"

* commit 'a1f5e82f37c77af7b1d630b5bca715d1742f1234':
  Normalize output from aapt d

13 years agoam a30063d8: am 25eb0464: Merge "Normalize output from aapt d"
Dianne Hackborn [Sun, 30 Jan 2011 07:04:50 +0000 (23:04 -0800)] 
am a30063d8: am 25eb0464: Merge "Normalize output from aapt d"

* commit 'a30063d80c08434ac3c7316f338c6d54110449ab':
  Normalize output from aapt d

13 years agoMerge "Normalize output from aapt d"
Dianne Hackborn [Sun, 30 Jan 2011 06:53:20 +0000 (22:53 -0800)] 
Merge "Normalize output from aapt d"

13 years agoam e802b592: am 2107757d: am bbb5a5ce: Merge "Make AaptGroupEntry::getMncName accept...
Dianne Hackborn [Sat, 29 Jan 2011 23:08:07 +0000 (15:08 -0800)] 
am e802b592: am 2107757d: am bbb5a5ce: Merge "Make AaptGroupEntry::getMncName accept mnc00"

* commit 'e802b59280540ce24ea1db61907a0f1f22f01fad':
  Make AaptGroupEntry::getMncName accept mnc00

13 years agoam 2107757d: am bbb5a5ce: Merge "Make AaptGroupEntry::getMncName accept mnc00"
Dianne Hackborn [Sat, 29 Jan 2011 23:05:30 +0000 (15:05 -0800)] 
am 2107757d: am bbb5a5ce: Merge "Make AaptGroupEntry::getMncName accept mnc00"

* commit '2107757dde0b3159119edcc9084fcb9a87985e88':
  Make AaptGroupEntry::getMncName accept mnc00

13 years agoMerge "Make AaptGroupEntry::getMncName accept mnc00"
Dianne Hackborn [Sat, 29 Jan 2011 22:38:48 +0000 (14:38 -0800)] 
Merge "Make AaptGroupEntry::getMncName accept mnc00"

13 years agoam 1240719a: am bcf2adeb: Merge "aapt: Allow raw "%" in unformatted string-arrays"
Dianne Hackborn [Tue, 25 Jan 2011 18:02:46 +0000 (10:02 -0800)] 
am 1240719a: am bcf2adeb: Merge "aapt: Allow raw "%" in unformatted string-arrays"

* commit '1240719ae06855d38f1fa159dd73e2109bb9586f':
  aapt: Allow raw "%" in unformatted string-arrays

13 years agoaapt: Allow raw "%" in unformatted string-arrays
Josh Stone [Tue, 18 Jan 2011 02:34:11 +0000 (18:34 -0800)] 
aapt: Allow raw "%" in unformatted string-arrays

Commit 15fe2cb added format checking for translatable strings, enforcing
the use of positional args.  This check can be disabled on <string>
values with translatable="false" or formatted="false".  But they didn't
check for those attributes on <string-array>, so some of CM's strings
fail when they're not really format strings, just because they contain
percent signs.  (e.g. brightness widget's "Auto/Dim/40%/100%")

So now the formatted/translatable attributes are checked in string-array
too, and we can restore our proper percent signs.

Change-Id: I3478ab7e0b939e61fe0cec20201ac55096264080

13 years agoam bcf2adeb: Merge "aapt: Allow raw "%" in unformatted string-arrays"
Dianne Hackborn [Sun, 23 Jan 2011 20:57:33 +0000 (12:57 -0800)] 
am bcf2adeb: Merge "aapt: Allow raw "%" in unformatted string-arrays"

* commit 'bcf2adeb10c41becec3baa2bcb8de9212272399a':
  aapt: Allow raw "%" in unformatted string-arrays

13 years agoaapt: Allow raw "%" in unformatted string-arrays
Josh Stone [Tue, 18 Jan 2011 02:34:11 +0000 (18:34 -0800)] 
aapt: Allow raw "%" in unformatted string-arrays

Commit 15fe2cb added format checking for translatable strings, enforcing
the use of positional args.  This check can be disabled on <string>
values with translatable="false" or formatted="false".  But they didn't
check for those attributes on <string-array>, so some of CM's strings
fail when they're not really format strings, just because they contain
percent signs.  (e.g. brightness widget's "Auto/Dim/40%/100%")

So now the formatted/translatable attributes are checked in string-array
too, and we can restore our proper percent signs.

Change-Id: I3478ab7e0b939e61fe0cec20201ac55096264080

13 years agoAdd new "animator" and "interpolator" resource directories.
Dianne Hackborn [Wed, 5 Jan 2011 05:02:48 +0000 (21:02 -0800)] 
Add new "animator" and "interpolator" resource directories.

First phase, allowing apps to move over to the new names.

Change-Id: Ia16f3e2383e4a6599a0011d0464f0aacb1ce9207

13 years agoNormalize output from aapt d
Shachar Shemesh [Mon, 20 Dec 2010 15:38:33 +0000 (17:38 +0200)] 
Normalize output from aapt d

Make the output from aapt dump --values resources and aapt dump xmltree normalized, so that it is unambigously displayed
regardless of the content of the strings.

Change-Id: Ia3bff36c4ee1e9a44f474534e154830948beabdf

13 years agoMake AaptGroupEntry::getMncName accept mnc00
Johan Redestig [Tue, 9 Nov 2010 13:13:31 +0000 (14:13 +0100)] 
Make AaptGroupEntry::getMncName accept mnc00

MNC 00 is a valid network code and is used by
some operators, see http://en.wikipedia.org/wiki/Mobile_Network_Code.

Remove the test that checks if atoi returns zero.
The string is validated to contain only numbers
already.

Also discussed here:
https://code.google.com/p/android/issues/detail?id=3657

Change-Id: I3220d7980abe4067c9e7aa4cbc10b5fd0b8c9ea7

13 years agoam 0ccc8b73: am 5441a9ff: Merge "GL texture filtering changed from AND to OR, so...
Dan Morrill [Tue, 14 Dec 2010 19:31:29 +0000 (11:31 -0800)] 
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).

13 years agoam 5441a9ff: Merge "GL texture filtering changed from AND to OR, so rename tag name...
Dan Morrill [Tue, 14 Dec 2010 19:28:50 +0000 (11:28 -0800)] 
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 '5441a9ff2128cf2c5088974c74b79d2d1734f755':
  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).

13 years agoGL texture filtering changed from AND to OR, so rename tag name to match.
Dan Morrill [Tue, 14 Dec 2010 00:25:54 +0000 (16:25 -0800)] 
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

13 years agoChange assets to use 64-bit API
Kenny Root [Wed, 24 Nov 2010 20:56:06 +0000 (12:56 -0800)] 
Change assets to use 64-bit API

The asset system and supporting libraries were using off_t instead of
off64_t to access files larger than 2GB (32-bit signed). This change
replaces all off_t with off64_t and lseek64.

There is a new utils/Compat.h added for Mac OS compatibility.

Also fixed some size-related compiler warnings.

Bug: 3205336
Change-Id: I9097b3cb7a602e811fe52f245939d8975da55e9e

14 years agoAdd knowledge of mipmap to aapt
Kenny Root [Tue, 23 Nov 2010 06:28:37 +0000 (22:28 -0800)] 
Add knowledge of mipmap to aapt

New mipmap drawable type that does not get filtered according to
configuration. Useful for things that get built as part of the system.

Change-Id: I556033d065e504079271dce79c23c90d3c387ce4

14 years agoam 3442611e: am 5580e44c: Merge "Support changing style parent in overlays"
Jean-Baptiste Queru [Sat, 6 Nov 2010 23:25:03 +0000 (16:25 -0700)] 
am 3442611e: am 5580e44c: Merge "Support changing style parent in overlays"

* commit '3442611ee11b2987c83054fe3c7ed5521f27f052':
  Support changing style parent in overlays

14 years agoam 4da6efc8: am 46151652: Merge "fix xlarge support in aapt for gingerbread" into...
Scott Main [Sat, 6 Nov 2010 23:24:28 +0000 (16:24 -0700)] 
am 4da6efc8: am 46151652: Merge "fix xlarge support in aapt for gingerbread" into gingerbread

* commit '4da6efc8a3ecfcf46a8988ad1d277ae00ed1f58c':
  fix xlarge support in aapt for gingerbread

14 years agoam 5580e44c: Merge "Support changing style parent in overlays"
Jean-Baptiste Queru [Fri, 5 Nov 2010 21:05:41 +0000 (14:05 -0700)] 
am 5580e44c: Merge "Support changing style parent in overlays"

* commit '5580e44c250944f5cd011b2682eea5cc2de9706c':
  Support changing style parent in overlays

14 years agoam 46151652: Merge "fix xlarge support in aapt for gingerbread" into gingerbread
Scott Main [Fri, 5 Nov 2010 20:57:41 +0000 (13:57 -0700)] 
am 46151652: Merge "fix xlarge support in aapt for gingerbread" into gingerbread

* commit '46151652b8dc562f4a3332e1d12fa799e3638ea8':
  fix xlarge support in aapt for gingerbread

14 years agofix xlarge support in aapt for gingerbread
Scott Main [Fri, 5 Nov 2010 01:32:00 +0000 (18:32 -0700)] 
fix xlarge support in aapt for gingerbread

Change-Id: I4d8872fb839a6eadc538055215d4455af328846c

14 years agoMerge "Support changing style parent in overlays"
Jean-Baptiste Queru [Thu, 4 Nov 2010 14:26:37 +0000 (07:26 -0700)] 
Merge "Support changing style parent in overlays"

14 years agoFix debug statements and aapt assert.
Patrick Scott [Thu, 21 Oct 2010 18:53:40 +0000 (14:53 -0400)] 
Fix debug statements and aapt assert.

ENABLE_PSEUDOLOCALIZE seems to not exist.

Change-Id: Ifef771a96938c7ff0f8b664142bb502030b8c543

14 years agoImplement issue #3116702: New manifest tags for supported screen sizes
Dianne Hackborn [Thu, 21 Oct 2010 22:32:06 +0000 (15:32 -0700)] 
Implement issue #3116702: New manifest tags for supported screen sizes

Merged from GB.

Change-Id: I94730b54bcacd083f77708e84c35f4932a7b9d2e

14 years agoam 101f14b2: (-s ours) am ba501785: Merge "Implement issue #3116702: New manifest...
Dianne Hackborn [Fri, 22 Oct 2010 03:27:26 +0000 (20:27 -0700)] 
am 101f14b2: (-s ours) am ba501785: Merge "Implement issue #3116702: New manifest tags for supported screen sizes  DO NOT MERGE" into gingerbread

Merge commit '101f14b275ab2451aef50dec427376d721d17aea'

* commit '101f14b275ab2451aef50dec427376d721d17aea':
  Implement issue #3116702: New manifest tags for supported screen sizes  DO NOT MERGE

14 years agoam ba501785: Merge "Implement issue #3116702: New manifest tags for supported screen...
Dianne Hackborn [Fri, 22 Oct 2010 03:17:56 +0000 (20:17 -0700)] 
am ba501785: Merge "Implement issue #3116702: New manifest tags for supported screen sizes  DO NOT MERGE" into gingerbread

Merge commit 'ba501785c7b298198d1c6e4787fd40e98f97da67' into gingerbread-plus-aosp

* commit 'ba501785c7b298198d1c6e4787fd40e98f97da67':
  Implement issue #3116702: New manifest tags for supported screen sizes  DO NOT MERGE

14 years agoImplement issue #3116702: New manifest tags for supported screen sizes DO NOT MERGE
Dianne Hackborn [Thu, 21 Oct 2010 22:32:06 +0000 (15:32 -0700)] 
Implement issue #3116702: New manifest tags for supported screen sizes  DO NOT MERGE

Change-Id: Iabf64d86c89d387ffbfbc39f950d308a73fe17eb

14 years agoam b58af2b8: am 5c62ab0a: Merge "Adding a new <uses-gl-texture/> tag, to be used...
Dan Morrill [Fri, 15 Oct 2010 15:33:00 +0000 (08:33 -0700)] 
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

14 years agoam 5c62ab0a: Merge "Adding a new <uses-gl-texture/> tag, to be used to enable apps...
Dan Morrill [Wed, 13 Oct 2010 22:23:27 +0000 (15:23 -0700)] 
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 '5c62ab0af9dadc3bccdad7b01c3ae17266f0b0e1' into gingerbread-plus-aosp

* commit '5c62ab0af9dadc3bccdad7b01c3ae17266f0b0e1':
  Adding a new <uses-gl-texture/> tag, to be used to enable apps to specify

14 years agoAdding a new <uses-gl-texture/> tag, to be used to enable apps to specify
Dan Morrill [Wed, 13 Oct 2010 21:33:43 +0000 (14:33 -0700)] 
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

14 years agoam ceb3aae3: am 4e1658af: Merge "Avoid pre-processing images when they won\'t be...
Xavier Ducrohet [Tue, 12 Oct 2010 00:42:54 +0000 (17:42 -0700)] 
am ceb3aae3: am 4e1658af: Merge "Avoid pre-processing images when they won\'t be used" into gingerbread

Merge commit 'ceb3aae348d4b17e6282fe7706fc22b699ee9a1d'

* commit 'ceb3aae348d4b17e6282fe7706fc22b699ee9a1d':
  Avoid pre-processing images when they won't be used

14 years agoam 4e1658af: Merge "Avoid pre-processing images when they won\'t be used" into ginger...
Xavier Ducrohet [Sun, 10 Oct 2010 22:19:58 +0000 (15:19 -0700)] 
am 4e1658af: Merge "Avoid pre-processing images when they won\'t be used" into gingerbread

Merge commit '4e1658afb8a79aa03a5ca712b02b2a33fb00bf6d' into gingerbread-plus-aosp

* commit '4e1658afb8a79aa03a5ca712b02b2a33fb00bf6d':
  Avoid pre-processing images when they won't be used

14 years agoAvoid pre-processing images when they won't be used
Anthony Newnam [Wed, 1 Sep 2010 17:06:04 +0000 (12:06 -0500)] 
Avoid pre-processing images when they won't be used

Change-Id: I24db3645c399f66dc7cc0e85909ce34b68ff829e

14 years agoresolved conflicts for merge of 10d5b096 to master
Dianne Hackborn [Mon, 4 Oct 2010 21:54:59 +0000 (14:54 -0700)] 
resolved conflicts for merge of 10d5b096 to master

Change-Id: Id5c6ba651f72b48f0d70ee2ca64a6c9adf5e74f7

14 years agoam 407f625a: Add new API to find out whether external storage is removable.
Dianne Hackborn [Mon, 4 Oct 2010 21:03:06 +0000 (14:03 -0700)] 
am 407f625a: Add new API to find out whether external storage is removable.

Merge commit '407f625a9b8e356e765a5ec587c443af1f3aadb5' into gingerbread-plus-aosp

* commit '407f625a9b8e356e765a5ec587c443af1f3aadb5':
  Add new API to find out whether external storage is removable.

14 years agoAdd new API to find out whether external storage is removable.
Dianne Hackborn [Mon, 4 Oct 2010 18:31:17 +0000 (11:31 -0700)] 
Add new API to find out whether external storage is removable.

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

14 years agoam 9c708358: am 37cedce1: Merge "Add an aapt option to allow string variations for...
Eric Fischer [Thu, 23 Sep 2010 20:52:00 +0000 (13:52 -0700)] 
am 9c708358: am 37cedce1: Merge "Add an aapt option to allow string variations for different devices." into gingerbread

Merge commit '9c70835896b6c078ac4c8b2e30cb6cfba70bb9d7'

* commit '9c70835896b6c078ac4c8b2e30cb6cfba70bb9d7':
  Add an aapt option to allow string variations for different devices.

14 years agoam 37cedce1: Merge "Add an aapt option to allow string variations for different devic...
Eric Fischer [Thu, 23 Sep 2010 20:49:44 +0000 (13:49 -0700)] 
am 37cedce1: Merge "Add an aapt option to allow string variations for different devices." into gingerbread

Merge commit '37cedce14bc0e68e8bf27c2cecb181728226e6ed' into gingerbread-plus-aosp

* commit '37cedce14bc0e68e8bf27c2cecb181728226e6ed':
  Add an aapt option to allow string variations for different devices.

14 years agoAdd an aapt option to allow string variations for different devices.
Eric Fischer [Wed, 15 Sep 2010 22:59:21 +0000 (15:59 -0700)] 
Add an aapt option to allow string variations for different devices.

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

14 years agoam fa888784: am 89fef418: Merge "Avoid pre-processing images when they won\'t be...
Xavier Ducrohet [Fri, 10 Sep 2010 22:01:56 +0000 (15:01 -0700)] 
am fa888784: am 89fef418: Merge "Avoid pre-processing images when they won\'t be used"

Merge commit 'fa8887848e2877dd96e853dfcd52086f1b66c26b'

* commit 'fa8887848e2877dd96e853dfcd52086f1b66c26b':
  Avoid pre-processing images when they won't be used

14 years agoam 89fef418: Merge "Avoid pre-processing images when they won\'t be used"
Xavier Ducrohet [Fri, 10 Sep 2010 20:03:43 +0000 (13:03 -0700)] 
am 89fef418: Merge "Avoid pre-processing images when they won\'t be used"

Merge commit '89fef4183a3c58aebbbf66e894bbdc1ae9f634e9' into gingerbread-plus-aosp

* commit '89fef4183a3c58aebbbf66e894bbdc1ae9f634e9':
  Avoid pre-processing images when they won't be used

14 years agoAvoid pre-processing images when they won't be used
Anthony Newnam [Wed, 1 Sep 2010 17:06:04 +0000 (12:06 -0500)] 
Avoid pre-processing images when they won't be used

Change-Id: Iffa31228ca95a2e29ccc0aa81bda0fc66922d577

14 years agoam 31103928: am 192b56d4: Merge "Implement #2964234: Add support for <uses-package...
Dianne Hackborn [Fri, 3 Sep 2010 00:59:51 +0000 (17:59 -0700)] 
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

14 years agoam 192b56d4: Merge "Implement #2964234: Add support for <uses-package> element to...
Dianne Hackborn [Fri, 3 Sep 2010 00:36:37 +0000 (17:36 -0700)] 
am 192b56d4: Merge "Implement #2964234: Add support for <uses-package> element to aapt" into gingerbread

Merge commit '192b56d42a4f6e5e6c736b0f22dd5bd201b02c9d' into gingerbread-plus-aosp

* commit '192b56d42a4f6e5e6c736b0f22dd5bd201b02c9d':
  Implement #2964234: Add support for <uses-package> element to aapt

14 years agoImplement #2964234: Add support for <uses-package> element to aapt
Dianne Hackborn [Fri, 3 Sep 2010 00:14:41 +0000 (17:14 -0700)] 
Implement #2964234: Add support for <uses-package> element to aapt

Change-Id: Ifb381f387cab7e5a99006691e330d0e3d9d0f250

14 years agoam d0743dfb: resolved conflicts for merge of bd6abed3 to gingerbread-plus-aosp
Jean-Baptiste Queru [Thu, 2 Sep 2010 19:08:37 +0000 (12:08 -0700)] 
am d0743dfb: resolved conflicts for merge of bd6abed3 to gingerbread-plus-aosp

Merge commit 'd0743dfbeeb1fb5d63a6be2631e9aa2107233291'

* commit 'd0743dfbeeb1fb5d63a6be2631e9aa2107233291':
  Add a --debug-mode option to aapt.

14 years agoresolved conflicts for merge of bd6abed3 to gingerbread-plus-aosp
Jean-Baptiste Queru [Thu, 2 Sep 2010 19:05:33 +0000 (12:05 -0700)] 
resolved conflicts for merge of bd6abed3 to gingerbread-plus-aosp

Change-Id: I5522eaf85b157efede96399856fb67a1f244dd9d

14 years agoAdd a --debug-mode option to aapt.
Xavier Ducrohet [Tue, 31 Aug 2010 17:45:31 +0000 (10:45 -0700)] 
Add a --debug-mode option to aapt.

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: I909759caef499a91d10cc9a0902c6448c87e75ef

14 years agoam b4649ec7: am 23827557: Merge "Add a --debug-mode option to aapt." into gingerbread
Xavier Ducrohet [Tue, 31 Aug 2010 21:35:28 +0000 (14:35 -0700)] 
am b4649ec7: am 23827557: Merge "Add a --debug-mode option to aapt." into gingerbread

Merge commit 'b4649ec720fa959b700a7a03c089bfdc61321d16'

* commit 'b4649ec720fa959b700a7a03c089bfdc61321d16':
  Add a --debug-mode option to aapt.

14 years agoam 23827557: Merge "Add a --debug-mode option to aapt." into gingerbread
Xavier Ducrohet [Tue, 31 Aug 2010 21:32:53 +0000 (14:32 -0700)] 
am 23827557: Merge "Add a --debug-mode option to aapt." into gingerbread

Merge commit '2382755730206da52b64bf7bd2fad421f9a6fd0d' into gingerbread-plus-aosp

* commit '2382755730206da52b64bf7bd2fad421f9a6fd0d':
  Add a --debug-mode option to aapt.

14 years agoAdd a --debug-mode option to aapt.
Xavier Ducrohet [Tue, 31 Aug 2010 17:45:31 +0000 (10:45 -0700)] 
Add a --debug-mode option to aapt.

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

14 years agoam eb0e0f46: am 2e7427f3: Merge "Add LFH offset to verbose list of APK" into gingerbread
Kenny Root [Thu, 26 Aug 2010 00:25:15 +0000 (17:25 -0700)] 
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

14 years agoam 2e7427f3: Merge "Add LFH offset to verbose list of APK" into gingerbread
Kenny Root [Thu, 26 Aug 2010 00:22:01 +0000 (17:22 -0700)] 
am 2e7427f3: Merge "Add LFH offset to verbose list of APK" into gingerbread

Merge commit '2e7427f39ec15dcb43cc1247372b53980be11d38' into gingerbread-plus-aosp

* commit '2e7427f39ec15dcb43cc1247372b53980be11d38':
  Add LFH offset to verbose list of APK

14 years agoMerge "Add LFH offset to verbose list of APK" into gingerbread
Kenny Root [Thu, 26 Aug 2010 00:20:29 +0000 (17:20 -0700)] 
Merge "Add LFH offset to verbose list of APK" into gingerbread

14 years agoam 7517ffd1: am 59073b15: Merge "Fix linux 64 build" into gingerbread
Brian Carlstrom [Wed, 25 Aug 2010 17:10:31 +0000 (10:10 -0700)] 
am 7517ffd1: am 59073b15: Merge "Fix linux 64 build" into gingerbread

Merge commit '7517ffd134d03bd5392e8292a18551bfce08ddce'

* commit '7517ffd134d03bd5392e8292a18551bfce08ddce':
  Fix linux 64 build

14 years agoam 59073b15: Merge "Fix linux 64 build" into gingerbread
Brian Carlstrom [Wed, 25 Aug 2010 17:07:18 +0000 (10:07 -0700)] 
am 59073b15: Merge "Fix linux 64 build" into gingerbread

Merge commit '59073b155ab0d8a5706c90200e6af614510aba0e' into gingerbread-plus-aosp

* commit '59073b155ab0d8a5706c90200e6af614510aba0e':
  Fix linux 64 build

14 years agoAdd LFH offset to verbose list of APK
Kenny Root [Wed, 25 Aug 2010 14:36:31 +0000 (07:36 -0700)] 
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

14 years agoFix linux 64 build
Brian Carlstrom [Wed, 25 Aug 2010 03:20:50 +0000 (20:20 -0700)] 
Fix linux 64 build

git cherry-pick -e 49416bc658e37a0f4ae4f2b7b8582dd1606fba0f

Change-Id: I37a689acea8aeb5d6ac92ee56b077bafe4fba170

14 years agoam 8b569c8d: am 42f90ca5: Merge "Fix aapt dump badging to support xlarge screens...
Dianne Hackborn [Tue, 24 Aug 2010 16:02:43 +0000 (09:02 -0700)] 
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.

14 years agoam 42f90ca5: Merge "Fix aapt dump badging to support xlarge screens." into gingerbread
Dianne Hackborn [Fri, 20 Aug 2010 20:42:25 +0000 (13:42 -0700)] 
am 42f90ca5: Merge "Fix aapt dump badging to support xlarge screens." into gingerbread

Merge commit '42f90ca54fc4c6e0bdbde7caa7d10b6090d11960' into gingerbread-plus-aosp

* commit '42f90ca54fc4c6e0bdbde7caa7d10b6090d11960':
  Fix aapt dump badging to support xlarge screens.

14 years agoUpdate aapt to find fragment references.
Dianne Hackborn [Thu, 19 Aug 2010 19:56:10 +0000 (12:56 -0700)] 
Update aapt to find fragment references.

Add knowledge about <fragment class="..."> for layout files
and update to reflect the change of the header tag from Header.

Change-Id: I91e2a5f204a8e222367985383c1721030c7954d8

14 years agoFix aapt dump badging to support xlarge screens.
Dianne Hackborn [Fri, 20 Aug 2010 19:44:33 +0000 (12:44 -0700)] 
Fix aapt dump badging to support xlarge screens.

Change-Id: Ieeb757cd48ad9b3f46c5e4aed9d5efaeac834049

14 years agoSupport changing style parent in overlays
Martin Nordholts [Wed, 2 Jun 2010 13:42:28 +0000 (15:42 +0200)] 
Support changing style parent in overlays

Package overlays makes it possible for vendors to tweak the look of
the platform and the applications without touching any platform or
application code directly. This makes package overlays an important
mechanism in the Android build system.

There is currently a limitation that forbids changing the parent of a
style. If vendors could change the parent of e.g. ‘CalendarTheme’
from Android’s vanilla ‘Theme’ to ‘VendorTheme’, then vendor
specific adjustments could be done without changing any code directly.

From looking at the code it can be seen that the parent value of a
style is stored temporarily in ResourceTable::Entry::mParent while
overlays are gone through in buildResources(), and processed (in
ResourceTable::Entry::assignResourceIds()) at first after all overlays
have been handled, so there aren’t any obvious reasons why changing
parent in an overlay should be forbidden.

Change-Id: I5969bb8aab90df437e1967fc504cc0da79107d13

14 years agoam 8cfd3c01: am e05184f2: Merge "Output proguard keep flags for fragment classes...
Ying Wang [Mon, 16 Aug 2010 22:16:52 +0000 (15:16 -0700)] 
am 8cfd3c01: am e05184f2: Merge "Output proguard keep flags for fragment classes." into gingerbread

Merge commit '8cfd3c01e4582a587765588c02234527e7808ca0'

* commit '8cfd3c01e4582a587765588c02234527e7808ca0':
  Output proguard keep flags for fragment classes.

14 years agoam d22a1e89: am 244152bf: Merge "Change aapt\'s warning message to suggest formatted...
Eric Fischer [Mon, 16 Aug 2010 14:49:51 +0000 (07:49 -0700)] 
am d22a1e89: am 244152bf: Merge "Change aapt\'s warning message to suggest formatted="false", not "true"." into gingerbread

Merge commit 'd22a1e896cbc7e86d57be9923d749b017b3cde79'

* commit 'd22a1e896cbc7e86d57be9923d749b017b3cde79':
  Change aapt's warning message to suggest formatted="false", not "true".

14 years agoam 44e0d5ca: am 0a6bfe2a: am 2abde6e0: Add --max-res-version flag to aapt.
Ficus Kirkpatrick [Mon, 16 Aug 2010 14:49:38 +0000 (07:49 -0700)] 
am 44e0d5ca: am 0a6bfe2a: am 2abde6e0: Add --max-res-version flag to aapt.

Merge commit '44e0d5ca752db52f2f02e475ecd254b676e50be2'

* commit '44e0d5ca752db52f2f02e475ecd254b676e50be2':
  Add --max-res-version flag to aapt.

14 years agoam 0f414272: am 7525c2cf: Merge "Add --max-res-version flag to aapt." into gingerbread
Ficus Kirkpatrick [Mon, 16 Aug 2010 14:49:30 +0000 (07:49 -0700)] 
am 0f414272: am 7525c2cf: Merge "Add --max-res-version flag to aapt." into gingerbread

Merge commit '0f414272ccb9c387f41ad3bb5ee464a6f0b646a4'

* commit '0f414272ccb9c387f41ad3bb5ee464a6f0b646a4':
  Add --max-res-version flag to aapt.

14 years agoam e05184f2: Merge "Output proguard keep flags for fragment classes." into gingerbread
Ying Wang [Fri, 13 Aug 2010 22:29:04 +0000 (15:29 -0700)] 
am e05184f2: Merge "Output proguard keep flags for fragment classes." into gingerbread

Merge commit 'e05184f271f9882a5bf828e353aea40e0c06ff69' into gingerbread-plus-aosp

* commit 'e05184f271f9882a5bf828e353aea40e0c06ff69':
  Output proguard keep flags for fragment classes.

14 years agoMerge "Output proguard keep flags for fragment classes." into gingerbread
Ying Wang [Fri, 13 Aug 2010 22:26:21 +0000 (15:26 -0700)] 
Merge "Output proguard keep flags for fragment classes." into gingerbread

14 years agoam 244152bf: Merge "Change aapt\'s warning message to suggest formatted="false",...
Eric Fischer [Fri, 13 Aug 2010 21:56:47 +0000 (14:56 -0700)] 
am 244152bf: Merge "Change aapt\'s warning message to suggest formatted="false", not "true"." into gingerbread

Merge commit '244152bfb9020341953d3e541c85eb3961806378' into gingerbread-plus-aosp

* commit '244152bfb9020341953d3e541c85eb3961806378':
  Change aapt's warning message to suggest formatted="false", not "true".

14 years agoMerge "Change aapt's warning message to suggest formatted="false", not "true"." into...
Eric Fischer [Fri, 13 Aug 2010 21:54:15 +0000 (14:54 -0700)] 
Merge "Change aapt's warning message to suggest formatted="false", not "true"." into gingerbread

14 years agoChange aapt's warning message to suggest formatted="false", not "true".
Eric Fischer [Fri, 13 Aug 2010 21:49:55 +0000 (14:49 -0700)] 
Change aapt's warning message to suggest formatted="false", not "true".

True is the default and specifying it won't suppress the warning.

Change-Id: I8ecc919b4059bf3321e781649cb46dd2d3807592

14 years agoam 0a6bfe2a: am 2abde6e0: Add --max-res-version flag to aapt.
Ficus Kirkpatrick [Fri, 13 Aug 2010 21:47:38 +0000 (14:47 -0700)] 
am 0a6bfe2a: am 2abde6e0: Add --max-res-version flag to aapt.

Merge commit '0a6bfe2ae21f19adf65d8b8a18c530d94ea4e543' into gingerbread-plus-aosp

* commit '0a6bfe2ae21f19adf65d8b8a18c530d94ea4e543':
  Add --max-res-version flag to aapt.

14 years agoam 2abde6e0: Add --max-res-version flag to aapt.
Ficus Kirkpatrick [Fri, 13 Aug 2010 21:45:39 +0000 (14:45 -0700)] 
am 2abde6e0: Add --max-res-version flag to aapt.

Merge commit '2abde6e0ddaed3d2d60bad984a2adc3acbb8164c' into gingerbread

* commit '2abde6e0ddaed3d2d60bad984a2adc3acbb8164c':
  Add --max-res-version flag to aapt.

14 years agoAdd --max-res-version flag to aapt.
Ficus Kirkpatrick [Fri, 13 Aug 2010 21:13:08 +0000 (14:13 -0700)] 
Add --max-res-version flag to aapt.

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 gingerbread.

Change-Id: I71b889540380cb10bafb40f72582d3af785ae33a

14 years agoam 7525c2cf: Merge "Add --max-res-version flag to aapt." into gingerbread
Ficus Kirkpatrick [Fri, 13 Aug 2010 21:27:41 +0000 (14:27 -0700)] 
am 7525c2cf: Merge "Add --max-res-version flag to aapt." into gingerbread

Merge commit '7525c2cfbbaa5c947c029008ef490e93a50c064f' into gingerbread-plus-aosp

* commit '7525c2cfbbaa5c947c029008ef490e93a50c064f':
  Add --max-res-version flag to aapt.

14 years agoAdd --max-res-version flag to aapt.
Ficus Kirkpatrick [Fri, 13 Aug 2010 21:13:08 +0000 (14:13 -0700)] 
Add --max-res-version flag to aapt.

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

14 years agoAdd --max-res-version flag to aapt.
Ficus Kirkpatrick [Fri, 13 Aug 2010 21:13:08 +0000 (14:13 -0700)] 
Add --max-res-version flag to aapt.

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 eclair.

Change-Id: I40ccf820c8a6e3074fccc987dd60a511dd8eb0de

14 years agoOutput proguard keep flags for fragment classes.
Ying Wang [Fri, 13 Aug 2010 20:56:07 +0000 (13:56 -0700)] 
Output proguard keep flags for fragment classes.

Change-Id: I28c10fbf18b91f8ba3dfc2575cd41215f65f11ec
Bug: 2916847

14 years agoam f781b4ef: am e37ab632: Merge "Fix build on some linux machines"
Jean-Baptiste Queru [Wed, 11 Aug 2010 17:07:56 +0000 (10:07 -0700)] 
am f781b4ef: am e37ab632: Merge "Fix build on some linux machines"

Merge commit 'f781b4ef4bd840b7cee83fafdf2e31e709068bd3'

* commit 'f781b4ef4bd840b7cee83fafdf2e31e709068bd3':
  Fix build on some linux machines

14 years agoam e37ab632: Merge "Fix build on some linux machines"
Jean-Baptiste Queru [Wed, 11 Aug 2010 17:04:31 +0000 (10:04 -0700)] 
am e37ab632: Merge "Fix build on some linux machines"

Merge commit 'e37ab63221af94d69437741a3645fc0e14a680bc' into gingerbread-plus-aosp

* commit 'e37ab63221af94d69437741a3645fc0e14a680bc':
  Fix build on some linux machines

14 years agoFix build on some linux machines
hmepas [Wed, 21 Jan 2009 15:41:00 +0000 (07:41 -0800)] 
Fix build on some linux machines

This adds -lpthread on linux for aapt and localize, which appear to be
needed on some linux distros.

Signed-off-by: Jean-Baptiste Queru <jbq@google.com>
14 years agoam 799a5a61: am 2533a6ad: set up fast-forward from froyo-release to gingerbread
The Android Open Source Project [Tue, 29 Jun 2010 21:42:32 +0000 (14:42 -0700)] 
am 799a5a61: am 2533a6ad: set up fast-forward from froyo-release to gingerbread

Merge commit '799a5a61d5813be83c4d0814b04c374adfe3a989'

* commit '799a5a61d5813be83c4d0814b04c374adfe3a989': (22 commits)
  Properly note the current active restore set's token
  Do not log AT command traffic by default.
  Work on issue # 2778549: Idle FRF72 is awake 18 mins more than ERE27 in 13hr test
  TimedEventQueue is apparently important for glitch-free media playback, and so
  As Donut (API=4) devices and earlier do not have a Bluetooth API, .apk files
  When filling the cache, we always time out waiting for a condition that won't occur.
  Respond to changes in throttle policy.
  Fix Tethering of multiple downstream ifaces.
  Update Framework to support multiple dhpc ranges
  Dumb late-night typo.
  Use ViewRoot.addConfigCallback instead of a BroadcastReceiver.
  Clean up changing AP configuration
  Grant permissions to apps on sd when enabling/disabling packages.
  Fix issue #2512507: Shortcuts and Widgets lost on upgrading from Eclair to FRE70D
  Switch default install location to unspecified.
  Fix problem with calling onConfigurationChanged() too much.
  Preserve widgets on upgrade.
  Need to keep new package's cert when using original-package.
  Pick up default install location
  Fix 2463886: Allow delayed fetching of DevicePolicyManager in LockPatternUtils.
  ...

14 years agoset up fast-forward from froyo-release to gingerbread
The Android Open Source Project [Tue, 29 Jun 2010 21:34:35 +0000 (14:34 -0700)] 
set up fast-forward from froyo-release to gingerbread

Change-Id: I22fc9465f5d8a0144b31803f431602fe3bda516a

14 years agoFixes a few minor problems with AAPT
Steve Block [Mon, 14 Jun 2010 16:34:04 +0000 (17:34 +0100)] 
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

14 years agoam dde1ae84: am 45378f07: am 6b22d81a: As Donut (API=4) devices and earlier do not...
Dan Morrill [Thu, 17 Jun 2010 19:45:53 +0000 (12:45 -0700)] 
am dde1ae84: am 45378f07: am 6b22d81a: 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.

Merge commit 'dde1ae841ab77c4c0b3ef9bb25849314554a6ad7'

* commit 'dde1ae841ab77c4c0b3ef9bb25849314554a6ad7':
  As Donut (API=4) devices and earlier do not have a Bluetooth API, .apk files

14 years agoam 6b22d81a: As Donut (API=4) devices and earlier do not have a Bluetooth API, .apk...
Dan Morrill [Thu, 17 Jun 2010 19:36:17 +0000 (12:36 -0700)] 
am 6b22d81a: 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.

Merge commit '6b22d81aa35d9a9b32670995c002e92588b2fe09' into gingerbread

* commit '6b22d81aa35d9a9b32670995c002e92588b2fe09':
  As Donut (API=4) devices and earlier do not have a Bluetooth API, .apk files

14 years agoAs Donut (API=4) devices and earlier do not have a Bluetooth API, .apk files
Dan Morrill [Wed, 16 Jun 2010 04:41:42 +0000 (21:41 -0700)] 
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