OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Add way to check if user has locked the bubble allowed field"
TreeHugger Robot [Tue, 29 Jan 2019 02:49:24 +0000 (02:49 +0000)]
Merge "Add way to check if user has locked the bubble allowed field"

5 years agoMerge "Turning on job quotas by default."
TreeHugger Robot [Tue, 29 Jan 2019 02:48:01 +0000 (02:48 +0000)]
Merge "Turning on job quotas by default."

5 years agoMerge "Enforce MANAGE_APP_PREDICTIONS on getShareTargets"
TreeHugger Robot [Tue, 29 Jan 2019 02:40:25 +0000 (02:40 +0000)]
Merge "Enforce MANAGE_APP_PREDICTIONS on getShareTargets"

5 years agoMerge changes I6bda318c,Ie4d259dc
TreeHugger Robot [Tue, 29 Jan 2019 02:31:23 +0000 (02:31 +0000)]
Merge changes I6bda318c,Ie4d259dc

* changes:
  MediaController: Remove unused constructors
  Make ISessionManager.getSessions() return list of tokens

5 years agoMerge "Add notification category information to notification logging."
Will Brockman [Tue, 29 Jan 2019 02:08:32 +0000 (02:08 +0000)]
Merge "Add notification category information to notification logging."

5 years agoMerge "Simplify IMMS#startInputOrWindowGainedFocusInternal() part 5/5"
TreeHugger Robot [Tue, 29 Jan 2019 02:08:13 +0000 (02:08 +0000)]
Merge "Simplify IMMS#startInputOrWindowGainedFocusInternal() part 5/5"

5 years agoMerge "Simplify IMMS#startInputOrWindowGainedFocusInternal() part 4/5"
TreeHugger Robot [Tue, 29 Jan 2019 02:07:47 +0000 (02:07 +0000)]
Merge "Simplify IMMS#startInputOrWindowGainedFocusInternal() part 4/5"

5 years agoMerge "Add Bitmap.setColorSpace()"
Derek Sollenberger [Tue, 29 Jan 2019 01:58:58 +0000 (01:58 +0000)]
Merge "Add Bitmap.setColorSpace()"

5 years agoMerge "Add ACQUIRED_START message"
TreeHugger Robot [Tue, 29 Jan 2019 01:32:15 +0000 (01:32 +0000)]
Merge "Add ACQUIRED_START message"

5 years agoMerge changes I807608d5,I4ccc56f3,I8aa75851,I09022bb2
TreeHugger Robot [Tue, 29 Jan 2019 01:31:34 +0000 (01:31 +0000)]
Merge changes I807608d5,I4ccc56f3,I8aa75851,I09022bb2

* changes:
  Simplify IMMS#startInputOrWindowGainedFocusInternal() part 3/5
  Simplify IMMS#startInputOrWindowGainedFocusInternal() part 2/5
  Simplify IMMS#startInputOrWindowGainedFocusInternal() part 1/5
  Fix a typo in an error message in InputMethodManagerService

5 years agoMerge "Add testStartHomeOnAllDisplays back"
TreeHugger Robot [Tue, 29 Jan 2019 01:03:29 +0000 (01:03 +0000)]
Merge "Add testStartHomeOnAllDisplays back"

5 years agoMerge "MetadataRetriever: Unhide Exif-related constants"
Jin Seok Park [Tue, 29 Jan 2019 00:49:37 +0000 (00:49 +0000)]
Merge "MetadataRetriever: Unhide Exif-related constants"

5 years agoMerge "Add API for checking paused packages."
Julia Reynolds [Tue, 29 Jan 2019 00:46:32 +0000 (00:46 +0000)]
Merge "Add API for checking paused packages."

5 years agoMerge "Keep bubbles behind a flag"
TreeHugger Robot [Tue, 29 Jan 2019 00:40:45 +0000 (00:40 +0000)]
Merge "Keep bubbles behind a flag"

5 years agoMerge "Atom: Add more Bluetooth atoms"
TreeHugger Robot [Tue, 29 Jan 2019 00:22:23 +0000 (00:22 +0000)]
Merge "Atom: Add more Bluetooth atoms"

5 years agoMerge "Atom: Add A2DP playback related atoms to StatsLog"
TreeHugger Robot [Tue, 29 Jan 2019 00:10:37 +0000 (00:10 +0000)]
Merge "Atom: Add A2DP playback related atoms to StatsLog"

5 years agoAdd way to check if user has locked the bubble allowed field
Mady Mellor [Wed, 23 Jan 2019 21:23:37 +0000 (13:23 -0800)]
Add way to check if user has locked the bubble allowed field

Also removes an extra s from a method whoooooops

Bug: 111236845
Test: atest NotificationManagerServiceTest
Change-Id: I1f77afd10b322088aa9cb39b65d70cbd84fb6dc4

5 years agoMerge "Removed AppUsageLimit#isGroupLimit API."
Varun Shah [Mon, 28 Jan 2019 23:53:01 +0000 (23:53 +0000)]
Merge "Removed AppUsageLimit#isGroupLimit API."

5 years agoMerge "Removed CrossProfileApps#startAnyActivity API."
Varun Shah [Mon, 28 Jan 2019 23:52:36 +0000 (23:52 +0000)]
Merge "Removed CrossProfileApps#startAnyActivity API."

5 years agoMerge "Suppress IllegalArgumentException on API 28 or before"
TreeHugger Robot [Mon, 28 Jan 2019 23:14:47 +0000 (23:14 +0000)]
Merge "Suppress IllegalArgumentException on API 28 or before"

5 years agoMerge "Fix for CTS testAllowWhileIdleJobInTempwhitelist"
TreeHugger Robot [Mon, 28 Jan 2019 23:08:46 +0000 (23:08 +0000)]
Merge "Fix for CTS testAllowWhileIdleJobInTempwhitelist"

5 years agoMerge "Move SettingsLib icons to android."
TreeHugger Robot [Mon, 28 Jan 2019 22:49:36 +0000 (22:49 +0000)]
Merge "Move SettingsLib icons to android."

5 years agoMerge "Allow ManagedProvisioning to access imei and serial number."
TreeHugger Robot [Mon, 28 Jan 2019 22:45:25 +0000 (22:45 +0000)]
Merge "Allow ManagedProvisioning to access imei and serial number."

5 years agoEnforce MANAGE_APP_PREDICTIONS on getShareTargets
Mehdi Alizadeh [Sat, 26 Jan 2019 00:59:54 +0000 (16:59 -0800)]
Enforce MANAGE_APP_PREDICTIONS on getShareTargets

Bug: 120099033
Test: atest ShortcutManagerTest1
Change-Id: I4e105207558e00d7e802999db0b4d4d6880ca05a

5 years agoMerge "Defer broadcasts to slow-handling apps"
Chris Tate [Mon, 28 Jan 2019 22:30:26 +0000 (22:30 +0000)]
Merge "Defer broadcasts to slow-handling apps"

5 years agoAdd Bitmap.setColorSpace()
Derek Sollenberger [Mon, 14 Jan 2019 18:55:08 +0000 (13:55 -0500)]
Add Bitmap.setColorSpace()

Bug: 120904891
Test: CtsGraphicsTestCases
Change-Id: I30be2cd77d810210ad87b281e6bb5587863982c3

5 years agoMerge "Camera: Add support for dynamic depth image format"
TreeHugger Robot [Mon, 28 Jan 2019 22:21:46 +0000 (22:21 +0000)]
Merge "Camera: Add support for dynamic depth image format"

5 years agoMerge "MediaPlayer2: create one MediaDrm per DRM scheme"
Robert Shih [Mon, 28 Jan 2019 22:21:23 +0000 (22:21 +0000)]
Merge "MediaPlayer2: create one MediaDrm per DRM scheme"

5 years agoMerge "Always copy value from DeviceConfig."
Jeff Sharkey [Mon, 28 Jan 2019 22:19:31 +0000 (22:19 +0000)]
Merge "Always copy value from DeviceConfig."

5 years agoMerge "Update big clock when theme (overlay) changes."
TreeHugger Robot [Mon, 28 Jan 2019 22:14:57 +0000 (22:14 +0000)]
Merge "Update big clock when theme (overlay) changes."

5 years agoKeep bubbles behind a flag
Mady Mellor [Mon, 28 Jan 2019 19:21:51 +0000 (11:21 -0800)]
Keep bubbles behind a flag

Alter tests to ignore the flags so they don't fail.

Test: manual - make sure no bubbles show up
      atest BubbleControllerTest
Bug: 111236845
Change-Id: Ieed38165a3699415686ef299cd54da69d7a37cea

5 years agoMerge "passpoint: remove @throws UnsupportedOperationException"
TreeHugger Robot [Mon, 28 Jan 2019 22:02:10 +0000 (22:02 +0000)]
Merge "passpoint: remove @throws UnsupportedOperationException"

5 years agoMerge "Fix typo in hci/enums.proto: OCCURED -> OCCURRED"
Muhammad Qureshi [Mon, 28 Jan 2019 22:00:05 +0000 (22:00 +0000)]
Merge "Fix typo in hci/enums.proto: OCCURED -> OCCURRED"

5 years agoAtom: Add more Bluetooth atoms
Jack He [Mon, 21 Jan 2019 05:22:46 +0000 (21:22 -0800)]
Atom: Add more Bluetooth atoms

* BluetoothHciTimeoutReported is logged when Bluetooth controller
  failed to respond to an HCI command in time
* BluetoothQualityReportReported is logged when Bluetooth controller
  sends a link quality report event to Android host due to bad link
  quality
* BluetoothManufacturerInfoReported is logged when we learn about
  manufactuer defined metadata for a device such as manufactuer name
  model number, software version, and hardware version
* BluetoothRemoteVersionInfoReported is logged when we learn about
  the manufactuer and Bluetooth version of remote Bluetooth controller
  and stack
* BluetoothSdpAttributeReported is logged when we learn about services
  provided by the remote device and their metdata such as protocol
  version and feature bitmask. Only profiles that use 16-bit UUIDs are
  logged
* BluetoothBondStateChanged is logged when Bluetooth bonding state is
  changed a a macro level such as none -> bonding, bonding -> bonded,
  and user interaction events such as passkey confirmation
* BluetoothClassicPairingEventReported is logged from native layer
  when Bluetooth classic pairing state changed due to HCI command
  or events. This is a more verbose level logging compared to
  BluetoothBondStateChanged
* BluetoothSmpPairingEventReported is logged from native layer when
  Bluetooth Security Manager Protocol based pairing state changed due to
  SMP command sent or received. Pairing failure reason code is also
  logged as a pre-defined enum

Bug: 112969790
Test: test drive with statsd
Change-Id: I94d1530758f79ce6d5f119426b1379c76517afec

5 years agoAtom: Add A2DP playback related atoms to StatsLog
Jack He [Thu, 10 Jan 2019 04:54:41 +0000 (20:54 -0800)]
Atom: Add A2DP playback related atoms to StatsLog

* BluetoothA2dpPlaybackStateChanged:
  - Logged when A2DP playback state changed for individual devices
* BluetoothA2dpCodecConfigChanged
  - Logged when A2DP codec configuration changed for individual devices
* BluetoothA2dpCodecCapabilityChanged
  - Logged when A2DP codec capability changed for individual devices
* BluetoothActiveDeviceChanged
  - Logged when A2DP/HFP/HEARNING_AID active device changed
* BluetoothA2dpAudioOverrunReported
  - Logs when A2DP failed send encoded data to the remote device fast
    enough such that the transmit buffer queue is full and we have to
    drop data
* BluetoothA2dpAudioUnderrunReported
  - Logs when A2DP failed to read from PCM source
* BluetoothDeviceRssiReported
  - Logged when remote device's RSSI level is reported by the controller
* BluetoothDeviceFailedContactCounterReported
  - Logged when ACL transmit queue was flushed by the controller
  - This is normally disabled unless we set automatic flush timeout was
    set to a non-zero value
  - However, when this event is reported, the connection quality must
    be very bad
* BluetoothDeviceTxPowerLevelReported
  - Logged when transmit power level is reported for a particular
    connection

Bug: 112969790
Test: make, testdrive with statsd
Change-Id: I7deb85567630fae75be733df21b45f9c6bcf9e17

5 years agoTurning on job quotas by default.
Kweku Adams [Sat, 26 Jan 2019 02:43:15 +0000 (18:43 -0800)]
Turning on job quotas by default.

Bug: 111423978
Bug: 117846754
Test: atest com.android.server.job.controllers.QuotaControllerTest
Test: atest JobThrottlingTest
Change-Id: If4fe1e1fce7d8592eb628c13784b49781120fa11

5 years agoMerge "Annotation processing for int enum and flag mapping"
TreeHugger Robot [Mon, 28 Jan 2019 21:21:05 +0000 (21:21 +0000)]
Merge "Annotation processing for int enum and flag mapping"

5 years agoMerge "AML: Handle NoDisplayActivities correctly"
TreeHugger Robot [Mon, 28 Jan 2019 21:06:24 +0000 (21:06 +0000)]
Merge "AML: Handle NoDisplayActivities correctly"

5 years agoMerge "Fix use of deprecated SoundPool API in Keyguard"
TreeHugger Robot [Mon, 28 Jan 2019 21:05:56 +0000 (21:05 +0000)]
Merge "Fix use of deprecated SoundPool API in Keyguard"

5 years agoMerge "Update night mode Theme.DeviceDefault.Settings"
TreeHugger Robot [Mon, 28 Jan 2019 21:03:52 +0000 (21:03 +0000)]
Merge "Update night mode Theme.DeviceDefault.Settings"

5 years agoMerge "com_android_internal_os_AtomicDirectory.cpp: add O_CLOEXEC"
TreeHugger Robot [Mon, 28 Jan 2019 21:03:48 +0000 (21:03 +0000)]
Merge "com_android_internal_os_AtomicDirectory.cpp: add O_CLOEXEC"

5 years agoMerge "Removed userId from ContentCapture binder calls."
TreeHugger Robot [Mon, 28 Jan 2019 21:03:45 +0000 (21:03 +0000)]
Merge "Removed userId from ContentCapture binder calls."

5 years agoMerge "Add a flags to AttentionManagerService"
Alex Salo [Mon, 28 Jan 2019 21:02:43 +0000 (21:02 +0000)]
Merge "Add a flags to AttentionManagerService"

5 years agoMerge "Add logging to statsd for job constraint changes."
Kweku Adams [Mon, 28 Jan 2019 20:46:54 +0000 (20:46 +0000)]
Merge "Add logging to statsd for job constraint changes."

5 years agoAdd ACQUIRED_START message
Kevin Chyn [Mon, 28 Jan 2019 20:46:22 +0000 (12:46 -0800)]
Add ACQUIRED_START message

Change-Id: I59ca30d9c1ba9634b6af0c0a13776ae54456f925
Fixes: 123520106
Bug: 117060268

5 years agoDefer broadcasts to slow-handling apps
Christopher Tate [Fri, 18 Jan 2019 00:58:31 +0000 (16:58 -0800)]
Defer broadcasts to slow-handling apps

When an app takes a long time to handle broadcasts, we start deferring
further broadcasts to it to make sure that other broadcast traffic in
the system can continue to make progress.  Global delivery order is
technically rearranged, but delivery order from the point of view of any
given app remains consistent with issuance order.

When alarm broadcasts are issued, we prioritize delivery of deferred
alarms to the alarm recipients (i.e. we suspend the deferral policy and
catch up as promptly as possible) in order to minimize wake time spent
waiting for the alarm broadcast to be delivered.  Once an app with a
deferred broadcast backlog is no longer the target of an in-flight
alarm, we re-impose deferral policy on it.

This policy intentionally trades off increased broadcast delivery
latency to apps that take a "long" time to handle broadcasts, in
exchange for lowering delivery latency to all other apps in the system
that would previously have had to wait behind the slow app.

In addition, broadcast dispatch policy parameters can now be overlaid
via the usual global Settings mechanism.  In particular, configuring the
"bcast_slow_time" parameter to a value in milliseconds higher than the
queue's broadcast timeout period will disable the new slow-receiver
policies.

Bug: 111404343
Test: device boots & runs
Test: tests/ActivityTests
Change-Id: I76ac79bdf41ca3cfcc48515bca779ea0f5744c0b

5 years agoAlways copy value from DeviceConfig.
Jeff Sharkey [Mon, 28 Jan 2019 20:31:50 +0000 (13:31 -0700)]
Always copy value from DeviceConfig.

The value could have been set during a previous boot, before we
started watching for dynamic changes, so always pick up the current
value from DeviceConfig.

Bug: 112545973
Test: manual
Change-Id: I84fe655718ee444f073f53d53af246baf96e04fa

5 years agoMerge "Report top resumed activity state change"
Andrii Kulian [Mon, 28 Jan 2019 20:22:47 +0000 (20:22 +0000)]
Merge "Report top resumed activity state change"

5 years agoMerge "audio: add JNI AudioAttribute helper class"
Eric Laurent [Mon, 28 Jan 2019 20:19:31 +0000 (20:19 +0000)]
Merge "audio: add JNI AudioAttribute helper class"

5 years agoMerge "Fix ImageReader#newInstace with usage"
John Reck [Mon, 28 Jan 2019 20:17:25 +0000 (20:17 +0000)]
Merge "Fix ImageReader#newInstace with usage"

5 years agoMerge "Send share events to App Predictor."
TreeHugger Robot [Mon, 28 Jan 2019 20:12:31 +0000 (20:12 +0000)]
Merge "Send share events to App Predictor."

5 years agoMerge "Further Credentials-related clean-up"
TreeHugger Robot [Mon, 28 Jan 2019 19:48:44 +0000 (19:48 +0000)]
Merge "Further Credentials-related clean-up"

5 years agoMerge "Clean up build rule for libmedia2_jni"
TreeHugger Robot [Mon, 28 Jan 2019 19:45:27 +0000 (19:45 +0000)]
Merge "Clean up build rule for libmedia2_jni"

5 years agoRemoved userId from ContentCapture binder calls.
Felipe Leme [Mon, 28 Jan 2019 18:38:46 +0000 (10:38 -0800)]
Removed userId from ContentCapture binder calls.

It should be infered on the server side..

Bug: 123516968

Test: atest CtsContentCaptureServiceTestCases

Change-Id: If6ccf2fa86adb55f43c4b3ffa8b58661ef16dabb

5 years agoMerge "Add a constant for ISDB_S3"
TreeHugger Robot [Mon, 28 Jan 2019 19:17:09 +0000 (19:17 +0000)]
Merge "Add a constant for ISDB_S3"

5 years agoMerge "Only log aborted activity background starts to TRON"
TreeHugger Robot [Mon, 28 Jan 2019 19:15:40 +0000 (19:15 +0000)]
Merge "Only log aborted activity background starts to TRON"

5 years agoFix use of deprecated SoundPool API in Keyguard
Jean-Michel Trivi [Mon, 28 Jan 2019 18:57:21 +0000 (10:57 -0800)]
Fix use of deprecated SoundPool API in Keyguard

Don't use stream types for operations other than volume
  control.

Bug: 122901916
Test: verify logcat doesn't show warnings, see bug
Change-Id: I46143e53978226f6f660c92e85e7b0b1b0a37622

5 years agoMerge "Reset visibility before creating leash"
Jorim Jaggi [Mon, 28 Jan 2019 18:58:41 +0000 (18:58 +0000)]
Merge "Reset visibility before creating leash"

5 years agoFix typo in hci/enums.proto: OCCURED -> OCCURRED
Muhammad Qureshi [Fri, 25 Jan 2019 23:28:02 +0000 (15:28 -0800)]
Fix typo in hci/enums.proto: OCCURED -> OCCURRED

Test: none

Change-Id: I755b3140b550ade5078c946c1d4ee910bd47b5ad

5 years agopasspoint: remove @throws UnsupportedOperationException
Ecco Park [Mon, 28 Jan 2019 16:43:05 +0000 (08:43 -0800)]
passpoint: remove @throws UnsupportedOperationException

Update the javadoc for Passpoint APIs to remove @throws
UnsupportedOperation Exception when the Passpoint is not enabled on the
device.

Bug: 121078741
Test: ./frameworks/base/wifi/tests/runtests.sh
Change-Id: I087a595c04b926a76b6ea9d6f2a475e12033815b
Signed-off-by: Ecco Park <eccopark@google.com>
5 years agoAdd logging to statsd for job constraint changes.
Kweku Adams [Wed, 12 Dec 2018 04:06:45 +0000 (20:06 -0800)]
Add logging to statsd for job constraint changes.

Bug: 117846754
Bug: 111423978
Bug: 120941744
Test: `make statsd_testdrive &&
./out/host/linux-x86/bin/statsd_testdrive 150` and check output

Change-Id: Iadfdb07171b8d4f99b8f57008cc7c1fc2865bb8e

5 years agoMediaPlayer2: create one MediaDrm per DRM scheme
Robert Shih [Fri, 25 Jan 2019 22:42:53 +0000 (14:42 -0800)]
MediaPlayer2: create one MediaDrm per DRM scheme

Required for offline ClearKey playback.

Bug: 123425309
Test: MediaPlayer2DrmTest
Change-Id: Ib49666eb9807ed5ad04b51c626a2b5fc7158b4e6

5 years agocom_android_internal_os_AtomicDirectory.cpp: add O_CLOEXEC
Nick Kralevich [Mon, 28 Jan 2019 18:34:43 +0000 (10:34 -0800)]
com_android_internal_os_AtomicDirectory.cpp: add O_CLOEXEC

Ensure that file descriptors don't leak across an execve() boundary by
adding O_CLOEXEC

Test: compiles and boots
Change-Id: I7bd4b5aa03adf0ac372575b5251226f8b5e231ff

5 years agoAllow ManagedProvisioning to access imei and serial number.
yuemingw [Mon, 28 Jan 2019 18:32:27 +0000 (18:32 +0000)]
Allow ManagedProvisioning to access imei and serial number.

Bug: 122721358
Test: manual
Change-Id: I0d8f191f4f1bc1d8a87842db717af329681b012a

5 years agoMerge "Added a broadcast intent for clients to listen for country changes"
Jack Yu [Mon, 28 Jan 2019 18:28:23 +0000 (18:28 +0000)]
Merge "Added a broadcast intent for clients to listen for country changes"

5 years agoAnnotation processing for int enum and flag mapping
Ashley Rose [Fri, 25 Jan 2019 20:41:29 +0000 (15:41 -0500)]
Annotation processing for int enum and flag mapping

Bug: 117616612
Test: atest --host view-inspector-annotation-processor-test
Change-Id: I791ffd8ce6bf6ec3ba408bb2a781fd91871b0ed6

5 years agoAdd a flags to AttentionManagerService
Alex Salo [Fri, 25 Jan 2019 19:50:38 +0000 (11:50 -0800)]
Add a flags to AttentionManagerService

Additionally, simplify some flag names.

Test: manually tested, works as expected
Bug: 111939367
Change-Id: I8c2702dbbaf964096d6907cbcd6c90dfd38b7d07

5 years agoaudio: add JNI AudioAttribute helper class
François Gaffie [Mon, 9 Jul 2018 11:07:32 +0000 (13:07 +0200)]
audio: add JNI AudioAttribute helper class

-Factorize code between AudioRecord & AudioTrack
-Prevent memory leak

Test: Audio capture and playback smoke tests

Change-Id: I06a06cd607754fbbc3e74dd38a66994873c8d9d1
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
5 years agoMerge "Pipe IME state into insets (IME transitions 3/n)"
Tarandeep Singh [Mon, 28 Jan 2019 18:14:34 +0000 (18:14 +0000)]
Merge "Pipe IME state into insets (IME transitions 3/n)"

5 years agoEnable per-profile IME by default
Yohei Yukawa [Mon, 28 Jan 2019 18:10:22 +0000 (10:10 -0800)]
Enable per-profile IME by default

With this CL, per-profile IME will be enabled by default.

Note that on debuggable builds (Build.IS_DEBUGGABLE == true),
developers can still disable per-profile IME mode as follows.

  adb root
  adb shell setprop persist.debug.per_profile_ime 0
  adb reboot

Note that multi-client IME [1] is a completely different story,
because it was designed to be fully multi-user / multi-profile aware
since its begging.  Enabling multi-client mode means that per-profile
mode is always enabled, because that's the only mode that
MultiClientInputMethodManagerService supports.

 [1]: I41dfe854557b178d8af740bc2869c936fc88608b
      bae5bea23cfac3769569a230b56ad85cdd000675

Fix: 63907246
Fix: 111083076
Test: atest CtsAdminTestCases CtsDevicePolicyManagerTestCases
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Test: Did multiple manual tests.
  * OTA scenario from older builds
  * Unlocking devices by typing password
  * App focus changes between personal apps and work apps
  * Direct-reply notifications from personal / work users
  * IME whitelist is only enforced to work IME settings
Change-Id: I854ce92b2bf3aab49f14f6cde444acf2182b9ad0

5 years agoMerge "Data profile refactoring"
TreeHugger Robot [Mon, 28 Jan 2019 18:08:56 +0000 (18:08 +0000)]
Merge "Data profile refactoring"

5 years agoMerge "Correct SurfaceView background visibility."
TreeHugger Robot [Mon, 28 Jan 2019 18:03:24 +0000 (18:03 +0000)]
Merge "Correct SurfaceView background visibility."

5 years agoMerge "Fix expansion change is not reported if the notification is updated"
TreeHugger Robot [Mon, 28 Jan 2019 18:02:04 +0000 (18:02 +0000)]
Merge "Fix expansion change is not reported if the notification is updated"

5 years agoMerge "Update smart reply/action sizes to follow mocks."
Gustav Sennton [Mon, 28 Jan 2019 17:56:52 +0000 (17:56 +0000)]
Merge "Update smart reply/action sizes to follow mocks."

5 years agoAML: Handle NoDisplayActivities correctly
Vishnu Nair [Mon, 28 Jan 2019 17:49:51 +0000 (09:49 -0800)]
AML: Handle NoDisplayActivities correctly

There is a race when trying to determine if the launching activity is a trampoline activity or if
its a NoDisplay activity that will never draw on screen.

If the activity becomes invisible, its visible state in ActivityRecord may not change to invisible
before the activity finishes. This is a quick fix to also check if ActivityRecord is finishing to
determine if the activity is no longer visible.

Bug: 80380150
Test: atest CtsActivityManagerDeviceTestCases:ActivityMetricsLoggerTests
Change-Id: I55251f03db7390d6a3465eff851c4635680a2e07
(cherry picked from commit 6397dd1c922697b4cf09dd23124f67d0578328b4)

5 years agoSend share events to App Predictor.
George Hodulik [Fri, 25 Jan 2019 20:43:54 +0000 (12:43 -0800)]
Send share events to App Predictor.

Bug: 123377860
Test: Checked logs that the shortcutIds and ComponentNames
match in convertToChooserTargets and sendClickToAppPredictor.

Change-Id: I25ae43d1c26ef41ba1076a7648be35ecc04b664d

5 years agoMerge "Added tap behavior to rows in OngoingPrivacyDialog"
TreeHugger Robot [Mon, 28 Jan 2019 17:42:14 +0000 (17:42 +0000)]
Merge "Added tap behavior to rows in OngoingPrivacyDialog"

5 years agoMediaController: Remove unused constructors
Jaewan Kim [Mon, 28 Jan 2019 17:30:21 +0000 (02:30 +0900)]
MediaController: Remove unused constructors

Bug: 123488663
Test: Build
Change-Id: I6bda318c5d8a83c4f833fe737a7b68229933c0b9

5 years agoMake ISessionManager.getSessions() return list of tokens
Hyundo Moon [Mon, 28 Jan 2019 03:34:53 +0000 (12:34 +0900)]
Make ISessionManager.getSessions() return list of tokens

This CL changes the return type of ISessionManager.getSessions()
from List<ControllerLink> to List<MediaSession.Token>.

Bug: 123488663
Test: Ran below tests
atest CtsMediaTestCases:android.media.cts.MediaSessionTest;
atest CtsMediaTestCases:android.media.cts.MediaControllerTest;
atest CtsMediaTestCases:android.media.cts.MediaSessionManagerTest;
Change-Id: Ie4d259dc3691977451c7751ae06816d67079a3f4

5 years agoMerge "Create public intent for dpp configurator activity"
Salvador Martinez [Mon, 28 Jan 2019 17:35:41 +0000 (17:35 +0000)]
Merge "Create public intent for dpp configurator activity"

5 years agoMerge "Reset per-pkg app-ops for runtime permissions"
Philip P. Moltmann [Mon, 28 Jan 2019 17:04:24 +0000 (17:04 +0000)]
Merge "Reset per-pkg app-ops for runtime permissions"

5 years agoMerge "Avoid sending broadcasts before boot completes."
TreeHugger Robot [Mon, 28 Jan 2019 17:01:22 +0000 (17:01 +0000)]
Merge "Avoid sending broadcasts before boot completes."

5 years agoMerge "Merge "Remove unused library framework-oahl-backward-compatibility" am: 2111ae...
Android Build Merger (Role) [Mon, 28 Jan 2019 16:58:28 +0000 (16:58 +0000)]
Merge "Merge "Remove unused library framework-oahl-backward-compatibility" am: 2111aeb289 am: 6581b4116b am: 14e472690a"

5 years agoMerge "Remove unused library framework-oahl-backward-compatibility" am: 2111aeb289...
Paul Duffin [Mon, 28 Jan 2019 16:57:49 +0000 (08:57 -0800)]
Merge "Remove unused library framework-oahl-backward-compatibility" am: 2111aeb289 am: 6581b4116b
am: 14e472690a

Change-Id: I818ae412e68994c7ec32a13496064ae85457a6f7

5 years agoMerge "Enable Looper stats"
Olivier Gaillard [Mon, 28 Jan 2019 16:53:52 +0000 (16:53 +0000)]
Merge "Enable Looper stats"

5 years agoMerge "Add gaillard@ to owners." am: 1e02188bfe am: 78d79c5d5f
Olivier Gaillard [Mon, 28 Jan 2019 16:45:02 +0000 (08:45 -0800)]
Merge "Add gaillard@ to owners." am: 1e02188bfe am: 78d79c5d5f
am: d4aa9d051d

Change-Id: I2bf7c9529616dd1d703b5c8b97957f4affb2901f

5 years agoMerge "Remove unused library framework-oahl-backward-compatibility" am: 2111aeb289
Paul Duffin [Mon, 28 Jan 2019 16:42:14 +0000 (08:42 -0800)]
Merge "Remove unused library framework-oahl-backward-compatibility" am: 2111aeb289
am: 6581b4116b

Change-Id: I122a8f00652adf4134aef85e7af3d4ca79b56518

5 years agoMerge "Add @UnsupportedAppUsage to methods known to be used by apps" am: faedae5981...
David Brazdil [Mon, 28 Jan 2019 16:33:18 +0000 (08:33 -0800)]
Merge "Add @UnsupportedAppUsage to methods known to be used by apps" am: faedae5981 am: fe642a81d9
am: 47b4ad2c13

Change-Id: I6a85a7960825a6f2471338b17f8b9cf8497b8e10

5 years agoMerge "Add gaillard@ to owners." am: 1e02188bfe
Olivier Gaillard [Mon, 28 Jan 2019 16:30:48 +0000 (08:30 -0800)]
Merge "Add gaillard@ to owners." am: 1e02188bfe
am: 78d79c5d5f

Change-Id: I3ae2a1953d9a6e22aa972552f7afc7abfb8d11d1

5 years agoMerge "Add @UnsupportedAppUsage to methods known to be used by apps" am: faedae5981
David Brazdil [Mon, 28 Jan 2019 16:24:04 +0000 (08:24 -0800)]
Merge "Add @UnsupportedAppUsage to methods known to be used by apps" am: faedae5981
am: fe642a81d9

Change-Id: I927ed3371a0f6df6182999fb188d040af28289e6

5 years agoMerge "Remove unused library framework-oahl-backward-compatibility"
Paul Duffin [Mon, 28 Jan 2019 16:18:21 +0000 (08:18 -0800)]
Merge "Remove unused library framework-oahl-backward-compatibility"
am: 2111aeb289

Change-Id: I0ae3adfa825565c6e0f3321ace47dcee897eb337

5 years agoMerge "Add gaillard@ to owners."
Olivier Gaillard [Mon, 28 Jan 2019 16:14:05 +0000 (08:14 -0800)]
Merge "Add gaillard@ to owners."
am: 1e02188bfe

Change-Id: Ibb94159565a70a597de098f79c13c6a991e3ebcc

5 years agoMerge "Add @UnsupportedAppUsage to methods known to be used by apps"
David Brazdil [Mon, 28 Jan 2019 16:10:41 +0000 (08:10 -0800)]
Merge "Add @UnsupportedAppUsage to methods known to be used by apps"
am: faedae5981

Change-Id: I5263e1aa1a3a14fab7feb15acd3295f11dee0b15

5 years agoMerge "Update FileObserver to be able to watch multiple files."
Sudheer Shanka [Mon, 28 Jan 2019 16:01:50 +0000 (16:01 +0000)]
Merge "Update FileObserver to be able to watch multiple files."

5 years agoPipe IME state into insets (IME transitions 3/n)
Tarandeep Singh [Fri, 25 Jan 2019 19:47:57 +0000 (11:47 -0800)]
Pipe IME state into insets (IME transitions 3/n)

Add a IME state changes callback that pipes IME state into the Inset
consumer.

Bug: 118599175
Bug: 118118435
Test: atest InsetControllerTest
Test: atest InsetSourceConsumerTest
Test: atest ImeInsetsSourceConsumerTest

Change-Id: Id878226418e19cdf0499a0094f1d5c47fea33125

5 years agoMerge "Add API in SmsManager to return sms messages for financial app."
Hongming Jin [Mon, 28 Jan 2019 15:57:32 +0000 (15:57 +0000)]
Merge "Add API in SmsManager to return sms messages for financial app."

5 years agoAdded tap behavior to rows in OngoingPrivacyDialog
Fabian Kozynski [Mon, 28 Jan 2019 15:35:28 +0000 (10:35 -0500)]
Added tap behavior to rows in OngoingPrivacyDialog

The rows now direct to Permission Hub information for that app.

Test: manual
Test: previous Unit tests passing
Change-Id: I09e1205ee2340f5095c9c59414ddd9db440915b7
Fixes: 123415277

5 years agoMerge "Remove unused library framework-oahl-backward-compatibility"
Paul Duffin [Mon, 28 Jan 2019 15:40:13 +0000 (15:40 +0000)]
Merge "Remove unused library framework-oahl-backward-compatibility"

5 years agoMerge "Add gaillard@ to owners."
Treehugger Robot [Mon, 28 Jan 2019 15:37:24 +0000 (15:37 +0000)]
Merge "Add gaillard@ to owners."

5 years agoAdd notification category information to notification logging.
Will Brockman [Mon, 28 Jan 2019 14:55:45 +0000 (09:55 -0500)]
Add notification category information to notification logging.

Capturing the app-declared notification category:
https://developer.android.com/training/notify-user/build-notification#system-category

Adding to StatusBarNotification.getLogMaker() means that it will be
put on many categories of notification logging automatically.  No
extra data usage for notifications where the category was not
declared.

Bug: 123071368
Test: atest SystemUITests and manual test
Change-Id: I8f59fea1a8e7c98366fe888cf5a28cf252859fdf