OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Allow apps with dnd access to bypass DND" into pi-dev
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

6 years agoMerge "Add three more wifi APIs." 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

6 years agoMerge "Remove unused KeyStore field in RecoverableKeyStoreManager" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 13:44:59 +0000 (13:44 +0000)]
Merge "Remove unused KeyStore field in RecoverableKeyStoreManager" into pi-dev

6 years agoMerge "Utilize verbose KeyChain errors" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 13:31:14 +0000 (13:31 +0000)]
Merge "Utilize verbose KeyChain errors" into pi-dev

6 years agoMerge "Clear app data before full restore for specified packages" 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

6 years agoMerge "DO NOT MERGE Unrevert update references to backup agent timeouts" into pi-dev
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

6 years agoMerge "Rename ImageDecoder.setResize" into pi-dev
Leon Scroggins [Thu, 29 Mar 2018 12:40:24 +0000 (12:40 +0000)]
Merge "Rename ImageDecoder.setResize" into pi-dev

6 years agoMerge "Move graphics APIs to the light grey." 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

6 years agoAdd three more wifi APIs.
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

6 years agoMerge "Exempt some notis from DND visual suppression" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 12:25:02 +0000 (12:25 +0000)]
Merge "Exempt some notis from DND visual suppression" into pi-dev

6 years agoMerge "Persist KeyChainSnapshot to XML" into pi-dev
Robert Berry [Thu, 29 Mar 2018 10:59:17 +0000 (10:59 +0000)]
Merge "Persist KeyChainSnapshot to XML" into pi-dev

6 years agoExempt some notis from DND visual suppression
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

6 years agoMove graphics APIs to the light grey.
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

6 years agoClear app data before full restore for specified packages
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

6 years agoUtilize verbose KeyChain errors
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

6 years agoRemove unused KeyStore field in RecoverableKeyStoreManager
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

6 years agoRemove unused KeyChainSnapshot tables
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

6 years agoPersist KeyChainSnapshot to XML
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

6 years agoAdd warning comment about serialization
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

6 years agoMerge "Update to lock task features API" into pi-dev
Benjamin Franz [Thu, 29 Mar 2018 09:02:17 +0000 (09:02 +0000)]
Merge "Update to lock task features API" into pi-dev

6 years agoMerge "Permission Check For DPM Get IME 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

6 years agoMerge "Use commas to separate API exemptions list, not colon." into pi-dev
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

6 years agoMerge "Configurable hidden API exemptions." into pi-dev
Mathew Inwood [Thu, 29 Mar 2018 06:49:27 +0000 (06:49 +0000)]
Merge "Configurable hidden API exemptions." into pi-dev

6 years agoMerge "Fallback to ML prediction after short ACTIVE states" 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

6 years agoMerge "Add slice pinning to list of reasons for usage" 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

6 years agoMerge "Refactor how we calculate offset for PIP animation" 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

6 years agoMerge "Rename MediaDrm security levels" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 05:18:32 +0000 (05:18 +0000)]
Merge "Rename MediaDrm security levels" into pi-dev

6 years agoMerge changes from topic "MediaSessionManager_isTrustedForMediaControl" 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()

6 years agoMerge "Bluetooth HIDD: Remove unplug()" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 04:23:46 +0000 (04:23 +0000)]
Merge "Bluetooth HIDD: Remove unplug()" into pi-dev

6 years agoMerge "Fix deadlock when ParallelPackageParserCallback is used" 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

6 years agoMerge "Properly filter alert window notifications" 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

6 years agoMerge "Add additional logging for EMBMS edge cases" 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

6 years agoMerge "[Notif] Write AppUid earlier in NotificationInfo" 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

6 years agoMediaBrowserService: Create getCurrentBrowserInfo()
Hyundo Moon [Mon, 26 Mar 2018 08:12:21 +0000 (17:12 +0900)]
MediaBrowserService: Create getCurrentBrowserInfo()

Bug: 65739365
Test: Ran MediaBrowserServiceTest
Change-Id: I629d74bcf9a08a2271463fecbacc2d998dce4387

6 years agoMediaSession: Create getCurentControllerInfo()
Hyundo Moon [Thu, 22 Mar 2018 08:22:14 +0000 (17:22 +0900)]
MediaSession: Create getCurentControllerInfo()

Bug: 65739365
Test: Ran MediaControllerTest
Change-Id: I05c9179546d826e8fabb4fd4e4e03837dd4685ff

6 years agoMediaSessionManager: Add isTrustedForMediaControl()
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

6 years agoFix deadlock when ParallelPackageParserCallback is used
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

6 years agoMerge "Add Battery time to location dumpsys" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 02:08:04 +0000 (02:08 +0000)]
Merge "Add Battery time to location dumpsys" into pi-dev

6 years agoMerge "Clear pattern on completion (if fade is enabled)." into pi-dev
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

6 years agoMerge "[Notif] Remove old blocking helper button" 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

6 years ago[Notif] Write AppUid earlier in NotificationInfo
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

6 years agoMerge "Add an option to display HVAC temp values in sysui" into pi-dev
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

6 years agoMerge "Add constants for reporting criteria" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 00:23:37 +0000 (00:23 +0000)]
Merge "Add constants for reporting criteria" into pi-dev

6 years agoRename MediaDrm security levels
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

6 years agoMerge "Add adb command to force generate network watchlist report for testing" into...
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

6 years agoMerge "Fix keywords hint and add some hints and a subtype to Slice" 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

6 years agoMerge "Opalayout can check quickstep icons without needing navbarview (1/2)" into...
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

6 years agoMerge "Use sentence case on "clear all" button" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 23:43:39 +0000 (23:43 +0000)]
Merge "Use sentence case on "clear all" button" into pi-dev

6 years agoMerge "Ripple and opa diamond animation plays after a timeout (1/2)" 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

6 years agoBluetooth HIDD: Remove unplug()
Hansong Zhang [Wed, 28 Mar 2018 19:56:05 +0000 (12:56 -0700)]
Bluetooth HIDD: Remove unplug()

Remove the hidden unplug() API because it is not used and it can cause
the remote device to be unpaired. System apps should use unbond() and
user apps should not use reflection to invoke it.

Bug: 67866553
Test: SL4A
Change-Id: I1bdc06dbb5460c9fd52230b78cbf9434a4349d24
(cherry picked from commit dbc6d14f6ec399e63cee29adbe01fffcb166500f)

6 years agoMerge "Change MeteredDataDisabled function names for clarity" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 23:18:01 +0000 (23:18 +0000)]
Merge "Change MeteredDataDisabled function names for clarity" into pi-dev

6 years agoMerge "Add vibrate/mute details to QS header." into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 23:02:26 +0000 (23:02 +0000)]
Merge "Add vibrate/mute details to QS header." into pi-dev

6 years agoMerge "A18y: Don't double announce 'searching for printers.'" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 23:02:04 +0000 (23:02 +0000)]
Merge "A18y: Don't double announce 'searching for printers.'" into pi-dev

6 years agoMerge "Remove no longer needed workaround for new devices that previously" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 23:00:35 +0000 (23:00 +0000)]
Merge "Remove no longer needed workaround for new devices that previously" into pi-dev

6 years agoMerge "Save internal state to disk after updating whitelist revoked uids." into pi-dev
Sudheer Shanka [Wed, 28 Mar 2018 22:56:13 +0000 (22:56 +0000)]
Merge "Save internal state to disk after updating whitelist revoked uids." into pi-dev

6 years agoOpalayout can check quickstep icons without needing navbarview (1/2)
Matthew Ng [Wed, 28 Mar 2018 21:02:00 +0000 (14:02 -0700)]
Opalayout can check quickstep icons without needing navbarview (1/2)

Opalayout should not need NavigationBarView to determine if the icon
should be for quickstep icons. It does not need to know if recents is
disabled because of lock tasks and so the check is now in
OverviewProxyService. Then when Opalayout needs to layout the home
button it should be able to get the information regardless if
NavigationBarView is available or not.

Bug: 76210393
Fixes: 76434966
Fixes: 74071465
Test: change language in settings

Change-Id: I246175c3e2d5c990da6823df4108d48522b258bd

6 years agoAdd an option to display HVAC temp values in sysui
Brad Stenning [Tue, 27 Mar 2018 20:57:29 +0000 (13:57 -0700)]
Add an option to display HVAC temp values in sysui

Bug: 77148007
Test: on device that has a real HVAC unit
Change-Id: I97b303dd947858157ede72c5d537ae6a1e40cc67

6 years agoMerge "Created framework resource for autofill_max_visible_datasets." into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 22:39:29 +0000 (22:39 +0000)]
Merge "Created framework resource for autofill_max_visible_datasets." into pi-dev

6 years agoAdd additional logging for EMBMS edge cases
Hall Liu [Fri, 9 Mar 2018 01:45:12 +0000 (17:45 -0800)]
Add additional logging for EMBMS edge cases

Add logging when failing to delete temp files or write download
tokens.

Test: logging only
Bug: 77237200
Change-Id: Id7836f3660d37d8cd94580d221c95b2c15c2cb68

6 years agoMerge "Intent.ACTION_AIRPLANE_MODE_CHANGED should have a boolean extra." into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 22:31:46 +0000 (22:31 +0000)]
Merge "Intent.ACTION_AIRPLANE_MODE_CHANGED should have a boolean extra." into pi-dev

6 years agoMerge "docs: fixed a couple of typos" into oc-mr1-dev
Joshua Baxter [Wed, 28 Mar 2018 22:06:24 +0000 (22:06 +0000)]
Merge "docs: fixed a couple of typos" into oc-mr1-dev
am: 651ffd426c

Change-Id: Ie6fb97aae76637023657d751f6ad0ebbc74ff284

6 years agoMerge "docs: fixed a couple of typos" into oc-mr1-dev
Joshua Baxter [Wed, 28 Mar 2018 21:54:29 +0000 (21:54 +0000)]
Merge "docs: fixed a couple of typos" into oc-mr1-dev

6 years agoMerge "Fix statsd ble scan logging" into pi-dev
Adam Bookatz [Wed, 28 Mar 2018 21:49:29 +0000 (21:49 +0000)]
Merge "Fix statsd ble scan logging" into pi-dev

6 years agoMerge "[RTT] Expose new public API for number of measurements" into pi-dev
Etan Cohen [Wed, 28 Mar 2018 21:39:46 +0000 (21:39 +0000)]
Merge "[RTT] Expose new public API for number of measurements" into pi-dev

6 years agoAdd vibrate/mute details to QS header.
Amin Shaikh [Tue, 27 Mar 2018 20:55:43 +0000 (16:55 -0400)]
Add vibrate/mute details to QS header.

Change-Id: If9ee4129b8c64299d5bfe76e3db17415bc95d14a
Fixes: 76208830
Test: visual

6 years agoMerge "fix SliceMetrics typo and disambiguate logTouch" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 21:18:33 +0000 (21:18 +0000)]
Merge "fix SliceMetrics typo and disambiguate logTouch" into pi-dev

6 years agoMerge "Add autobackup XML support for test BackupTransport flag" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 21:10:54 +0000 (21:10 +0000)]
Merge "Add autobackup XML support for test BackupTransport flag" into pi-dev

6 years agoMerge "Camera: Add MONOCHROME camera capability" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 21:01:31 +0000 (21:01 +0000)]
Merge "Camera: Add MONOCHROME camera capability" into pi-dev

6 years ago[Notif] Remove old blocking helper button
Rohan Shah [Wed, 28 Mar 2018 20:50:32 +0000 (13:50 -0700)]
[Notif] Remove old blocking helper button

The blocking helper is now triggered on swipe. We no longer require the
blocking helper button to access it.

Test: Visually, can't trigger
Fixes: 73948643
Change-Id: Ie6f4e536a1105949af00d99460f6c2c04e7660ab

6 years agoMerge "Implement Stateful TextClassifier APIs." into pi-dev
Abodunrinwa Toki [Wed, 28 Mar 2018 20:58:47 +0000 (20:58 +0000)]
Merge "Implement Stateful TextClassifier APIs." into pi-dev

6 years agoFallback to ML prediction after short ACTIVE states
Amith Yamasani [Wed, 28 Mar 2018 01:24:04 +0000 (18:24 -0700)]
Fallback to ML prediction after short ACTIVE states

When an app is temporarily elevated to ACTIVE state for some
reason, keep track of the last predicted bucket and drop back
to that if the ACTIVE state ends.

Also keep track of prediction during a forced ACTIVE state, even
if it's not applied right away.

Bug: 77158823
Test: atest AppStandbyControllerTests
Change-Id: Ic6de6c24bb25c5392ac5b41a2c05889d94f23436

6 years agoMerge "Make volume dialog only fade in/out in landscape" into pi-dev
Mike Digman [Wed, 28 Mar 2018 20:46:20 +0000 (20:46 +0000)]
Merge "Make volume dialog only fade in/out in landscape" into pi-dev

6 years agoAllow apps with dnd access to bypass DND
Julia Reynolds [Wed, 28 Mar 2018 16:46:51 +0000 (12:46 -0400)]
Allow apps with dnd access to bypass DND

That is, to create channels that bypass DND,
unless the user has expressed a preference
for that channel

Change-Id: Ic4593eac726b690946f44b3c61494b629a5ad73a
Fixes: 74525735
Test: runtest systemui-notification

6 years agoProperly filter alert window notifications
Julia Reynolds [Wed, 28 Mar 2018 13:33:13 +0000 (09:33 -0400)]
Properly filter alert window notifications

Test: atest SystemUITests
Change-Id: Ie07ffeb7a96469d985261c9a1edb1d7ce82af5c5
Fixes: 77162311

6 years agoMerge "Convert compilation reason and filter to int-enum before logging" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 20:35:37 +0000 (20:35 +0000)]
Merge "Convert compilation reason and filter to int-enum before logging" into pi-dev

6 years agoMerge "Fix capitalization" into pi-dev
Julia Reynolds [Wed, 28 Mar 2018 20:35:11 +0000 (20:35 +0000)]
Merge "Fix capitalization" into pi-dev

6 years agoMerge "Temperature atom: Use int instead of float." into pi-dev
Tej Singh [Wed, 28 Mar 2018 20:33:44 +0000 (20:33 +0000)]
Merge "Temperature atom: Use int instead of float." into pi-dev

6 years agoMerge "MediaPlayer subtitle data / time discontinuity interfaces" into pi-dev
Jean-Michel Trivi [Wed, 28 Mar 2018 20:30:02 +0000 (20:30 +0000)]
Merge "MediaPlayer subtitle data / time discontinuity interfaces" into pi-dev

6 years agoMerge "statsd: Pass alert and config id to Perfetto" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 20:29:31 +0000 (20:29 +0000)]
Merge "statsd: Pass alert and config id to Perfetto" into pi-dev

6 years agoMerge "Better error reporting for createOrUpdateLayer" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 20:28:59 +0000 (20:28 +0000)]
Merge "Better error reporting for createOrUpdateLayer" into pi-dev

6 years agoUse sentence case on "clear all" button
Lucas Dupin [Wed, 28 Mar 2018 20:26:54 +0000 (13:26 -0700)]
Use sentence case on "clear all" button

Test: visual
Change-Id: Id6e760d43c8798058253d636766fe3a7b577418e
Fixes: 77228015

6 years agoA18y: Don't double announce 'searching for printers.'
Philip P. Moltmann [Wed, 28 Mar 2018 18:02:22 +0000 (11:02 -0700)]
A18y: Don't double announce 'searching for printers.'

Fixes: 67323891
Test: Navigated to screen with talkback
Change-Id: Iee4308fdc5c2ef53e2fde0004aa4f22f9bb8bef2

6 years agoMerge "[RTT] Add API for number of measurements" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 20:12:24 +0000 (20:12 +0000)]
Merge "[RTT] Add API for number of measurements" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 20:06:18 +0000 (20:06 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Found out it is not possible to exec procrank as non-root/shell. But it is...
TreeHugger Robot [Wed, 28 Mar 2018 19:37:46 +0000 (19:37 +0000)]
Merge "Found out it is not possible to exec procrank as non-root/shell. But it is ok to disable procrank since the information can be obtain via dumpsys meminfo" into pi-dev

6 years agoMerge "Fix typo on pull alarm broadcast receiver" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 19:33:19 +0000 (19:33 +0000)]
Merge "Fix typo on pull alarm broadcast receiver" into pi-dev

6 years agoMerge "Update wifi header summary text to show metered state" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 19:15:05 +0000 (19:15 +0000)]
Merge "Update wifi header summary text to show metered state" into pi-dev

6 years agoMerge "Add new Wifi API to light grey." into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 19:14:49 +0000 (19:14 +0000)]
Merge "Add new Wifi API to light grey." into pi-dev

6 years agoRemove no longer needed workaround for new devices that previously
Andreas Huber [Wed, 28 Mar 2018 16:56:35 +0000 (09:56 -0700)]
Remove no longer needed workaround for new devices that previously

advertised a wrong Build.FIRST_SDK_INT. All devices shipped with P or
later now use the new /data/vendor_de storage location for fingerprint
data.

Bug: 72405644
Test: fingerprints work on device and are installed in data/vendor_de
Change-Id: I1031ca6f09ea712568716c0ba77c74730e239a7a

6 years agoMerge "Add different animation for transitions with translucent apps" into pi-dev
Jorim Jaggi [Wed, 28 Mar 2018 19:09:08 +0000 (19:09 +0000)]
Merge "Add different animation for transitions with translucent apps" into pi-dev

6 years agoCreated framework resource for autofill_max_visible_datasets.
Felipe Leme [Wed, 28 Mar 2018 18:15:34 +0000 (11:15 -0700)]
Created framework resource for autofill_max_visible_datasets.

So it can be customized in a per-device basis...

Test: atest CtsAutoFillServiceTestCases
Bug: 69796626

Change-Id: I1dd617b7ae658dbff898ff5c9c0ee3fbf195a929

6 years agoMerge "Use rootAlias to index chosen cert and its version." into pi-dev
Dmitry Dementyev [Wed, 28 Mar 2018 19:05:21 +0000 (19:05 +0000)]
Merge "Use rootAlias to index chosen cert and its version." into pi-dev

6 years agoMerge "Grant CONTACT permissions to IMS package." into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 18:57:50 +0000 (18:57 +0000)]
Merge "Grant CONTACT permissions to IMS package." into pi-dev

6 years agoIntent.ACTION_AIRPLANE_MODE_CHANGED should have a boolean extra.
yuemingw [Wed, 28 Mar 2018 14:35:40 +0000 (15:35 +0100)]
Intent.ACTION_AIRPLANE_MODE_CHANGED should have a boolean extra.

Bug: 76468718
Test: run cts --module CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.DeviceOwnerTest#testAirplaneModeRestriction
Change-Id: Iec208f744b80e48e29f5a38ee88613e19f0d01b3

6 years agoMerge "Fixed autofill dataset picker so header and footer are sticky." into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 18:54:38 +0000 (18:54 +0000)]
Merge "Fixed autofill dataset picker so header and footer are sticky." into pi-dev

6 years agoMerge "Refactor FingerprintDialog to BiometricDialog" into pi-dev
Vishwath Mohan [Wed, 28 Mar 2018 18:46:34 +0000 (18:46 +0000)]
Merge "Refactor FingerprintDialog to BiometricDialog" into pi-dev

6 years agoMediaPlayer subtitle data / time discontinuity interfaces
Jean-Michel Trivi [Tue, 27 Mar 2018 22:29:08 +0000 (15:29 -0700)]
MediaPlayer subtitle data / time discontinuity interfaces

Expose in SDK the interfaces necessary to implement unbundled
  subtitle support, which requires:
  - exposing an interface to receive the encoded subtitle data
  - exposing an interface while allows a renderer to synchronize
    its rendering clock with the media time of the player.
Deprecate duplicated timed text constant, all timed text / sub
  mime types are defined in MediaFormat.

Bug: 76121592
Test: make offline-sdk-docs
Change-Id: I42cc1d69069babb69a2feeba3f54da89889f4602

6 years ago[RTT] Expose new public API for number of measurements
Etan Cohen [Tue, 27 Mar 2018 16:29:12 +0000 (09:29 -0700)]
[RTT] Expose new public API for number of measurements

The RTT distance and standard deviation are calculated based on a set
of N measurements. Of those M (M<=N) may be successful.

The quality of the provided results can be assessed by 2 measures:

1. The standard deviation of the results

The standard deviation is only valid if the number of successful
measurements is >1 otherwise a 0 is returned. A value of 0 cannot be
differentiated from a legitimate 0 standard deviation.

In one case (number of samples > 1) a standard deviation of 0 indicates
high confidence in the result. In the other case (number of samples = 0)
no confidence information can be derived.

2. The ratio of successful to total attempted measurements

Add API which provides the number of attempted measurements and number
of successful measurements used to calculate the final results.

Bug: 76445930
Test: N/A (unhide CL only, code verified earlier)
Change-Id: Ia7322b3abc28e83c29d0b0ae79db30fd99bb7fe1

6 years agoMerge "Tell the user to toggle Bluetooth when enabling HCI logs" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 18:19:39 +0000 (18:19 +0000)]
Merge "Tell the user to toggle Bluetooth when enabling HCI logs" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 28 Mar 2018 18:12:39 +0000 (11:12 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If50c887a445b8a4a30107830a7dbe67eea17ddbd