Commit Graph

30133 Commits

Author SHA1 Message Date
Irfan Sheriff
5064aaea10 am 369da18f: Merge "Handle missing static for CREATOR"
* commit '369da18ffb8686f66bcbe081419bd4b1aa31442c':
  Handle missing static for CREATOR
2013-01-11 18:31:04 -08:00
Irfan Sheriff
369da18ffb Merge "Handle missing static for CREATOR" 2013-01-11 18:28:12 -08:00
Christopher Tate
b7b994a66e am 91912983: Merge "Migrate BUGREPORT_IN_POWER_MENU from Secure to Global settings"
* commit '919129832daa12f44295bb2751dcc1ef08203413':
  Migrate BUGREPORT_IN_POWER_MENU from Secure to Global settings
2013-01-11 15:51:39 -08:00
Christopher Tate
919129832d Merge "Migrate BUGREPORT_IN_POWER_MENU from Secure to Global settings" 2013-01-11 15:48:01 -08:00
Robert Greenwalt
66900f1d17 am a268ba51: Merge "Up our DNS server support from 2 > 4"
* commit 'a268ba51f77527585363e48aec1be45b9ec97061':
  Up our DNS server support from 2 > 4
2013-01-11 15:41:28 -08:00
Christopher Tate
58f41ecfa5 Migrate BUGREPORT_IN_POWER_MENU from Secure to Global settings
Bug 7273591

Change-Id: I5790f9d18ddf22282144be1c2d96dd4d706caa14
2013-01-11 15:40:36 -08:00
Robert Greenwalt
a268ba51f7 Merge "Up our DNS server support from 2 > 4" 2013-01-11 15:38:03 -08:00
Fabrice Di Meglio
c6a207c67b am 9003007d: Merge "Fix Volume icons for RTL languages"
* commit '9003007d35c6ae1cdeac4ca831a036292b7089e9':
  Fix Volume icons for RTL languages
2013-01-11 11:16:49 -08:00
Fabrice Di Meglio
9003007d35 Merge "Fix Volume icons for RTL languages" 2013-01-11 11:10:00 -08:00
Jeff Sharkey
d37f3c2540 am ab82e35a: Merge "Examine widget hierarchy to find clocks."
* commit 'ab82e35a59fc8ebb771c4e69343d1041542a4b83':
  Examine widget hierarchy to find clocks.
2013-01-11 11:00:04 -08:00
Jeff Sharkey
ab82e35a59 Merge "Examine widget hierarchy to find clocks." 2013-01-11 10:56:40 -08:00
Jeff Sharkey
06c5f8a768 Examine widget hierarchy to find clocks.
When switching to a widget, examine its hierarchy to determine if it
contains TextClocks that show hour and minute for the local timezone.
If so, hide the status bar clock.  Doesn't fix closing walls.

Bug: 7667638
Change-Id: I1e2c40345c9e5eb0193efd70838c7ca9f779190b
2013-01-11 10:49:19 -08:00
Irfan Sheriff
97a72f6693 Handle missing static for CREATOR
I made a mistake of missing out on static for CREATOR on a Parcelable
and it threw a NPE which was not obvious. We do not get NoSuchFieldException
when CREATOR exists but is not static.

Change-Id: Ib06f60797c00722075255d45e8189f8cebef9ae2
2013-01-11 10:45:51 -08:00
Jonathan Dixon
f6a8bdb1ac am c19b5497: Merge "Remove checkThread() in WebView.getFactory()"
* commit 'c19b54975214a12225a1669ae18b0005a1357189':
  Remove checkThread() in WebView.getFactory()
2013-01-11 10:35:31 -08:00
Jonathan Dixon
c19b549752 Merge "Remove checkThread() in WebView.getFactory()" 2013-01-11 10:25:37 -08:00
Jonathan Dixon
a811c2f65c Remove checkThread() in WebView.getFactory()
Bug: 7617139

WebViewFactoryProvider.getProvider() is thread safe, and when
called from findAddress() this is giving a spurious strict mode
warning.
Also removing obsolete comment while here.

Change-Id: I0b36bc23c13c9c9bec26edaf32ee83ade88982c8
2013-01-11 10:23:01 -08:00
Robert Greenwalt
3c97f944eb Up our DNS server support from 2 > 4
bug:5958524
Change-Id: I81a9d9293049bcfc16c15ee856887aa7ed076638
2013-01-11 09:47:46 -08:00
Adam Cohen
45fd36ebd4 am 90a318aa: Merge "Updating new widget api to account for view type count"
* commit '90a318aadc68e4cd650064af1cca43664d46eeee':
  Updating new widget api to account for view type count
2013-01-10 19:27:22 -08:00
Adam Cohen
90a318aadc Merge "Updating new widget api to account for view type count" 2013-01-10 19:24:11 -08:00
Adam Cohen
b00d9f0e07 Updating new widget api to account for view type count
Change-Id: Iab3a905aaec0b42ef31cd23e0711f6f7bf299486
2013-01-10 19:23:39 -08:00
Romain Guy
7962964a68 am fff06e97: Merge "Add a new type of profiling graph: lines"
* commit 'fff06e97e3e4e22271ec41ac0c44036aad3141fe':
  Add a new type of profiling graph: lines
2013-01-10 18:45:03 -08:00
Romain Guy
fff06e97e3 Merge "Add a new type of profiling graph: lines" 2013-01-10 18:41:37 -08:00
Romain Guy
48ef4a92a4 Add a new type of profiling graph: lines
Change-Id: I0e67d7227016fe37011e17d04220a200a6a5fba0
2013-01-10 18:38:46 -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
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
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
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
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
Fabrice Di Meglio
8c02884c8c Fix Volume icons for RTL languages
- add mirrored version of the icons
- make VolumePanel respond to layout direction changes
- make AudioService propagate layout direction changes to the VolumePanel

Change-Id: Ibb884ab81641c319a9b7bea1381066f3f19581f0
2013-01-09 18:25:20 -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 92091fa963.

Bug: 7966399
Bug: 7208882
2013-01-09 15:54:56 -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
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
Martijn Coenen
2e9f65f978 Merge "Make NfcAdapter states public and fix build." 2013-01-09 12:28:44 -08:00
Martijn Coenen
e55fe4f3bb Make NfcAdapter states public and fix build.
Change-Id: Idb2dd5e524cda5e3c03d4f2689266fa03be4ea13
2013-01-09 12:27:22 -08:00