88619 Commits

Author SHA1 Message Date
Jim Miller
42df15e93d Fix password field focus in keyguard
This fixes a bug introduced in Change-Id: I34b7db402401a824f463d35d7546c05dc2979243 where
the top-most view was allowed to capture focus in order to ensure the device handled volume
key events.

This resolves the issue by restoring previous behavior and ensures we still handle media keys,
regardless of focus.

Fixes bug 7676996

Change-Id: Id2d1200be81640e4b4b7b5e3a0af099d6fc2d259
2012-12-05 15:15:00 -08:00
Victoria Lease
7b0855715b Merge "DO NOT MERGE Adjust update interval when expiring location requests." into jb-mr1.1-dev 2012-12-05 14:03:28 -08:00
Scott Main
ab3a5d944e am 40f7a513: docs: remove minsdkversion for clarity
* commit '40f7a513bd12dd334e75f6aa7e2b59acdb29ba0f':
  docs: remove minsdkversion for clarity
2012-12-05 12:28:48 -08:00
Scott Main
40f7a513bd docs: remove minsdkversion for clarity
Change-Id: I4ae06f447436ef8170a66a075cc08f1667387133
2012-12-05 12:25:42 -08:00
Craig Mautner
ddd75cb1ac Merge "Fix NPE when showing Toast from system process." into jb-mr1.1-dev 2012-12-05 12:24:25 -08:00
Chris Craik
07efb0303f Merge "Defer process mode upon draw" into jb-mr1.1-dev 2012-12-05 12:22:41 -08:00
Victoria Lease
5959bf2d3c DO NOT MERGE Adjust update interval when expiring location requests.
Cherry-pick I88b419c92940b7e536d48b26e5fc0f72f3c9e73d

This is a more complete solution for this issue that disables
location providers when expiring their last request *and* adjusts
update intervals when expiring any request. This should help
further limit battery drain when a high-frequency-update app
exits, as it allows the system to throttle the update interval
back down to something appropriate for the remaining listeners.

Bug: 7611837
Change-Id: I7629a90f4c693be4bf96d662bd3a8b06dae0b089
2012-12-05 12:15:16 -08:00
Craig Mautner
54ae2f389c Fix NPE when showing Toast from system process.
The system process has no ApplicationContext and consequently was
returning null. Use the base Context in these cases.

Bug 7673699 fixed.

Change-Id: Ie2ab856bb0baefff44775a12bef7802320f72656
2012-12-05 09:57:44 -08:00
Amith Yamasani
6c58b155c3 Merge "Make 3rd party lockscreen widgets work on secondary users" into jb-mr1.1-dev 2012-12-05 05:45:00 -08:00
Dirk Dougherty
1cb5ad47a1 am 147b01bc: Merge "Doc change: In-app Billing -- add notes about orderId change and subscription orderIds." into jb-mr1-dev
* commit '147b01bc637ad8d184bd0aa2d6bf902e69c92107':
  Doc change: In-app Billing -- add notes about orderId change and subscription orderIds.
2012-12-04 18:43:25 -08:00
Dirk Dougherty
147b01bc63 Merge "Doc change: In-app Billing -- add notes about orderId change and subscription orderIds." into jb-mr1-dev 2012-12-04 18:40:32 -08:00
Dirk Dougherty
b973b3adfe Doc change: In-app Billing -- add notes about orderId change and subscription orderIds.
Change-Id: Iccd08387a6d28ac04c303f9da10d1d98dbf8f8b1
2012-12-04 18:38:09 -08:00
Scott Main
174af19814 am 3bb56f02: docs: add link to developer survey on main landing pages
* commit '3bb56f02f89d626757b01015be6861f4c6389154':
  docs: add link to developer survey on main landing pages
2012-12-04 18:31:34 -08:00
Scott Main
3bb56f02f8 docs: add link to developer survey on main landing pages
Change-Id: Icf635993a6b3ff20d6e226b1e13358fd0ffcd398
2012-12-04 18:26:52 -08:00
Laurent Tu
dd549bcc29 Merge "DO NOT MERGE Protect against NPE in FusionEngine.java." into jb-mr1.1-dev 2012-12-04 17:45:31 -08:00
Scott Main
315557b015 am 78d17441: docs: fix broken link on maps page
* commit '78d17441fadc38dc452871da722b1b2900de7a67':
  docs: fix broken link on maps page
2012-12-04 17:36:00 -08:00
Scott Main
78d17441fa docs: fix broken link on maps page
Change-Id: I07e8129df1dcc61b0c2f7b81065092b06e31b8e8
2012-12-04 17:32:30 -08:00
Scott Main
3341bde3d7 am fc677afe: Merge "docs: update webview guide with javascript interface info" into jb-mr1-dev
* commit 'fc677afec5ecae1844c0f46e381b9b7967d820b4':
  docs: update webview guide with javascript interface info
2012-12-04 17:29:18 -08:00
Scott Main
fc677afec5 Merge "docs: update webview guide with javascript interface info" into jb-mr1-dev 2012-12-04 17:25:58 -08:00
Scott Main
8a1074d550 am 7550a393: docs: fix AI download links
* commit '7550a393e0bb7b5f75fd558c828653097723d201':
  docs: fix AI download links
2012-12-04 17:23:39 -08:00
Jeff Brown
7fcb5dc5e9 Merge "Pin electron beam surface to natural orientation." into jb-mr1.1-dev 2012-12-04 17:15:34 -08:00
satok
487f8e93b0 Merge "Fix an issue on installing 3rd-party IME by a non-primary user" into jb-mr1.1-dev 2012-12-04 17:09:57 -08:00
Scott Main
7550a393e0 docs: fix AI download links
Change-Id: I2773f0edf1dc73bee9b8ea1ca0e09a9fd85086ef
2012-12-04 16:44:27 -08:00
Scott Main
fff0fb8727 am 82e1d979: update building first app class with some changes to eclipse workflow and account for small differences when using an IDE other than eclipse
* commit '82e1d979ff7d6571f124b00d4354d40aa8757664':
  update building first app class with some changes to eclipse workflow and account for small differences when using an IDE other than eclipse
2012-12-04 16:42:23 -08:00
Scott Main
82e1d979ff update building first app class with some changes to eclipse workflow
and account for small differences when using an IDE other than eclipse

Change-Id: I1ea8a00cd3d03623a43d6b5f75234095130c0aa3
2012-12-04 16:38:18 -08:00
Amith Yamasani
94022e8997 Make 3rd party lockscreen widgets work on secondary users
If you install a lockscreen widget app on a secondary user, lockscreen fails to find it.
There were several places where the correct context and userId were required under the
covers - AppWidgetHost, AppWidgetHostView and RemoteViewsAdapter.

Set the user id in the required places and use it to query the package information.

Bug: 7662835
Change-Id: Ife482c8ab2a2e601650b7cfe2660e88d3b8f2050
2012-12-04 16:25:38 -08:00
Scott Main
cc91d6b7c8 docs: update webview guide with javascript interface info
Change-Id: I328d36bf54261ac7d10121424102308159d79f6f
2012-12-04 16:17:18 -08:00
Laurent Tu
e886adbda5 DO NOT MERGE Protect against NPE in FusionEngine.java.
Cherry-pick of Ic49a069eef47a62fb1e0c6f284a705a62c6ae232

Bug: 7629406
Change-Id: Ia04dba9496b02755678b43e12834e992f63ee45b
2012-12-04 16:15:24 -08:00
Victoria Lease
82a76800ad Merge "DO NOT MERGE Notify provider when disposing last UpdateRecord" into jb-mr1.1-dev 2012-12-04 15:59:56 -08:00
Scott Main
3b08bb9d08 am f9861221: docs: delete gps overview page
* commit 'f98612213ce70fbb34062db2b5d27d9622d9d3f3':
  docs: delete gps overview page
2012-12-04 15:46:03 -08:00
Chris Craik
9efa222b34 Defer process mode upon draw
Process mode functor execution can be expensive, and cause dropped frames if it
runs between two expensive frames (when there isn't cpu time to spare). Avoid
this by delaying the process mode by an additional 4 ms every time we hit a draw

bug:7670326
Change-Id: I27f42458d4a815183a4b24c7748e05bc361fb943
2012-12-04 15:45:41 -08:00
Scott Main
f98612213c docs: delete gps overview page
Change-Id: Ie2dbc4755ba0b16c730ee86646babcdc8edd3dc2
2012-12-04 15:43:16 -08:00
Victoria Lease
e0fa1b387f DO NOT MERGE Notify provider when disposing last UpdateRecord
Cherry-pick of Id48151eb7de40164258cde7da220a4d6bb34b89a

Location providers were not being notified of the change in status
when the last UpdateRecord was removed due to numUpdates exhaustion
or request expiry. Oops! Enjoy some free battery life!

Bug: 7611837
Change-Id: I66303b355be4e4a56a81efb5406c9353b2588595
2012-12-04 15:42:22 -08:00
Raph Levien
a7acb4b9cd Merge "Fix for bug 7467609 Bad rendering of Telugu text" into jb-mr1.1-dev 2012-12-04 15:21:08 -08:00
Sascha Prueter
652d8fc944 Merge "PRIORITY_MIN notifications should be truly ambient." into jb-mr1.1-dev 2012-12-04 15:13:17 -08:00
Guang Zhu
4eab3d88a2 Merge "more app launch test tweaks" into jb-mr1.1-dev 2012-12-04 14:55:35 -08:00
Scott Main
22ab700f3e am beb08896: docs: add backup service to gp docs
* commit 'beb0889671697d5b5e5c57629bbdd7829883960a':
  docs: add backup service to gp docs
2012-12-04 14:45:25 -08:00
Guang Zhu
13f7734977 more app launch test tweaks
to get closer to the previous harness:
* sleep 750ms after launch then press HOME
* force close app after launch
* sleep 2s then move to next app

Change-Id: I70fefa7f3e87c637ed8b4cb2981c26d665c94319
2012-12-04 14:40:30 -08:00
Jeff Brown
7f3994ec2a Pin electron beam surface to natural orientation.
If a rotation occurred while the electron beam surface was showing,
the surface may have appeared in the wrong orientation.  We fix this
problem by adjusting the transformation matrix of the electron beam
surface according to the display orientation whenever a display
transaction occurs.

The rotation itself is allowed to proceed but it is not visible
to the user.  We must let this happen so that the lock screen
is correctly oriented when the screen is turned back on.

Note that the electron beam surface serves two purposes.

First, it is used to play the screen off animation.
When the animation is finished, the surface remains visible but is
solid black.  Then we turn the screen off.

Second, when we turn the screen back on we leave the electron beam
surface showing until the window manager is ready to show the
new content.  This prevents the user from seeing a flash of the
old content while the screen is being turned on.  When everything is
ready, we dismiss the electron beam.

It's important for the electron beam to remain visible for
the entire duration from just before the screen is turned off until
after the screen is turned on and is ready to be seen.  This is
why we cannot fix the bug by deferring rotation or otherwise
getting in the way of the window manager doing what it needs
to do to get the screen ready when the screen is turned on again.

Bug: 7479740
Change-Id: I2fcf35114ad9b2e00fdfc67793be6df62c8dc4c3
2012-12-04 14:40:23 -08:00
Winson Chung
ca83e1d541 Merge "Saving and restoring current page when rotating in lockscreen. (Bug 7568412)" into jb-mr1.1-dev 2012-12-04 14:38:54 -08:00
Raph Levien
ab815a701e Fix for bug 7467609 Bad rendering of Telugu text
This change moves Telugu back before the fallback font. Previously it
had been moved to after it because it contained incorrect mappings of a
number of characters, including U+2212 and U+FFFD. These fonts have now
been fixed. When placed after the Droid Sans Fallback font, the glyph
count for complex script shaping exceeded the 2^16 limit, causing
incorrect rendering.

This patch depends on the fix for the Lohit-Telugu font.

Change-Id: Ib1bc665a246c4ad65a0dea1c261df5696b440344
2012-12-04 14:33:45 -08:00
Scott Main
beb0889671 docs: add backup service to gp docs
Change-Id: Ic87f18f791b98fc3438bc79e6ae95de86f1cc8fc
2012-12-04 14:16:45 -08:00
Raph Levien
49ed5da31d Merge "Reorder tone mark and nikhahit in DroidSansThai.ttf" into jb-mr1.1-dev 2012-12-04 14:11:56 -08:00
Daniel Sandler
526fa0e6d5 PRIORITY_MIN notifications should be truly ambient.
If your notification is set to MIN priority, it will never
attempt to interrupt the user, either by an icon (already
implemented), or (new in this patch) by LED, vibration, or
sound.

Bug: 7648785
Change-Id: Ia0f8e010e62029d8d8ef1955dd20b7c79fb68398
2012-12-04 17:01:12 -05:00
John Spurlock
33669f35e4 Merge "Kill dreams that do not create a timely service connection." into jb-mr1.1-dev 2012-12-04 13:45:50 -08:00
Jim Miller
80a90efcbf Merge "Fix ring volume issue by addressing focus regression in keyguard." into jb-mr1.1-dev 2012-12-04 12:29:16 -08:00
John Spurlock
006f567c21 Kill dreams that do not create a timely service connection.
Implement a timeout between when the dream binds and
when the dream creates the service connection.  If
the connection is not created within a certain amount of
time, stop the dream.

This fixes the current bug where a dream that crashes in
onCreate (or the ctor) can put the dream controller in a
bad state until the screen is turned off.

The timeout is equal to the service restart delay in
activity manager (ActiveServices) to avoid restarting
(and recrashing).

Bug:7596707
Change-Id: I3e11efc6af0b79ec4cb0fbc94e4e109c7602ddac
2012-12-04 15:10:04 -05:00
Matthew Xie
b6b4f171ff Merge "Change getName and getAddress permission to BLUETOOTH" into jb-mr1.1-dev 2012-12-04 11:21:55 -08:00
Daniel Sandler
d8cb8fa463 Merge "Revised language for notification ringtone picker." into jb-mr1.1-dev 2012-12-04 11:01:04 -08:00
Matthew Xie
af5ddbfcf5 Change getName and getAddress permission to BLUETOOTH
The permissions were set as BLUETOOTH_ADMIN by mistake. Correct them
bug 7665249

Change-Id: Ic1bdbeb25e8f55d886f9a8d38920cbb769dd38ca
2012-12-04 10:47:43 -08:00