Commit Graph

13202 Commits

Author SHA1 Message Date
Jorim Jaggi
231f603027 Merge "Update paint filer when updating thumbnail" 2017-02-27 19:22:31 +00:00
TreeHugger Robot
eba6e6c7dc Merge "Move the lock item for the QS WifiPicker." 2017-02-27 18:04:06 +00:00
Winson Chung
a629d524e7 Merge "Fixing regression when going to fullscreen from PiP." 2017-02-27 17:23:47 +00:00
Jorim Jaggi
f75aac6239 Update paint filer when updating thumbnail
Test: Enable task snapshots, go to recents, scroll, make sure no
jump in darkness of thumbnail

Change-Id: I5448192bd87259eb8a4e1e7b7c55c1aa82693d2e
2017-02-27 16:04:24 +01:00
Jeff Sharkey
4190575960 Merge "Delete @removed APIs that never shipped." 2017-02-27 01:45:44 +00:00
Winson Chung
f04c1dd047 Fixing regression when going to fullscreen from PiP.
- Just ensure that we don't resize the stack if it's already not
  visible.

Bug: 35338156
Test: Enter/exit pip on TV
Change-Id: I0bd234dd18ecd3d7d4cb37edad9f1fb3053d96bb
2017-02-24 16:47:37 -08:00
Jason Monk
af57b3dfb0 Merge "Add colorError" 2017-02-24 23:29:29 +00:00
TreeHugger Robot
96429a18aa Merge "Change time methods to durations." 2017-02-24 20:49:57 +00:00
Jeff Sharkey
dd9bda81f6 Delete @removed APIs that never shipped.
These were never part of any public API level, so apps should never
have been using them.

Test: builds, boots
Bug: 31241513
Change-Id: I4fc8f5c325da56694a5db98acc995a22d4947805
2017-02-24 13:41:20 -07:00
TreeHugger Robot
80999f790b Merge "New system for plugin + tuner integrations called extensions" 2017-02-24 20:02:03 +00:00
Jason Monk
58be7a675b Add colorError
Remove scatered references to old error color and replace them with
references to new colorError

Test: make & visual
Change-Id: Icca8cd790db351c3dfce2197f2046879d062a2c0
2017-02-24 14:57:27 -05:00
Jason Monk
1d9632df97 New system for plugin + tuner integrations called extensions
An ExtensionController provides an easy way to say I need an
object of interface X. Then a plugin or a tuner factory can
actually provide X when needed or fallback to a default implementation.

Test: runtest systemui
Change-Id: I5e1b76def3c790d7f673867648ffeb13c4d0a829
2017-02-24 12:51:51 -05:00
TreeHugger Robot
38a65f6c56 Merge "Fix roaming getting stuck after changing sims" 2017-02-24 16:51:41 +00:00
Jason Monk
da832c71bf Fix the build
Test: treehugger
Change-Id: If68207f801568141630a22c3822b37f2f2c94d24
2017-02-24 10:58:11 -05:00
Jason Monk
ab9ab96d0d resolve merge conflicts of 1723bc14eb to stage-aosp-master am: 4f458421b1
am: eac19cd55d

Change-Id: Iec06900eba071a56696a1c240b79f0dd7ab05d70
2017-02-24 15:27:47 +00:00
Jason Monk
9ec0f1eca4 Fix roaming getting stuck after changing sims
The header was keeping a map of roaming states which could have
stray old subids in it when it shouldn't. It just needs to be
cleared when the sims change.

Test: runtest systemui
Change-Id: If61b9b5f376daecc49f483b679378c5968a1501c
2017-02-24 10:07:28 -05:00
Jason Monk
4f458421b1 resolve merge conflicts of 1723bc14eb to stage-aosp-master
Change-Id: I11054806dbd263b2adaedb21458c33b7407bb7d6
2017-02-24 09:34:42 -05:00
Jaewan Kim
dc29875ac0 PIP: Address the comment from the previous CL
This address the comments from the following CL

8af250efae PIP: Use resource to maintain settings class list to shift
PIP to left

Test: Manual test
Change-Id: Ib7cae7ba019018375e9c1e51f1a0ef7d91447d52
2017-02-24 10:51:50 +09:00
Jaewan Kim
5faf303931 Merge "PIP: Use resource to maintain settings class list to shift PIP to left" 2017-02-24 00:29:03 +00:00
Jason Monk
eb527bccf8 Merge "Revert "Fix roaming getting stuck after changing sims"" 2017-02-23 20:33:04 +00:00
Jason Monk
99c405a35c Revert "Fix roaming getting stuck after changing sims"
This reverts commit 9d3dcdfe1c.

Change-Id: I21739f73548be383221b1bec81a05e196fe0a690
2017-02-23 20:32:24 +00:00
Jason Monk
40d199fc48 Merge "Fix roaming getting stuck after changing sims" 2017-02-23 20:14:43 +00:00
Julia Reynolds
5098977b20 Change time methods to durations.
Test: cts, cts verifier, runtest systemui-notification
Change-Id: Ia612f59e91f3a3e1de14cd7217fe18ecaf61033c
2017-02-23 14:52:49 -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
Jason Monk
9d3dcdfe1c Fix roaming getting stuck after changing sims
The header was keeping a map of roaming states which could have
stray old subids in it when it shouldn't. It just needs to be
cleared when the sims change.

Test: runtest systemui
Change-Id: I62c5acab5739b9c4acf69a8c7e00b2f75de903dc
2017-02-23 13:29:52 -05:00
Jaewan Kim
8af250efae PIP: Use resource to maintain settings class list to shift PIP to left
Bug: 31322754
Test: manual test
Change-Id: Ic36c2437409d8d1fcddd71087eda754f1a8752e1
2017-02-23 14:32:28 +09:00
Kenneth Westin
5c88ffb507 Data activity icon in statusbar
Display data activity icon for Wi-Fi and mobile data
respectively in statusbar

Bug: 30849089
Test: manual - go to Settings > Developer options > Demo mode and then
               enable both "Enable demo mode" and "Show demo mode"

Change-Id: I16e880ffb97666a6c6507b9cc8c99bf580972207
2017-02-23 13:08:16 +09: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
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
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
6e82080513 Merge "Move Badging from ScoredNetwork to NetworkingBadging." 2017-02-18 01:14:04 +00:00