98660 Commits

Author SHA1 Message Date
Wink Saville
64ef89bbfa am 5a98f081: Merge "Use readUnsignedByte."
* commit '5a98f081828a467bd4a90fa928dc1e340fe3e9c3':
  Use readUnsignedByte.
2013-01-10 16:06:21 -08:00
Wink Saville
5a98f08182 Merge "Use readUnsignedByte." 2013-01-10 16:03:03 -08:00
Svetoslav Ganov
2adc9bb1b4 am ea307734: Merge "Fixing a memory leak in ViewRootImpl and a focus change callback issue."
* commit 'ea307734e79e36a961d5184f89f7baa171f9915d':
  Fixing a memory leak in ViewRootImpl and a focus change callback issue.
2013-01-10 15:53:55 -08:00
Adam Powell
0eeeba01b8 am e886d3d3: am 79cc4a2a: am d1779207: am 0bf63a9a: am d29f2d26: Merge "Make action bar title a valid touch target for up when relevant" into jb-mr1.1-dev
* commit 'e886d3d33b3630dc6013688cee4364bc532f7815':
  Make action bar title a valid touch target for up when relevant
2013-01-10 15:53:50 -08:00
Scott Main
9d974c8754 am 96f4f526: am b484f8e1: am 782b0f71: am 4459827f: am 25505f95: am cdf5106a: docs: a few doc bugs
* commit '96f4f52652a71459a757e693498ccb3ad14dd54c':
  docs: a few doc bugs
2013-01-10 15:53:46 -08:00
Svetoslav Ganov
ea307734e7 Merge "Fixing a memory leak in ViewRootImpl and a focus change callback issue." 2013-01-10 15:45:38 -08:00
Adam Powell
e886d3d33b am 79cc4a2a: am d1779207: am 0bf63a9a: am d29f2d26: Merge "Make action bar title a valid touch target for up when relevant" into jb-mr1.1-dev
* commit '79cc4a2ab0130acca83de5945a43adf9925beac1':
  Make action bar title a valid touch target for up when relevant
2013-01-10 15:39:00 -08:00
Scott Main
96f4f52652 am b484f8e1: am 782b0f71: am 4459827f: am 25505f95: am cdf5106a: docs: a few doc bugs
* commit 'b484f8e1a4f07e35a194ee43676da8eb4e9d50ef':
  docs: a few doc bugs
2013-01-10 15:38:27 -08:00
Stephen Hines
bae48a825d am bb469bde: Merge "Add parentheses for latest Clang warnings."
* commit 'bb469bde8df551df8fc7347f38dcd8180fdfab17':
  Add parentheses for latest Clang warnings.
2013-01-10 15:30:12 -08:00
Stephen Hines
bb469bde8d Merge "Add parentheses for latest Clang warnings." 2013-01-10 15:23:49 -08:00
Stephen Hines
9be5f0a306 Add parentheses for latest Clang warnings.
Change-Id: I843fd3eb44e1ab0a177d7045ca97cf146fd81231
2013-01-10 15:09:02 -08:00
Scott Main
5b7c14906f am f8c8333f: am ccb2a74f: am 2b8603c2: am 8429f43b: am 7bcea4ae: am d149242a: docs: correct the url path to badge images and updated pr-br badge
* commit 'f8c8333f7daeaaf2581d7761c643003d83bab054':
  docs: correct the url path to badge images and updated pr-br badge
2013-01-10 14:55:01 -08:00
Scott Main
627f961de7 am 6f028480: am 8a05d13e: am 5b56d432: am 9107fa5d: am 66adf0d0: am 70af3cdb: Merge "docs: resolve bugs from external tracker" into jb-mr1-dev
* commit '6f028480faf9f87c2808c3b82797b553eb6ac257':
  docs: resolve bugs from external tracker
2013-01-10 14:54:57 -08:00
Scott Main
16f9e6ddd5 am ba6e54b4: am 3ccb33d5: am 4f8a160a: am f344e3c7: am 7ed49126: am 13ef4e43: docs: update GP badges with localized badges. includes AI files for all badges in available languages
* commit 'ba6e54b454cf6269dcacc29bd6ea3a06ff602b2c':
  docs: update GP badges with localized badges. includes AI files for all badges in available languages
2013-01-10 14:54:54 -08:00
Scott Main
f8c8333f7d am ccb2a74f: am 2b8603c2: am 8429f43b: am 7bcea4ae: am d149242a: docs: correct the url path to badge images and updated pr-br badge
* commit 'ccb2a74f360bf09ec2c91b28c15e0003a9af440a':
  docs: correct the url path to badge images and updated pr-br badge
2013-01-10 14:51:56 -08:00
Scott Main
6f028480fa am 8a05d13e: am 5b56d432: am 9107fa5d: am 66adf0d0: am 70af3cdb: Merge "docs: resolve bugs from external tracker" into jb-mr1-dev
* commit '8a05d13ef656b0147d85e1826b70a55f6b32e1e3':
  docs: resolve bugs from external tracker
2013-01-10 14:51:43 -08:00
Scott Main
ba6e54b454 am 3ccb33d5: am 4f8a160a: am f344e3c7: am 7ed49126: am 13ef4e43: docs: update GP badges with localized badges. includes AI files for all badges in available languages
* commit '3ccb33d5e08a0f444d16be894827dcbdfd0db42f':
  docs: update GP badges with localized badges. includes AI files for all badges in available languages
2013-01-10 14:51:34 -08:00
Romain Guy
033838a9b4 am 14e066df: Merge "Clarify javadoc and parameter names Bug #7978741"
* commit '14e066df1ca863667c6c6d745ad61bb07ac5082c':
  Clarify javadoc and parameter names Bug #7978741
2013-01-09 20:20:34 -08:00
Romain Guy
14e066df1c Merge "Clarify javadoc and parameter names Bug #7978741" 2013-01-09 20:18:35 -08:00
Romain Guy
9c5d1b17bf Clarify javadoc and parameter names
Bug #7978741

Change-Id: If713e2e58524ace008797abc142f50b83bfa3c61
2013-01-09 20:16:37 -08:00
Dianne Hackborn
04ce447784 am 91893471: Merge "Fix issue #7966357: Super lights out mode vs. volume dialog"
* commit '91893471ba844287432db4473a15faf902889607':
  Fix issue #7966357: Super lights out mode vs. volume dialog
2013-01-09 18:47:31 -08:00
Dianne Hackborn
91893471ba Merge "Fix issue #7966357: Super lights out mode vs. volume dialog" 2013-01-09 18:44:33 -08:00
Dianne Hackborn
78beb6824e am 53897ade: Merge "Maybe fix build."
* commit '53897adeb45a578fe3286a039bfeb4ee421bf170':
  Maybe fix build.
2013-01-09 18:39:34 -08:00
Dianne Hackborn
53897adeb4 Merge "Maybe fix build." 2013-01-09 18:37:41 -08:00
Dianne Hackborn
54372e9402 Maybe fix build.
Change-Id: If9bf7b7e2725cb472918fbbbf0cfb5070d0c6d46
2013-01-09 18:36:16 -08:00
Dianne Hackborn
891d3fbb15 Fix issue #7966357: Super lights out mode vs. volume dialog
The volume panel now forces us out of the UI modes while it
is up.

Change-Id: I25f29af5b6518aba695b64a75977ae240b742118
2013-01-09 18:31:37 -08:00
Tim Murray
8ac91e071d am 8d1127ef: Merge "Update IP2 to use bitmap-backed allocations."
* commit '8d1127ef3f5889c1d3fa88a80dfd052b0bf1a2de':
  Update IP2 to use bitmap-backed allocations.
2013-01-09 18:17:43 -08:00
Fabrice Di Meglio
f8093be096 am 978ad10c: Merge "Make SystemUI RTL aware"
* commit '978ad10cabd33b877d15e0e158b377abb6db3b1e':
  Make SystemUI RTL aware
2013-01-09 18:16:14 -08:00
Tim Murray
8d1127ef3f Merge "Update IP2 to use bitmap-backed allocations." 2013-01-09 18:15:15 -08:00
Fabrice Di Meglio
978ad10cab Merge "Make SystemUI RTL aware" 2013-01-09 18:12:26 -08:00
Tim Murray
f9485d0313 Update IP2 to use bitmap-backed allocations.
Change-Id: I2967fff71db40b4a8a00cd0152bcc04c43b87f80
2013-01-09 16:33:57 -08:00
Nick Kralevich
e476c0fa48 am ee49a3a0: Merge "Add K api version."
* commit 'ee49a3a007b9eb63bcb27eac492060b50ff75ce7':
  Add K api version.
2013-01-09 16:14:22 -08:00
Nick Kralevich
ac10139f3c am 6b0fb368: Merge "Revert "App home directories are now 0700 for targetSdkVersion > 17""
* commit '6b0fb368707a2d47dd3fbeaf01c214de5227baa0':
  Revert "App home directories are now 0700 for targetSdkVersion > 17"
2013-01-09 16:12:54 -08:00
Nick Kralevich
ee49a3a007 Merge "Add K api version." 2013-01-09 16:11:06 -08:00
Nick Kralevich
6b0fb36870 Merge "Revert "App home directories are now 0700 for targetSdkVersion > 17"" 2013-01-09 16:10:14 -08:00
Nick Kralevich
a985c3bb14 Add K api version.
Change-Id: I2b74e06f8bda8b23c5cc4280af4b18a5ad66a6c2
2013-01-09 16:03:14 -08:00
Nick Kralevich
1506921e8e Revert "App home directories are now 0700 for targetSdkVersion > 17"
This reverts commit 92091fa9636403728fe94cc83400495a8612c2d3.

Bug: 7966399
Bug: 7208882
2013-01-09 15:54:56 -08:00
Fabrice Di Meglio
82fca5d27d Make SystemUI RTL aware
- mirror vibrate and silent statusbar icons
- add code for updating icons when Locale is changed

See bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Ib7125d7f01ed8d1b8d63c2a9b119eb173efcf49f
2013-01-09 15:48:09 -08:00
Jason Sams
edd9f42499 am daa944a1: Merge "Add YUV allocation creation."
* commit 'daa944a167c3e7365ea6f9b6712950edd5ca2dd4':
  Add YUV allocation creation.
2013-01-09 15:35:25 -08:00
Jason Sams
daa944a167 Merge "Add YUV allocation creation." 2013-01-09 15:32:41 -08:00
Romain Guy
bf06ccba95 am 33a9741c: Merge "Cleanup 9patch mesh matching code Bug #7970966"
* commit '33a9741c1be99e8be01ab799eb50df97849ed801':
  Cleanup 9patch mesh matching code Bug #7970966
2013-01-09 14:43:02 -08:00
Romain Guy
33a9741c1b Merge "Cleanup 9patch mesh matching code Bug #7970966" 2013-01-09 14:39:13 -08:00
Romain Guy
5341cead27 Cleanup 9patch mesh matching code
Bug #7970966

The bug described in #7970966 should normally never happen but just in
case, change the detection code to be more robust.

Change-Id: I7040a6087590e34abe8803cb8f83f051d77f3944
2013-01-09 14:15:58 -08:00
Dianne Hackborn
11cd154a4f am 82e60952: Merge "New "app ops" service."
* commit '82e60952f2cbd89b8d050dd17bb6bc9652570368':
  New "app ops" service.
2013-01-09 14:10:54 -08:00
Dianne Hackborn
82e60952f2 Merge "New "app ops" service." 2013-01-09 14:07:41 -08:00
Baligh Uddin
edbc00de18 am d10b6246: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'd10b6246d9c77d5e2e40f1057c30840385de9f34':
  Import translations. DO NOT MERGE
2013-01-09 13:58:17 -08:00
Baligh Uddin
d10b6246d9 Merge "Import translations. DO NOT MERGE" 2013-01-09 13:55:54 -08:00
Dianne Hackborn
a06de0f29b New "app ops" service.
Initial implementation, tracking use of the vibrator, GPS,
and location reports.

Also includes an update to battery stats to also keep track of
vibrator usage (since I had to be in the vibrator code anyway
to instrument it).

The service itself is only half-done.  Currently no API to
retrieve the data (which once there will allow us to show you
which apps are currently causing the GPS to run and who has
recently accessed your location), it doesn't persist its data
like it should, and no way to tell it to reject app requests
for various operations.

But hey, it's a start!

Change-Id: I05b8d76cc4a4f7f37bc758c1701f51f9e0550e15
2013-01-09 12:47:47 -08:00
Svetoslav Ganov
149567f9d5 Fixing a memory leak in ViewRootImpl and a focus change callback issue.
1. ViewRootImpl was keeping reference to the old focused view so it can
   call back the global on focus change listener when another view gets
   focus. The stashed reference, however was not cleared which caused a
   memory leak if the last focused view was removed from the view tree.
   In general keeping additional state for the last focus in ViewRootImpl
   is not a good idea since this add complexity due to additional book
   keeping work that is required. The view tree already keeps track of
   where the focus is and it should be the only place that holds this
   data. Since focus does not change that frequently it is fine to look
   up the focus since this operation is O(m) where m is the depth of the
   view tree. This change removes the duplicate book keeping from
   ViewRootImpl and the focus is looked up as needed.

2. ViewRootImpl was calling the global focus change callbacks when focus
   is gained, lost, or transferred to another view. This was done in
   *ChildFocus methods. In the case of a child losing focus, i.e. in
   clearChildFocus, there was a check whether focus searh yields a view
   to take focus and if so it did not call back the global focus listener
   assuming the the found view will take focus (the view tree gives focus
   to the first focusable when a view looses focus). This is not a correct
   assumption since some views override methods called as a result of
   View.requestFocus that determine what the next focused view should
   be. For example, HorizontalScrollView overrides onRequestFocusInDescendants
   and changes the direction of the search. In fact focus search does not
   take into accound ViewGroup descendant focusability. Hence, the view found
   by calling the focus search from the root is not necessarily the one
   that will get focus after calling requestFocus. Actually, it is
   possible that the focus search will find a view but no view will
   take focus. Now the View class is responsible for calling the
   global focus listeners which avoids the above problem. Also this
   saves book keeping in ViewRootImpl.

bug:7962363

Change-Id: Ic95a18b364e997021f3f6bb46943559aac07d95a
2013-01-09 12:34:49 -08:00
Martijn Coenen
f4d130fd9f am 2e9f65f9: Merge "Make NfcAdapter states public and fix build."
* commit '2e9f65f978397d112dbfb134d374588515bb644a':
  Make NfcAdapter states public and fix build.
2013-01-09 12:31:03 -08:00