87603 Commits

Author SHA1 Message Date
Roman Nurik
b9a870b871 docs: Minor Nexus 10 fix in Device Art Generator
Change-Id: Ie0fb08d484de812f064d141551963bc37c91267b
2012-11-06 06:29:07 -08:00
Michael Jurka
08924d007f Merge "Supporting EXTRA_APPWIDGET_OPTIONS correctly" into jb-mr1-lockscreen-dev 2012-11-05 23:06:40 -08:00
Jim Miller
7dfc588a9d Workaround for layout bug in SIM PIN/PUK views
This prevents a degenerate layout while we figure out what's
going on.

Change-Id: I99d1c6e5ce59fd48a74258158208270b775c1511
2012-11-05 22:45:35 -08:00
Jim Miller
87d0366d9e Fix NPE caused by applications that try to hide keyguard while it's not showing
Fixes bug 7466360

Change-Id: Idec4c60c2ca2477e49e0f4526ae2357353d4a1e3
2012-11-05 20:28:09 -08:00
Jim Miller
bfec0a8616 Add isSafeModeEnabled() API to WindowManagerService
This adds a means of determining when the device is in safe mode,
as required by keyguard to disabled some features.

Change-Id: I31d357e6738c92e1837f9e0263e5f3f4de66315a
2012-11-05 20:27:38 -08:00
Michael Jurka
0a75b94872 Supporting EXTRA_APPWIDGET_OPTIONS correctly 2012-11-05 18:57:10 -08:00
Amith Yamasani
2c7bc26a74 Authenticate correct user's account when pattern fails multiple times.
Bug: 7473142

Provide hidden methods in AccountManager for querying accounts and
authenticating for a specific user. Lockscreen is running in the
system process. Allow only system process to access accounts across
users.

Also make sure to launch the lock settings screen on the just reset
user using startActivityAsUser()

Change-Id: Ifefc0039ba2b51396b8bd0268f36d5271a3d8676
2012-11-05 18:17:40 -08:00
Svetoslav Ganov
bb8abae507 am 0f4d5df5: Merge "View\'s visibility to the user not checking predecessor alpha." into jb-mr1-dev
* commit '0f4d5df5d815466398dba5f2d07aa98f18c35aaa':
  View's visibility to the user not checking predecessor alpha.
2012-11-05 17:05:50 -08:00
Mike Cleron
624ea44120 am c87f198b: Merge "TextView not respecting "speak passwords" setting when adding before text to events." into jb-mr1-dev
* commit 'c87f198b8cd3b3cb5b3daf63df419b9377b9c7b8':
  TextView not respecting "speak passwords" setting when adding before text to events.
2012-11-05 17:05:47 -08:00
Svetoslav Ganov
0f4d5df5d8 Merge "View's visibility to the user not checking predecessor alpha." into jb-mr1-dev 2012-11-05 17:03:37 -08:00
Mike Cleron
c87f198b8c Merge "TextView not respecting "speak passwords" setting when adding before text to events." into jb-mr1-dev 2012-11-05 17:03:06 -08:00
Romain Guy
06da337876 am 6c642089: Merge "Add programmatic access to setters in TextClock Bug #7478328" into jb-mr1-dev
* commit '6c642089bcd13bf17d7c445b2ec89b62a79c9823':
  Add programmatic access to setters in TextClock Bug #7478328
2012-11-05 16:39:37 -08:00
Romain Guy
6c642089bc Merge "Add programmatic access to setters in TextClock Bug #7478328" into jb-mr1-dev 2012-11-05 16:36:39 -08:00
Winson Chung
48275d2de9 Adding bouncer animation on PagedView. (Bug 7459660)
- Adding Remove text for translations.

Change-Id: Ic18188a2a3caa9dfde8785611242b1c9925f7b87
2012-11-05 16:15:34 -08:00
Adam Powell
9ff6d4f8db Merge "Keyguard sanity checks for when layout is not yet complete" into jb-mr1-lockscreen-dev 2012-11-05 15:52:43 -08:00
Adam Powell
5a2c5f0efa Keyguard sanity checks for when layout is not yet complete
Bug 7470163

Change-Id: I1e5f860ab39633f6c5e2046f6f18424227842406
2012-11-05 15:44:29 -08:00
Adam Cohen
79e0f87500 Merge "Fix small widgets not showing up on tablet (issue 7471516)" into jb-mr1-lockscreen-dev 2012-11-05 15:22:45 -08:00
Adam Cohen
6f72b1c917 Fix small widgets not showing up on tablet (issue 7471516)
Change-Id: Ie217268ef9c96512942f64b8ffd7e1d54a0ea850
2012-11-05 15:20:42 -08:00
Baligh Uddin
af0d09be28 am 00b5ed8f: Merge commit \'b3f87c24ee86227e22b2db9b04f3d94519f230f9\' into jb-mr1-dev
* commit '00b5ed8fa9f2f38e15894519f3afeaae56e97e94':
2012-11-05 15:19:27 -08:00
Baligh Uddin
00b5ed8fa9 Merge commit 'b3f87c24ee86227e22b2db9b04f3d94519f230f9' into jb-mr1-dev 2012-11-05 15:02:02 -08:00
Adam Powell
5da6430fff Optimize keyguard/IME interactions
Change the keyguard window to LAYOUT_IN_SCREEN | LAYOUT_INSET_DECOR
and make the ViewManagerHost fitSystemWindows. This eliminates the
need to resize the actual window and associated surfaces when the IME
comes and goes.

Force the widget pager to measure at the fullscreen size of the
keyguard, even if the IME is showing. This causes the widgets to clip
instead of resize, removing a few more moving parts that can be
distracting/affect performance.

Partially improves bug 7427586

Change-Id: I0d86d0ca8045f737fa97ca5d1e7f6a49f746b999
2012-11-05 14:26:33 -08:00
Romain Guy
a9cfe677ee Add programmatic access to setters in TextClock
Bug #7478328

Add missing annotation to let appwidgets change values programmatically

Change-Id: I6e9b095e93e4e90bd96e127344354c0dfa46cd86
2012-11-05 14:19:21 -08:00
Joe Malin
ff91b179d3 am db426cc0: am 046671af: am fbcfb5d0: am 50c2275c: Android Training: CursorLoader
* commit 'db426cc0a695ab699969d0b7750dd79e5922321b':
  Android Training: CursorLoader
2012-11-05 14:07:07 -08:00
Joe Malin
db426cc0a6 am 046671af: am fbcfb5d0: am 50c2275c: Android Training: CursorLoader
* commit '046671afbcbe043f0b2aa4edc42b21fd2abf7586':
  Android Training: CursorLoader
2012-11-05 14:04:09 -08:00
Svetoslav Ganov
72bba58807 TextView not respecting "speak passwords" setting when adding before text to events.
1. If the speak passwords settings is on, the accessibility events emitted from a
   TextView should contain the text and before text of the source. The settings
   shows the users consent to put the source's text in the event. While the code
   that populates the current text in the accessibility event respects the
   setting, the one that populates the before text does not. As a result the
   fact that the user has typed a letter cannot be echoed by an accessibility
   service.

bug:7468768

Change-Id: I7580c37936d742f42653315b2591e268a634d22b
2012-11-05 14:02:06 -08:00
Joe Malin
046671afbc am fbcfb5d0: am 50c2275c: Android Training: CursorLoader
* commit 'fbcfb5d0f899e0b3c89334d43b45907337cf7f36':
  Android Training: CursorLoader
2012-11-05 14:01:46 -08:00
Joe Malin
fbcfb5d0f8 am 50c2275c: Android Training: CursorLoader
* commit '50c2275cff28c4a216f6924584e43cd64b90a3bf':
  Android Training: CursorLoader
2012-11-05 13:59:48 -08:00
Joe Malin
50c2275cff Android Training: CursorLoader
Change-Id: Ia8d723b5ce32002597b9444b8c7eff07b1ab29c8
2012-11-05 13:55:21 -08:00
Chris Wren
b3f87c24ee Merge "bouncer: hide more text and frame less." into jb-mr1-lockscreen-dev 2012-11-05 12:24:11 -08:00
Scott Main
7c6863be50 am 44c4bba2: Merge "docs: fix markup error bug: 7456071" into jb-mr1-dev
* commit '44c4bba2530b430895ef1c72e8ce2712e8ca9f6e':
  docs: fix markup error bug: 7456071
2012-11-05 11:38:10 -08:00
Scott Main
44c4bba253 Merge "docs: fix markup error bug: 7456071" into jb-mr1-dev 2012-11-05 11:35:24 -08:00
Scott Main
9cc531cc26 docs: fix markup error
bug: 7456071

Change-Id: I3d34a2d6741784d9b33af54afd6d97803720264d
2012-11-05 11:25:17 -08:00
Scott Main
de2c3192b1 am 737a20fd: Merge "docs: explain implicit permissions applied by sdk versions bug: 7453055" into jb-mr1-dev
* commit '737a20fda62fe9885f74e208ac21a1574c1593f7':
  docs: explain implicit permissions applied by sdk versions bug: 7453055
2012-11-05 11:15:55 -08:00
Scott Main
737a20fda6 Merge "docs: explain implicit permissions applied by sdk versions bug: 7453055" into jb-mr1-dev 2012-11-05 11:12:12 -08:00
Eino-Ville Talvala
1cab31a45d Camera: Document new video snapshot picture size behavior.
On some devices, video snapshot may return pictures that are smaller
than requested. Make that clear.

Bug: 7475089
Change-Id: I0bd759072a7f954e517f3d09cb676fb23f863912
2012-11-05 10:57:27 -08:00
Steven Ross
025fb93e3e Clearing connected message in stop fixes 7401152
We can stop before the service connected message is processed, in which case
we should clear the message.  Otherwise it can cause us to start up the UI
before the camera is open, causing a crash.

I was unable to reproduce this issue, but it theoretically will happen, and
the bug report shows all the symptoms of this series of events.

Change-Id: I60d295883b08ac58ccf0f3fc6d152b8b75fe9b18
2012-11-05 13:49:31 -05:00
Chris Wren
c0ae9e67eb bouncer: hide more text and frame less.
Bug: 7464865
Change-Id: Ic8dac2582c014922143919f142fd36eb720dd3a9
Proto-Id: Id80601c9ffbdc34669b485e943b42cee237898f3
2012-11-05 13:30:26 -05:00
Amith Yamasani
d812e7a10e am fca8d258: Merge "Remove power menu user switcher" into jb-mr1-dev
* commit 'fca8d258c5699ad2703d46181c492e78e1dc87a8':
  Remove power menu user switcher
2012-11-05 09:33:57 -08:00
Amith Yamasani
fca8d258c5 Merge "Remove power menu user switcher" into jb-mr1-dev 2012-11-05 09:31:48 -08:00
John Spurlock
57f928fc4a Recover from badly behaving 3rd party secure cameras.
Bug:7473953
Change-Id: I8daf18c85d951e03fa1c98dda5f255327f96f0ba
2012-11-05 10:40:23 -05:00
Jim Miller
08898375fb Show bouncer mode for Slide mode in keyguard if widget isn't expanded
Change-Id: If225198b0c6b122fef854ddd91e49c1071b74d50
2012-11-04 19:08:40 -08:00
Adam Cohen
9f225d78ca Merge "Making challenge come back if within the same gesture you return to the original page (issue 7422999)" into jb-mr1-lockscreen-dev 2012-11-04 17:55:44 -08:00
Baligh Uddin
8a6db8aa3e am 8cf1ea90: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '8cf1ea908dbb2c1a1252cecdc6d0f961373502aa':
  Import translations. DO NOT MERGE
2012-11-04 17:49:01 -08:00
Baligh Uddin
746a7abc69 Merge "Import translations. DO NOT MERGE" into jb-mr1-lockscreen-dev 2012-11-04 17:47:34 -08:00
Baligh Uddin
8cf1ea908d Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-11-04 17:43:31 -08:00
Adam Cohen
8caabadd02 Making challenge come back if within the same gesture you return to the original page (issue 7422999)
Change-Id: I8ada54ca39ebebc15295f93a2d9029f3b7915acb
2012-11-04 17:25:12 -08:00
Adam Cohen
7f6bb6e460 Ensure edge swiping is enforced immediately upon showing keyguard (issue 7453156)
Change-Id: I197a5304bbea904b58494a9dcb7ff95ff3c4a52b
2012-11-04 14:01:40 -08:00
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