86405 Commits

Author SHA1 Message Date
Craig Mautner
2f39e9f833 Switch from uevent model to /dev/input/event.
Headsets are now detected from calls coming in from the input switch
subsystem if a config.xml value is set to true.

Bug: 6548391.

Change-Id: I79259d2742e157b106a746474f32ffd1c171ddf3
2012-09-30 18:07:45 -07:00
Irfan Sheriff
e6f9f2a8a3 am bdac829f: Merge "Make rssi state change sticky" into jb-mr1-dev
* commit 'bdac829f501421439b6558555577b3d6932b54ad':
  Make rssi state change sticky
2012-09-30 17:51:14 -07:00
Irfan Sheriff
bdac829f50 Merge "Make rssi state change sticky" into jb-mr1-dev 2012-09-30 17:49:39 -07:00
Amith Yamasani
e27f8cf240 Fix layout margins for Preferences in dialogs
Bug: 7114194
Change-Id: I95293e6a745b2f0df12a8a90fc2771527aab6d90
2012-09-30 17:46:30 -07:00
Jeff Sharkey
f138e3cec9 am 71520a68: Merge "Handle ISE when physical volume isn\'t mounted." into jb-mr1-dev
* commit '71520a68f3906ce2a7e425edd7fe08bac535a967':
  Handle ISE when physical volume isn't mounted.
2012-09-30 17:18:49 -07:00
Jeff Sharkey
71520a68f3 Merge "Handle ISE when physical volume isn't mounted." into jb-mr1-dev 2012-09-30 17:16:50 -07:00
Fabrice Di Meglio
5607e6fbae Fix light default theme
Change-Id: I35a1323591c78ca9c870e925bc988704ede5544b
2012-09-30 16:53:44 -07:00
Irfan Sheriff
17d9f6753a Make rssi state change sticky
NetworkController misses the rssi state at boot. It gets the wifi
connection status because it is sticky. The rssi state will remain
out of sync until the wifi state machine sends another update which may
not happen if rssi does not change significantly.

Make rssi sticky as well to make sure NetworkController has the last known
signal strength on wifi.

Bug: 6916156
Change-Id: Id7dd621c6dbc35d7354757c61aa18a3b1ba90593
2012-09-30 16:25:50 -07:00
Jeff Brown
edce6a7978 Remove clearUserActivityTimeout().
This function is not implemented and not needed.

Bug: 7165399
Change-Id: Ib1c50fabad6292ccf670404ba70aeb1242c4614d
2012-09-30 16:23:05 -07:00
Fabrice Di Meglio
b023a587ad Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
- add CheckedTextViewStyle with "viewStart" as default text alignment
- fix some typos

Change-Id: Ia8161c48faf579c89ba5ed49a436e4269178b8c1
2012-09-30 16:20:52 -07:00
Chet Haase
bcdaf8cb6d am 62ea4363: Merge "Fix texture corruption" into jb-mr1-dev
* commit '62ea4363362526d32b48f920601d3b4e27a117bb':
  Fix texture corruption
2012-09-30 15:56:39 -07:00
Dianne Hackborn
552412496c am 2a30547a: Merge "Work on issue #6949468: android.dpi.cts.ConfigurationScreenLayoutTest..." into jb-mr1-dev
* commit '2a30547af44536f6b0e2f7020ac1a435c72afc84':
  Work on issue #6949468: android.dpi.cts.ConfigurationScreenLayoutTest...
2012-09-30 15:55:02 -07:00
Chet Haase
62ea436336 Merge "Fix texture corruption" into jb-mr1-dev 2012-09-30 15:54:10 -07:00
Dianne Hackborn
2a30547af4 Merge "Work on issue #6949468: android.dpi.cts.ConfigurationScreenLayoutTest..." into jb-mr1-dev 2012-09-30 15:52:47 -07:00
Chet Haase
6a2d17f713 Fix texture corruption
When memory gets low on a device, activities flush everything they can.
Hardware-accelerated activites, such as Launcher, flush GL resources and destroy
the GL context. However, some resources were still hanging around, due to deferred
destruction policies (we don't delete layers until the DisplayLists they are in
are finalized, to ensure we don't deref deleted objects). This meant that we were
referring to obsolete GL data in these objects. in particular, it meant that we might
come around later, after a new GL context was created, and delete a texture object
that was incorrect. We use the layer's "texture id" to refer to the texture underlying the
layer. But if there's a new GL context, then this texture ID is no longer valid, and
we may be deleting the texture that a different object (layer, icon, whatever) is referring
to, because the driver may return that same ID under the new GL context.

The fix is to more aggressively delete things that we know will not be used again
when the GL context is destroyed. In particular, we delete all resources being used
by all DisplayLists at GL context destruction time.

Issue #7195815 Textures corruption on all devices, in many apps

Change-Id: I52d2d208173690dbb794a83402d38f14ea4c6c22
2012-09-30 15:35:08 -07:00
rich cannings
6000091663 am 2b58c1b5: Merge "Disable package verification in test harness" into jb-mr1-dev
* commit '2b58c1b503334ea20be9de3c2b5654855f9d4669':
  Disable package verification in test harness
2012-09-30 15:25:35 -07:00
rich cannings
2b58c1b503 Merge "Disable package verification in test harness" into jb-mr1-dev 2012-09-30 15:23:41 -07:00
Dianne Hackborn
fe37f8f51d Work on issue #6949468: android.dpi.cts.ConfigurationScreenLayoutTest...
...#testScreenLayout failures on JO

This doesn't actually fix it; I have concluded that the test is broken
(the platform is correctly reporting that this is a NOT LONG device
because in portrait once you account for the status bar and system
bar our size is 880dp high and 600dp wide, which is not enough for us
to be in the LONG config).

However while working on this I noticed that the code for computing
the configuration of the external display was wrong.  I have fixed
that by putting this code for computing these parts of the configuration
in a common place that both the window manager and external display
code can use.

Change-Id: Ic6a84b955e9ec345a87f725203a29e4712dac0ad
2012-09-30 15:06:05 -07:00
Adam Cohen
bc0b4313a9 am 2032a120: Merge "Making runway lights appear for correct pages (issue 7232481)" into jb-mr1-dev
* commit '2032a12036cf684f8ac6c24406685a7f97d52649':
  Making runway lights appear for correct pages (issue 7232481)
2012-09-30 14:54:44 -07:00
rich cannings
a2064df6ab Disable package verification in test harness
Bug: 7233608
Change-Id: I521980728f5fb68b42a3906ff4fd25cd59dbbd7a
2012-09-30 14:52:41 -07:00
Adam Cohen
2032a12036 Merge "Making runway lights appear for correct pages (issue 7232481)" into jb-mr1-dev 2012-09-30 14:52:03 -07:00
Adam Cohen
1d1fb6c5e6 Making runway lights appear for correct pages (issue 7232481)
Change-Id: I66a48cc8f14cb9ebfbf032287591565f38cb3606
2012-09-30 14:36:01 -07:00
Adam Powell
135ce20c12 am fb42be77: Merge "Fix UNSPECIFIED measurement in RelativeLayout" into jb-mr1-dev
* commit 'fb42be77ea88470c71f2ad1e03bff7fdc3721465':
  Fix UNSPECIFIED measurement in RelativeLayout
2012-09-30 14:27:03 -07:00
Adam Powell
fb42be77ea Merge "Fix UNSPECIFIED measurement in RelativeLayout" into jb-mr1-dev 2012-09-30 14:24:53 -07:00
Jeff Sharkey
32ee831eab Handle ISE when physical volume isn't mounted.
Bug: 7238149
Change-Id: I85081225a1a43a2c1b6f70b6275c6bbca0b3764e
2012-09-30 13:35:33 -07:00
Adam Cohen
21ec73d7fa am 933a7546: Fix build
* commit '933a7546c857dba7704a15b7f7f7847934f14912':
  Fix build
2012-09-30 13:03:24 -07:00
Adam Cohen
933a7546c8 Fix build
Change-Id: I7642494039edec85f8c690a7854b86f318589ff0
2012-09-30 12:58:45 -07:00
Adam Powell
132a742b94 Fix UNSPECIFIED measurement in RelativeLayout
Explicitly handle UNSPECIFIED MeasureSpec mode.

Bug 7258418

Change-Id: Idc7b4f0a4a92505379eb5479a84665f7908fcb83
2012-09-30 12:42:46 -07:00
Dianne Hackborn
b4bca66617 am 2effc77c: Merge "Update APIs to JB MR1 level 17." into jb-mr1-dev
* commit '2effc77c9a49f983779dbab656bba490bb7d4ba0':
  Update APIs to JB MR1 level 17.
2012-09-30 12:24:08 -07:00
Adam Cohen
6d9c3992de am 0a5bc222: Merge "Integrate keyguard paging hint" into jb-mr1-dev
* commit '0a5bc22273fc274a0d4bd9aa4bc80ee5116e11ef':
  Integrate keyguard paging hint
2012-09-30 12:24:04 -07:00
Dianne Hackborn
2effc77c9a Merge "Update APIs to JB MR1 level 17." into jb-mr1-dev 2012-09-30 12:22:50 -07:00
Adam Cohen
e143066900 am b97a71e8: Merge "Getting rid of keyguard widget flag that isn\'t used" into jb-mr1-dev
* commit 'b97a71e8bd9877f4d4e47ec41408079552ab165b':
  Getting rid of keyguard widget flag that isn't used
2012-09-30 12:22:20 -07:00
Adam Cohen
0a5bc22273 Merge "Integrate keyguard paging hint" into jb-mr1-dev 2012-09-30 12:21:55 -07:00
Adam Cohen
b97a71e8bd Merge "Getting rid of keyguard widget flag that isn't used" into jb-mr1-dev 2012-09-30 12:19:50 -07:00
Craig Mautner
61d32c0d0f am a6efc965: Merge "Changing debug for b/7094175." into jb-mr1-dev
* commit 'a6efc965cc6f42ab88c08e48463ea4604d29cc77':
  Changing debug for b/7094175.
2012-09-30 11:47:17 -07:00
Craig Mautner
a6efc965cc Merge "Changing debug for b/7094175." into jb-mr1-dev 2012-09-30 11:45:32 -07:00
Fabrice Di Meglio
1a2fd69a1b am ce75fef7: Merge "Fix the build" into jb-mr1-dev
* commit 'ce75fef756bb0d1c433eabc7e49b64fdb7bd609d':
  Fix the build
2012-09-30 11:40:14 -07:00
Fabrice Di Meglio
3332a701e1 am 10c84edc: Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev
* commit '10c84edcfa674f13d798f4de65f95c76269c6191':
  Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
2012-09-30 11:37:00 -07:00
Fabrice Di Meglio
ce75fef756 Merge "Fix the build" into jb-mr1-dev 2012-09-30 11:36:47 -07:00
Romain Guy
25c8c198e6 am 8ed6b6a9: Merge "Perform a long computation to catch bitmap sizes > 32 bits Bug #7257930" into jb-mr1-dev
* commit '8ed6b6a96bf887e0b49c48838a9f22bb0f256296':
  Perform a long computation to catch bitmap sizes > 32 bits Bug #7257930
2012-09-30 11:35:16 -07:00
Fabrice Di Meglio
10c84edcfa Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev 2012-09-30 11:33:31 -07:00
Fabrice Di Meglio
796e5bf9c3 Fix the build
Change-Id: I82c31a0091ee46d9e4923cf08f73f3db213c0762
2012-09-30 11:32:33 -07:00
Romain Guy
8ed6b6a96b Merge "Perform a long computation to catch bitmap sizes > 32 bits Bug #7257930" into jb-mr1-dev 2012-09-30 11:28:54 -07:00
Romain Guy
dd2dd7bbb0 am 955b66d0: Merge "reset() should reset. Otherwise it would be called something else. Bug #7256095" into jb-mr1-dev
* commit '955b66d07db37bcec379a5cb9ea01aa72c54cdb4':
  reset() should reset. Otherwise it would be called something else. Bug #7256095
2012-09-30 11:26:41 -07:00
Romain Guy
af61cc4cbb Perform a long computation to catch bitmap sizes > 32 bits
Bug #7257930

Change-Id: I28d08024fabe8103251d480524b0b0f2fd2d2aba
2012-09-30 11:26:39 -07:00
Dianne Hackborn
fc4947491f Update APIs to JB MR1 level 17.
17 is current, resources are fixed, cleanup is done.

Change-Id: I6de446e209f59c5dd5fe1cde311776ab222817ea
2012-09-30 11:24:23 -07:00
Romain Guy
955b66d07d Merge "reset() should reset. Otherwise it would be called something else. Bug #7256095" into jb-mr1-dev 2012-09-30 11:23:51 -07:00
Fabrice Di Meglio
47fb191841 Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
- do not need those variables. Use what we already have in View.
- reset padding to initial values before changing it.

Change-Id: Ib396b3dca6e98a94d83a538a9b594b5eb426c453
2012-09-30 11:00:02 -07:00
Fabrice Di Meglio
93cea34a7f am f2e5cf48: Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev
* commit 'f2e5cf487e9bda4da1b902cb5c816ba48c9b7004':
  Fix bug #6427629 Clean up layout direction APIs
2012-09-30 10:55:18 -07:00
Fabrice Di Meglio
f2e5cf487e Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev 2012-09-30 10:53:26 -07:00