Commit Graph

23183 Commits

Author SHA1 Message Date
TreeHugger Robot
db25b9fb3b Merge "Fix fingerprint error messages on Keyguard / AOD" into oc-mr1-dev 2017-08-31 17:04:10 +00:00
TreeHugger Robot
984b76f62e Merge "Add bt battery level to QS icons" into oc-mr1-dev 2017-08-31 16:36:57 +00:00
Jason Monk
04094078be Merge "Reduce paddings on 320dp screens, we don't have much space" into oc-mr1-dev 2017-08-31 16:35:37 +00:00
Jason Monk
8b2d853bee Merge "Don't auto-expand QS from detail panels" into oc-mr1-dev 2017-08-31 16:31:26 +00:00
Jason Monk
7578b3db2c Merge "Fix carrier text rtl alignment" into oc-mr1-dev 2017-08-31 16:31:10 +00:00
TreeHugger Robot
e603a67a62 Merge "Fix multi user battery percentage" into oc-mr1-dev 2017-08-31 15:38:57 +00:00
TreeHugger Robot
5285e053b3 Merge "Fix tuner DND UI" into oc-mr1-dev 2017-08-31 15:28:56 +00:00
Kevin Chyn
83d0cd221f Update UnlockMethodCache when screen turns off
am: 08ae664365

Change-Id: I132358dc66f04cb2531e6d57ed8d2dd14947b62d
2017-08-31 12:59:00 +00:00
TreeHugger Robot
8d1a86ca0f Merge "Skip handling recents toggle if a task is locked." into oc-mr1-dev 2017-08-31 04:34:43 +00:00
Kevin Chyn
08ae664365 Update UnlockMethodCache when screen turns off
Fixes: 65212307

Test: 1) add a temporary log in update()
2) turn off screen, make sure update() is called, and
   canSkipBouncer value is updated and correct

Change-Id: I576d2375d38e83f286ad1fc6aa25944326c3ef8f
2017-08-30 19:16:33 -07:00
TreeHugger Robot
ca468f1983 Merge "Adjusting PiP for the TV IME." into oc-mr1-dev 2017-08-31 01:23:03 +00:00
TreeHugger Robot
e087252671 Merge "Fix up bar transitions on low end devices" into oc-mr1-dev 2017-08-31 01:03:26 +00:00
Jason Monk
a6f1db3a9e Fix multi user battery percentage
Test: Use battery percentage with multi user, like at all
Change-Id: Ie59d2409e79469138c04450528ed3e9f4e1c06aa
Fixes: 64442190
2017-08-30 19:18:00 -04:00
Jason Monk
58b5a4f6cc Fix tuner DND UI
Test: visual
Change-Id: Ia90209b487aeee4ee162c54aa6cf923551f50d31
Fixes: 62588404
2017-08-30 19:09:38 -04:00
Jason Monk
e389d6e39e Don't auto-expand QS from detail panels
We don't have tiles that launch detail panels from collapsed state
anymore, and its getting in the way of animateExpandSettingsPanel.

Test: visual
Change-Id: I9e8049f775a7ed7a9fe1aac035a7527a997707bc
Fixes: 62912307
2017-08-30 18:47:09 -04:00
Jason Monk
f7dc1a3290 Merge "Don't touch auto dim on app change" into oc-mr1-dev 2017-08-30 22:44:35 +00:00
Jason Monk
d2b45018b5 Fix carrier text rtl alignment
Test: visual
Change-Id: I91f76bdbe23cfd2ee0df023a970f73428bd513e9
Fixes: 62622048
2017-08-30 18:27:50 -04:00
Jason Monk
3fd0b14fe6 Add bt battery level to QS icons
Test: visual
Change-Id: I690e496e3e88fd734d43ea2f25396772e922940c
Fixes: 63393322
2017-08-30 18:12:10 -04:00
Jason Monk
d9c6cedce8 Reduce paddings on 320dp screens, we don't have much space
Test: visual
Change-Id: I9241456e8c9d871a3c510f21226eb248ad8da13a
Fixes: 64383795
2017-08-30 17:37:39 -04:00
Jason Monk
d3ee70cb43 Fix up bar transitions on low end devices
- Don't allow dark icons, because the backdrop is always dark.
 - Don't show the view when we aren't showing notification icons or
   system info, because the view may need to be transparent.

Test: manual
Change-Id: I5572a6379ceb605b21a1982db00fdf1659593b8a
Fixes: 62549040
2017-08-30 17:05:24 -04:00
TreeHugger Robot
9b9099ef3b Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-08-30 20:31:03 +00:00
Jason Monk
a3150625ec Don't touch auto dim on app change
Test: manual
Bug: 63630024
Change-Id: I134aa2695bad36606588ca3e52685826f25ea306
2017-08-30 16:17:19 -04:00
TreeHugger Robot
45e7a4242b Merge "Adding back recents grow in split screen" into oc-mr1-dev 2017-08-30 19:34:24 +00:00
Kevin Chyn
4c4001c477 Fix fingerprint error messages on Keyguard / AOD
1) "Too many attempts" message should be shown when AOD -> Keyguard
2) onFingerprintError() errors should not be cleared by previous
   onFingerprintHelp() messages (MSG_CLEAR_FP_MSG), otherwise the error
   won't be displayed for the full 5000ms
3) "Too many attempts" message should be shown when user is locked out
   on AOD
4) FINGERPRINT_ERROR_LOCKOUT_PERMANENT error should show whenever
   AOD or keyguard is entered (same as regular lockout message behavior)


Fixes: 65055500

Test: Manual test of above situations

Change-Id: I8793f61ea80a3aa920838790ae2af68fc29c1981
2017-08-30 11:09:28 -07:00
Bill Yi
94089f05eb Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I1dbe08a427134a196041d6b68a220fc2a6a991d8
2017-08-29 20:53:42 -07:00
Jason Monk
c2beef5130 Auto dim the nav bar to help prevent diff aging
Test: runtest systemui
Bug: 63630024
Change-Id: If2a6c0934f8751f82c027dbb3b5f103a34dc78d4
2017-08-29 18:58:00 -04:00
Winson Chung
ee70fbd1f6 Skip handling recents toggle if a task is locked.
- When a task is locked, the logic will still try to start the recents
  activity (but will fail since it's a lock mode violation).  Nothing
  resets the state, so the button will stop responding.  Instead, skip
  handling of the button until the user unlocks the task.  Also add a
  final fallback for resetting the waiting state, whenever an app
  transition completes.

Bug: 65059121
Test: Launch app after pinning app, tap the recents button, and then
      un-pin and try to re-enter recents.

Change-Id: I0215957f041241b5a61d7fd5b784410368bbd996
2017-08-29 14:56:01 -07:00
TreeHugger Robot
b49fa21828 Merge "Low ram devices recents list is throwable" into oc-mr1-dev 2017-08-28 23:07:50 +00:00
Matthew Ng
d411f6cd6b Adding back recents grow in split screen
There was a regression where recents stopped growing when in split
screen and bottom app has less height than top. Then when pressing
recents button it would go into recents on bottom split and divider
would move to the center.

Test: manual - split with 2 apps, lower divider, press recents button
Fixes: 62431729
Change-Id: I3cacb4e4bd38a17602415ebee4e24a517115bbdd
2017-08-28 15:34:30 -07:00
TreeHugger Robot
0fe2910c37 Merge "Remove extra horz padding on GlobalActions labels." into oc-mr1-dev 2017-08-28 17:52:08 +00:00
TreeHugger Robot
3ea1e3d57d Merge "Add API to disallow entering PiP when launching a new activity" into oc-mr1-dev 2017-08-26 06:22:34 +00:00
TreeHugger Robot
77af296764 Merge "Revert "Support keyboard long-press on notifications"" into oc-mr1-dev 2017-08-26 01:00:38 +00:00
TreeHugger Robot
e2a372075d Merge "Roll back nav bar interface to version 2" into oc-mr1-dev 2017-08-25 22:50:03 +00:00
Selim Cinek
464d0d9b1d Revert "Support keyboard long-press on notifications"
This reverts commit 2ca798932e.

Fixes: 65061056
Change-Id: I88bcb549b9e76958d280625a96796791b6f29060
2017-08-25 22:38:56 +00:00
TreeHugger Robot
9938901bbc Merge "Remove PIN/PUK keyguard when SIM is removed/ready" into oc-mr1-dev 2017-08-25 21:55:05 +00:00
Jason Monk
d2aa1351c9 Roll back nav bar interface to version 2
Partial revert of If27641aedcd05ebc834c9dc0b38d18cd20ddae03

Test: make
Change-Id: I47de1ca026028e16e6c4075e6be5b18a9746962c
Fixes: 65055647
2017-08-25 16:00:01 -04:00
TreeHugger Robot
02f8fa9603 Merge "Fixed that the status icons were showing in the camera" into oc-mr1-dev 2017-08-25 19:13:44 +00:00
Winson Chung
f7e03e1a9e Add API to disallow entering PiP when launching a new activity
- Use this API when launching the camera from a double tap gesture where
  the user expects the camera to start for immediate use.
- Fix missing case of restoring the enter pip state.

Bug: 63916952
Test: Double tap to launch the camera, and ensure it does not trigger
      the current activity to enter PiP (if it supports it)

Change-Id: I2acf44984bcc57dff75701d0e9cbd6b798a97cd8
2017-08-25 10:33:23 -07:00
Selim Cinek
3a49ba2e40 Fixed that the status icons were showing in the camera
When launching to quicksettings, the camera icons showed
above the camera, clashing with their UI

Test: launch camera (locked) and click on galery
Fixes: 64317909
Change-Id: I4ef68963af11f6d0be739c79cdf352ba35d9ece0
2017-08-25 09:44:14 -07:00
Dan Sandler
cd3ad9a39b Remove extra horz padding on GlobalActions labels.
Just enough to fit in "Перезапустить" in ru.

Change-Id: I892e024778a6683f100936b62d2863aa4369bb9f
Fixes: 64541261
Test: switch to Russian, longpress power
2017-08-25 11:30:47 -04:00
TreeHugger Robot
d499ae5a85 Merge "Not hinting anymore when in power saver" into oc-mr1-dev 2017-08-25 03:41:40 +00:00
TreeHugger Robot
510cdad67b Merge "Fixed a bug where notifications could be dimmable" into oc-mr1-dev 2017-08-25 02:07:15 +00:00
Brad Ebinger
22ed1f9a35 Remove PIN/PUK keyguard when SIM is removed/ready
1) If the PIN/PUK keyguard comes up for a locked
SIM, it can not be removed by removing the
affected SIM. It can only be removed by
rebooting the device or entering a bogus PIN.

This change automatically clears the keyguard
when when the locked SIM is removed. It will
be shown again if the locked SIM is re-entered.

2) If the device is PUK locked and the code
**05*PUK*new pin* new Pin# is entered in the
emergency dialer, it will unlock the SIM.
By listening to the READY state, we can remove
the keyguard when the SIM is unlocked by
other means.

Bug: 64469515
Bug: 64044132
Test: Manual
Change-Id: I9507f80edcd4c04dfa0cc3b48a25e619aafa9eb3
2017-08-24 22:44:28 +00:00
Selim Cinek
e64f52a1e4 Not hinting anymore when in power saver
The hint animation wasn't working when on power-saver,
so we just turn it off.

Test: hint while battery saver is on, observe no jump
Change-Id: Ib19dc3378bb4cb0c4b9b81504a0ce6b579b6feee
Fixes: 64279711
2017-08-24 14:52:04 -07:00
Winson Chung
44315c64ed Adjusting PiP for the TV IME.
Bug: 63898225
Test: Ensure that PiP does not overlap with the IME on TV
Change-Id: I6aced6331b56cd92599cbdb9c13d04ae9138c59b
2017-08-24 13:35:24 -07:00
TreeHugger Robot
faa21e1a6c Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-08-24 20:13:59 +00:00
Geoffrey Pitsch
e7c9d8f905 Merge "Support keyboard long-press on notifications" into oc-mr1-dev 2017-08-24 20:04:37 +00:00
Selim Cinek
8a9308d33c Fixed a bug where notifications could be dimmable
Because of a delayed call, notifications could become
dimmed again after the unlock.

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayoutTest.java
Change-Id: I76e847cf6d3c8a34ca4b6dd16b1c8e13ddfe4993
Fixes: 64868746
2017-08-24 12:35:17 -07:00
TreeHugger Robot
130d850614 Merge "Add extensionController based on PackageManager FEATURE" into oc-mr1-dev 2017-08-24 19:33:53 +00:00
TreeHugger Robot
8f5c9de97e Merge "Consistently uses ASCII numbers in notif category translation." into oc-mr1-dev 2017-08-24 19:01:55 +00:00