87347 Commits

Author SHA1 Message Date
Adam Cohen
25228801ba Fix issue 7468224, make sure to size pages if page changes
Change-Id: I8b3d7573eda7ed8e6a9aa479e61737fb12e26b92
2012-11-04 13:20:26 -08:00
Adam Cohen
180cfd5feb If a default keyguard layout isn't specified, fallback to the default layout
-> Also fixing a typo in AppWidgetProvider clone() -- this was the cause of
   the "couldn't load widget". It wasn't getting expressed before for various
   reasons.

Change-Id: Ib7114565a414d66facd8b4baeb97d5a71e96b5e9
2012-11-04 12:05:44 -08:00
John Spurlock
6275b3f1f3 Use better signal for camera launch.
Keyguard set-hidden instead of window lost focus.

Tested with face unlock.

Bug:7464536
Change-Id: I6171c96699d1b1ccfebd7a14179d90963fb8aa54
2012-11-04 13:48:42 -05:00
John Spurlock
37d84ae605 Render camera widget on a background thread.
Bug:7470978
Change-Id: Ieace005ac42d39ac4c146673910e6681f38e8f56
2012-11-04 11:11:47 -05:00
John Spurlock
f70239a431 Fully block user interactions when transitioning to camera.
Bug:7464265
Change-Id: I654b3d7c455f782495946988bb2e5198ff4252ec
2012-11-04 09:42:42 -05:00
Dianne Hackborn
47eb0c103a am 2ea9bae7: Fix issue #7457380: IME leaves a mark after user switching
* commit '2ea9bae7121f1df5461437d7d08fa550cdf6e0b0':
  Fix issue #7457380: IME leaves a mark after user switching
2012-11-03 23:37:36 -07:00
Adam Cohen
934d0835c8 Fixing up overscroll / hints on tablet
Change-Id: I8b0ce30b02b2d13d71826d6765d154f5ab89072b
2012-11-03 20:03:27 -07:00
Adam Cohen
5d47a8dc2e Cleaning up the overscroll effect
Change-Id: I685693fa178fb7b6418145554eb320b1a62d7462
2012-11-03 19:19:11 -07:00
Adam Cohen
db1c5d596e Updating UI to new design, widget shouldn't expand until page settles (issue 7467435)
-> If the challenge is showing and the page is swiped, instead of immediately
   sliding down the security and expanding the small widget, we instead
   quickly fade out the security and keep the widget+frame small until
   the page settles and fades out.

Change-Id: I0f376dcd863744b977a1c5ccc7a46a5c6fdb891d
2012-11-03 17:14:38 -07:00
Adam Cohen
7cefef7c7c Merge "Making screen hints just side page outlines, as per new design (issue 7467968)" into jb-mr1-lockscreen-dev 2012-11-02 22:03:23 -07:00
Adam Cohen
45adaa7020 Making screen hints just side page outlines, as per new design (issue 7467968)
Change-Id: Iff66e0b01cca89337227e54033f6245d6833a5ff
2012-11-02 22:00:57 -07:00
Dianne Hackborn
2ea9bae712 Fix issue #7457380: IME leaves a mark after user switching
The gnarly stuff where we keep track of the old input method
window as if it was still there was sitting around leaving things
in a stuck state.  Now we clear this out at key points in the
window manager (freezing screen, user change), and the input
method manager service is less aggressive about asking the window
manager to do it.

Also fixed a problem that was causing flickers during some
wallpaper transitions -- when we are animating two things on
top of the wallpaper and one of them disappears, we need to
make sure the wallpaper target points to whatever the current
target should be (if any), not left pointing to the old target
that has gone away.

Change-Id: I2fb9600f569a5bd5e3528aaf24cde9340af56cb0
2012-11-02 18:56:01 -07:00
Jim Miller
fe43e2b178 Merge "Attempt to fix MENU key issue." into jb-mr1-lockscreen-dev 2012-11-02 17:35:13 -07:00
Jim Miller
aa200e2bc0 Merge "Clean up separator string in keyguard view" into jb-mr1-lockscreen-dev 2012-11-02 17:33:41 -07:00
Jim Miller
e93d1b4ed9 Clean up separator string in keyguard view
The whitespace in the string was being removed by aapt.

Change-Id: I0c6a3e6960feb80cc0263d3f63005aee8bd0a7cd
2012-11-02 17:26:52 -07:00
Baligh Uddin
5569abc0f6 am 841ce670: Merge commit \'81af21e67cd842d16d4b45e8a2d1ec56ff8d764f\' into jb-mr1-dev
* commit '841ce670b29180a157a084a9c0e803b13e92020c':
2012-11-02 16:49:33 -07:00
Jim Miller
75931e0547 Attempt to fix MENU key issue.
Bug 7467642

Change-Id: If9ee91fc17b454dd47945e800e90d76c0faa7f3d
2012-11-02 16:47:39 -07:00
Baligh Uddin
841ce670b2 Merge commit '81af21e67cd842d16d4b45e8a2d1ec56ff8d764f' into jb-mr1-dev 2012-11-02 16:46:18 -07:00
Jim Miller
81e77360b2 Merge "Update DevicePolicyManager documentation with new keyguard flags" into jb-mr1-lockscreen-dev 2012-11-02 16:20:52 -07:00
Svetoslav Ganov
f74d0c39b6 Merge "Polish user selector accessibility." into jb-mr1-lockscreen-dev 2012-11-02 15:55:11 -07:00
Jeff Sharkey
383df1e70a am 1c743650: Merge "Sanity check network stats coming from disk." into jb-mr1-dev
* commit '1c743650addb9f632dd3eb39d4b17109ee4171f5':
  Sanity check network stats coming from disk.
2012-11-02 15:52:49 -07:00
Jeff Sharkey
1c743650ad Merge "Sanity check network stats coming from disk." into jb-mr1-dev 2012-11-02 15:49:20 -07:00
Jeff Sharkey
b0a579f833 Sanity check network stats coming from disk.
Throw early when structure is unstable, which allows the normal
recoverFromWtf() path to recover automatically.

Bug: 7440485
Change-Id: Ic150d17daac4de7c9ff3489025403a9b485b4620
2012-11-02 15:38:15 -07:00
Adam Cohen
ff105ea2f6 Merge "Fix pages disappearing (issue 7456885)" into jb-mr1-lockscreen-dev 2012-11-02 15:35:30 -07:00
Jim Miller
3520774a91 Update DevicePolicyManager documentation with new keyguard flags
Change-Id: Idb1fa306a5706ba5b9543d7dff5450a4af5c394f
2012-11-02 15:33:20 -07:00
Svetoslav Ganov
fc9c4cd51b Polish user selector accessibility.
1. The current user was not announced as such.

2. The event for a user switch was not sent.

Change-Id: Ib3caf1f9e93ea1f0b5450246601bc37f416be6da
2012-11-02 15:32:25 -07:00
Amith Yamasani
e7b3ed2cf2 am e96e0a1a: Merge "Resolve USER_ALL when inflating notification views." into jb-mr1-dev
* commit 'e96e0a1a759a524072cc3fb1dfd3ec01e18ef67f':
  Resolve USER_ALL when inflating notification views.
2012-11-02 15:30:21 -07:00
Adam Cohen
196cde973f Fix pages disappearing (issue 7456885)
Change-Id: I51e4510da06a9b81aaefb8b2165234297ad4de92
2012-11-02 15:28:12 -07:00
Amith Yamasani
e96e0a1a75 Merge "Resolve USER_ALL when inflating notification views." into jb-mr1-dev 2012-11-02 15:26:37 -07:00
Laurent Tu
35e01866d8 am 685cc8c7: Merge "Decrement number of updates in LocationRequest" into jb-mr1-dev
* commit '685cc8c7cba0bef5257bf00e9821e82a2dbbfc91':
  Decrement number of updates in LocationRequest
2012-11-02 15:18:46 -07:00
Laurent Tu
685cc8c7cb Merge "Decrement number of updates in LocationRequest" into jb-mr1-dev 2012-11-02 15:15:28 -07:00
Dianne Hackborn
78bc99001f am 8ae0420e: Merge "Fix issue #7343200: Fails to show wallpaper in the background for..." into jb-mr1-dev
* commit '8ae0420e4b4169855608d404e389a66ce7253a36':
  Fix issue #7343200: Fails to show wallpaper in the background for...
2012-11-02 15:13:36 -07:00
Dianne Hackborn
8ae0420e4b Merge "Fix issue #7343200: Fails to show wallpaper in the background for..." into jb-mr1-dev 2012-11-02 15:10:16 -07:00
Raph Levien
369cf0c1a2 am d9134e7a: Merge "Revert partial RTL\'ization of Editor.setError()" into jb-mr1-dev
* commit 'd9134e7aa1679878245b67ed1a318acb19d0c717':
  Revert partial RTL'ization of Editor.setError()
2012-11-02 15:08:43 -07:00
Raph Levien
d9134e7aa1 Merge "Revert partial RTL'ization of Editor.setError()" into jb-mr1-dev 2012-11-02 15:05:08 -07:00
Geremy Condra
3d96f9404e am 0600ab78: am b14c9900: am a295ba44: Merge "Change android.permission.SERIAL_PORT to signature|system." into jb-dev
* commit '0600ab78354894e0a8559dc8eacefbef02d1249b':
  Change android.permission.SERIAL_PORT to signature|system.
2012-11-02 14:28:54 -07:00
Geremy Condra
0600ab7835 am b14c9900: am a295ba44: Merge "Change android.permission.SERIAL_PORT to signature|system." into jb-dev
* commit 'b14c9900cbbaca6361030d8fc8d6515cc9e06e10':
  Change android.permission.SERIAL_PORT to signature|system.
2012-11-02 14:26:34 -07:00
Geremy Condra
b14c9900cb am a295ba44: Merge "Change android.permission.SERIAL_PORT to signature|system." into jb-dev
* commit 'a295ba44793e5601c8574bdcb07313420aa6500c':
  Change android.permission.SERIAL_PORT to signature|system.
2012-11-02 14:22:31 -07:00
Dianne Hackborn
98129739af Fix issue #7343200: Fails to show wallpaper in the background for...
...lockscreen sometimes and remains black / blank

The problem was that we were using the animation-side wallpaper state
in cases where it was not updated yet.

The mWallpaperTarget variable is propagated over to the animation
side when the main window manager state updates.  On the animation
side, this is used by hideWallpapersLocked() to determine if the
current wallpaper should be hidden.

The problem is that various paths to hideWallpapersLocked() can
come from the layout side of the window manager instead of the
animation side.  This causes the problem here because in this case
the wallpaper state may not have yet been propagated to the
animation side, so it could incorrectly decide to hide the wallpaper
because it thinks there is not a target when in fact a target is
set in the layout side.  This won't get fixed until some time way
later that the layout side decides that a new window is being shown
that may need to have the wallpaper shown.

The fix here is pretty gross, but as safe as possible -- the
hideWallpapersLocked() function now uses either the animation or
layout wallpaper state depending on where the call to it is coming
from.

Change-Id: I9250bfeae6e11c1761760bcc696fdb33fb5c8a5f
2012-11-02 14:19:59 -07:00
Geremy Condra
a295ba4479 Merge "Change android.permission.SERIAL_PORT to signature|system." into jb-dev 2012-11-02 14:19:46 -07:00
Chris Wren
81af21e67c Merge "hide the correct text, and more text, on bounce" into jb-mr1-lockscreen-dev 2012-11-02 13:28:57 -07:00
Chris Wren
052999f3c9 hide the correct text, and more text, on bounce
Bug: 7464865
Change-Id: I39dc6f06ce0403a29e4802fcc5288788cffb6070
2012-11-02 16:28:18 -04:00
Daniel Sandler
a96cd636ec Merge "Improve PIN key layouts." into jb-mr1-lockscreen-dev 2012-11-02 12:34:16 -07:00
Daniel Sandler
80bc85a791 Improve PIN key layouts.
- space between digit and mnemonics
 - better center the (left-aligned) text in its container
 - nudge the enter arrow a little to the left in its
   container
 - add missing contentDescriptions for SIMPIN/PUK

Bug: 7427380
Change-Id: I0f5d9d1554a476c00591981028733ee6924bb729
2012-11-02 15:31:48 -04:00
Amith Yamasani
ecbd68b0de Resolve USER_ALL when inflating notification views.
Fixes the OTA icon display when the OTA is to be shown to all users.

Bug: 7462511
Change-Id: I185d9d5340d866d0a4b0ae273a361e8db160e33b
2012-11-02 12:17:19 -07:00
Svetoslav Ganov
807c1a99bf Merge "Obscure speech for PIN password keys when no headset plugged in." into jb-mr1-lockscreen-dev 2012-11-02 12:03:23 -07:00
alanv
0cbbc5766f Obscure speech for PIN password keys when no headset plugged in.
If applicable, also announces that the user needs a headset when
displaying the PIN pad layout. Also fixes accessibility focus "falling
through" to the next Z-ordered view.

Bug: 7436382
Change-Id: Ic1db5320b2e47ff181c5902e9f7980fe3fe6756b
2012-11-02 11:56:27 -07:00
Svetoslav Ganov
b8e58bb6ed am 28e8f76c: Merge "Cannot click on partially visible views in touch exploration." into jb-mr1-dev
* commit '28e8f76c50b26efd657bc0740fee25ac18520f9e':
  Cannot click on partially visible views in touch exploration.
2012-11-02 11:54:36 -07:00
Svetoslav Ganov
28e8f76c50 Merge "Cannot click on partially visible views in touch exploration." into jb-mr1-dev 2012-11-02 11:51:36 -07:00
Winson Chung
f3b9ec8230 Initial changes to allow dropping on delete target to remove widget.
- Fixing deletion animation

Change-Id: Ie93991c0e9af0c6b64c6b3808e38f349f6845965
2012-11-02 10:41:41 -07:00