1903 Commits

Author SHA1 Message Date
Jim Miller
f6ab5f9e3e Add one more check for detecting crashes while inflating multiuser widget
Fix bug 7437751

Change-Id: I2e1d94458db9e56e049dae32f088b13a21803217
2012-11-07 16:15:13 -08:00
Adam Powell
c717d110ae Merge "Fix keyguard measurement bugs" into jb-mr1-lockscreen-dev 2012-11-07 14:14:24 -08:00
Adam Powell
eeb6255056 Fix keyguard measurement bugs
Bug 7493748
Bug 7493764

Change-Id: I2182ec4347eefc80198e675684bc5d195f947763
2012-11-07 14:07:46 -08:00
Chris Wren
8e3bf41d8b Merge "add logging to enableUserSelectorIfNecessary." into jb-mr1-lockscreen-dev 2012-11-07 13:49:03 -08:00
Chris Wren
d2dec00a0a add logging to enableUserSelectorIfNecessary.
Bug: 7437751
Change-Id: I4a223ac68f780dac212ee5ed0729d59278fd1e4b
2012-11-07 16:38:33 -05:00
Chris Wren
b524f4b928 Merge "add some defensive code to enableUserSelectorIfNecessary." into jb-mr1-lockscreen-dev 2012-11-07 12:39:54 -08:00
Chris Wren
91f080c777 add some defensive code to enableUserSelectorIfNecessary.
Bug: 7437751
Change-Id: I3f8e317624f158fce0d58be69b733699a208d802
2012-11-07 15:21:37 -05:00
Adam Cohen
8f837a690b Merge "Storing boot completed in KeyguardUpdateMonitor so it is persistent (issue 7492235)" into jb-mr1-lockscreen-dev 2012-11-07 11:51:06 -08:00
Adam Cohen
4eb36cfdca Storing boot completed in KeyguardUpdateMonitor so it is persistent (issue 7492235)
Change-Id: I736816dac8cea47632fbdbc75b367f2c6216dff7
2012-11-07 11:45:30 -08:00
Chris Wren
cf9ee4c55d Merge "Don't pop the IME for passwors at ScreenOn on tablets." into jb-mr1-lockscreen-dev 2012-11-07 09:12:32 -08:00
Chris Wren
a042ac9064 Don't pop the IME for passwors at ScreenOn on tablets.
Change-Id: I4c157559b2a70021d55211607c1d62ba73adc590
2012-11-07 11:53:41 -05:00
John Spurlock
34c4fe523a Fix remaining jank in secure add-widget transition.
Wait for activity to launch before dismissing the keyguard.
Otherwise we see launcher/last activity waiting for the
picker to start up.

Also remove camera transition workaround obviated by:
  Iefee62061962625b622ff2cf9a307d9429c2ad54

Bug:7482560
Change-Id: I554ddffb7981488fa8a81933842b0c7730e775f3
2012-11-07 10:22:06 -05:00
Michael Jurka
cabcc59007 Merge "Allowing rotation while adding lockscreen widgets" into jb-mr1-lockscreen-dev 2012-11-07 01:16:11 -08:00
Michael Jurka
192d6d4ee2 Allowing rotation while adding lockscreen widgets
Also cleaning up some unused code

Bug: 7468012
2012-11-07 01:12:26 -08:00
Adam Powell
9799714f6c Keyguard layout tweaking/reworking
Teach KeyguardSecurityViewFlipper about layout_maxWidth/Height. Give
maxes to security views. Fix some IME layout weirdness in
SlidingChallengeLayout by adding more weirdness.

Change-Id: I8047d32302aad44844de06d54b150586b0861dab
2012-11-06 23:00:30 -08:00
Jim Miller
9d0d796f47 Merge "Fix emergency call area updates." into jb-mr1-lockscreen-dev 2012-11-06 19:05:43 -08:00
Adam Cohen
42164efac3 Merge "Ensuring bindAppWidget isn't called until boot completed (issue 7469267)" into jb-mr1-lockscreen-dev 2012-11-06 19:04:55 -08:00
Adam Cohen
efb3ffb029 Ensuring bindAppWidget isn't called until boot completed (issue 7469267)
Change-Id: I997f5a191116db7c840bf4a947385958b57cd657
2012-11-06 19:03:29 -08:00
Michael Jurka
835579e817 Merge "Removing sticky widgets in lockscreen" into jb-mr1-lockscreen-dev 2012-11-06 19:01:51 -08:00
Michael Jurka
76017cad4f Removing sticky widgets in lockscreen
Also adding mechanism to show a widget after
adding it

Change-Id: Ic4d49e6ef1343c38fa731b0ed2a327c55b678abf
2012-11-06 18:56:41 -08:00
Jim Miller
0928e019ce Fix emergency call area updates.
This fixes a bug where the emergency call button doesn't reflect the current
state.

Fixes bug 7482869

Change-Id: I7de2100f10a078943cb92c13d638c72e99c7a643
2012-11-06 18:43:22 -08:00
Svetoslav Ganov
ad9f594e1c am 5fff5f01: Merge "Make partially visible widget pages not important for accessibility." into jb-mr1-dev
* commit '5fff5f01f8af05164d5d7be72bdadee46360ba92':
  Make partially visible widget pages not important for accessibility.
2012-11-06 17:49:02 -08:00
Svetoslav Ganov
5fff5f01f8 Merge "Make partially visible widget pages not important for accessibility." into jb-mr1-dev 2012-11-06 17:46:44 -08:00
Sascha Prueter
bc69698c8f am 872965bb: Merge "Use a consistent policy for filtering wake keys." into jb-mr1-dev
* commit '872965bb22ba74a06b755547883c5d0de62bb956':
  Use a consistent policy for filtering wake keys.
2012-11-06 17:14:35 -08:00
Sascha Prueter
872965bb22 Merge "Use a consistent policy for filtering wake keys." into jb-mr1-dev 2012-11-06 17:11:26 -08:00
Jim Miller
51117262c8 Handle DevicePolicyManagement and safe mode when inflating widgets
Bug 7459120
Bug 7444159
Bug 7444016

Change-Id: I7966ec510da8113ac571b5a4b9dc48dd291396e8
Conflicts:
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardWidgetPager.java
2012-11-06 17:04:26 -08:00
Jeff Brown
1c2e4948a1 Use a consistent policy for filtering wake keys.
Previously wake keys were filtered differently depending on whether
a keyguard was showing.  If the user disables the keyguard then
no filtering was applied, which means that the volume key may
wake your device while in your pocket.

This change ensures that we use the same policy consistently
regardless of whether keyguard is showing.  The behavior is
otherwise the same.

Removed the "Locked" suffix on a method that was actually
being called without a lock held and which in fact does not
require it.

Bug: 7481025
Change-Id: I704c71ca009bc5437f349f858b9de7c77ea73e4b
2012-11-06 16:48:15 -08:00
Adam Powell
7136544c06 Merge "Keyguard - MultiPaneChallengeLayout measurement/layout changes" into jb-mr1-lockscreen-dev 2012-11-06 15:50:12 -08:00
Adam Powell
9d34f9db81 Keyguard - MultiPaneChallengeLayout measurement/layout changes
Have the widget view and the user switcher stay fixed when IME insets
are applied. This keeps more stability in the layouts as the IME comes
and goes.

Change-Id: I5ac62c3da6ec618280f89e87993837b3e4941ec9
2012-11-06 15:38:28 -08:00
Svetoslav Ganov
a90a18db91 Make partially visible widget pages not important for accessibility.
1. If the lockscreen has more than one widet, the left and right widget
   pages are partially on the screen and visible. Therefore they may
   take accessibility focus so the user will hear a prompt that he is
   on the partially visible widget page but will not be able to interact
   with it - confusing. This change makes partially shown windget frames
   not important for accessibility.

bug:7454355

Change-Id: I475b21e215474a4421acaec485cde64dc4e2aee5
2012-11-06 15:22:16 -08:00
Chris Wren
5fcca70d28 Merge "animating challenge closed should close the challenge." into jb-mr1-lockscreen-dev 2012-11-06 15:08:41 -08:00
Winson Chung
6cf53bb3a9 Using screen dimensions to calculate the expanded PagedView dimensions.
- Disallowing taps/interaction outside of the viewport (Bug 7459448)
- Fixing regression in incorrect pivot for Camera page
- Fixing issue where the bouncer was both scaling and shrinking widget pages.

Change-Id: Iefee62061962625b622ff2cf9a307d9429c2ad54
2012-11-06 15:07:14 -08:00
Chris Wren
da8f622b90 animating challenge closed should close the challenge.
Bug: 7486591
Change-Id: Ie19a3765c63b885539a621467c2fdc81041578a7
Proto:Id: Iedf69f2f4e97f313af0228954a75f5a494b33c88
2012-11-06 18:02:57 -05:00
Danielle Millett
2d9fae2bcf Merge "Removing callbacks in onDetachedFromWindow, fixes b/7465673" into jb-mr1-lockscreen-dev 2012-11-06 13:47:02 -08:00
Adam Cohen
7741e6209a Merge "Making sure the sticky widget logic works with music" into jb-mr1-lockscreen-dev 2012-11-06 13:40:30 -08:00
Adam Cohen
d6f8960b68 Making sure the sticky widget logic works with music
-> Also, ensure that subsequent calls to showAppropriateWidget
   don't blow away your current page.

Change-Id: I7195e35f306526c371b9546ab48bc408868eff51
2012-11-06 13:20:40 -08:00
Amith Yamasani
5eac4d852b am f763b717: Merge "Authenticate correct user\'s account when pattern fails multiple times." into jb-mr1-dev
* commit 'f763b71756d4d810e78e368fbcd56ff8a844f62c':
  Authenticate correct user's account when pattern fails multiple times.
2012-11-06 12:58:35 -08:00
Chris Wren
9f79d0db09 Merge "make challengeShowing sticky across bounce." into jb-mr1-lockscreen-dev 2012-11-06 12:56:57 -08:00
Amith Yamasani
f763b71756 Merge "Authenticate correct user's account when pattern fails multiple times." into jb-mr1-dev 2012-11-06 12:56:17 -08:00
Chris Wren
f7e47a003a Merge "specify start value: Drawables don't have getAlpha(). also, some clean up." into jb-mr1-lockscreen-dev 2012-11-06 12:39:48 -08:00
Chris Wren
03ad0c0950 make challengeShowing sticky across bounce.
Bug: 7482335
Change-Id: I94811c778c66c78655988f7ff6e4c6d59dac831d
Proto-Id: I3e10968c2a627ac392f39ffc3a6ae5fb33f78117
2012-11-06 15:17:13 -05:00
Chris Wren
50bf545842 specify start value: Drawables don't have getAlpha().
also, some clean up.

Bug: 7477513
Change-Id: Iaf05c1ae78ed4e7ba9d4cd3c713b5862a04b61f6
Proto-Id: I28d0569b88a978e1fff2acad1869bc10751dc37f
2012-11-06 15:17:12 -05:00
Danielle Millett
cade0049a7 Removing callbacks in onDetachedFromWindow, fixes b/7465673
In certain cases when lockscreen is constructed in landscape and then
switches to portrait on the phone, it inflates new views for
KeyguardHostView.  The old views never call onPause() in KeyguardFaceUnlockView
so it was still getting callbacks and starting Face Unlock multiple
times.  By removing the callbacks in onDetachedFromWindow() there won't be
multiple instances of KeyguardFaceUnlockView receiving callbacks and
starting face unlock.

Change-Id: I00d770283e83be2f4b76e00340123789a8075091
2012-11-06 14:18:59 -05:00
John Spurlock
65cbcbea8a Remove add widget transition jank (insecure).
Refactor to use common activity launcher.

Still work to do on secure.

Bug:7482560
Change-Id: I2f8869afe8172850e1cb019a051aaeb49bb8c5bc
2012-11-06 11:41:29 -05:00
John Spurlock
ae73c6908f Fix regression in camera transition.
Caused by: Ic18188a2a3caa9dfde8785611242b1c9925f7b87
  "Adding bouncer animation on PagedView."

Bug:7483566
Change-Id: Ie0b4e7cf3d4dc717cac02c7cf8a1ec24b9b860a6
2012-11-06 09:48:03 -05: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
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
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
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