]> git.saurik.com Git - android/aapt.git/log
android/aapt.git
14 years agoMerge "Add --auto-add-overlay option to aapt."
Xavier Ducrohet [Tue, 9 Feb 2010 19:29:11 +0000 (11:29 -0800)] 
Merge "Add --auto-add-overlay option to aapt."

14 years agoam 0af04493: am 31bfdf69: reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 22:23:32 +0000 (14:23 -0800)] 
am 0af04493: am 31bfdf69: reconcile main tree with open-source eclair

Merge commit '0af0449301e72a52beeed8f26021e5460004d67a'

* commit '0af0449301e72a52beeed8f26021e5460004d67a':
  android-2.1_r1 snapshot
  Use 128p map tiles for high dpi devices.
  Throttle nitz updates as the are too numerous on cdma.
  don't request a sync when temp providers are created
  Increase light sensor delay from one to two seconds.
  Revert jparks code from IPCThreadState.
  Add a warning when we leave threads in the binder thread pool in the background scheduling group.
  PowerManagerService: Ensure that recent changes do not effect the hardware ALS case.

14 years agoam 31bfdf69: reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:48:38 +0000 (08:48 -0800)] 
am 31bfdf69: reconcile main tree with open-source eclair

Merge commit '31bfdf695ef741f64066ef605bd6a7e23df88714' into eclair-plus-aosp

* commit '31bfdf695ef741f64066ef605bd6a7e23df88714':
  android-2.1_r1 snapshot
  Use 128p map tiles for high dpi devices.
  Throttle nitz updates as the are too numerous on cdma.
  don't request a sync when temp providers are created
  Increase light sensor delay from one to two seconds.
  Revert jparks code from IPCThreadState.
  Add a warning when we leave threads in the binder thread pool in the background scheduling group.
  PowerManagerService: Ensure that recent changes do not effect the hardware ALS case.
  Fix regression.
  Fix broken build.
  Bluetooth A2DP suspend/resume functionality
  EventLog when a database file is deleted due to corruption.
  Don't forget to clear "backup in progress" state when finishing a pass
  Fix issue #2148939: Sholes slow to wake up in landscape mode
  Fix Cdma re-start of default connection.
  Merge change 26821 into eclair
  Not all WebView's host have permission to read the history.
  Merge change 26908 into eclair

14 years agoreconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:09:38 +0000 (08:09 -0800)] 
reconcile main tree with open-source eclair

14 years agoAdd --auto-add-overlay option to aapt.
Xavier Ducrohet [Fri, 5 Feb 2010 02:45:31 +0000 (18:45 -0800)] 
Add --auto-add-overlay option to aapt.

This option allows resources only present in overlays to be
added automatically instead of being declared through <add-resource>

Change-Id: Iff782311056f6a045193e57d204f7d3413e11b26

14 years agoAdd the --rename-manifest-package option to aapt.
Jeff Hamilton [Wed, 6 Jan 2010 21:46:38 +0000 (15:46 -0600)] 
Add the --rename-manifest-package option to aapt.

It allows you to force override the manifest
package listed in the AndroidManifest.xml when
creating an APK file.

Change-Id: I7eac7943c4e56610b65728ae54773a273634fd9d

14 years agoreconcile android-2.1_r1 snapshot
The Android Open Source Project [Fri, 29 Jan 2010 22:09:16 +0000 (14:09 -0800)] 
reconcile android-2.1_r1 snapshot

14 years agoam 6efe03b1: am 6f9e2c64: Merge "Find layout classes in all "layout-*" dirs." into...
Ying Wang [Wed, 27 Jan 2010 23:53:20 +0000 (15:53 -0800)] 
am 6efe03b1: am 6f9e2c64: Merge "Find layout classes in all "layout-*" dirs." into eclair

Merge commit '6efe03b19e0734361b262f9a0be4d225088d7f9e'

* commit '6efe03b19e0734361b262f9a0be4d225088d7f9e':
  Find layout classes in all "layout-*" dirs.

14 years agoam 3c05f1fb: am b5fb50a1: Merge "Add instrumentation as a source tag for proguard...
Ying Wang [Fri, 22 Jan 2010 17:45:31 +0000 (09:45 -0800)] 
am 3c05f1fb: am b5fb50a1: Merge "Add instrumentation as a source tag for proguard keep options." into eclair

Merge commit '3c05f1fbac2ce35483f61dbd5d5bfb6341da6d9c'

* commit '3c05f1fbac2ce35483f61dbd5d5bfb6341da6d9c':
  Add instrumentation as a source tag for proguard keep options.

14 years agoam 6f9e2c64: Merge "Find layout classes in all "layout-*" dirs." into eclair
Ying Wang [Thu, 21 Jan 2010 19:12:29 +0000 (11:12 -0800)] 
am 6f9e2c64: Merge "Find layout classes in all "layout-*" dirs." into eclair

Merge commit '6f9e2c648c0588a2eedef2746c9750ed9c6945be' into eclair-plus-aosp

* commit '6f9e2c648c0588a2eedef2746c9750ed9c6945be':
  Find layout classes in all "layout-*" dirs.

14 years agoFind layout classes in all "layout-*" dirs.
Ying Wang [Thu, 21 Jan 2010 06:12:46 +0000 (22:12 -0800)] 
Find layout classes in all "layout-*" dirs.

Before this CL, the generated keep flags for layout classes are incomplete,
such as layout classes in res/layout-port/ and res/layout-land and so on.

14 years agoam b5fb50a1: Merge "Add instrumentation as a source tag for proguard keep options...
Ying Wang [Tue, 19 Jan 2010 22:53:47 +0000 (14:53 -0800)] 
am b5fb50a1: Merge "Add instrumentation as a source tag for proguard keep options." into eclair

Merge commit 'b5fb50a133c6fc7fc93d6241912dd9ec24de6ace' into eclair-plus-aosp

* commit 'b5fb50a133c6fc7fc93d6241912dd9ec24de6ace':
  Add instrumentation as a source tag for proguard keep options.

14 years agoAdd instrumentation as a source tag for proguard keep options.
Ying Wang [Wed, 13 Jan 2010 22:18:11 +0000 (14:18 -0800)] 
Add instrumentation as a source tag for proguard keep options.

14 years agoam b4f41119: am a1d08886: Merge "Only output proguard keep for nonempty attribute...
Ying Wang [Wed, 13 Jan 2010 00:37:31 +0000 (16:37 -0800)] 
am b4f41119: am a1d08886: Merge "Only output proguard keep for nonempty attribute name in the AndroidManifest.xml." into eclair

Merge commit 'b4f41119044e5ec7f7b76ed4ac02b5cfbaeb474d'

* commit 'b4f41119044e5ec7f7b76ed4ac02b5cfbaeb474d':
  Only output proguard keep for nonempty attribute name in the AndroidManifest.xml.

14 years agoam a1d08886: Merge "Only output proguard keep for nonempty attribute name in the...
Ying Wang [Wed, 13 Jan 2010 00:34:13 +0000 (16:34 -0800)] 
am a1d08886: Merge "Only output proguard keep for nonempty attribute name in the AndroidManifest.xml." into eclair

Merge commit 'a1d08886ec8549878ad16c19754a3239706fb61b' into eclair-plus-aosp

* commit 'a1d08886ec8549878ad16c19754a3239706fb61b':
  Only output proguard keep for nonempty attribute name in the AndroidManifest.xml.

14 years agoOnly output proguard keep for nonempty attribute name in the AndroidManifest.xml.
Ying Wang [Wed, 13 Jan 2010 00:08:23 +0000 (16:08 -0800)] 
Only output proguard keep for nonempty attribute name in the AndroidManifest.xml.

Before this change, aapt generates proguard keep flags like
"-keep class com.android.somepackage.", which proguard doesn't recognize.

14 years agoandroid-2.1_r1 snapshot
The Android Open Source Project [Tue, 12 Jan 2010 23:18:53 +0000 (15:18 -0800)] 
android-2.1_r1 snapshot

14 years agoam ce56857e: am cb2d50d0: Fix issue #2357259: aapt tool prints "uses-configuation:"
Dianne Hackborn [Thu, 7 Jan 2010 17:21:52 +0000 (09:21 -0800)] 
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:"

14 years agoam cb2d50d0: Fix issue #2357259: aapt tool prints "uses-configuation:"
Dianne Hackborn [Wed, 6 Jan 2010 21:46:50 +0000 (13:46 -0800)] 
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:"

14 years agoFix issue #2357259: aapt tool prints "uses-configuation:"
Dianne Hackborn [Wed, 6 Jan 2010 19:29:54 +0000 (11:29 -0800)] 
Fix issue #2357259: aapt tool prints "uses-configuation:"

Change-Id: Id3ea3a86bd4d385441b05fcbe85b8ab62c35afff

14 years agoMerge commit 'goog/eclair-plus-aosp'
Android Git Automerger [Tue, 15 Dec 2009 08:44:42 +0000 (00:44 -0800)] 
Merge commit 'goog/eclair-plus-aosp'

14 years agoam 15f1bfb0: Merge change I70d0bddb into eclair-mr2
Kenny Root [Tue, 15 Dec 2009 00:28:03 +0000 (16:28 -0800)] 
am 15f1bfb0: Merge change I70d0bddb into eclair-mr2

Merge commit '15f1bfb0d29915ed1790b22a00fd7032f035ddb0' into eclair-mr2-plus-aosp

* commit '15f1bfb0d29915ed1790b22a00fd7032f035ddb0':
  Revise aapt options for UTF8/16 encoding

14 years agoRevise aapt options for UTF8/16 encoding
Kenny Root [Fri, 11 Dec 2009 16:15:16 +0000 (08:15 -0800)] 
Revise aapt options for UTF8/16 encoding

Remove option to force UTF-8 encoding which could corrupt packages meant
for systems before API level 7. Added switch to allow encoding for UTF-16
which will allow API 7 and later to encode resources in UTF-16.

Change-Id: I70d0bddb0dfd12dcbd08c95f613dcfe896ae680b

14 years agoam b5ef7ee1: Default to UTF8 resources when packaging with aapt
Kenny Root [Fri, 11 Dec 2009 04:23:04 +0000 (20:23 -0800)] 
am b5ef7ee1: Default to UTF8 resources when packaging with aapt

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

* commit 'b5ef7ee1644b099498ddd29c1d051e7ee26ccfd3':
  Default to UTF8 resources when packaging with aapt

14 years agoDefault to UTF8 resources when packaging with aapt
Kenny Root [Thu, 10 Dec 2009 21:52:53 +0000 (13:52 -0800)] 
Default to UTF8 resources when packaging with aapt

This change makes it so with API level 7 and above all resources will be
packaged in UTF-8 format. Any minSdkVersion level that is named will also
have resources packaged in UTF-8, because it is assumed that previous
releases will only be rebuilt with their proper integer number and only
future releases will temporarily have names.

Change-Id: If5d1ee5e48fbaf31798816b068ac44b14a93121b

14 years agoam a5a8cc13: resolved conflicts for merge of ce307f88 to eclair-mr2
Jean-Baptiste Queru [Fri, 11 Dec 2009 01:57:04 +0000 (17:57 -0800)] 
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

14 years agoresolved conflicts for merge of ce307f88 to eclair-mr2
Jean-Baptiste Queru [Fri, 11 Dec 2009 01:53:27 +0000 (17:53 -0800)] 
resolved conflicts for merge of ce307f88 to eclair-mr2

14 years agoam ce307f88: Merge change Ie4cdb5a3 into eclair
Xavier Ducrohet [Thu, 10 Dec 2009 02:25:28 +0000 (18:25 -0800)] 
am ce307f88: Merge change Ie4cdb5a3 into eclair

Merge commit 'ce307f889b509143899a2221359219fbc91b618c' into eclair-plus-aosp

* commit 'ce307f889b509143899a2221359219fbc91b618c':
  Add --custom-package to aapt

14 years agoam e6c0e993: Merge change I129483f8 into eclair-mr2
Kenny Root [Wed, 9 Dec 2009 23:51:21 +0000 (15:51 -0800)] 
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

14 years agoOptional use of UTF-8 strings in resource bundles
Kenny Root [Fri, 4 Dec 2009 17:38:48 +0000 (09:38 -0800)] 
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

15 years agoam fc32a062: Merge change I88721afe into eclair-mr2
Kenny Root [Sat, 5 Dec 2009 00:03:44 +0000 (16:03 -0800)] 
am fc32a062: Merge change I88721afe into eclair-mr2

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

* commit 'fc32a062f833df35ea153bbd857046052e2ce238':
  Fix bitmask in aapt's StringPool length construction

15 years agoFix bitmask in aapt's StringPool length construction
Kenny Root [Fri, 21 Aug 2009 20:23:45 +0000 (15:23 -0500)] 
Fix bitmask in aapt's StringPool length construction

The StringPool indicates the length of a string with a 16-bit
integer. If the length of the string is greater than 0x7FFF,
it splits it into two 16-bit integers with the first one
having the high bit set.

The length calculation has a small bug that masks off the
19 bits instead of the first 15 bits as intended.

15 years agoAdd --custom-package to aapt
Xavier Ducrohet [Tue, 1 Dec 2009 02:05:10 +0000 (18:05 -0800)] 
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

15 years agomerge from open-source master
Jean-Baptiste Queru [Sun, 15 Nov 2009 22:55:20 +0000 (14:55 -0800)] 
merge from open-source master

15 years agomerge from open-source master
Jean-Baptiste Queru [Sun, 15 Nov 2009 22:03:15 +0000 (14:03 -0800)] 
merge from open-source master

Merge commit 'goog/stage-korg-master^' into HEAD

15 years agomerge from eclair
Jean-Baptiste Queru [Sun, 15 Nov 2009 20:06:20 +0000 (12:06 -0800)] 
merge from eclair

15 years agomerge from open-source master
Jean-Baptiste Queru [Sun, 15 Nov 2009 19:03:19 +0000 (11:03 -0800)] 
merge from open-source master

15 years agoeclair snapshot
Jean-Baptiste Queru [Fri, 13 Nov 2009 02:45:53 +0000 (18:45 -0800)] 
eclair snapshot

15 years agoam 0d55daff: am 5fc71e67: am 00e44ef2: Merge change I54545dfd into eclair-sdk
Dirk Dougherty [Wed, 4 Nov 2009 22:32:34 +0000 (14:32 -0800)] 
am 0d55daff: am 5fc71e67: am 00e44ef2: Merge change I54545dfd into eclair-sdk

Merge commit '0d55daffc31c123dcf83f6db85f8198854ddc564' into eclair-mr2-plus-aosp

* commit '0d55daffc31c123dcf83f6db85f8198854ddc564':
  doc change: fix broken R.styleable formatting (caused by missing periods). Adjust table markup.

15 years agoam 5fc71e67: am 00e44ef2: Merge change I54545dfd into eclair-sdk
Dirk Dougherty [Wed, 4 Nov 2009 22:21:20 +0000 (14:21 -0800)] 
am 5fc71e67: am 00e44ef2: Merge change I54545dfd into eclair-sdk

Merge commit '5fc71e67498ed64ad2d41c23471b008f93cb580e' into eclair-mr2

* commit '5fc71e67498ed64ad2d41c23471b008f93cb580e':
  doc change: fix broken R.styleable formatting (caused by missing periods). Adjust table markup.

15 years agoam 5fc71e67: am 00e44ef2: Merge change I54545dfd into eclair-sdk
Dirk Dougherty [Wed, 4 Nov 2009 22:20:55 +0000 (14:20 -0800)] 
am 5fc71e67: am 00e44ef2: Merge change I54545dfd into eclair-sdk

Merge commit '5fc71e67498ed64ad2d41c23471b008f93cb580e' into eclair-plus-aosp

* commit '5fc71e67498ed64ad2d41c23471b008f93cb580e':
  doc change: fix broken R.styleable formatting (caused by missing periods). Adjust table markup.

15 years agoam 00e44ef2: Merge change I54545dfd into eclair-sdk
Dirk Dougherty [Wed, 4 Nov 2009 22:12:29 +0000 (14:12 -0800)] 
am 00e44ef2: Merge change I54545dfd into eclair-sdk

Merge commit '00e44ef21777f32b67a8d51ee375cd290a3fb2d4' into eclair

* commit '00e44ef21777f32b67a8d51ee375cd290a3fb2d4':
  doc change: fix broken R.styleable formatting (caused by missing periods). Adjust table markup.

15 years agodoc change: fix broken R.styleable formatting (caused by missing periods). Adjust...
Dirk Dougherty [Tue, 3 Nov 2009 23:33:37 +0000 (15:33 -0800)] 
doc change: fix broken R.styleable formatting (caused by missing periods). Adjust table markup.

Bug: 2230588
Change-Id: I54545dfd9d26acef567e586cfc916f6b883a4de7

15 years agomerge from open-source master
Jean-Baptiste Queru [Wed, 28 Oct 2009 21:52:33 +0000 (14:52 -0700)] 
merge from open-source master

15 years agomerge from open-source master
Jean-Baptiste Queru [Wed, 28 Oct 2009 20:42:51 +0000 (13:42 -0700)] 
merge from open-source master

15 years agoMerge from donut
Jean-Baptiste Queru [Wed, 28 Oct 2009 15:31:17 +0000 (08:31 -0700)] 
Merge from donut

15 years agoam 0b3977f8: am 617262d8: (-s ours) Merge change I37c4157d into eclair
Doug Zongker [Thu, 22 Oct 2009 05:34:14 +0000 (22:34 -0700)] 
am 0b3977f8: am 617262d8: (-s ours) Merge change I37c4157d into eclair

Merge commit '0b3977f87b10fd78cffa0c39aaf787bfe6d108c7' into eclair-mr2-plus-aosp

* commit '0b3977f87b10fd78cffa0c39aaf787bfe6d108c7':
  add "junk path" -k option to aapt (DO NOT MERGE)

15 years agoam 617262d8: (-s ours) Merge change I37c4157d into eclair
Doug Zongker [Thu, 22 Oct 2009 05:22:27 +0000 (22:22 -0700)] 
am 617262d8: (-s ours) Merge change I37c4157d into eclair

Merge commit '617262d8f57362536ddc00a070c1c0994741de44' into eclair-mr2

* commit '617262d8f57362536ddc00a070c1c0994741de44':
  add "junk path" -k option to aapt (DO NOT MERGE)

15 years agoam 617262d8: Merge change I37c4157d into eclair
Doug Zongker [Tue, 20 Oct 2009 20:36:06 +0000 (13:36 -0700)] 
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)

15 years agoadd "junk path" -k option to aapt (DO NOT MERGE)
Doug Zongker [Tue, 20 Oct 2009 00:04:21 +0000 (17:04 -0700)] 
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.)

15 years agoam afbf8afa: Merge change I564b5b00 into eclair-mr2
Doug Zongker [Tue, 13 Oct 2009 20:47:54 +0000 (13:47 -0700)] 
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

15 years agoadd "junk path" -k option to aapt
Doug Zongker [Fri, 9 Oct 2009 18:24:51 +0000 (11:24 -0700)] 
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.

15 years agoam 20b39471: Merge change 26933 into eclair
Raphael [Thu, 24 Sep 2009 22:45:17 +0000 (15:45 -0700)] 
am 20b39471: Merge change 26933 into eclair

Merge commit '20b394719daa218be7ff767fad024504f12e937b' into eclair-plus-aosp

* commit '20b394719daa218be7ff767fad024504f12e937b':
  AAPT: Ignore visual source safe files in resources

15 years agoAAPT: Ignore visual source safe files in resources
Raphael [Thu, 24 Sep 2009 22:30:53 +0000 (15:30 -0700)] 
AAPT: Ignore visual source safe files in resources

BUG 1895888

15 years agoam f1871e27: Merge change 26009 into eclair
Suchi Amalapurapu [Sun, 20 Sep 2009 21:35:24 +0000 (14:35 -0700)] 
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

15 years agoFix issue with printing gles version in aapt dump badging option
Suchi Amalapurapu [Sun, 20 Sep 2009 20:39:37 +0000 (13:39 -0700)] 
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.

15 years agoam 7fc39b26: Merge change 25238 into eclair
Dianne Hackborn [Wed, 16 Sep 2009 06:11:35 +0000 (23:11 -0700)] 
am 7fc39b26: Merge change 25238 into eclair

Merge commit '7fc39b26fc4ec9df7d147ff34ebba90556cdb4da' into eclair-plus-aosp

* commit '7fc39b26fc4ec9df7d147ff34ebba90556cdb4da':
  Implement issue #1780928: Need support hiding nav keys.

15 years agoImplement issue #1780928: Need support hiding nav keys.
Dianne Hackborn [Wed, 16 Sep 2009 05:50:40 +0000 (22:50 -0700)] 
Implement issue #1780928: Need support hiding nav keys.

This implements support for devices whose hardware can hide
their navigation keys.  It works much like the existing keyboardHidden
configuration, and for compatibility uses the same configuration
change bit.

Also add FLAG_TURN_ON_SCREEN for windows, which has the system
cause the screen to be turned on when the window is displayed.
Great fun when used with FLAG_SHOW_WHEN_LOCKED!

Change-Id: I0b867f19af85cfd8786a14cea194b34f7bdd9b7a

15 years agomerge from open-source master
Jean-Baptiste Queru [Fri, 4 Sep 2009 14:54:30 +0000 (07:54 -0700)] 
merge from open-source master

15 years agomerge from donut
Jean-Baptiste Queru [Thu, 3 Sep 2009 22:18:14 +0000 (15:18 -0700)] 
merge from donut

15 years agoam e8f605ff: Merge change 23761 into eclair
Robert Greenwalt [Thu, 3 Sep 2009 16:11:10 +0000 (09:11 -0700)] 
am e8f605ff: Merge change 23761 into eclair

Merge commit 'e8f605ff44664d0ecc9a5a24886176ef447db2a9' into eclair-plus-aosp

* commit 'e8f605ff44664d0ecc9a5a24886176ef447db2a9':
  Fix compilation of add-resource tag.

15 years agoFix compilation of add-resource tag.
Robert Greenwalt [Thu, 3 Sep 2009 01:23:57 +0000 (18:23 -0700)] 
Fix compilation of add-resource tag.

It used the wrong tag-type to find the end of itself.

15 years agoam 66c70e13: Merge change 23529 into eclair
Eric Fischer [Wed, 2 Sep 2009 18:19:19 +0000 (11:19 -0700)] 
am 66c70e13: Merge change 23529 into eclair

Merge commit '66c70e13d9f39cf82df8542fe53f2049d3f2062e' into eclair-plus-aosp

* commit '66c70e13d9f39cf82df8542fe53f2049d3f2062e':
  Make it an error to use a bare apostrophe in aapt, and adjust warnings/errors.

15 years agoFix %p vs %s typo in aapt message
Kenny Root [Wed, 2 Sep 2009 00:03:11 +0000 (19:03 -0500)] 
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

15 years agoMake it an error to use a bare apostrophe in aapt, and adjust warnings/errors.
Eric Fischer [Tue, 1 Sep 2009 22:20:30 +0000 (15:20 -0700)] 
Make it an error to use a bare apostrophe in aapt, and adjust warnings/errors.

In practice, no one ever writes an apostrophe in an aapt string with the
intent of using it to quote whitespace -- they always mean to include a
literal apostrophe in the string and then are surprised when they find
the apostrophe missing.  Make this an error so that it is discovered
right away instead of waiting until late in QA or after the strings have
already been sent for translation.  (And fix a recently-introduced string
that has exactly this problem.)

Silence the warning about an empty span in a string, since this seems to
annoy people instead of finding any real problems.

Make the error about having a translated string with no base string into
a warning, since this is a big pain when making changes to an application
that has already had some translations done, and the dead translations
should be removed by a later translation import anyway.

15 years agomerge from open-source master
Jean-Baptiste Queru [Tue, 1 Sep 2009 18:46:14 +0000 (11:46 -0700)] 
merge from open-source master

15 years agoFix replacement-after-add of resource files in overlay.
Robert Greenwalt [Mon, 31 Aug 2009 21:48:20 +0000 (14:48 -0700)] 
Fix replacement-after-add of resource files in overlay.

Aapt was adding/removing elements from a list an continuing to use a stale copy for future indexes.
This could cause incorrect subsequent processing.  Add an en resource and modify an es, for example.
Adding the en would cause the base fileset's es version to be moved in the list.  Using the old index
we'd then attempt to remove the old es version with the wrong index and then add the new es version
generating a "duplicate file" error.

bug: 2090015

15 years agoam 57f03f0b: Merge snapshot version of donut back into the main tree
Jean-Baptiste Queru [Mon, 31 Aug 2009 16:37:32 +0000 (09:37 -0700)] 
am 57f03f0b: Merge snapshot version of donut back into the main tree

Merge commit '57f03f0b5d0228799111651aa6915f7d837d501e' into eclair

* commit '57f03f0b5d0228799111651aa6915f7d837d501e':
  donut snapshot

15 years agoMerge snapshot version of donut back into the main tree
Jean-Baptiste Queru [Mon, 31 Aug 2009 16:32:01 +0000 (09:32 -0700)] 
Merge snapshot version of donut back into the main tree

15 years agodonut snapshot
Jean-Baptiste Queru [Mon, 31 Aug 2009 16:17:57 +0000 (09:17 -0700)] 
donut snapshot

15 years agoapplications are at level 2
Joe Onorato [Sun, 30 Aug 2009 23:54:12 +0000 (16:54 -0700)] 
applications are at level 2

15 years agoAdd a flag (-G) to aapt to have it output the classes that shouldn't be obfuscated...
Joe Onorato [Sun, 30 Aug 2009 20:36:22 +0000 (13:36 -0700)] 
Add a flag (-G) to aapt to have it output the classes that shouldn't be obfuscated by ProGuard.

15 years agoAdd platform infrastructure for features.
Dianne Hackborn [Fri, 28 Aug 2009 03:08:01 +0000 (20:08 -0700)] 
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

15 years agoFix issue #2084148: Define the format for the auto focus preview for barcode scanning
Dianne Hackborn [Thu, 27 Aug 2009 23:28:44 +0000 (16:28 -0700)] 
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

15 years agoI am getting tired of the java doc warnings, so fix them.
Dianne Hackborn [Fri, 21 Aug 2009 22:14:02 +0000 (15:14 -0700)] 
I am getting tired of the java doc warnings, so fix them.

Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1

15 years agoFix bitmask in aapt's StringPool length construction
Kenny Root [Fri, 21 Aug 2009 20:23:45 +0000 (15:23 -0500)] 
Fix bitmask in aapt's StringPool length construction

The StringPool indicates the length of a string with a 16-bit
integer. If the length of the string is greater than 0x7FFF,
it splits it into two 16-bit integers with the first one
having the high bit set.

The length calculation has a small bug that masks off the
19 bits instead of the first 15 bits as intended.

15 years agoAdd aapt extensions to dump badging to print more info about activities, receivers...
Suchi Amalapurapu [Tue, 18 Aug 2009 08:42:27 +0000 (01:42 -0700)] 
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.

15 years agoam 75c49842: Add maxSdkVersion information in dump badging option
Suchi Amalapurapu [Tue, 18 Aug 2009 17:59:08 +0000 (10:59 -0700)] 
am 75c49842: Add maxSdkVersion information in dump badging option

Merge commit '75c498426a17b47d445711bb9e36794b05876a56' into eclair

* commit '75c498426a17b47d445711bb9e36794b05876a56':
  Add maxSdkVersion information in dump badging option

15 years agoaapt now attempts to process all assets even if some are malformed.
Daniel Sandler [Fri, 14 Aug 2009 20:47:30 +0000 (13:47 -0700)] 
aapt now attempts to process all assets even if some are malformed.

Previously aapt would bail out on the first broken image, making it difficult to compile a comprehensive list of broken images.  Now it will pre- and post-process all of them and report any and all errors (before exiting with an error code if any errors were encountered).

Bug: 2055485

15 years agoFix aapt to be able to add configs from overlays.
Dianne Hackborn [Sat, 15 Aug 2009 07:00:33 +0000 (00:00 -0700)] 
Fix aapt to be able to add configs from overlays.

Fixes a bug where any new configurations introduced in an overlay
would be half-way ignored (enough to result in a broken .apk).

15 years agoAdd maxSdkVersion information in dump badging option
Suchi Amalapurapu [Fri, 14 Aug 2009 22:13:09 +0000 (15:13 -0700)] 
Add maxSdkVersion information in dump badging option

15 years agoAllow overlays to add resources.
Dianne Hackborn [Thu, 13 Aug 2009 20:36:00 +0000 (13:36 -0700)] 
Allow overlays to add resources.

15 years agomerge from open-source master
Jean-Baptiste Queru [Tue, 4 Aug 2009 16:05:18 +0000 (09:05 -0700)] 
merge from open-source master

15 years agoam f4dc9da3: Merge snapshot variant of donut back into the main tree
Jean-Baptiste Queru [Thu, 30 Jul 2009 13:57:04 +0000 (06:57 -0700)] 
am f4dc9da3: Merge snapshot variant of donut back into the main tree

Merge commit 'f4dc9da3724c20837e3a361060acd139775541ac'

* commit 'f4dc9da3724c20837e3a361060acd139775541ac':
  donut snapshot

15 years agomerge from donut
Jean-Baptiste Queru [Wed, 29 Jul 2009 21:57:05 +0000 (14:57 -0700)] 
merge from donut

15 years agoMerge snapshot variant of donut back into the main tree
Jean-Baptiste Queru [Wed, 29 Jul 2009 21:30:25 +0000 (14:30 -0700)] 
Merge snapshot variant of donut back into the main tree

15 years agodonut snapshot
Jean-Baptiste Queru [Wed, 29 Jul 2009 21:25:07 +0000 (14:25 -0700)] 
donut snapshot

15 years agoreconcile korg/master into goog/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 18:43:55 +0000 (11:43 -0700)] 
reconcile korg/master into goog/master

15 years agoMerge korg/donut into korg/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 02:52:22 +0000 (19:52 -0700)] 
Merge korg/donut into korg/master

15 years agoam 9fc20b0e: Merge change 8126 into donut
Android (Google) Code Review [Wed, 22 Jul 2009 02:03:53 +0000 (19:03 -0700)] 
am 9fc20b0e: Merge change 8126 into donut

Merge commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf'

* commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf':
  First pass at reworking screen density/size APIs.

15 years agoFirst pass at reworking screen density/size APIs.
Dianne Hackborn [Wed, 22 Jul 2009 00:46:02 +0000 (17:46 -0700)] 
First pass at reworking screen density/size APIs.

This changes the names of the directories in aapt, to what you see
in the list of DpiTest resources.  Also adds a new "long" configuration
for wide screens, which the platform sets appropriate, and introduces
a new kind of resizeability for not large but significantly larger
than normal screens which may have compatibility issues.

15 years agoam db7db69a: Merge snapshot variant of donut back into main tree
Jean-Baptiste Queru [Tue, 21 Jul 2009 21:38:36 +0000 (14:38 -0700)] 
am db7db69a: Merge snapshot variant of donut back into main tree

Merge commit 'db7db69a2162439bf722d0f1f65429ca3ca19dcd'

* commit 'db7db69a2162439bf722d0f1f65429ca3ca19dcd':
  donut snapshot

15 years agoMerge snapshot variant of donut back into main tree
Jean-Baptiste Queru [Tue, 21 Jul 2009 18:55:14 +0000 (11:55 -0700)] 
Merge snapshot variant of donut back into main tree

15 years agodonut snapshot
Jean-Baptiste Queru [Tue, 21 Jul 2009 18:16:54 +0000 (11:16 -0700)] 
donut snapshot

15 years agoam aad0fcc9: Merge change 7783 into donut
Android (Google) Code Review [Mon, 20 Jul 2009 03:28:49 +0000 (20:28 -0700)] 
am aad0fcc9: Merge change 7783 into donut

Merge commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54'

* commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54':
  Add "nodpi" density, and expose a bunch of density-related APIs.

15 years agoAdd "nodpi" density, and expose a bunch of density-related APIs.
Dianne Hackborn [Fri, 17 Jul 2009 18:13:48 +0000 (11:13 -0700)] 
Add "nodpi" density, and expose a bunch of density-related APIs.

Also update the DpiTest app to use nodpi images, and try to have a mode
where it turns off compatibility though it's not quite working.

15 years agomerge-ignore changes that were already in or that are not relevant
Jean-Baptiste Queru [Thu, 16 Jul 2009 20:47:28 +0000 (13:47 -0700)] 
merge-ignore changes that were already in or that are not relevant

Merge commit '7ecccee0d0c32ee472c9a74f4ccb8b152b074402' into HEAD

15 years agoFormat aapt warnings the same way as other compiler warnings
Marco Nelissen [Mon, 13 Jul 2009 20:02:33 +0000 (13:02 -0700)] 
Format aapt warnings the same way as other compiler warnings
('warning: ' instead of 'WARNING: ' or 'WARNING ')

15 years agoam 72eb0aca: Merge change 5483 into donut
Android (Google) Code Review [Mon, 29 Jun 2009 23:37:17 +0000 (16:37 -0700)] 
am 72eb0aca: Merge change 5483 into donut

Merge commit '72eb0acad5cffc57ce5006f6deab29ee259e461e'

* commit '72eb0acad5cffc57ce5006f6deab29ee259e461e':
  Expand support for different screen sizes.

15 years agoExpand support for different screen sizes.
Dianne Hackborn [Fri, 26 Jun 2009 02:48:04 +0000 (19:48 -0700)] 
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.