17236 Commits

Author SHA1 Message Date
Dan Sandler
c263a08663 Make the vertical navbar 48dp like the horizontal one.
When the navigation bar was originally introduced to phones
(in change Ic613a335) we wanted it to stick to the same spot
on the display so that it felt as much as possible like a
physical button array; pressing the same fingertip-sized
spot on the glass should always invoke BACK, etc. This meant
flipping the nav bar to a vertical orientation when the
phone was in landscape, and then juggling around the window
insets and other system windows to make room for it.

For reasons that are now lost to time, in that original
implementation we made the vertical navigation bar narrower:
42dp (versus 48dp for the horizontal navigation bar, which
incidentally is always horizontal on tablet-type devices).
Nobody really noticed (except app developers looking to
hardcode this value instead of just using fitSystemWindows
or the new WindowInsets).

Here we finally make the navigation bars match perfectly in
portrait and landscape.

Bug: 23724209
Change-Id: I861be84b41c6a227d269469686c8c66a32029f1d
2015-09-03 10:51:57 -04:00
Adrian Roos
e07cbaf53c Show face unlock even when fingerprint is running
Bug: 23318158
Change-Id: I02b085297c2546c814d97d725d18beba79568b33
2015-09-02 16:26:34 -07:00
Jorim Jaggi
ac2b543be6 am 304e3772: Merge "Fix wrong mode for fingerprint unlock when bouncer not showing" into mnc-dr-dev
* commit '304e3772273cd39ae55fbdc1c453d8fa50258670':
  Fix wrong mode for fingerprint unlock when bouncer not showing
2015-09-02 20:54:42 +00:00
Jorim Jaggi
304e377227 Merge "Fix wrong mode for fingerprint unlock when bouncer not showing" into mnc-dr-dev 2015-09-02 20:43:04 +00:00
Jorim Jaggi
bf04cf51e6 Fix wrong mode for fingerprint unlock when bouncer not showing
Bug: 23748205
Change-Id: I4c751fcbb99d1f409a1433309e795addf1a2232c
2015-09-02 11:53:02 -07:00
Tim Kilbourn
38ae119688 am 7cd6aaaf: am ee72f99d: Merge "Allow shell to disable keyguard when not secure" into mnc-dev
* commit '7cd6aaafda35509607e945fcadc4a556f75ed23b':
  Allow shell to disable keyguard when not secure
2015-09-02 17:48:28 +00:00
Tim Kilbourn
7cd6aaafda am ee72f99d: Merge "Allow shell to disable keyguard when not secure" into mnc-dev
* commit 'ee72f99dd14c8e531cd1a114d162a49636e7b809':
  Allow shell to disable keyguard when not secure
2015-09-02 17:40:36 +00:00
Tim Kilbourn
ee72f99dd1 Merge "Allow shell to disable keyguard when not secure" into mnc-dev 2015-09-02 17:28:08 +00:00
Selim Cinek
9e30e20233 am 2af5010a: am 36a75d6a: Merge "Fixed a crash in the notification group manager" into mnc-dev
* commit '2af5010a6793d27eda86432f1ec3ebbe92e1d99e':
  Fixed a crash in the notification group manager
2015-09-02 01:08:38 +00:00
Selim Cinek
2af5010a67 am 36a75d6a: Merge "Fixed a crash in the notification group manager" into mnc-dev
* commit '36a75d6aefcddb91df7d513292d346f1f51ec702':
  Fixed a crash in the notification group manager
2015-09-02 00:54:32 +00:00
Selim Cinek
0b4aeab281 Fixed a crash in the notification group manager
When 2 notifications were posted as the summary of the same
group, then the system would eventually crash.

Bug: 23676310
Change-Id: Ia8f95e624f3f43d1b55169dd8102e3c89427dc76
2015-09-02 00:10:45 +00:00
Selim Cinek
3e64c75f33 am 146dc265: am 9a2d5742: Merge "Fixed when the notification effects are being cleared" into mnc-dev
* commit '146dc26511a9a1b82bf62d679b9cae6e8966241f':
  Fixed when the notification effects are being cleared
2015-09-01 23:49:33 +00:00
Selim Cinek
146dc26511 am 9a2d5742: Merge "Fixed when the notification effects are being cleared" into mnc-dev
* commit '9a2d5742bd11c2a7a583d53b1ef1ad12d75e239e':
  Fixed when the notification effects are being cleared
2015-09-01 23:33:50 +00:00
Jim Miller
d050cc87c8 am e45761ff: Merge "Fix broken enter key after failed PIN attempts." into mnc-dr-dev
* commit 'e45761ff901342a538607a3539997b106e867821':
  Fix broken enter key after failed PIN attempts.
2015-09-01 23:08:06 +00:00
Jim Miller
c467bd641f Fix broken enter key after failed PIN attempts.
Fixes bug 23699953

Change-Id: Id099443b830f5608c0bf955075c3407b401f3d53
2015-09-01 15:21:55 -07:00
Tim Kilbourn
bba73a038e Allow shell to disable keyguard when not secure
Bug: 22694837
Change-Id: I0f08048f617d064017468f331a5c6875ab27174b
2015-09-01 14:21:09 -07:00
Zhentao Sun
aa06c8089a am 363c694a: Merge "Don\'t launch the camera if it already in foreground." into mnc-dr-dev
* commit '363c694a448d90322936526d78a9878de0003d0e':
  Don't launch the camera if it already in foreground.
2015-09-01 00:47:04 +00:00
Jorim Jaggi
4a306fd744 am 3a464785: Add a private API to get notified about lockout resets
* commit '3a464785088e7fd206666f640912729533948ce8':
  Add a private API to get notified about lockout resets
2015-09-01 00:47:00 +00:00
Zhentao Sun
363c694a44 Merge "Don't launch the camera if it already in foreground." into mnc-dr-dev 2015-09-01 00:40:39 +00:00
Jorim Jaggi
3a46478508 Add a private API to get notified about lockout resets
SystemUI uses it to start authentication again after lockout reset
expired.

Bug: 22846755
Change-Id: I90a987c6aa4ac52cc7e7aff1bce262d1db3f12ee
2015-09-01 00:37:54 +00:00
Selim Cinek
6577cae496 Fixed when the notification effects are being cleared
Previously the notification effects were not correctly cleared in certain
cases and the user could end up in a state where the notification light would
always blink.

Bug: 22931139
Change-Id: I9a71e56cf4479354a9d773b5b6f0edd7693f2b05
2015-08-31 23:24:28 +00:00
Adrian Roos
7e1775d246 am 78195312: Merge "Disable fingerprint after force lock" into mnc-dr-dev
* commit '781953123e5b0f0f85691eabc13b3430c3054a10':
  Disable fingerprint after force lock
2015-08-31 20:16:57 +00:00
Adrian Roos
781953123e Merge "Disable fingerprint after force lock" into mnc-dr-dev 2015-08-31 20:04:46 +00:00
Geoff Mendal
469fa94613 Import translations. DO NOT MERGE
Change-Id: I770ccd06cea0e57fa92434a33e4e183d79010921
Auto-generated-cl: translation import
2015-08-29 08:37:22 -07:00
Zhentao Sun
04f974082e Don't launch the camera if it already in foreground.
b/23431496. This change will not launch the Intent if the target app of
this Intent is already running in the foreground.

Change-Id: Ic8c99cf3312a2ead12dbdb94825181aed934e9f0
2015-08-28 17:43:46 -07:00
Adrian Roos
0cb50efdc2 Disable fingerprint after force lock
Bug: 23275072
Change-Id: Icaeffaa1fa22a4a800ddf0f38105099557c74317
2015-08-28 23:54:43 +00:00
Selim Cinek
60337b6bd7 am e774bdd6: Merge "Added animation for trusted to fingerprint error" into mnc-dr-dev
* commit 'e774bdd6f09a65886429a2d84a6af7e4b6352280':
  Added animation for trusted to fingerprint error
2015-08-28 23:17:50 +00:00
Selim Cinek
e774bdd6f0 Merge "Added animation for trusted to fingerprint error" into mnc-dr-dev 2015-08-28 23:09:19 +00:00
Jorim Jaggi
a268138380 am acace94c: Fix race condition by guarding callbacks
* commit 'acace94c1739b08ea72dc6c2f49cf29bce6c1dac':
  Fix race condition by guarding callbacks
2015-08-28 22:49:16 +00:00
Jorim Jaggi
acace94c17 Fix race condition by guarding callbacks
Bug: 23587553
Change-Id: Ia71760013f3acbb5aeb4e30bb716683c9c672742
2015-08-28 22:08:03 +00:00
Jorim Jaggi
e3238e53de am b774e554: Optimize fp touch to wake: Shortcut for report next draw
* commit 'b774e554f32fd65cac30b43d1cf679403ef4af82':
  Optimize fp touch to wake: Shortcut for report next draw
2015-08-28 20:19:31 +00:00
Jorim Jaggi
b774e554f3 Optimize fp touch to wake: Shortcut for report next draw
When telling window manager that Keyguard window is in the correct
state for a fp-touch-to-wake sequence, it takes more than 1 frame at
the moment because the signal that WM is waiting for the next draw
is delayed by one frame because it is posted at the end of the
runnable queue.

To correctly fix this, we should post it at the beginning at the
queue, but this is way too risky this late. Instead, add a isolated
SysUI hack to report it faster.

Bug: 23401557
Change-Id: Icf64101e27611c7c01d108123021b22186f1e70c
2015-08-28 20:07:35 +00:00
Jeff Sharkey
90023609cf am 71f15791: am d88152b4: Merge "Give shell permission to move apps." into mnc-dev
* commit '71f1579190ee3658db15f55a4e5571f03ce431b6':
  Give shell permission to move apps.
2015-08-28 19:48:26 +00:00
Jeff Sharkey
71f1579190 am d88152b4: Merge "Give shell permission to move apps." into mnc-dev
* commit 'd88152b4d910fa5e79908dcb6f14cd56ad03b21a':
  Give shell permission to move apps.
2015-08-28 19:36:31 +00:00
Selim Cinek
c384198529 Added animation for trusted to fingerprint error
Bug: 21781452
Change-Id: Ib3b229c9ebece926a68a0c6a69341d0f68166698
2015-08-28 11:51:46 -07:00
Jeff Sharkey
e515c6495d Give shell permission to move apps.
Also clear identity when measuring ASEC sizes to relax a second
permission requirement.

Bug: 23600574
Change-Id: Ib3a104426758e0e8f35dff0e504fe874bed7311f
2015-08-28 11:50:22 -07:00
Adrian Roos
6fe373b10e am 16d7245b: Merge "Prevent Fingerprint when SIM is locked" into mnc-dr-dev
* commit '16d7245b64062f4c65d55433642388d1dc9bdf70':
  Prevent Fingerprint when SIM is locked
2015-08-27 18:15:21 +00:00
Adrian Roos
16d7245b64 Merge "Prevent Fingerprint when SIM is locked" into mnc-dr-dev 2015-08-27 18:06:44 +00:00
Jim Miller
d255b44c83 am dfb8cca0: Merge "Don\'t check the keyguard PIN a second time" into mnc-dr-dev
* commit 'dfb8cca04dd64dcdf1df4550f7e808360de0517d':
  Don't check the keyguard PIN a second time
2015-08-27 02:52:16 +00:00
Jim Miller
dfb8cca04d Merge "Don't check the keyguard PIN a second time" into mnc-dr-dev 2015-08-27 02:44:18 +00:00
Jim Miller
ed7dcc2dc5 Don't check the keyguard PIN a second time
If you tap the enter key twice on the keyguard PIN entry
screen, the second tap can sometimes register because keyguard
hasn't been dismissed yet.  The fix is to ignore a second attempt
after the PIN has already been verified.

Fixes bug 19216025

Change-Id: I73a004e91e43f3da65ec84f90de6943e717d737f
2015-08-26 18:17:37 -07:00
Adrian Roos
733b663cc2 Prevent Fingerprint when SIM is locked
Bug: 23214670
Change-Id: I8192ded696c1908871b2578194e2a226bb51b1e9
2015-08-26 16:38:28 -07:00
Nicholas Sauer
6c97bb1b74 am 59af87c2: am 7c17ec5f: Merge "Add GET_APP_OPS_STATS to Shell" into mnc-dev
* commit '59af87c2b694fad361c5f7e053a19bf9e1483afa':
  Add GET_APP_OPS_STATS to Shell
2015-08-26 18:31:33 +00:00
Selim Cinek
9b4b427a4b am e67268e6: Merge "Migrate camera vibration to the systemUI" into mnc-dr-dev
* commit 'e67268e66d5507832fa0c53dc7e08a72662610bc':
  Migrate camera vibration to the systemUI
2015-08-26 18:31:27 +00:00
Nicholas Sauer
59af87c2b6 am 7c17ec5f: Merge "Add GET_APP_OPS_STATS to Shell" into mnc-dev
* commit '7c17ec5fa5cb51d12713016622e4b5a939c8bb76':
  Add GET_APP_OPS_STATS to Shell
2015-08-26 18:25:26 +00:00
Selim Cinek
e67268e66d Merge "Migrate camera vibration to the systemUI" into mnc-dr-dev 2015-08-26 18:25:07 +00:00
Nicholas Sauer
7c17ec5fa5 Merge "Add GET_APP_OPS_STATS to Shell" into mnc-dev 2015-08-26 18:17:03 +00:00
Selim Cinek
8f7a7e0193 am a07177f0: Merge "Launching the camera now from systemUI including animations" into mnc-dr-dev
* commit 'a07177f0ad362ab3e03029cf774e55579ea025cf':
  Launching the camera now from systemUI including animations
2015-08-26 17:27:17 +00:00
Selim Cinek
a07177f0ad Merge "Launching the camera now from systemUI including animations" into mnc-dr-dev 2015-08-26 17:20:50 +00:00
Selim Cinek
69ff8afcee Migrate camera vibration to the systemUI
Also make sure the device is awake before vibrating.

Bug: 23200352
Change-Id: I63d04a82a4b8d9fa3e8f9deff5dd71295c82c930
2015-08-26 10:12:19 -07:00