1562 Commits

Author SHA1 Message Date
Elliott Hughes
ed84dea928 am 8f592378: am 69920427: Merge "Fix a variety of small publicly-reported bugs."
* commit '8f592378a1ea7f31d57253dc202f42707ef4da36':
  Fix a variety of small publicly-reported bugs.
2013-10-29 13:35:04 -07:00
Elliott Hughes
8f592378a1 am 69920427: Merge "Fix a variety of small publicly-reported bugs."
* commit '69920427ea01421d34f3a7576bdd135527b20859':
  Fix a variety of small publicly-reported bugs.
2013-10-29 13:32:33 -07:00
Elliott Hughes
c367d48c55 Fix a variety of small publicly-reported bugs.
Possible NULL dereference in cmds/bootanimation/BootAnimation.cpp.
https://code.google.com/p/android/issues/detail?id=61556

Missing fclose in core/jni/android_os_Debug.cpp.
https://code.google.com/p/android/issues/detail?id=61546

Bad loop guards in core/jni/android_util_Process.cpp.
https://code.google.com/p/android/issues/detail?id=61557

Assignment to wrong variable in libs/androidfw/AssetManager.cpp.
https://code.google.com/p/android/issues/detail?id=61560

Missing delete[]s in libs/androidfw/ObbFile.cpp.
https://code.google.com/p/android/issues/detail?id=61549

Leaks on error in tools/aapt/Images.cpp.
https://code.google.com/p/android/issues/detail?id=61552

Two missing fclose calls in tools/aapt/Resource.cpp.
https://code.google.com/p/android/issues/detail?id=61553

Missing fclose in tools/aidl/aidl.cpp.
https://code.google.com/p/android/issues/detail?id=61554

Change-Id: I5820f3824e72d07a9acb776cf0af3e7443f5694a
2013-10-29 13:12:55 -07:00
Marco Nelissen
a22010ebe5 am d19385bf: am 21657181: Merge "Add a method to set a list of uids for a wake lock" into klp-dev
* commit 'd19385bf58225069c8ea0a7ce5075ed28861b039':
  Add a method to set a list of uids for a wake lock
2013-10-25 15:01:34 -07:00
Marco Nelissen
738ffdc9da Add a method to set a list of uids for a wake lock
Cherrypicked from master.

b/9464621

Change-Id: Ia6a9d36d55129ae87d3ec070fbf10dc02f4b6cb4
2013-10-25 12:49:55 -07:00
Adam Lesinski
91b47365f6 am 16e8c4f7: am 7d292145: Merge "Prune unneeded density resources from APK" into klp-dev
* commit '16e8c4f7db87d743410751410c7f761350792fe2':
  Prune unneeded density resources from APK
2013-10-18 13:45:19 -07:00
Adam Lesinski
7d292145f1 Merge "Prune unneeded density resources from APK" into klp-dev 2013-10-18 20:36:58 +00:00
Deepanshu Gupta
02b6e6b191 am 5a6541eb: am b4f33d8f: Merge "Layoutlib Create: Remove references to java package class Objects." into klp-dev
* commit '5a6541ebc787c5a54e89c0bf65f029660778736a':
  Layoutlib Create: Remove references to java package class Objects.
2013-10-18 13:09:58 -07:00
Deepanshu Gupta
45f5cd49fa Layoutlib Create: Remove references to java package class Objects.
Remove references to Java 7 class java.util.Objects and replace it with
a new class that can be loaded on Java 6.

Change-Id: Ibbd9b20b8bc89e247f1d0c48d743d06d1a4f0704
2013-10-17 20:06:44 -07:00
Deepanshu Gupta
d32ebf5744 am ddc069cb: am 6c3a638d: Merge "Fix layoutlib for KK" into klp-dev
* commit 'ddc069cbb0a7edd289f4920ab42dca7e8111a359':
  Fix layoutlib for KK
2013-10-17 19:13:23 -07:00
Deepanshu Gupta
188d519ec5 am e1abede3: am 29cf698d: Merge "Layoutlib: Add DateIntervalFormat_Delegate required by CalendarView" into klp-dev
* commit 'e1abede32fc913098b7c449e3369eb1d5bda77e2':
  Layoutlib: Add DateIntervalFormat_Delegate required by CalendarView
2013-10-17 19:13:19 -07:00
Deepanshu Gupta
6c3a638dd8 Merge "Fix layoutlib for KK" into klp-dev 2013-10-18 02:07:30 +00:00
Deepanshu Gupta
272d1bce79 Layoutlib: Add DateIntervalFormat_Delegate required by CalendarView
Change-Id: Ica79267a4eb231db833cb0232cfacf419fe73de3
2013-10-17 11:28:48 -07:00
Deepanshu Gupta
814ea4f8fd am 0b447eb8: am 4fc655dd: am 873c76d0: am fb1ee08c: am a49c3585: Merge "Fix CalendarView to show the right month and year label." into jb-mr2-dev
* commit '0b447eb8c68769333228791d077e1bdf8779f22f':
  Fix CalendarView to show the right month and year label.
2013-10-17 09:15:01 -07:00
Deepanshu Gupta
6db169c249 am c9f65589: am 38d097b6: am 92a80b18: am 9b827a7d: am ec555902: Merge "Layoutlib: Update the wifi icon in the status bar." into jb-mr2-dev
* commit 'c9f65589a98ae348d2d31296bda4d739e8515335':
  Layoutlib: Update the wifi icon in the status bar.
2013-10-17 09:14:58 -07:00
Deepanshu Gupta
a741163d61 am 4567ec02: am ca429e08: am 9568ad39: am 94e5ada7: am 81f74f4b: Fix DatePicker and Calendar widget in layoutlib.
* commit '4567ec02c468423351c56bcc587032577004735d':
  Fix DatePicker and Calendar widget in layoutlib.
2013-10-17 09:14:54 -07:00
Deepanshu Gupta
e636469fb5 am a30efb5b: am 198537c2: am 7dc35060: am df076962: am 1cf5df38: Layoutlib Create: Remove references to non-std Java classes.
* commit 'a30efb5b7034236020bcb1ef4787f1517f7995df':
  Layoutlib Create: Remove references to non-std Java classes.
2013-10-17 09:14:51 -07:00
Deepanshu Gupta
4fc655dd03 am 873c76d0: am fb1ee08c: am a49c3585: Merge "Fix CalendarView to show the right month and year label." into jb-mr2-dev
* commit '873c76d0475def6f89fe02458828a549a7a7b5a2':
  Fix CalendarView to show the right month and year label.
2013-10-17 09:09:19 -07:00
Deepanshu Gupta
38d097b6d1 am 92a80b18: am 9b827a7d: am ec555902: Merge "Layoutlib: Update the wifi icon in the status bar." into jb-mr2-dev
* commit '92a80b1830082d109be4902c357424535305130d':
  Layoutlib: Update the wifi icon in the status bar.
2013-10-17 09:09:16 -07:00
Deepanshu Gupta
ca429e08fe am 9568ad39: am 94e5ada7: am 81f74f4b: Fix DatePicker and Calendar widget in layoutlib.
* commit '9568ad393194cbd42866e64dada88207b44462a6':
  Fix DatePicker and Calendar widget in layoutlib.
2013-10-17 09:09:12 -07:00
Deepanshu Gupta
198537c22c am 7dc35060: am df076962: am 1cf5df38: Layoutlib Create: Remove references to non-std Java classes.
* commit '7dc35060a828c473dcc75d13d31edaa75768a40f':
  Layoutlib Create: Remove references to non-std Java classes.
2013-10-17 09:09:08 -07:00
Deepanshu Gupta
873c76d047 am fb1ee08c: am a49c3585: Merge "Fix CalendarView to show the right month and year label." into jb-mr2-dev
* commit 'fb1ee08ca4424969c148760937d18ec0e3de206c':
  Fix CalendarView to show the right month and year label.
2013-10-17 09:06:46 -07:00
Deepanshu Gupta
92a80b1830 am 9b827a7d: am ec555902: Merge "Layoutlib: Update the wifi icon in the status bar." into jb-mr2-dev
* commit '9b827a7d6dcb8c60411a24e2c8970f3fc24f0380':
  Layoutlib: Update the wifi icon in the status bar.
2013-10-17 09:06:42 -07:00
Deepanshu Gupta
9568ad3931 am 94e5ada7: am 81f74f4b: Fix DatePicker and Calendar widget in layoutlib.
* commit '94e5ada7d629f125262fcc052cf15355a34a678a':
  Fix DatePicker and Calendar widget in layoutlib.
2013-10-17 09:06:39 -07:00
Deepanshu Gupta
7dc35060a8 am df076962: am 1cf5df38: Layoutlib Create: Remove references to non-std Java classes.
* commit 'df0769628e2bfcefb5f78375b74775b3a825ca9f':
  Layoutlib Create: Remove references to non-std Java classes.
2013-10-17 09:06:34 -07:00
Deepanshu Gupta
a49c358576 Merge "Fix CalendarView to show the right month and year label." into jb-mr2-dev 2013-10-17 16:01:08 +00:00
Deepanshu Gupta
ec55590216 Merge "Layoutlib: Update the wifi icon in the status bar." into jb-mr2-dev 2013-10-17 16:00:57 +00:00
Deepanshu Gupta
39e7583539 Fix layoutlib for KK
Fix a NPE, update the native methods for NinePatch and update an ICU
method to return the right value as required by DatePicker widget.

Bug: 11140701
Change-Id: Id92fc5359acf6dde1bcdbc781aaf637fdb6eecbf
2013-10-16 21:49:02 -07:00
Deepanshu Gupta
81f74f4bc9 Fix DatePicker and Calendar widget in layoutlib.
Issue: https://code.google.com/p/android/issues/detail?id=59732
Change-Id: I281b3fdad88c591281a3645592c84f3e2cb61d09
2013-10-16 15:09:52 -07:00
Deepanshu Gupta
083e3caf66 Fix CalendarView to show the right month and year label.
Change-Id: I95431f1054678d4192bd1621c1f69b29268f55e9
2013-10-16 15:09:52 -07:00
Deepanshu Gupta
1cf5df38f4 Layoutlib Create: Remove references to non-std Java classes.
Do not add the non-standard Java classes. Updates the references to all
non-standard classes to new classes in
com.android.tools.layoulib.create package. This also treats
java.lang.AutoCloseable which is part of Java 7 similarly so that we can
still run on Java 6.

Change-Id: Iac5b272652e2780c9bb72d19f415d150948ca589
2013-10-16 15:09:50 -07:00
Adam Lesinski
9438c2df13 Prune unneeded density resources from APK
When a preferred density is specified, prune all but the
closest matching density when the exact density resource does not
exist.

If a preferred density resource does not exist and a higher density
resource exists, prune all but the resource with the next highest
density relative to the preferred density.

If a preferred density resource does not exist and there is no
higher density resource, prune all but the resource with the next
lowest density relative to the preferred density.

bug:11224465
Change-Id: I99b3950fe3d8116a5625968ed383442315ae8526
2013-10-15 17:18:51 -07:00
Deepanshu Gupta
9cb5f5b523 Layoutlib: Update the wifi icon in the status bar.
Issue: https://code.google.com/p/android/issues/detail?id=60993

Change-Id: Ia43ed40b42c79f67dcd5809b827d4fecbc823c25
2013-10-14 10:35:46 -07:00
Alan Viverette
e4ccb864e8 am 1bdbdfbe: am 6930d380: Merge "Ignore certain WindowManager flags when touch exploration is enabled" into klp-dev
* commit '1bdbdfbe6a48113bff2069c8eaf9835f9fd8c9bb':
  Ignore certain WindowManager flags when touch exploration is enabled
2013-10-07 17:54:42 -07:00
Alan Viverette
6930d3805e Merge "Ignore certain WindowManager flags when touch exploration is enabled" into klp-dev 2013-10-08 00:47:23 +00:00
Adam Lesinski
f2163cb0d1 am ea4e0751: am c884fc9f: Merge "AAPT emits error for res with no \'default\' product" into klp-dev
* commit 'ea4e07518cd1844b1654175ef27cf9501e0dd7eb':
  AAPT emits error for res with no 'default' product
2013-10-07 16:02:13 -07:00
Alan Viverette
5a0f4eccfb Ignore certain WindowManager flags when touch exploration is enabled
Specifically, ignore any flags that alter the visibility of the navigation
bar and transparency.

BUG: 11082573
Change-Id: I17264dc55a1c6c3cb9b9cf92d5121799cecee5b8
2013-10-07 15:12:57 -07:00
Adam Lesinski
2b8e82fd51 AAPT emits error for res with no 'default' product
Rather than ignoring resources that do not match the specified
product, we keep track of the ignored ones and make sure that
some variant of the resource that matches the product was processed.

bug:10860838
Change-Id: I804cd04a053269a35b7e1c1cc743b77493337bf9
2013-10-04 15:14:09 -07:00
Marco Nelissen
2c64e2be0c am 70cd6886: am fb45a2e9: Merge "Fix layoutlib build" into klp-dev
* commit '70cd68869d04b56883a8d2fa34f0468d730f227d':
  Fix layoutlib build
2013-10-03 15:41:48 -07:00
John Reck
35f2dcd02c am cdc605c6: am b885435c: Merge "Update liblayout" into klp-dev
* commit 'cdc605c69597649c8e71161791ae64be48ce1f11':
  Update liblayout
2013-10-03 15:38:50 -07:00
Marco Nelissen
fb45a2e9cd Merge "Fix layoutlib build" into klp-dev 2013-10-03 20:51:36 +00:00
Marco Nelissen
7e6f2ee4d2 Fix layoutlib build
Change-Id: Ica9f506ae06311d9bcd98bc11e64a8699d4f88cb
2013-10-03 13:40:46 -07:00
John Reck
5623d5f80f Update liblayout
Fix build

Change-Id: I6c9223205874f7709fcf9e69a7779c54f52ba48b
2013-10-02 18:59:10 -07:00
Jim Miller
a192253bf2 am fb2e3c8d: Merge "Fix permissions on WindowManagerService.showAssistant()" into klp-dev
* commit 'fb2e3c8d47c162166a029a97d68ad3bedff89cce':
  Fix permissions on WindowManagerService.showAssistant()
2013-09-30 17:10:11 -07:00
Adam Lesinski
4056c94adf am 0c923b7c: Merge "Add badging of Payment apps" into klp-dev
* commit '0c923b7ce1f4e40b401bcd342f4ee4399f4ad9d7':
  Add badging of Payment apps
2013-09-30 17:09:58 -07:00
Adam Lesinski
db239f91d6 am 5223a5ff: Merge "Add support for dumping new badging" into klp-dev
* commit '5223a5ff24bed6d0a0ac618083a3ed050bdd98b2':
  Add support for dumping new badging
2013-09-30 17:09:54 -07:00
Jim Miller
fb2e3c8d47 Merge "Fix permissions on WindowManagerService.showAssistant()" into klp-dev 2013-09-28 01:18:17 +00:00
Jim Miller
6c9df5054a Fix permissions on WindowManagerService.showAssistant()
Since binder call permissions are not transitive by design,
the proper way to fix this is to have the call talk directly
to keyguard from the navigation bar.

Fixes bug 9409008

Change-Id: Ibd90a79bb638c969b514455a2ad93c6ff668222d
2013-09-27 16:29:36 -07:00
Adam Lesinski
d831e80a2f 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
2013-09-27 11:22:46 -07:00
Adam Lesinski
b1249b822c 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
2013-09-27 11:10:37 -07:00