OSDN Git Service
Dmitry Dementyev [Wed, 28 Mar 2018 19:36:45 +0000 (12:36 -0700)]
Add support for testing mode root certificate.
1) Add Certificate
2) Helper class for end-to-end tests
3) Only create snapshot for passwords with special prefix in test mode
4) Sync only keys with insecure prefix in test mode.
Bug:
76433465
Test: adb shell am instrument -w -e package
com.android.server.locksettings.recoverablekeystore
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I6edc8c4716c3a034b6b79c7aa6f4b8478e9a3c9e
Tomasz Wasilczyk [Thu, 29 Mar 2018 20:28:12 +0000 (20:28 +0000)]
Merge "Fix empty program list filter handling." into pi-dev
Leon Scroggins [Thu, 29 Mar 2018 20:27:43 +0000 (20:27 +0000)]
Merge "Add in/out ColorSpace to ImageDecoder" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 20:27:35 +0000 (20:27 +0000)]
Merge "Clean up codes holding mInstallLock in PackageParserCallback" into pi-dev
Lucas Dupin [Thu, 29 Mar 2018 20:18:32 +0000 (20:18 +0000)]
Merge "Avoid clock and challenge overlap" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 20:09:42 +0000 (20:09 +0000)]
Merge "Fixes OpaLayoutTest to pass by adding SysuiTestCase (1/2)" into pi-dev
Vishwath Mohan [Thu, 29 Mar 2018 19:57:37 +0000 (19:57 +0000)]
Merge "Revert "Clear pattern on completion (if fade is enabled)."" into pi-dev
Vishwath Mohan [Thu, 29 Mar 2018 17:56:33 +0000 (17:56 +0000)]
Revert "Clear pattern on completion (if fade is enabled)."
This reverts commit
b8e9782f70d6aa28368798cdb969607831c826ce.
Bug:
77257848
Test: Can change from pattern to pin/password
Change-Id: I17f9625e506c8e0839fffa95a62c904890cac603
Jeff Sharkey [Thu, 29 Mar 2018 19:23:38 +0000 (19:23 +0000)]
Merge "Tidy up users of TRANSPORT constants." into pi-dev
Jeff Sharkey [Thu, 29 Mar 2018 19:22:47 +0000 (19:22 +0000)]
Merge "Switch reference time to ZonedDateTime" into pi-dev
Calin Juravle [Thu, 29 Mar 2018 19:15:44 +0000 (19:15 +0000)]
Merge "Add the compilation reason to the dexopt dumps" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 19:05:19 +0000 (19:05 +0000)]
Merge "Update BleScanStateChanged comment" into pi-dev
Tomasz Wasilczyk [Thu, 29 Mar 2018 00:50:08 +0000 (17:50 -0700)]
Fix empty program list filter handling.
Also, fix some minor issues about program list fetching.
Test: manual
Bug:
74353024
Change-Id: I77546b806f2d9de9505e64335af47e99079cea3e
TreeHugger Robot [Thu, 29 Mar 2018 18:28:12 +0000 (18:28 +0000)]
Merge "Bouncer should not show over the full screen user switcher on boot." into pi-dev
Jorim Jaggi [Thu, 29 Mar 2018 18:21:29 +0000 (18:21 +0000)]
Merge "Fix letterbox insets when starting app" into pi-dev
Adrian Roos [Thu, 29 Mar 2018 18:10:28 +0000 (18:10 +0000)]
Merge "RemoteAnimations: Add failsafe" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 18:00:55 +0000 (18:00 +0000)]
Merge "Improved documentation of AutofillFieldClassificationService.onGetScores()" into pi-dev
Anton Philippov [Thu, 29 Mar 2018 17:54:52 +0000 (17:54 +0000)]
Merge "Add FLAG_INCREMENTAL support to LocalTransport." into pi-dev
Leon Scroggins III [Thu, 29 Mar 2018 13:48:47 +0000 (09:48 -0400)]
Add in/out ColorSpace to ImageDecoder
Bug:
76448408
Test: I851173b771668f0e6712bebfe06bfb8559801199
Add ImageInfo.getColorSpace() for retrieving the default ColorSpace.
This matches BitmapFactory.Options.outColorSpace.
Add ImageDecoder.setTargetColorSpace() for choosing a new ColorSpace.
This matches BitmapFactory.Options.inPreferredColorSpace.
Rename setSampleSize to setTargetSampleSize to match setTargetSize and
setTargetColorSpace.
Change-Id: If2f4e755dfc163f754849f896de24659198973db
Andrii Kulian [Thu, 29 Mar 2018 17:32:57 +0000 (17:32 +0000)]
Merge "Prefer default orientation for secondary displays" into pi-dev
Tomasz Wasilczyk [Thu, 29 Mar 2018 17:27:56 +0000 (17:27 +0000)]
Merge "Indicate whether BandConfig initialization is required or not." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 17:17:23 +0000 (17:17 +0000)]
Merge "Root (uid=0) should be core. Fix UserHandle.isCore()." into pi-dev
Jaekyun Seok [Thu, 29 Mar 2018 15:31:57 +0000 (00:31 +0900)]
Clean up codes holding mInstallLock in PackageParserCallback
Bug:
77232370
Test: succeeded building and tested with taimen
Change-Id: Id588cffdcd63684abcb115532bed597d8ca10924
TreeHugger Robot [Thu, 29 Mar 2018 17:00:25 +0000 (17:00 +0000)]
Merge "Fix StatsCompanionService pull on bucket ends" into pi-dev
John Reck [Thu, 29 Mar 2018 16:53:41 +0000 (16:53 +0000)]
Merge "Move Path to NAR" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 16:50:21 +0000 (16:50 +0000)]
Merge "Change alarm/ringer status QS separator." into pi-dev
Jan Althaus [Thu, 29 Mar 2018 15:51:57 +0000 (17:51 +0200)]
Switch reference time to ZonedDateTime
Bug:
74838195
Test: atest FrameworksCoreTests:TextClassificationManagerTest
Test: atest FrameworksCoreTests:TextClassificationTest
Test: atest CtsViewTestCases:TextClassificationManagerTest
Test: atest CtsViewTestCases:TextClassifierValueObjectsTest
Change-Id: I0df9dddf415fa558435553336a8a0a15621e9b05
Robert Berry [Thu, 29 Mar 2018 16:27:42 +0000 (16:27 +0000)]
Merge "Save KeyChainSnapshots to disk" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 16:22:47 +0000 (16:22 +0000)]
Merge "Add more hidden API uses to light greylist" into pi-dev
Jean-Michel Trivi [Thu, 29 Mar 2018 16:14:10 +0000 (16:14 +0000)]
Merge "NotificationManagerService: don't play notif in SILENT mode" into pi-dev
Anton Philippov [Mon, 26 Mar 2018 18:12:08 +0000 (19:12 +0100)]
Add FLAG_INCREMENTAL support to LocalTransport.
Implement performBackup() with flags argument:
1. If FLAG_INCREMENTAL is passed and transport has no data for this
package or supports only non-incremental backups, request a non-incremental retry.
2. If FLAG_NON_INCREMENTAL is passed, but transport has data, discard
that data and continue.
Bug:
72212840
Test: GTS test in the same topic
Change-Id: I4c4a1dbfa1a807e4d4c523f42bb6a404a39731e9
TreeHugger Robot [Thu, 29 Mar 2018 15:36:43 +0000 (15:36 +0000)]
Merge "Don't print contents of user-provided bundles." into pi-dev
Jeff Sharkey [Thu, 29 Mar 2018 15:15:54 +0000 (15:15 +0000)]
Merge "Better public volumes handling on secondary users." into pi-dev
Jeff Sharkey [Thu, 29 Mar 2018 15:14:34 +0000 (15:14 +0000)]
Merge "API for granting/revoking runtime permissions." into pi-dev
Eran Messeri [Thu, 29 Mar 2018 15:00:30 +0000 (15:00 +0000)]
Merge "DPM: API review for installKeyPair" into pi-dev
Alan Viverette [Thu, 29 Mar 2018 14:47:47 +0000 (14:47 +0000)]
Merge "Federate platform docs against AndroidX" into pi-dev
Tomasz Wasilczyk [Tue, 27 Mar 2018 20:28:42 +0000 (13:28 -0700)]
Indicate whether BandConfig initialization is required or not.
The broadcastradio HAL 1.x requires waiting for onConfigChanged callback
to indicate the initialization is done, while HAL 2.0 does not have the
config setting (at the tuner session level) at all.
This change makes it possible to cleanly workaround race condition in the
radio app retaining support for both HAL revisions. Future versions of the
RadioManager will provide a method to open a session without taking care
about these nuances.
Bug:
74353024
Test: manual
Change-Id: I5de2d5e5c33626fcf0cfbbaf121d0b13e53d0bae
Tony Mak [Thu, 29 Mar 2018 14:36:55 +0000 (14:36 +0000)]
Merge "Not allow shell to dump screen by using ui-automator if... DISALLOW_DEBUGGING_FEATURES is set" into pi-dev
Jorim Jaggi [Wed, 28 Mar 2018 16:01:22 +0000 (18:01 +0200)]
Fix letterbox insets when starting app
Showing the letterbox with checking on HAS_DRAWN is too late. We
also need to show it in READY_TO_SHOW such that we have it
available when starting the transition.
Test: Open letterboxed app. Observe no flicker
Test: Capture winscope trace and make sure content insets when
reopening app are correct.
Bug:
76220728
Change-Id: I20ed8b1b5a90cc0a878d3eb1512e1aa1e4cd37f3
TreeHugger Robot [Thu, 29 Mar 2018 14:27:19 +0000 (14:27 +0000)]
Merge "Allow apps with dnd access to bypass DND" into pi-dev
Nicolas Geoffray [Thu, 29 Mar 2018 14:23:10 +0000 (14:23 +0000)]
Merge "Add three more wifi APIs." into pi-dev
Amin Shaikh [Thu, 29 Mar 2018 13:41:45 +0000 (09:41 -0400)]
Change alarm/ringer status QS separator.
Change-Id: Ib305e65e45a78f1db6091bb978e086c46205db5f
Fixes:
76208830
Test: visual
Robert Berry [Thu, 29 Mar 2018 11:07:17 +0000 (12:07 +0100)]
Save KeyChainSnapshots to disk
Bug:
73921897
Test: runtest frameworks-services -p \
com.android.server.locksettings.recoverablekeystore
Change-Id: I909f2f7f289d4e2a0cdff6a3f7184747e5deeae2
TreeHugger Robot [Thu, 29 Mar 2018 13:44:59 +0000 (13:44 +0000)]
Merge "Remove unused KeyStore field in RecoverableKeyStoreManager" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 13:31:14 +0000 (13:31 +0000)]
Merge "Utilize verbose KeyChain errors" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 13:23:24 +0000 (13:23 +0000)]
Merge "Clear app data before full restore for specified packages" into pi-dev
David Brazdil [Thu, 29 Mar 2018 13:21:48 +0000 (14:21 +0100)]
Add more hidden API uses to light greylist
Bug:
76443991
Bug:
64382372
Test: make
Change-Id: I5ec60bbf9b747230ab1a5ae539d7d014b24605b0
Annie Meng [Thu, 29 Mar 2018 12:55:42 +0000 (12:55 +0000)]
Merge "DO NOT MERGE Unrevert update references to backup agent timeouts" into pi-dev
Leon Scroggins [Thu, 29 Mar 2018 12:40:24 +0000 (12:40 +0000)]
Merge "Rename ImageDecoder.setResize" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 12:26:26 +0000 (12:26 +0000)]
Merge "Move graphics APIs to the light grey." into pi-dev
Nicolas Geoffray [Wed, 28 Mar 2018 23:00:12 +0000 (00:00 +0100)]
Add three more wifi APIs.
bug:
74066078
Test: m
Change-Id: I2c9a7499094c743de3923226bbcea3c1cd147d5f
TreeHugger Robot [Thu, 29 Mar 2018 12:25:02 +0000 (12:25 +0000)]
Merge "Exempt some notis from DND visual suppression" into pi-dev
Robert Berry [Thu, 29 Mar 2018 10:59:17 +0000 (10:59 +0000)]
Merge "Persist KeyChainSnapshot to XML" into pi-dev
Julia Reynolds [Wed, 28 Mar 2018 14:48:37 +0000 (10:48 -0400)]
Exempt some notis from DND visual suppression
Specifically, foreground service notifications
and media notifications.
Fixes:
75261156
Test: atest SystemUITests
Change-Id: I2f1fddbf748a274177d2c8dddb1b72fce82c8c4c
Adrian Roos [Mon, 26 Mar 2018 15:34:06 +0000 (17:34 +0200)]
RemoteAnimations: Add failsafe
Adds failsafe mechanisms to RemoteAnimation and RecentsAnimation:
- cancel animations on binder death
- schedule a short timeout for RecentsAnimation after HOME and POWER events
Also enables RemoteAnimationControllerTest for presubmit, since it's turned
out to be reliable.
Change-Id: Id0bfdbee7d36f662eb386727195da8de2ed1684a
Fixes:
73496879
Test: kill / suspend launcher during animations; verify animations get aborted as expected.
Test: atest RemoteAnimationControllerTest
Nicolas Geoffray [Wed, 28 Mar 2018 22:15:54 +0000 (23:15 +0100)]
Move graphics APIs to the light grey.
The APIs have just started being removed in public APIs, and some
non-vendor apps are using them.
bug:
77224796
Test: m
Change-Id: I5c3afd18244a888ec77f14eaa6d839faf4f6d2be
Artem Iglikov [Tue, 27 Mar 2018 14:12:18 +0000 (15:12 +0100)]
Clear app data before full restore for specified packages
In some cases (deferred restore) the app data needs to be cleared even
if the app has implemented backup agent. As a quick fix introduce
PACKAGES_TO_CLEAR_DATA_BEFORE_FULL_RESTORE secure setting, which
transport can fill prior to restore.
Bug:
69069240
Test: adb shell settings put secure packages_to_clear_data_before_full_restore com.google.android.apps.nexuslauncher && adb shell bmgr restore com.google.android.apps.nexuslauncher
Change-Id: I2a4651365d9cf4747f32d2ba69312f54cd03d118
Eran Messeri [Mon, 26 Mar 2018 15:43:14 +0000 (16:43 +0100)]
Utilize verbose KeyChain errors
As KeyChain reports detailed error codes about failure to generate keys
or attestation records for them, log these detailed errors and throw an
exception if the hardware does not support Device ID attestation.
Bug:
72642093
Bug:
73448533
Test: cts-tradefed run commandAndExit cts-dev -s 127.0.0.1:50487 -a x86_64 -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceOwnerTest#testKeyManagement -l DEBUG
Change-Id: Ib12efcf48c158373e1fc28cc51d67e70282d029e
Robert Berry [Thu, 29 Mar 2018 09:30:29 +0000 (10:30 +0100)]
Remove unused KeyStore field in RecoverableKeyStoreManager
Test: runtest frameworks-services -p \
com.android.server.locksettings.recoverablekeystore
Bug:
74944591
Change-Id: Ibe0167adb103beded9eb0138825f4a975f12c29e
Robert Berry [Thu, 29 Mar 2018 09:09:03 +0000 (10:09 +0100)]
Remove unused KeyChainSnapshot tables
This will be persisted as an XML file instead.
Bug:
73921897
Test: none, it's just removing unused consts
Change-Id: Idaeb437d0a7258d03418932d4aba75189092b3fe
Robert Berry [Wed, 28 Mar 2018 19:26:57 +0000 (20:26 +0100)]
Persist KeyChainSnapshot to XML
Adds parser and serializer, and round trip test.
Bug:
73921897
Test: runtest frameworks-services -p \
com.android.server.locksettings.recoverablekeystore
Change-Id: I8259ec398ee076823ac8bbf847534738514de8dc
Robert Berry [Thu, 29 Mar 2018 09:21:50 +0000 (10:21 +0100)]
Add warning comment about serialization
As it's important we do not break serialization of KeyChainSnapshot
(as it could fail in weird and mysterious ways if we did), add
comments warning anybody editing those files to also update the
serializer and deserializer, as well as appropriate tests.
Test: none, just adding comments
Bug:
73921897
Change-Id: If73162b8fb2a0b44fd954b72c9030cd9e042282b
Eran Messeri [Fri, 23 Mar 2018 13:32:17 +0000 (13:32 +0000)]
DPM: API review for installKeyPair
Per API council review, make installKeyPair take a single, integer flags
argument rather than two boolean ones.
Bug:
71818124
Test: cts-tradefed run commandAndExit cts-dev -a armeabi-v7a -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceOwnerTest#testKeyManagement -l DEBUG
Change-Id: Ia04f8d617ae0d1db028bd9bcef3a4bf486449468
Benjamin Franz [Thu, 29 Mar 2018 09:02:17 +0000 (09:02 +0000)]
Merge "Update to lock task features API" into pi-dev
Eric Sandness [Thu, 29 Mar 2018 08:25:09 +0000 (08:25 +0000)]
Merge "Permission Check For DPM Get IME API" into pi-dev
Tony Mak [Mon, 26 Mar 2018 19:43:06 +0000 (20:43 +0100)]
Not allow shell to dump screen by using ui-automator if...
DISALLOW_DEBUGGING_FEATURES is set
(adb unroot first)
Test: Turn on DISALLOW_DEBUGGING_FEATURES in work profile.
Can dump personal window + Cannot dump work window by using
adb shell uiautomator dump
Test: Turn off DISALLOW_DEBUGGING_FEATURES in work profile.
Can dump window in both profiles
Test: atest CtsAccessibilityServiceTestCases
Test: Enable talkback, try launching a few apps and interact with them.
Fixes:
73147467
Change-Id: I044a1546f9b568b0d19714154d6e7e5ab7232d26
Chenjie Yu [Wed, 28 Mar 2018 17:07:22 +0000 (10:07 -0700)]
Fix StatsCompanionService pull on bucket ends
+ change StatsPullerManager internal time units to be consistent
+ use series of alarms for pullers, instead of use setRepeating
Bug:
76223345
Bug:
75970648
Test: cts test
Change-Id: I9e6ac0ce06541f5ceabd2a8fa444e13d40e36983
Mathew Inwood [Thu, 29 Mar 2018 06:50:23 +0000 (06:50 +0000)]
Merge "Use commas to separate API exemptions list, not colon." into pi-dev
Mathew Inwood [Thu, 29 Mar 2018 06:49:27 +0000 (06:49 +0000)]
Merge "Configurable hidden API exemptions." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 06:03:17 +0000 (06:03 +0000)]
Merge "Fallback to ML prediction after short ACTIVE states" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 05:51:24 +0000 (05:51 +0000)]
Merge "Add slice pinning to list of reasons for usage" into pi-dev
Tracy Zhou [Thu, 29 Mar 2018 05:24:42 +0000 (05:24 +0000)]
Merge "Refactor how we calculate offset for PIP animation" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 05:18:32 +0000 (05:18 +0000)]
Merge "Rename MediaDrm security levels" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 04:50:59 +0000 (04:50 +0000)]
Merge changes from topic "MediaSessionManager_isTrustedForMediaControl" into pi-dev
* changes:
MediaBrowserService: Create getCurrentBrowserInfo()
MediaSession: Create getCurentControllerInfo()
MediaSessionManager: Add isTrustedForMediaControl()
TreeHugger Robot [Thu, 29 Mar 2018 04:23:46 +0000 (04:23 +0000)]
Merge "Bluetooth HIDD: Remove unplug()" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 04:18:51 +0000 (04:18 +0000)]
Merge "Fix deadlock when ParallelPackageParserCallback is used" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 03:50:31 +0000 (03:50 +0000)]
Merge "Properly filter alert window notifications" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 03:01:34 +0000 (03:01 +0000)]
Merge "Add additional logging for EMBMS edge cases" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 02:43:23 +0000 (02:43 +0000)]
Merge "[Notif] Write AppUid earlier in NotificationInfo" into pi-dev
Hyundo Moon [Mon, 26 Mar 2018 08:12:21 +0000 (17:12 +0900)]
MediaBrowserService: Create getCurrentBrowserInfo()
Bug:
65739365
Test: Ran MediaBrowserServiceTest
Change-Id: I629d74bcf9a08a2271463fecbacc2d998dce4387
Hyundo Moon [Thu, 22 Mar 2018 08:22:14 +0000 (17:22 +0900)]
MediaSession: Create getCurentControllerInfo()
Bug:
65739365
Test: Ran MediaControllerTest
Change-Id: I05c9179546d826e8fabb4fd4e4e03837dd4685ff
Jaewan Kim [Thu, 22 Mar 2018 15:13:51 +0000 (00:13 +0900)]
MediaSessionManager: Add isTrustedForMediaControl()
The API checks whether an app is granted MEDIA_CONTENT_CONTROL
permisison or has enabled notification listener. Such apps can be
considered as the system component (e.g. Bluetooth) or equivalent (e.g.
Auto/Wearable companion app), so sessions shouldn't refuse connection
request from it.
It needs to be public because API for checking whether an app has an
enabled notification listener can only be called by the system service.
(see: NotificationManager.getEnabledNotificationListeners(int))
With the MediaSessionManager#isTrustedForMediaControl(),
MediaSessionService will query the information indirectly for a session
to tell an app is trusted.
Note that this isn't workaround for bypassing permission check of
NotificationManager API calls. It's indirectly available through
the android.provider.Settings.Secure with the *deprecated* key
ENABLD_NOTIFICATION_LISTENERS and it doesn't need any permission.
MediaSessionManager#isTrustedForMediaControl() is needed to avoid using
deprecated key for querying notification listeners.
Bug:
75500592
Test: Build
Change-Id: I8d1183aa946aa0d2ec35dbd7f31933d1c2717f99
Jaekyun Seok [Thu, 29 Mar 2018 02:02:10 +0000 (11:02 +0900)]
Fix deadlock when ParallelPackageParserCallback is used
Bug:
77232370
Test: succeeded building and tested with taimen
Change-Id: I425686c65a3cee88c10fceb7b5d0b5d89e49fc70
TreeHugger Robot [Thu, 29 Mar 2018 02:08:04 +0000 (02:08 +0000)]
Merge "Add Battery time to location dumpsys" into pi-dev
Calin Juravle [Thu, 29 Mar 2018 02:00:18 +0000 (19:00 -0700)]
Add the compilation reason to the dexopt dumps
Knowing why we compiled a package will make some investigations easier.
Test: adb shell dumpsys package dexopt
Bug:
76425903
Change-Id: I67b5bc980d198340aa52affb24fb3ce7e3080d67
Lucas Dupin [Thu, 29 Mar 2018 01:00:45 +0000 (18:00 -0700)]
Avoid clock and challenge overlap
Test: combination of - keyboard, pin, pattern - and different font and
display sizes
Fixes:
74758659
Change-Id: Iaa851d863cd1771c6d9fd9120e4bb743fef776e1
TreeHugger Robot [Thu, 29 Mar 2018 01:06:06 +0000 (01:06 +0000)]
Merge "Clear pattern on completion (if fade is enabled)." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 00:57:22 +0000 (00:57 +0000)]
Merge "[Notif] Remove old blocking helper button" into pi-dev
Rohan Shah [Wed, 28 Mar 2018 21:46:50 +0000 (14:46 -0700)]
[Notif] Write AppUid earlier in NotificationInfo
Noticed that appuid was being used but it wasn't set until later in the
lifecycle of the notificationinfo (rendering the channel logic moot).
If the notif is now posting notificiations to the default channel while
having multiple channels, it'll now show "Uncategorized" in the blocking
helper/notification info screens.
Fixes:
77240828
Test: Ran NotifInfoTest (added one new test case)
Test: Visually, artificially sent default ch notif with app having 9 ch
Change-Id: I45f2c35fb6dae610e511b2d316b3c184b84f2d09
TreeHugger Robot [Thu, 29 Mar 2018 00:46:29 +0000 (00:46 +0000)]
Merge "Add an option to display HVAC temp values in sysui" into pi-dev
Jean-Michel Trivi [Sat, 24 Mar 2018 01:04:00 +0000 (18:04 -0700)]
NotificationManagerService: don't play notif in SILENT mode
Fix the test for playing a notification sound:
play sound when 1/ no exclusive focus
AND 2/ volume not 0
Previous test would play a notification if device was in SILENT
mode (volume was 0, but ringer mode was != VIBRATE)
Bug:
75043398
Test: enter silent mode, play notification, verify no ducking
Change-Id: I0e19d068f719a89c7a8a3c239da86c1dfce701ec
TreeHugger Robot [Thu, 29 Mar 2018 00:23:37 +0000 (00:23 +0000)]
Merge "Add constants for reporting criteria" into pi-dev
Jeff Tinker [Thu, 29 Mar 2018 00:16:50 +0000 (17:16 -0700)]
Rename MediaDrm security levels
API review requested that MediaDrm security
levels be prefixed with a common string.
bug:
76449152
bug:
74831432
Change-Id: I2b4d5ed2c881f736659f29aa76c556a79d1335f4
Ricky Wai [Thu, 29 Mar 2018 00:04:26 +0000 (00:04 +0000)]
Merge "Add adb command to force generate network watchlist report for testing" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 23:59:37 +0000 (23:59 +0000)]
Merge "Fix keywords hint and add some hints and a subtype to Slice" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 23:55:22 +0000 (23:55 +0000)]
Merge "Opalayout can check quickstep icons without needing navbarview (1/2)" into pi-dev
Makoto Onuki [Wed, 28 Mar 2018 23:49:47 +0000 (16:49 -0700)]
Root (uid=0) should be core. Fix UserHandle.isCore().
Bug:
77240427
Change-Id: I057e8f50370fb1cd74ff2ebdab41990a682cec6f
Fix:
77240427
Test: build & boot
Test: "am set-standby-bucket com.google.android.apps.docs 40" will override ACTIVE
TreeHugger Robot [Wed, 28 Mar 2018 23:43:39 +0000 (23:43 +0000)]
Merge "Use sentence case on "clear all" button" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 23:39:47 +0000 (23:39 +0000)]
Merge "Ripple and opa diamond animation plays after a timeout (1/2)" into pi-dev
Matthew Ng [Tue, 27 Mar 2018 01:01:37 +0000 (18:01 -0700)]
Fixes OpaLayoutTest to pass by adding SysuiTestCase (1/2)
Copied SysuiTestCase to systemui Google to be able to inflate
KeyButtonView that is dependent on StatusBar. Also fixed the connection
failure catch exception when proxy cannot connect to service in tests.
Test: atest com.google.android.systemui.OpaLayoutTest
Change-Id: Ica2a894ce92e06af30c208afcc6a22adeac3a843
Fixes:
76416916