Commit Graph

8286 Commits

Author SHA1 Message Date
Bill Yi
18b40388c8 Import translations. DO NOT MERGE
Change-Id: Ia30ea38f3c4c9661be000a56baf65ce8f6c708ef
Auto-generated-cl: translation import
2018-10-25 01:05:03 -07:00
Niklas Lindgren
6ac1537d6b Remove resources for 4G/LTE/LTE+ icons
CarrierConfig values have been added to better support MVNOs.
Remove the legacy resources.

Test: Make sure that marlin builds with the new carrier configs.
Bug: 113309357
Bug: 113309356
Change-Id: I3b0af46282a4b7fc8487acfb75b5dbbb7f41d316
2018-10-18 13:40:46 -07:00
Selim Cinek
908d785aaa Merge "Fix overlap between operator name and heads-up notification" 2018-10-12 21:04:48 +00:00
Fabian Kozynski
dbc63bff09 Merge "CastTile becomes unavailable when not connected to Wifi" 2018-10-12 19:41:13 +00:00
Tetsutoki Shiozawa
ce9645b17a Fix overlap between operator name and heads-up notification
The title of heads-up notification was shown incompletely
because it's covered by operator name.
To fix this issue, the operator name should be hidden
when a heads-up notification is shown.

Fixes: b/116533819
Test: atest SystemUITests
Test: manual - enable config_showOperatorNameInStatusBar
               and show a heads-up notification

Change-Id: Id3318cd7cb2c9b6950392fadd11d02ab873d84c5
2018-10-11 21:18:20 +00:00
Lucas Dupin
957a3f4aa1 NotificationInfo should use the notification theme
Test: visual
Change-Id: Id183e58f63d4f578cd1535f5848e859d16916883
2018-10-11 13:48:30 -07:00
Fabian Kozynski
4235b2a802 CastTile becomes unavailable when not connected to Wifi
CastTile registers with NetworkController and shows unavailable
status when not connected to WiFi (regardless of internet connectivity).
Includes accessibility context for this state.

Added tests for behavior.

Test: manual && atest
Change-Id: I3004ed18e545d8d8c448f01d33eb70bcfd9831b2
Fixes: 78152102
2018-10-11 16:41:02 -04:00
Fabian Kozynski
fa66c22c20 Merge "Fixes wrong measurements on QS animation" 2018-10-09 16:54:28 +00:00
Fabian Kozynski
52bd8c260e Fixes wrong measurements on QS animation
Clipping of PagedTileLayout is done independent of padding so no
measurement corrections are needed. Padding in TilePage fixed so
the pages are centered (they use all the width).

FrameLayout in qs_paged_tile_layout removed as not used.

Change-Id: If8cd95855ebcddf533e87b9203c4ee3d831bdf2c
Test: atest && visual
Fixes: 117452733
Bug: 117401270
Bug: 117096186
2018-10-09 10:18:26 -04:00
TreeHugger Robot
96e9694e66 Merge "Fix face icon size" 2018-10-08 21:14:55 +00:00
Lucas Dupin
48609df6e0 Fix face icon size
Change-Id: I60a3c60ee91a69c7599e025a939932a0c0c1719e
Fixes: 117402444
Test: visual
2018-10-08 11:45:58 -07:00
Bill Yi
44f7570f84 Import translations. DO NOT MERGE
Change-Id: Idb9e6c118b173e74022e6496084de70b1e452124
Auto-generated-cl: translation import
2018-10-07 11:29:08 -07:00
TreeHugger Robot
a5f160fd6e Merge "Show padlock on AOD" 2018-10-05 23:29:45 +00:00
Lucas Dupin
117365db66 Show padlock on AOD
Bug: 111405682
Test: manual
Change-Id: I1e41cc332d676d977447327b75737795713f3040
2018-10-05 12:35:35 -07:00
TreeHugger Robot
27fd83c417 Merge "Make settings brightness mirror dark" 2018-10-03 01:36:01 +00:00
Lucas Dupin
ee7bdf6991 Make settings brightness mirror dark
Test: visual
Change-Id: I057868657908d8cf0b192da838f7590419894af6
Fixes: 117122866
2018-10-02 14:59:45 -07:00
Gus Prevas
b24afd679c Merge "Shortens "Manage notifications" link to "Manage"." 2018-10-02 19:52:59 +00:00
Gus Prevas
fbcc82869f Shortens "Manage notifications" link to "Manage".
Test: manual
Change-Id: I3af98ea14ac8c65afffbb6e28297598cbb648c66
Fixes: 115531288
2018-10-02 11:18:36 -04:00
Fabian Kozynski
051d856587 Merge "Fix clipping on scrolling QS Panel" 2018-10-02 13:02:31 +00:00
Fabian Kozynski
6eaf3acd2c Fix clipping on scrolling QS Panel
QS Panel paged view now clips to its padding.

Pages are horizontally centered.

Test: runtest & Visual
Change-Id: If35b8d6f4c44cb0c425efa6e8f6aa92a8cfa0c75
Fixes: 117096186
2018-10-01 17:28:54 -04:00
Bill Yi
4c85039e18 Import translations. DO NOT MERGE
Change-Id: I50cf207e41e279e1d630615a44353f6d49d2ef38
Auto-generated-cl: translation import
2018-09-27 08:36:08 -07:00
TreeHugger Robot
eb56016997 Merge "Fixed size of buttons in switch user panel" 2018-09-26 15:29:48 +00:00
Fabian Kozynski
13155ef2f9 Fixed size of buttons in switch user panel
Test: Accessibility Scanner
Fixes: 115582288

Change-Id: I1b02c06fa8d1461f9e26e8cca881cb3f2d0d8f1f
2018-09-25 15:04:08 -04:00
TreeHugger Robot
44bf21d3bb Merge "Allow dark mode in system UI dialogs" 2018-09-25 00:45:30 +00:00
TreeHugger Robot
663f1e8d2f Merge "Import translations. DO NOT MERGE" 2018-09-24 23:39:13 +00:00
Philip P. Moltmann
2242d6a3a5 Allow dark mode in system UI dialogs
Test: Forced dark mode and
      - looked at USB confirm dialog
      - ADB connection dialog

Change-Id: Icebc3813de20cd0f7dcf6d65f20af329ac8a09e1
2018-09-24 14:49:04 -07:00
TreeHugger Robot
2a0b67d0f3 Merge "Updates copy and contentIntent on AIA notification." 2018-09-24 16:27:42 +00:00
Bill Yi
6557ddad95 Import translations. DO NOT MERGE
Change-Id: If87d4cb92d816af90353d2dad1fbae3c86bffb21
Auto-generated-cl: translation import
2018-09-22 05:10:18 -07:00
Lucas Dupin
7da4f26bdf New AOD battery indicator
Moves battery indication from the bottom of the screen
to the top right.

Bug: 111405682
Change-Id: If241451c45108c95176db7be18ae7033091a3432
Fixes: 80113947
Test: visual
2018-09-21 21:50:46 -07:00
TreeHugger Robot
a48d662edd Merge "Allow whitelisted plugins on user builds" 2018-09-22 01:12:30 +00:00
Fabian Kozynski
a60b0e2a38 Merge "QSCustomizer updates transparent view height" 2018-09-21 18:13:40 +00:00
Gus Prevas
71e15d15c0 Updates copy and contentIntent on AIA notification.
Test: manually
Bug: 36989738
Change-Id: I769df6d70a4e5482a61bdfd020545b562478ec88
2018-09-21 11:12:21 -04:00
Kevin Chyn
6cf54e8190 3/n: Add FaceDialogView and "confirmation" plumbing
This change adds plumbing from <Biometric>Service to SystemUI for requiring
user confirmation (or not). This change also fixes some layout bugs
that were hard to notice.

Bug: 111461540
Fixes: 113130114
Fixes: 116135579

Test: With confirmation, crypto operation does not work until token
      is added to Keystore
Test: Without confirmation, crypto operation works when biometric is
      authenticated
Test: BiometricPromptDemo works, UI elements are all correct
Test: Talkback messages are correct

Change-Id: I2c05577699a29c09777cae4db6c7334c1e6bc179
2018-09-20 17:53:10 -07:00
Kevin Chyn
0be1f33757 2/n: Refactor common code from FingerprintDialogView
Bug: 111461540

Test: BiometricPromptDemo works
Change-Id: I7077b062f1da0e084a38d5d53248123a82456a48
2018-09-20 12:58:54 -07:00
TreeHugger Robot
7f1d0dc731 Merge "Split ambient pulse notif logic from heads up." 2018-09-20 17:42:46 +00:00
Fabian Kozynski
bf954233c6 Merge "Refactor PagedTileLayout to not overflow screen" 2018-09-20 14:33:55 +00:00
Fabian Kozynski
712ae39210 Refactor PagedTileLayout to not overflow screen
PagedTileLayout respects MeasureSpec mode for height to decide on how many
rows to show. TilePage and PagedTileLayout only show as many rows as
they can up to the height of the screen. TileLayout can calculate the
maximum number of rows given a height limit.

Fixes: 113082314
Test: Visual, atest

Change-Id: I2860d71c9aeb2a8ac62fcdbc71a3041a91605bcb
2018-09-20 09:01:53 -04:00
Fabian Kozynski
5d5deeb256 QSCustomizer updates transparent view height
Updates the height of the transparent view that overlays the status bar
when the QS Customizer panel is expanded whenever the configuration
changes.

Change-Id: Ic0dd4d07f8149ac8434495d2d0c5373329e034a6
Fixes: 115999397
Test: Visual & atest
2018-09-20 08:48:15 -04:00
Kevin
a97ea059b5 Split ambient pulse notif logic from heads up.
This CL aims to split the ambient pulse logic from the heads up logic as
a lot of the logic is specific to one or the other.  This CL introduces
the following major changes.

1. Introduces AmbientPulseManager which manages notifications that pulse
while the screen is dozing or on AOD and manages their lifetime.

2. Ties pulse duration for notifications more tightly with the lifetime.
This means DozeScrimController does not control the pulse time but
instead AmbientPulseManager.  This is because previously, having two
separate lifetimes (one for the pulse, one for the notification) caused
some strange issues to occur if one ended before the other.

3. Divide out logic for heads up and ambient pulse, so they are no
longer both tied to shouldPeek in NotificationEntryManager.

4. Multiple naming refactors for readability (e.g. contains ->
isAlerting, mShowAmbient -> mOnAmbient, etc.).

Although this is a refactor, some of the behavior does change in some
places where I thought the current behavior was not intended.  In
particular:

* Ambient notifications are no longer marked as seen immediately on
pulsing.  We should reserve this for when we are confident the user has
seen the notification.
* Ambient notifications are no longer disabled or snoozed when heads up
notifications are disabled or snoozed respectively.
* Removing/cancelling a notification that is pulsing no longer keeps
the pulse going awkwardly with no notification in the middle.  Instead,
the pulse ends (provided it was shown for a minimum amount of time).

Change-Id: I26af6f7e7ad7fa71d2d43f7c4d86fb34551151b0
Test: manual, runtest systemui
2018-09-19 17:48:03 -07:00
Tracy Zhou
8b4bb8664e Update Quickstep Onboarding tips to use theme color so that it works in both light and dark theme.
Test: manual
Change-Id: I027887fe853d41be689431f0e893e661b9a0c6e5
Fixes:115928014
2018-09-19 23:13:48 +00:00
TreeHugger Robot
500420ce55 Merge "Fixes tapping home button on right edge with quickstep layout" 2018-09-18 23:49:32 +00:00
TreeHugger Robot
a01a180991 Merge "Added setprop to go back after gesture end" 2018-09-18 23:19:12 +00:00
Lucas Dupin
c293d8fe5b Allow whitelisted plugins on user builds
Plugins should only run on user builds if explicitly whitelisted.
It's also necessary to hold a signature permission:
  com.android.systemui.permission.PLUGIN

Test: atest PluginInstanceManagerTest
Test: atest PluginManagerTest
Test: manually try to install plugin on user build (whitelisted or not)
Bug: 111414690
Change-Id: If17b13f4caef677d641cba84b491b65c8135679b
2018-09-18 15:26:56 -07:00
Matthew Ng
a099cc8bb1 Fixes tapping home button on right edge with quickstep layout
Reverted ag/4731597 since it was causing issue and instead hides the
menu container when none of its children are visible.

Change-Id: Ie48ef32f8a66392796cb0330faed6dff499bc1b1
Fixes: 114099654
Test: tap around the right edge
2018-09-18 14:54:07 -07:00
Evan Laird
4418fe2c3d Merge "Leave spaces between Operator name and Clock in StatusBar" am: 375af769e6 am: 3832515acf
am: e06b199457

Change-Id: Ic6fcd200364780b66d29b4d502f0c7c70f2af48a
2018-09-13 13:11:44 -07:00
Evan Laird
e06b199457 Merge "Leave spaces between Operator name and Clock in StatusBar" am: 375af769e6
am: 3832515acf

Change-Id: I80224e5a1cfa6433255d737f8943e4ce35932a53
2018-09-13 12:51:29 -07:00
Evan Laird
3832515acf Merge "Leave spaces between Operator name and Clock in StatusBar"
am: 375af769e6

Change-Id: If2c314f7dc98ffe4d461c90263503e66f72ada48
2018-09-13 12:24:02 -07:00
Shigeki Yokomichi
52a11bbe15 Leave spaces between Operator name and Clock in StatusBar
In StatusBar, there are no spaces between Operator name and Clock,
so leaving spaces to improve design.

Bug: 114133664
Test: Manual, enable operator name in status row
config_showOperatorNameInStatusBar, insert sim card with operator name,
watch status row.

Change-Id: I1a2e33436ed50d429ae4b1769d0a72d501233a22
2018-09-13 11:39:30 +00:00
Lucas Dupin
d26faccd0c Pitch black SysUI theme
Test: visual
Bug: 110758454
Change-Id: Id673133763e5624f380facf008ecc4c78092fe13
2018-09-11 15:24:22 -07:00
TreeHugger Robot
77e36b7ba7 Merge "Import translations. DO NOT MERGE" 2018-09-10 17:13:25 +00:00