Commit Graph

35653 Commits

Author SHA1 Message Date
Automerger Merge Worker
153d0c36e7 Merge "Remove keyguard_indication_area_overlay" into qt-qpr1-dev am: ad00dc0482
Change-Id: Idc63743f4b924b9132062956f62e5ec4d62770af
2019-12-18 18:42:19 +00:00
Lucas Dupin
ad00dc0482 Merge "Remove keyguard_indication_area_overlay" into qt-qpr1-dev 2019-12-18 18:29:07 +00:00
Automerger Merge Worker
9315c09b30 Battery Saver capitilized in tile am: 730fc5b2c9
Change-Id: I2df5bce6d717a6dc22e42aa489d9da3d14b52bf5
2019-12-18 02:42:39 +00:00
Jay Aliomer
730fc5b2c9 Battery Saver capitilized in tile
When the phone is in battery saver mode, the "Battery Saver" secondary
label should be capitalized

Test: manual

Fixes: 145694753
Change-Id: Ia88547aa05ad441b07da3044e7148e1a918c28b5
2019-12-18 02:07:12 +00:00
Automerger Merge Worker
2f836303bb Merge "Fix lock screen wallpaper" into qt-qpr1-dev am: d52eff6727
Change-Id: Iea22d8378b4743c182f5b9e14b6318741aeb9c3c
2019-12-18 00:45:30 +00:00
TreeHugger Robot
d52eff6727 Merge "Fix lock screen wallpaper" into qt-qpr1-dev 2019-12-18 00:34:12 +00:00
Automerger Merge Worker
24beda9edb Merge "Dark theme battery saver tile secondary text" into qt-qpr1-dev am: a8a1e592aa
Change-Id: Icb7b51383b444748077d019cccb9e5416261599a
2019-12-17 22:09:27 +00:00
Lucas Dupin
2b8bc15d9d Fix lock screen wallpaper
LockscreenWallpaper was set to null on NotificationMediaManager because
StatusBar#mWallpaperSupported was not initialized yet.

Fixes: 146252300
Test: manual
Change-Id: I4c5151ad6b40d0f0996fdbb825745729cc003425
Merged-In: I4c5151ad6b40d0f0996fdbb825745729cc003425
2019-12-17 21:19:29 +00:00
Jay Aliomer
f19ce4af1d Dark theme battery saver tile secondary text
Dark theme tile on battery saver should show
"Dark theme" and "Battery saver" on two lines

Test: manual. turn battery saver on while dark theme on auto

Fixes: 146439388
Change-Id: I460b582ca7fcf244b406d6eaf70c10e4edc52d85
2019-12-17 20:57:08 +00:00
Automerger Merge Worker
f47a64b59d Merge "[Telephony Mainline] Expose MAX_NETWORK_TYPE constant" am: 23019528ec am: a4c3162339
Change-Id: I263fbd69be70ccf48b0e16d00985e716060f6bfa
2019-12-17 19:20:16 +00:00
Peter Wang
23019528ec Merge "[Telephony Mainline] Expose MAX_NETWORK_TYPE constant" 2019-12-17 19:10:24 +00:00
Automerger Merge Worker
79dc4164fe Merge "Add OWNERS to biometrics projects" am: 36af0dc32e am: 57a3c9c3d1
Change-Id: I98b188d3a0e169468ea30587afb3f8ec83376026
2019-12-17 04:49:59 +00:00
Automerger Merge Worker
e556382b91 DO NOT MERGE - Fix StatusBar.updateIsKeyguard() when suspending to RAM. am: fea5c4af0e
Change-Id: I82b59001909d955b7cd8c89d770f49ce213efb9e
2019-12-17 03:36:25 +00:00
Kevin Chyn
d856937569 Add OWNERS to biometrics projects
Test: Builds

Change-Id: I5979d2d22bb84cb7ada7c431a64343af9a55a4b8
2019-12-16 18:21:41 -08:00
Felipe Leme
fea5c4af0e DO NOT MERGE - Fix StatusBar.updateIsKeyguard() when suspending to RAM.
That method was throwing a NPE on automotive because it's called before start()

Test: check logcat while running 'adb shell dumpsys car_service suspend'
Fixes: 146144370
Change-Id: Id863acac44f75b06c8cd1a0f0bcd6f23f8ab6fd9
(cherry picked from commit 20e362a92b8376b590d5df615265050dd6838c91)
2019-12-16 14:32:54 -08:00
Automerger Merge Worker
e098f107b4 Merge "Check for wallpaper service on DozeWallpaperState." into qt-qpr1-dev am: 248a73969f
Change-Id: I5fefd094738e99ff3031840694ebb27849a3919f
2019-12-16 19:55:28 +00:00
TreeHugger Robot
248a73969f Merge "Check for wallpaper service on DozeWallpaperState." into qt-qpr1-dev 2019-12-16 19:42:05 +00:00
Automerger Merge Worker
5b65d8558c Merge "Notify ClockChangedListeners on main thread" am: e1b61141f9 am: 280826c3c1
Change-Id: I79165fd7192befd5a7b263529740ff20ca03f01c
2019-12-16 15:58:40 +00:00
Treehugger Robot
e1b61141f9 Merge "Notify ClockChangedListeners on main thread" 2019-12-16 15:39:28 +00:00
Automerger Merge Worker
f5877dcd5c Merge "Get clock title on demand" am: 7da7428409 am: f17c2e2e8e
Change-Id: I63553cffba04f6082c09cb2561dc737dcb7faffc
2019-12-16 15:06:38 +00:00
Treehugger Robot
7da7428409 Merge "Get clock title on demand" 2019-12-16 14:45:23 +00:00
Automerger Merge Worker
bf85fd9e0f DO NOT MERGE - Do not show Bluetooth icon when headset is not active am: 91182f3507
Change-Id: If5a5aad9444a1a55f2ba2fa22f52e529d5a29219
2019-12-16 11:20:33 +00:00
TreeHugger Robot
30468d0963 Merge "DO NOT MERGE - Do not show Bluetooth icon when headset is not active" into qt-qpr1-dev 2019-12-16 11:04:37 +00:00
Automerger Merge Worker
b083edb7ad Merge "Use TelephonyManager API to check if device is voice capable." am: c5480019ce am: 8bdcb6c2ce
Change-Id: I4aeee332f002f7777a94c50b85b4601bfec55108
2019-12-13 23:52:55 +00:00
Peter Wang
2dae34155e [Telephony Mainline] Expose MAX_NETWORK_TYPE constant
Test: Build
Bug: 140908357
Change-Id: I40cbcdfb8e77b3e01968d008f4359790c4264539
Merged-In: I40cbcdfb8e77b3e01968d008f4359790c4264539
2019-12-13 15:36:17 -08:00
Treehugger Robot
c5480019ce Merge "Use TelephonyManager API to check if device is voice capable." 2019-12-13 23:26:40 +00:00
Robert Snoeberger
61d1af8031 Get clock title on demand
Don't cache the title so that a new title can be retreived when the
language changes.

Bug: 124813345
Test: Open picker app, change language, check that language updates in
picker app.

Change-Id: Iab1c70f965154b3bf10ee98c73db2443c4d83c36
2019-12-13 17:02:40 -05:00
Automerger Merge Worker
fd02e6e693 Merge "ServiceState merges voice and data into a single value" am: 72f579d5f2 am: 4b108f74f6
Change-Id: Ia68eb336d8b916cb93b83ba14b6423560f29a42d
2019-12-13 21:48:35 +00:00
Felipe Leme
b849ed5085 Check for wallpaper service on DozeWallpaperState.
It's disabled by default on automotive builds.

Bug: 146157808
Test: check logcat while running 'adb shell dumpsys car_service suspend'

Change-Id: Ifb0815f260d61bb8307f4b7c7798d9a5684d0d20
(cherry picked from commit 6844c394fbb6e0170f893de58520a73fabaa1229)
2019-12-13 13:24:17 -08:00
Robert Snoeberger
c64a3fefd5 Notify ClockChangedListeners on main thread
Bug: 146033031
Test: install clock plugin that is direct boot aware. Reboot, and check
that custom clock appears on lock screen.

Change-Id: I350c3d21a11a2c64078c31af3bee9364e3cd9062
2019-12-13 12:33:42 -05:00
Michele
72d27bb104 Use TelephonyManager API to check if device is voice capable.
Bug: 146075164
Test: make
Change-Id: I3f19a65012ea355091bbbf22ee3c11054ed19e37
Merged-In: I3f19a65012ea355091bbbf22ee3c11054ed19e37
2019-12-13 14:46:37 +00:00
Automerger Merge Worker
e06f253e8c Merge "Fix nav bar leak in SystemUI" into qt-qpr1-dev am: d6e73ec8f1
Change-Id: I39643a2f6e7edc9af7221a295eb201cda3244534
2019-12-12 21:47:54 +00:00
Winson Chung
d6e73ec8f1 Merge "Fix nav bar leak in SystemUI" into qt-qpr1-dev 2019-12-12 21:27:08 +00:00
Jeff Sharkey
30b412cab7 Apply Dark theme changes when screen off only
this change waits to apply ui changes after screen off
battery manager sends updates and continuously updates the ui mode

this change also applies external changes to ui configurations when
the mode is actually changed. this resolves some perfromance regression
issues

Fixes: 145694649
Fixes: 145161355
Fixes: 145776479

Test: atest UiModeManagerService
Change-Id: Ib769df4302d1c09166e2dc456b8ced35daa4d0b7
Merged-In: Ib769df4302d1c09166e2dc456b8ced35daa4d0b7
2019-12-12 19:25:07 +00:00
Jeff Sharkey
216c08e460 Apply Dark theme changes when screen off only
this change waits to apply ui changes after screen off
battery manager sends updates and continuously updates the ui mode

this change also applies external changes to ui configurations when
the mode is actually changed. this resolves some perfromance regression
issues

Fixes: 145694649
Fixes: 145161355
Fixes: 145776479

Test: atest UiModeManagerService
Change-Id: Ib769df4302d1c09166e2dc456b8ced35daa4d0b7
Merged-In: Ib769df4302d1c09166e2dc456b8ced35daa4d0b7
2019-12-12 18:51:02 +00:00
SongFerngWang
afd025f4ab ServiceState merges voice and data into a single value
The voice and data is the same for operator name at ServiceState.
So ServiceState merges voice and data into a single value.
- merge the voice and data OperatorAlphaLong,OperatorAlphaShort, and
OperatorNumeric.

Bug: 144663018
Test: Build pass.
      atest NetworkControllerDataTest (PASS)
      atest ServiceStateTest (PASS)
      atest TelephonyMetricsTest (PASS)
      atest ServiceStateProviderTest (PASS)

Change-Id: I67e4a822c792bf9a9e174146ef8d65d9927d7612
Merged-In: I67e4a822c792bf9a9e174146ef8d65d9927d7612
2019-12-12 22:10:04 +08:00
Automerger Merge Worker
896414c79d DO NOT MERGE: unrevert "Force FGS notifications to show for a minimum time" am: b0d526ac12
Change-Id: Id030fe62bd5d665e291ce6ac11b03fdaf1f2af88
2019-12-11 23:26:29 +00:00
TreeHugger Robot
e24e97f9b2 Merge "DO NOT MERGE: unrevert "Force FGS notifications to show for a minimum time"" into qt-qpr1-dev 2019-12-11 23:16:31 +00:00
Automerger Merge Worker
874302f4dc DO NOT MERGE: Don't let NotificationEntryManager keep around old RankingMaps am: 323ce62057 am: 35c443bd0a am: a512e6473b
Change-Id: I4d72d48bf266f00358802f3dc7f0a162865d0a70
2019-12-11 22:35:04 +00:00
Automerger Merge Worker
a512e6473b DO NOT MERGE: Don't let NotificationEntryManager keep around old RankingMaps am: 323ce62057 am: 35c443bd0a
Change-Id: I6e2f964cc85caa430ca5aa28986fcb65e416a033
2019-12-11 22:17:33 +00:00
Automerger Merge Worker
35c443bd0a DO NOT MERGE: Don't let NotificationEntryManager keep around old RankingMaps am: 323ce62057
Change-Id: I83100c671931304bc515fb9b4510e5df251b8288
2019-12-11 21:55:59 +00:00
Evan Laird
323ce62057 DO NOT MERGE: Don't let NotificationEntryManager keep around old RankingMaps
When a notification becomes lifetime-extended, NotificationEntryManager
was holding onto the RankingMap that was passed at the time of removal
of _that_ notification, and using it again in the
NotificationSafeToRemoveCallback. The problem here is that when
onSafeToRemove gets called, it was passing that same stale ranking map
to removeNotification, which caused any notification that arrived in the
intervening time to get improperly ranked.

This fixes an issue where any notification that arrives while another is
lifetime-extended can get the wrong ranking applied to it, causing
trouble later in time such as mis-ranking and mis-sorting until the next
update from system server.

Bug: 146046016
Bug: 119041698
Test: atest SystemUITests
Test: manual - Post a FGS notification and immediately cancel, then post
a regular notification and wait for the FGS notification to dismiss.
Note that the regular notification keeps showing in the status bar.

Change-Id: I3df1279f13c424fcedd878bae2095fadc75d61b4
2019-12-11 21:17:07 +00:00
Ugo Yu
91182f3507 DO NOT MERGE - Do not show Bluetooth icon when headset is not active
Do not show Bluetooth icon when A2DP, HFP and Hearing
aid profiles are connected but not active.
Other Bluetooth profile will retain the same behavior.

Bug: 144061558
Test: atest com.android.systemui.statusbar
Change-Id: Id0fab356f041e90a7654c8e18185c6aa15e2d4df
2019-12-11 13:06:09 +00:00
Austin Wang
b2f5ae43de Remove keyguard_indication_area_overlay
The overlay was introduced for SysUIGoogle to customize two icons on
docking UI besides charging text, and is no longer needed.

Fixes: 145250100
Test: atest SystemUITests:KeyguardBottomAreaTest
Test: atest SystemUIGoogleTests:DockIndicationControllerTest
Change-Id: If836fe97c3e394cc98f1a05270bd0023e5b57bed
Merged-In: If836fe97c3e394cc98f1a05270bd0023e5b57bed
2019-12-11 10:26:43 +00:00
Automerger Merge Worker
dd475a2bc6 Merge "Don't set mLockscreenWallpaper when wallpaper is not supported." into qt-qpr1-dev am: d439f54b19
Change-Id: Iaa49901af2b63a097c269869b4aee5792cb5f61a
2019-12-10 19:08:30 +00:00
TreeHugger Robot
d439f54b19 Merge "Don't set mLockscreenWallpaper when wallpaper is not supported." into qt-qpr1-dev 2019-12-10 19:00:31 +00:00
Felipe Leme
5f94c857be Don't set mLockscreenWallpaper when wallpaper is not supported.
Bug: 138939803
Bug: 144862300

Test: a CtsAppTestCases:android.app.cts.WallpaperManagerTest

Merged-In: Ibb5dd6097939a5b50244ee3cec5ee09a1f5417cb
Change-Id: Ibb5dd6097939a5b50244ee3cec5ee09a1f5417cb
(cherry picked from commit e8d7b883b4e30572cd1d6d9655394ef05be93621)
2019-12-10 10:20:16 -08:00
Evan Laird
b0d526ac12 DO NOT MERGE: unrevert "Force FGS notifications to show for a minimum time"
See CL with change id (I0680034ed9315aa2c05282524d48faaed066ebd0) for
the meaningful changes/description. This change was reverted in qt-qpr1-dev
in order to fix a bug but never got unreverted due to the qt-dev CL
having the same change-id as the reverted one.

Bug: 119041698
Test: atest NotificationManagerServiceTest
Test: atest ForegroundServiceNotificationListenerTest
Change-Id: I50f16072b0e56ab69aabf8010ffffd172ca7c05a
2019-12-09 17:15:00 -05:00
Automerger Merge Worker
9bc38904f5 Small Tweaks to Screenshot Intelligence log messages for better am: dcd12f6523
Change-Id: Ib4c4068f7c6c780776fa588e497c7929f0bc3052
2019-12-06 21:49:02 +00:00
Satakshi
dcd12f6523 Small Tweaks to Screenshot Intelligence log messages for better
debugging.

(cherry pick from commit 386efae863)
Feature tracking in: b/141634285

Test: Device logcat
Bug: 145687348
Change-Id: I03c06c4ab7494899867a98df5d65000cfc2caccf
Merged-In: I03c06c4ab7494899867a98df5d65000cfc2caccf
2019-12-06 18:50:16 +00:00