272 Commits

Author SHA1 Message Date
Jim Miller
375ff2c4a7 am 2598fbd7: Merge "Attempt to fix a bug where SIM progress dialog gets stuck." into klp-dev
* commit '2598fbd71a2109ab307d32935a13fa1eab150e8d':
  Attempt to fix a bug where SIM progress dialog gets stuck.
2014-03-20 01:08:43 +00:00
Jim Miller
2598fbd71a Merge "Attempt to fix a bug where SIM progress dialog gets stuck." into klp-dev 2014-03-20 01:04:13 +00:00
Adrian Roos
16858164c7 am cd0d8cb2: Merge "DO NOT MERGE - Fix keyguard pattern lockout bug" into klp-dev
* commit 'cd0d8cb2d97ced5e8110a14f5cf4bc2d4fe68440':
  DO NOT MERGE - Fix keyguard pattern lockout bug
2014-03-13 17:26:26 +00:00
Adrian Roos
91c9561cbe DO NOT MERGE - Fix keyguard pattern lockout bug
(cherry picked from commit 7c11f8b4659c3444d5037b756b6e5f45a2ea61a6)
Conflicts:
	packages/Keyguard/src/com/android/keyguard/KeyguardPatternView.java

Bug: 13302967
Change-Id: Ifa4c01e630bd3aa8cadfea8dbbbb4686d50eb945
2014-03-13 13:42:29 +00:00
Jim Miller
6f29b30dc2 Attempt to fix a bug where SIM progress dialog gets stuck.
The fix makes sure onPause() is called when KeyguardHostView
is removed.

Bug 10323372

Change-Id: I20dd1f68c270adbd4582f2cd8ed9b03964b4477c
2014-03-13 00:13:14 +00:00
Baligh Uddin
da799ef3a0 Import translations. DO NOT MERGE
Change-Id: I31e5b7b7aa453a0455fd31eca6a11520730a26a7
Auto-generated-cl: translation import
2014-02-19 18:54:52 -08:00
Baligh Uddin
d6e863a19a Import translations. DO NOT MERGE
Change-Id: Ia1e9dd788744e22237845d094d414dc4f57713be
Auto-generated-cl: translation import
2013-12-26 09:53:23 -08:00
Baligh Uddin
db41eaef90 Import translations. DO NOT MERGE
Change-Id: Id35b27dea34c2fbad7dcfe2b30a34b26beb4e989
Auto-generated-cl: translation import
2013-12-18 15:11:27 -08:00
Baligh Uddin
9ad3907169 Import translations. DO NOT MERGE
Change-Id: I3065b51a4d5b72fc2dbd65f34f2b7dec89fb37d7
Auto-generated-cl: translation import
2013-12-11 12:55:02 -08:00
Jim Miller
8d1e86d054 am 1907c0d2: Merge "Don\'t show external presentation until keyguard actually shows" into klp-dev
* commit '1907c0d280d97776708810c9d24931aa6f818790':
  Don't show external presentation until keyguard actually shows
2013-11-14 18:20:53 -08:00
Jim Miller
d31fd404e3 Don't show external presentation until keyguard actually shows
The previous code was looking for just the display to turn off.
It should wait until keyguard is actually shown before enabling
the external presentations.

Fix for bug 11694904

Change-Id: Iebf3aa04fc094cd4e5c8f56bc771aca1e5921d04
2013-11-14 16:47:26 -08:00
Jim Miller
434b4acb99 am 90fa5331: Merge "Don\'t show keyguard until the device has been provisioned." into klp-dev
* commit '90fa53318d4984dbebfa7964ae1f79f51a130932':
  Don't show keyguard until the device has been provisioned.
2013-11-14 15:38:32 -08:00
Jim Miller
299422baeb Don't show keyguard until the device has been provisioned.
This fixes a bug where we'd show keyguard on top of setup.

Fixes bug 11689756

Change-Id: I38ecdafc00fc34fdd79e3ac517042a1e5eea93de
2013-11-14 14:15:02 -08:00
Jim Miller
5305fe3f09 am 39af5a78: Merge "Don\'t set up external displays from binder thread" into klp-dev
* commit '39af5a78c073d01539625a9fbbb8511747e2f048':
  Don't set up external displays from binder thread
2013-11-13 17:50:26 -08:00
Jim Miller
378c804d65 am c8867b28: Merge "Report keyguard as initially showing and secure until we know" into klp-dev
* commit 'c8867b2807b6d7ffcd3c2f935d1fe8c857a9ef8d':
  Report keyguard as initially showing and secure until we know
2013-11-13 17:50:18 -08:00
Jim Miller
39af5a78c0 Merge "Don't set up external displays from binder thread" into klp-dev 2013-11-14 01:47:32 +00:00
Jim Miller
c8867b2807 Merge "Report keyguard as initially showing and secure until we know" into klp-dev 2013-11-14 01:45:52 +00:00
Jim Miller
80cb9bcfc0 Don't set up external displays from binder thread
This fixes a bug where keyguard was attempting to set up
external presentation displays from the binder thread instead
of the UI thread.  Bad dog.

Fixes bug 11676486

Change-Id: Iadbe485691acc56a41b23219fe399f7eda40cb7c
2013-11-13 16:47:20 -08:00
Jim Miller
e5f17ab5a6 Report keyguard as initially showing and secure until we know
This fixes a bug where an app calls KeyguardManager.isLocked()
before keyguard has had a chance to show.  The fix is to assume
keyguard is showing and secure until we know otherwise.

Fixes bug 11670159

Change-Id: Ifbe4cdf40e3b76d2069ecace940f85fa58f31187
2013-11-13 15:40:48 -08:00
Jim Miller
291b7f5615 am 3714473f: Merge "Enable fast camera transition when launched from navbar" into klp-dev
* commit '3714473f1a077cae6eca3079da67a7dd09dcff65':
  Enable fast camera transition when launched from navbar
2013-11-13 14:28:06 -08:00
Jim Miller
cefe47c0d3 am 9c8d56a6: Merge "Reduce camera launch time by about 250ms." into klp-dev
* commit '9c8d56a692198a3fc1629a0407ea6027f04e9a91':
  Reduce camera launch time by about 250ms.
2013-11-13 14:24:26 -08:00
Jim Miller
3714473f1a Merge "Enable fast camera transition when launched from navbar" into klp-dev 2013-11-13 22:23:34 +00:00
Jim Miller
c816b8eedb Enable fast camera transition when launched from navbar
This reduces the camera transition timeout to 0 if launched
from the navigation bar.  The transition cannot be aborted once
launched.

Change-Id: I7c376fbb90fd51cd301ef49fbd3411370bc2e4b5
2013-11-12 19:52:12 -08:00
Jim Miller
aa89847f4e Reduce camera launch time by about 250ms.
This reduces the amount of time available to the user to cancel
launching the camera in order to improve average launch time.

It also increases the threshhold for flings and motions to prevent
unintentional launches which are costly in terms of falsing.

Fixes bug b/11657355

Change-Id: I852abbe3ce8ddddcb65f3a48a2f8111d20126189
2013-11-12 18:14:26 -08:00
Jim Miller
01edb22617 am ed7376fc: Merge "Restore permission check in keyguard." into klp-dev
* commit 'ed7376fc4829e93f5f2d3037633a37d652a13a7c':
  Restore permission check in keyguard.
2013-11-08 16:25:06 -08:00
Jim Miller
505329b21b Restore permission check in keyguard.
Fixes bug 11584685

Change-Id: I80621f5608505bdc365930e0276c297c0d5bff67
2013-11-08 14:08:10 -08:00
Jim Miller
44ee0fb144 am c55edb26: Merge changes I74bfc0d5,I577f9d36 into klp-dev
* commit 'c55edb266f96364277b4a3552295c94363d847fb':
  Delay tearing down external displays until keyguard finishes
  Show keyguard scrim on external displays while keyguard showing
2013-11-08 11:01:57 -08:00
Jim Miller
0b9d8accc5 Delay tearing down external displays until keyguard finishes
This waits until the keyguard window is actually removed before turning
off external presentations to avoid flashing the user's password.

Fixes bug 11562369

Change-Id: I74bfc0d5e23dccc5a8628abfe02868c71c371f6e
2013-11-07 19:15:49 -08:00
Jim Miller
3192148fb4 Show keyguard scrim on external displays while keyguard showing
Fixes bug 11562369

Change-Id: I577f9d3683e62689954b4640601b3f360b78cb31
2013-11-07 18:44:56 -08:00
Jim Miller
bb78ae9eed am 8cba0d0b: Merge "Fix scrubbing behavior on keyguard music transport" into klp-dev
* commit '8cba0d0b21db0fc4f9006403d6706e5893582dc8':
  Fix scrubbing behavior on keyguard music transport
2013-11-07 14:54:37 -08:00
Jim Miller
8cba0d0b21 Merge "Fix scrubbing behavior on keyguard music transport" into klp-dev 2013-11-07 22:52:57 +00:00
Jim Miller
cc747ad2da Fix scrubbing behavior on keyguard music transport
This fixes a bug where the music scrub position would snap
back to a previous position. The problem was caused by latency
in the music application responding to scrub position changes.
The latency would mean that we'd get a response periodically
to some historical scrub position change.

Since we can't know when the state will become stable, we
just wait a little bit since the last update change before
continuing to update the scroll position.

In order to keep the music client from falling behind, we
throttle scrub updates.

Fixes bug 11351267

Change-Id: I6204833328751d1da781b4e078a2d557c1f93ff3
2013-11-06 17:53:32 -08:00
Ruben Brunk
9aed2ae0bd am e77d2a9c: Merge "Disable face unlock when returning from camera." into klp-dev
* commit 'e77d2a9c62e747902bc53d40e303214705702b00':
  Disable face unlock when returning from camera.
2013-11-06 15:26:48 -08:00
Ruben Brunk
e77d2a9c62 Merge "Disable face unlock when returning from camera." into klp-dev 2013-11-06 23:22:55 +00:00
John Spurlock
20dc49235e am 10b9ac80: Merge "Fix lockscreen camera preview position in RTL." into klp-dev
* commit '10b9ac807f7cc0817e8dd4b96d587ccd41f8f177':
  Fix lockscreen camera preview position in RTL.
2013-11-06 13:52:15 -08:00
John Spurlock
10b9ac807f Merge "Fix lockscreen camera preview position in RTL." into klp-dev 2013-11-06 21:48:41 +00:00
Jim Miller
78244c83fb am 32293469: Merge "Fix issue where transport control shows up off-screen on tablets" into klp-dev
* commit '322934699433d703fa35505d72028abbcf8ce45f':
  Fix issue where transport control shows up off-screen on tablets
2013-11-06 13:19:27 -08:00
Jim Miller
3229346994 Merge "Fix issue where transport control shows up off-screen on tablets" into klp-dev 2013-11-06 21:15:17 +00:00
John Spurlock
b6c3b20d71 Fix lockscreen camera preview position in RTL.
Bug:11263914
Change-Id: Ic3e5157ceb82495d10afd74b3af2655434a9467c
2013-11-06 14:44:54 -05:00
Ruben Brunk
21a99ddd9c Disable face unlock when returning from camera.
Bug: 11063890

- Workaround for bug 11063890.  Avoids the acquire/release
  race when resuming face unlock while pausing the camera
  widget.
Change-Id: I0a58f3a07f346da72ea55772242b4f9c54537235
2013-11-06 10:21:43 -08:00
Jim Miller
81190befe6 Fix issue where transport control shows up off-screen on tablets
This fix selects the current page ealier in the reconstruction
of Keyguard to ensure the layout bounds of KeyguardWidgetPager are
correct by the time it does the initial layout.

In addition this change postpones selecting the transport page if
the transport was just added.

Fixes bug 11287144

Change-Id: I92ba8bb5e13c166d13fbaa26881f5034d5ab2104
2013-11-05 21:14:18 -08:00
Chris Craik
f918444fdd am 6fbd4829: Merge "Work around nested SaveLayerAlpha bug" into klp-dev
* commit '6fbd4829a9614f0d6c668cd5ccba6cabdaeb81a0':
  Work around nested SaveLayerAlpha bug
2013-11-05 18:23:00 -08:00
Chris Craik
6fbd4829a9 Merge "Work around nested SaveLayerAlpha bug" into klp-dev 2013-11-06 02:20:20 +00:00
Chris Craik
362adb84d9 Work around nested SaveLayerAlpha bug
bug:11481077

Because TextView marquee and KeyguardSecurityViewFlipper use SaveLayer
(for the marquee fading effect and view alpha, respectively), both can
be nested, which hits a bug in the renderer resulting in artifacts.

Workaround this by setting a hardware layer on the marquee, so that
those marquee effects are drawn outside of the ViewFlipper.

Change-Id: If8b7ebb20d3959cb930a8bea2146ba3f8e659612
2013-11-05 17:41:21 -08:00
Baligh Uddin
b8ea1228c2 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-05 15:54:58 +00:00
Jim Miller
6bb4af273f am e19ed435: Merge "Add explicit refererences and logging to KeyguardSim/Puk" into klp-dev
* commit 'e19ed43551bc1603a41f376883f69eeee12182f3':
  Add explicit refererences and logging to KeyguardSim/Puk
2013-11-04 19:21:32 -08:00
Jim Miller
4fc2b01fd0 Add explicit refererences and logging to KeyguardSim/Puk
Adds explicit references to the given threads in case they
are the victims of a GC and adds logging to help track down
this issue if not.

Bug 10323372

Change-Id: I8e2fe46e10bbc5d14e631d45d8869b3214213045
2013-11-04 17:11:46 -08:00
Craig Mautner
d8158096af am eadd2134: Merge "Focus security fields before widgets." into klp-dev
* commit 'eadd21343ca35613dd4aa285b16e40033fe0d225':
  Focus security fields before widgets.
2013-11-04 15:57:35 -08:00
Craig Mautner
eadd21343c Merge "Focus security fields before widgets." into klp-dev 2013-11-04 23:55:23 +00:00
Craig Mautner
f83324504e Focus security fields before widgets.
Focus normally proceeds top down through the view tree. Change the
order of focus so that the security fields have a chance to receive
focus before the widget fields.

Fixes bug 11203748.

Change-Id: Ie7f16e59652edbe64fa8342197fda81b53976360
2013-11-04 13:31:45 -08:00