Commit Graph

25001 Commits

Author SHA1 Message Date
TreeHugger Robot
2dba59c0b6 Merge "Merge emulated cutout into either rounded corner overlay" 2018-01-31 14:56:27 +00:00
Julia Reynolds
ce9bcc4977 Merge "Show the connected device more reliably" 2018-01-31 14:21:57 +00:00
TreeHugger Robot
e4088d74b4 Merge "Fix AOD scrim excluded area" 2018-01-31 06:40:37 +00:00
TreeHugger Robot
957fe1e791 Merge "Split HeadsUpManager implementation to HeadsUpManagerPhone" 2018-01-31 06:00:32 +00:00
TreeHugger Robot
438c7d6217 Merge "Add alert dialog for disabling current eSIM profile failed" 2018-01-31 04:20:47 +00:00
Lucas Dupin
8e9fa2da2e Fix AOD scrim excluded area
Excluded scrim area wasn't being updated properly,
we should also update it whenever we enter or
leave "dark mode."

Fixes: 72456250
Test: Expand notification shade, lock device
Test: Receive notification in AOD
Change-Id: I85fdd77fa70c5ee55a6af3cbe997e9c5bc47b322
2018-01-30 16:17:40 -08:00
TreeHugger Robot
e7ed6aad39 Merge "Fix lockdown button placement" 2018-01-30 22:50:48 +00:00
Julia Reynolds
24cc759de9 Show the connected device more reliably
Test: manual
Change-Id: Ief39215321e0a283f724dd0b0cdf5b9eeab1e116
Fixes: 72494077
2018-01-30 16:56:52 -05:00
Mikael Magnusson
f100eea32f Merge "Prevent ArrayIndexOutOfBoundsException for some invalid sysui_nav_bar values" am: af5b90ff45 am: e01fe74110
am: 1b1ecc13c5

Change-Id: I6572a9f3c6c02fcca45342c478391891bf93e3b9
2018-01-30 20:20:06 +00:00
Julia Reynolds
9f2222f6ea Merge "Add content description to volume button" 2018-01-30 20:13:12 +00:00
Mikael Magnusson
1b1ecc13c5 Merge "Prevent ArrayIndexOutOfBoundsException for some invalid sysui_nav_bar values" am: af5b90ff45
am: e01fe74110

Change-Id: I24ac819e4d9edd59c7e4dac5ee5dea8ed4fc0148
2018-01-30 20:06:19 +00:00
TreeHugger Robot
248141e4db Merge "Grant read/write permissions on share/edit screenshot." 2018-01-30 19:57:30 +00:00
Mikael Magnusson
e01fe74110 Merge "Prevent ArrayIndexOutOfBoundsException for some invalid sysui_nav_bar values"
am: af5b90ff45

Change-Id: Ie80bb69b0208dab1e00da76cb60275151a6a5bc7
2018-01-30 19:52:21 +00:00
TreeHugger Robot
d32110ed32 Merge "Use the correct prebuilts for lifecycles." 2018-01-30 18:50:45 +00:00
Julia Reynolds
561d3f4d09 Add content description to volume button
Change-Id: I910139816a5d57acc72cf803d421b00c21564e38
Fixes: 72458451
Test: runtest systemui
2018-01-30 17:52:21 +00:00
Alison Cichowlas
4f1297a9d3 Grant read/write permissions on share/edit screenshot.
Test: Manually tested, being sure to cover receiving apps
without auto-granted permissions.

Change-Id: I868240449a4ec07715607f82981eee6a5bee210e
2018-01-30 12:52:05 -05:00
TreeHugger Robot
3924c91747 Merge "Test is causing others to break in specific cases" 2018-01-30 17:50:20 +00:00
Adrian Roos
5b51885427 Merge emulated cutout into either rounded corner overlay
This so that we can save a layer, which avoids dropping us into
GL composition during animations.

This assumes that the cutout is always at the top or bottom edge
in the device's natural orientation.

Note that the two overlays for the top and bottom rounded corners
are still separate.

Bug: 72492508
Test: enable emulated cutout, verify it still shows up
Change-Id: I895084828e0502005bfa31e37d23dd3a6f01a2ca
2018-01-30 15:18:01 +01:00
yoshiki iguchi
78db3d0b0f Split HeadsUpManager implementation to HeadsUpManagerPhone
This CL splits HeadsUpManager with the basic functionality and the
phone (and car) related implementation. The former code leaves in
HeadsUpManager class, and the later code is moved to separated
HeadsUpManagerPhone class.

This contains the following minor changes:
- Move the utility static methods to HeadsUpUtil class.
- Chanege the return types of HeadsUpManager#getAllEntries() and
  HeadsUpManager#getTopEntry() from Collection<HeadsUpEntry> to
  Stream<NotificationData.Entry>.
- Add a private method: HeadsUpManagerPhone#getTopHeadsUpEntry()
- Make the mPluse propertes boolean instead of Collection in
  AmbientState and NotificationStackScrollLayout classes.
- Unify removeAllHeadsUpEntries() and releaseAllImmediately(), since
  they do same thing.
- Move getTopHeadsUpPinnedHeight method from HeadsUpManager to
  NotificationStackScrollLayout class, since only this class uses it.
- Add a simple test.

Bug: 63874929
Bug: 62602530
Test: Compile and ran "runtest systemui"
Change-Id: I3e5160803b9cdf1a164339557528ace0d35f8187
2018-01-30 17:56:49 +09:00
TreeHugger Robot
39f143e770 Merge "Only show bluetooth icon when connected && enabled" 2018-01-30 03:51:30 +00:00
TreeHugger Robot
8a972cf380 Merge "[QS] Fix irritating animation for QS" 2018-01-30 01:00:18 +00:00
Alison Cichowlas
087fc33b05 Merge "Revert "Security model for moving sharesheet to systemui"" 2018-01-30 00:00:10 +00:00
Selim Cinek
d7ef818b62 Merge "Added a timeout to the launch animation" 2018-01-29 23:49:18 +00:00
Qingxi Li
2febffb265 Add alert dialog for disabling current eSIM profile failed
This CL add an alert dialog under SIM PIN/PUK screen when users try to
disable current eSIM profile and failed.

Bug: 62680294
Test: E2E
Change-Id: I97d8cf1ae8fb30ece48c4731e72bfdfedf69d49a
2018-01-29 15:44:43 -08:00
Selim Cinek
fc5c199fd8 Added a timeout to the launch animation
After the timeout was hit, we stop blocking touches.

Bug: 69168591
Test: launch notification from service
Change-Id: I6bbb0d603631164cefdbadf0eb9d92af0aaeb84e
2018-01-29 13:46:45 -08:00
Dan Willemsen
591cd60426 Merge "Differentiate SystemUISharedLib library vs apk" 2018-01-29 21:40:13 +00:00
Alison Cichowlas
76f0ccb5f1 Revert "Security model for moving sharesheet to systemui"
This reverts commit 88f3d4dbe1.

Bug: 72554856
Test: repro instructions in bug
2018-01-29 16:34:33 -05:00
TreeHugger Robot
0aa93b9563 Merge "Fix battery background color in QS" 2018-01-29 21:14:40 +00:00
Evan Laird
3cdf47e030 Only show bluetooth icon when connected && enabled
Test: visual
Change-Id: Id1e6a483dec41d28f3679c37481a1538e8cadd57
Fixes: 71541936
2018-01-29 16:01:41 -05:00
Rohan Shah
a840199853 [QS] Fix irritating animation for QS
We're animating 2x the icons and, due to the transparent grey
background color, it looked like the icons were getting darker.

Fixed by having it exclude the full icon frame while animating.

Test: Visually
Bug: 72173914
Change-Id: Ie36973ab44a86e6e1edd99b9266420a274d9aaa2
2018-01-29 12:20:31 -08:00
Evan Laird
ef160f239a Fix battery background color in QS
Battery was only getting a foreground color, not background. Fix by
using the SystemUI context so it finds the correct light colors for both
foregorund and background.

Test: visual with light wallpaper
Change-Id: I6e18ce9331a5e78241d8c24ba96a8b843c646813
Fixes: 72431673
2018-01-29 14:10:38 -05:00
TreeHugger Robot
1252ad9ff7 Merge "Re-initialize the brightness slider when out of sync." 2018-01-29 17:28:26 +00:00
Mikael Magnusson
c71ab6049f Prevent ArrayIndexOutOfBoundsException for some invalid sysui_nav_bar values
A user can change sysui_nav_bar via adb.

If value of sysui_nav_bar doesn't contain two semicolons, split String array
is accessed out of bounds throwing an exception, sending SystemUI
in an exception loop.

Test: manual
Test: adb exec-out settings put secure sysui_nav_bar "home;back"
Change-Id: Ia9d74be36d287085650393476029489c9a359a0f
2018-01-29 18:27:40 +01:00
Lucas Dupin
1f73477d78 Merge "Lock screen message alignment" 2018-01-29 17:15:09 +00:00
Winson Chung
7c00d9a4bf Merge changes I423d6df4,I7b8a079b
* changes:
  Piping animation signal to onboarding.
  Expose call to start screen pinning on a task.
2018-01-29 16:51:16 +00:00
Jason Monk
e715ce13cb Merge "Fix nav keys being tiny on sw600dp devices" am: a20239bf71 am: 38cbc885d1
am: 0b922f2dd8

Change-Id: Idae1cdbac391e00e4e2f623017b343ec9de9cb44
2018-01-29 16:15:42 +00:00
Jason Monk
0b922f2dd8 Merge "Fix nav keys being tiny on sw600dp devices" am: a20239bf71
am: 38cbc885d1

Change-Id: I3ebdf0ad481dcf9e6ec2d12151d591a24c40458a
2018-01-29 16:06:51 +00:00
Jason Monk
38cbc885d1 Merge "Fix nav keys being tiny on sw600dp devices"
am: a20239bf71

Change-Id: I30fbb071d290ff8477560f25216dd1ea04c789a6
2018-01-29 15:56:06 +00:00
TreeHugger Robot
431af2d3f6 Merge "Alarms and Media visibly muted in PriorityOnly dnd" 2018-01-29 15:45:39 +00:00
Beverly
0ba10e0544 Test is causing others to break in specific cases
- ZenModePanel is not currently being used (changed to
EnableZenModeDialog.java), so ignore test

Test: runtest systemui (ZenmodePanelTest don't run)
Bug: 72636697
Change-Id: I7bcb628e303c55bc4764c61c82a75b5ebdeeeade
2018-01-29 10:44:21 -05:00
Michael Wright
a72faf947f Re-initialize the brightness slider when out of sync.
Whenever the brightness controller stops listening to brightness events,
it could get out of sync and so will animate when next opened and it
re-registers. We want to avoid this animation since it looks odd to the
user so we always re-initialize whenever we might get out of sync.

Bug: 72635553
Test: manual
Change-Id: I3a7e05e18652af33511a5de5a8ebeee01d2f0349
2018-01-29 15:17:20 +00:00
Treehugger Robot
a20239bf71 Merge "Fix nav keys being tiny on sw600dp devices" 2018-01-29 14:55:21 +00:00
TreeHugger Robot
c41d14828f Merge "LogoutAction should store current user id before swithcing" 2018-01-29 12:03:24 +00:00
Bill Yi
9c29821a6a Import translations. DO NOT MERGE
Change-Id: Ib683db19ff4cee271db11bdb36956cbec7102804
Auto-generated-cl: translation import
2018-01-28 05:14:29 -08:00
TreeHugger Robot
6b73b46737 Merge "Keyguard slice font and separator" 2018-01-27 09:27:19 +00:00
TreeHugger Robot
5c52a72ca4 Merge "Removes the SysUi hook for car VolumeController" 2018-01-27 03:51:29 +00:00
TreeHugger Robot
8036428c56 Merge "Revert "Move A11y events throttling away from View(RootImpl)"" 2018-01-27 03:45:39 +00:00
Lucas Dupin
37d411872e Lock screen message alignment
Fixes issue where lock screen message would be behind the
notification shade.

Test: visual
Change-Id: I4f75cfc4a8099f18465770195bb963e5f7e90de2
Fixes: 72419031
2018-01-27 02:49:32 +00:00
Dan Willemsen
c355730e34 Differentiate SystemUISharedLib library vs apk
The build system doesn't particularly like a java library and an apk
with the same name, so rename the apk that doesn't seem to be used.

Test: m SysUISharedLib
Test: m SystemUISharedLib
Change-Id: Ib3fc80e420285f667209f729906802e5217cdf25
2018-01-26 17:43:38 -08:00
TreeHugger Robot
83529eef24 Merge "Prevent 2nd action down motionevent on nav bar press" 2018-01-27 00:04:27 +00:00