Commit Graph

19745 Commits

Author SHA1 Message Date
Evan Laird
bb11b77523 Merge "Fix qs_signal icon clipping" 2017-02-23 20:14:16 +00:00
Evan Laird
8b72643b12 Fix qs_signal icon clipping
Test: visual
Change-Id: If212eefc9303590b7168432120c46bf07ac184d1
Fixes: 34799892
2017-02-23 15:00:46 -05:00
Jason Monk
0288de0e56 Fix data disabled icon from not showing in status bar
The NetworkController seemed to think the user wasn't set up since
the DeviceProvisionedController didn't send an initial callback
on add.

Also add some extra listening to data disabled state to avoid race
conditions there.

Change-Id: I17f759894a283da08eb0da7ceb5181355c8f4d55
Fixes: 35708363
Fixes: 35632846
Test: runtest systemui
2017-02-23 14:51:17 -05:00
TreeHugger Robot
8f1a1dd0fc Merge "Don't show the percentage twice when charging." 2017-02-22 21:11:34 +00:00
TreeHugger Robot
3ebd2b6bca Merge "Ensure that we tint PiP actions to be consistent." 2017-02-22 20:52:54 +00:00
TreeHugger Robot
1f58d0b83c Merge "AOD: readd AOD settings on debuggable builds" 2017-02-22 19:39:46 +00:00
TreeHugger Robot
78e63bd64a Merge "Import translations. DO NOT MERGE" 2017-02-22 19:36:41 +00:00
Winson Chung
56fe8833c7 Ensure that we tint PiP actions to be consistent.
Test: Launch PiP with actions, ensure they are white
Bug: 34281934
Change-Id: I3d301928af80a14ee6d161492c55a62b720d3cca
2017-02-22 11:05:11 -08:00
Selim Cinek
905af16a9c Merge "Fixed some notification leaks" 2017-02-22 18:40:52 +00:00
TreeHugger Robot
34e8f75b68 Merge "AOD: Enable double tap in AOD" 2017-02-22 17:11:58 +00:00
Adrian Roos
5cd29e41ac AOD: readd AOD settings on debuggable builds
Bug: 30876804
Test: On user build, verify that "Ambient Display" does not appear in SystemUI Tuner.
Change-Id: I75ba7ce11346f9cb8bf5683b17debe77edca20bf
2017-02-22 16:48:15 +01:00
Adrian Roos
8008bd1a21 AOD: Enable double tap in AOD
Bug: 30876804
Test: Enable AOD; turn off phone, double tap; receive notification, double tap outside notification; on lockscreen, tap shade, should still bounce
Change-Id: Ifb32461432f64c333b3a86a29b5ac51dfc27a43d
2017-02-22 15:14:25 +01:00
Bill Yi
4f4d095c90 Import translations. DO NOT MERGE
Change-Id: Ic31eb1a90bdd0d4f3f64c99b10d766202979077f
Auto-generated-cl: translation import
2017-02-22 04:57:10 -08:00
TreeHugger Robot
a1d548024d Merge "Shade: Factor out DoubleTapHelper" 2017-02-22 12:02:49 +00:00
Adrian Roos
28a0de9c5e Shade: Factor out DoubleTapHelper
Factors DoubleTapHelper out of ActivatableNotificationView, such that the
same logic can be reused for the StatusBarWindowView.

Bug: 30876804
Test: have a notification, lock phone, interact with notifications on the lockscreen
Change-Id: I4f3a43859d81677d5168424874b106bbfdea0be5
2017-02-22 11:15:14 +01:00
Phil Weaver
385912ee2d Deprecate "speak passwords" setting.
This will now be controlled by individual accessibility services.
We'll provide the password information to them, and they can
present or hide the information as it makes sense for their users.

Password information was anyway provided when a headset was
connected.

Bug: 28139568
Test: Manually verified that TalkBack now speaks passwords on the
lock screen and in text views. Since I'm removing functionality
that didn't have tests, it's tricky to have specific tests.
Change-Id: Ic3c724ccce5762ee9dcd9e7dcbd4eae6734dd05e
2017-02-21 15:24:54 -08:00
TreeHugger Robot
a55b7c5558 Merge "AOD: Don't use doze states when unsupported" 2017-02-21 22:34:16 +00:00
Selim Cinek
160bf4cbac Merge "Making the notification always center horizonally" 2017-02-21 22:05:21 +00:00
Dan Sandler
df14c20be4 Don't show the percentage twice when charging.
The old percentage textview is now gone from the layout.
When the device is charging (but the user doesn't have
percentage display turned on all the time) use the new
percentage built-in to BatteryMeterView.

Bug: 35521962
Test: visual
Change-Id: I91f3350f6203fd007f003ca260ac0ed78e29b771
2017-02-21 16:17:09 -05:00
TreeHugger Robot
4a04f0fb91 Merge "Fix sysui crashing on profile-only app open" 2017-02-21 20:45:36 +00:00
Adrian Roos
26d8184d46 AOD: Don't use doze states when unsupported
Bug: 30876804
Test: runtest -x $ANDROID_BUILD_TOP/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/DozeScreenStatePreventingAdapterTest.java
Change-Id: Iff09aef0733e30f13723208ff4e7605d40449bb2
2017-02-21 21:39:50 +01:00
Selim Cinek
f306d9b498 Fixed some notification leaks
Since we're now allowing heads-up on the lockscreen
the addedHeadsUpChildren list would fill up, even
if animations were not enabled.

This also fixes that the ExpandHelper and the DragDownHelper
would not realease the view on up.

Change-Id: I8c1b54ff4b034a8f4f2219534a707bbd792b8efa
Fixes: 35375214
2017-02-21 11:57:43 -08:00
TreeHugger Robot
7897bb89a9 Merge "Fixing NPE when there is no running activity." 2017-02-21 18:52:24 +00:00
Jason Monk
4597600dec Fix sysui crashing on profile-only app open
Missing not installed flag.

Test: Launch app only installed on a profile
Change-Id: Ibbebe0cdeb71168aa7ce5c072eb2b3f4de8f9231
Fixes: 35618441
2017-02-21 13:45:36 -05:00
Philipp Weiß
c5b9bb9418 Merge "Show policy transparency dialog after failed screenshot" 2017-02-21 15:13:55 +00:00
Philipp Weiß
02737595cb Merge "Remove Quicksettings footer in QuickQSPanel" 2017-02-20 12:04:20 +00:00
TreeHugger Robot
cf7ce6cbda Merge "Fixes issues where the PiP menu activity is out of sync." 2017-02-18 02:25:39 +00:00
TreeHugger Robot
db53fb0816 Merge "resolve merge conflicts of e86b78a574 to master" 2017-02-18 01:15:08 +00:00
TreeHugger Robot
6e82080513 Merge "Move Badging from ScoredNetwork to NetworkingBadging." 2017-02-18 01:14:04 +00:00
Winson Chung
61ecc1bb39 Fixes issues where the PiP menu activity is out of sync.
- When the menu activity is hidden or destroyed by the system, we should
  reset the state so that we can restore the input consumer and show again
  property next time the PiP is interacted with.
- Also ensuring that non-focused pinned stack windows are not added to the
  input window list

Bug: 35462085
Bug: 34281221
Test: Relaunch a PiP activity that is single top.
Test: Launch a new task/activity from a PiP activity after
      the menu is visible.

Change-Id: I43829cce50669de704caf5a720c2adf7daf92398
2017-02-17 16:41:13 -08:00
TreeHugger Robot
a0e4367133 Merge "Move volume dialog expander" 2017-02-18 00:05:38 +00:00
TreeHugger Robot
89f423d375 Merge "Fix leak in NotificationStackScroller by nulling out translatingParent" 2017-02-17 23:29:10 +00:00
Colin Cross
af736c9e99 resolve merge conflicts of e86b78a574 to master
Test: none
Change-Id: I8bf02f8198d003c4453cc59b7a3bccdff688ca15
2017-02-17 15:05:37 -08:00
Colin Cross
3c2c2764d4 Merge changes I82aa8140,Ib62a5dd6,I2c4d64e2
am: 313e645801

Change-Id: Ia10d20ea4ebabc2cc84524950dec7570104b185f
2017-02-17 22:25:53 +00:00
Julia Reynolds
027c7499d0 Move volume dialog expander
Bug: 33760714
Bug: 32727078
Test: manual
Change-Id: I06934bf140483957b734d5b1b20e3c7c6b7b4497
2017-02-17 22:18:49 +00:00
Selim Cinek
9e87cba5a9 Making the notification always center horizonally
The notification panel always center horizontal, since
it could lead to an offcenter notification sometimes.
Also applying the gravity correctly.

Change-Id: I2056dae0dfc1e4625e7903511464dc3edd8ac3f5
Fixes: 27566718
Test: rotate, observe HUN location after rotation
2017-02-17 13:29:54 -08:00
Mady Mellor
4c97b0a992 Fix leak in NotificationStackScroller by nulling out translatingParent
Once a notification is removed we don’t need to keep reference to
mTranslatingParentView.

Fixes: 35323108
Test: runtest systemui
Change-Id: Ibbecfde4b4f1ee56e3c4e0ec59fadf1284f6c6ce
2017-02-17 12:58:13 -08:00
TreeHugger Robot
0df4c60716 Merge "Fix trampoline activities when relaunching PiP" 2017-02-17 20:14:24 +00:00
Jason Monk
95fc719738 Merge "Add ongoing notification for instant apps" 2017-02-17 20:13:45 +00:00
Winson Chung
49affea25b Fix trampoline activities when relaunching PiP
- We should be checking the actual launched-from package since that stores
  the source package across trampoline activities

Bug: 35458117
Test: Enter PiP from a trampoline activity, launch again from Launcher
      and ensure that it is expanded

Change-Id: Ia0e586e8b21dee63b513bd61a41a24e7da4325e1
2017-02-17 10:07:30 -08:00
phweiss
ec3d9ca9f6 Show policy transparency dialog after failed screenshot
If an admin disables screen capture, and a screenshot is attempted,
a notification is displayed. Now, tapping it brings you to the policy
transparency dialog.

Bug: 27365337
Test: manual
Change-Id: I93db6e7f508a3d9bbd4483bbf5a7b84eb8beb0af
2017-02-17 18:24:43 +01:00
phweiss
e398331ee0 Remove Quicksettings footer in QuickQSPanel
Before this cl, the footer was normally invisible, except if the user
removed all tiles in quick settings, then it looks broken (see bug).
Now the area is blank.

Bug: b/35381410
Test: manually

Change-Id: I104a46cfe396c7d44704505cebe41066d26866c4
2017-02-17 17:06:27 +00:00
TreeHugger Robot
91e5d7fa99 Merge "Remove locked user tasks if starting overlay fails" 2017-02-17 13:40:43 +00:00
Robin Lee
1d996bd7fc Remove locked user tasks if starting overlay fails
This is a more graceful failure case than giving up and just letting
the task show unmodified on the screen if something goes wrong.

Test: runtest -x WorkLockActivityControllerTest.java
Bug: 31001762
Fix: 31064912
Change-Id: I505c00f411f41fb927c31d2280bdeda69e15b4d4
2017-02-17 10:48:43 +00:00
Bill Yi
3e97f5c9ca Import translations. DO NOT MERGE
Change-Id: Id1a24d5bd8306f602f6cd6e42fe7ca70c1e2c750
Auto-generated-cl: translation import
2017-02-16 20:55:10 -08:00
Colin Cross
254a418e97 Enable multidex for SystemUITests
Test: builds
Change-Id: I82aa81405f635165716c39191082836dae8ce819
2017-02-16 17:34:45 -08:00
Jason Monk
324b8867e4 Add ongoing notification for instant apps
Show a BTW notification when instant app is top of either of the
stacks.

Bug: 35152138
Test: Open ephemeral app, look at notifications.
Change-Id: Id992dd893a6632e9b95948a9e11167762f42bc49
2017-02-16 17:20:02 -05:00
TreeHugger Robot
e4b106b1aa Merge "Fix notification shelf icon showing on top of snooze leave behind" 2017-02-16 18:34:59 +00:00
TreeHugger Robot
2b71a6d54f Merge "SystemUI: Disable LeakReporterTest" 2017-02-16 17:45:29 +00:00
Selim Cinek
fb08562731 Merge "Fixes a bug where children could have a colored background" 2017-02-16 04:21:33 +00:00