OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Do not synchronize if not necessary"
TreeHugger Robot [Fri, 1 Feb 2019 21:49:39 +0000 (21:49 +0000)]
Merge "Do not synchronize if not necessary"

5 years agoMerge "Add PermissionGrantRequestResultReported atom"
Philip P. Moltmann [Fri, 1 Feb 2019 21:48:00 +0000 (21:48 +0000)]
Merge "Add PermissionGrantRequestResultReported atom"

5 years ago[automerger skipped] Merge "Use the correct Smart Storage flag in SettingsLib." into...
Daniel Nishi [Fri, 1 Feb 2019 21:41:41 +0000 (13:41 -0800)]
[automerger skipped] Merge "Use the correct Smart Storage flag in SettingsLib." into pi-dev am: b8c9dace53
am: 8970bc35e6 -s ours
am skip reason: change_id I9802d307597d90514e7dc6631998daa1d2fab253 with SHA1 10a6994d86 is in history

Change-Id: I750ec81ea085bccd57b1800ebc00dfe543be4434

5 years agoMerge "Fix log spam "Local tv device not available"."
TreeHugger Robot [Fri, 1 Feb 2019 21:37:38 +0000 (21:37 +0000)]
Merge "Fix log spam "Local tv device not available"."

5 years agoMerge "[viewcompiler] Support more than 16 registers in invoke instructions" am:...
Eric Holk [Fri, 1 Feb 2019 21:32:41 +0000 (13:32 -0800)]
Merge "[viewcompiler] Support more than 16 registers in invoke instructions" am: f96ebc501e am: 18fa74cbe4
am: 1660db4818

Change-Id: Ie3c443c1cff90d5bbceb4a067963f1009259de7f

5 years agoMerge "Small fixes in PermissionControllerManager/Service"
TreeHugger Robot [Fri, 1 Feb 2019 21:27:32 +0000 (21:27 +0000)]
Merge "Small fixes in PermissionControllerManager/Service"

5 years ago[automerger skipped] Merge "Refresh cardId before using it." am: 84d250c18d am: 5b3ac...
Jordan Liu [Fri, 1 Feb 2019 21:21:16 +0000 (13:21 -0800)]
[automerger skipped] Merge "Refresh cardId before using it." am: 84d250c18d am: 5b3acb8d9b
am: 9bf9e54f9a -s ours
am skip reason: change_id I30d70b839f05183ad201a114ea12c79c730f4206 with SHA1 b94f8d3fb3 is in history

Change-Id: I207cb6897bb39f93ab0f00b158ce71b7718fa4d3

5 years agoMerge "Use the correct Smart Storage flag in SettingsLib." into pi-dev
Daniel Nishi [Fri, 1 Feb 2019 21:16:06 +0000 (13:16 -0800)]
Merge "Use the correct Smart Storage flag in SettingsLib." into pi-dev
am: b8c9dace53

Change-Id: Id04613a0bbe6c2147a9fc176c5add96d12ed6d46

5 years agoMerge "Use default zen policy's callers/messages"
Beverly Tai [Fri, 1 Feb 2019 21:10:15 +0000 (21:10 +0000)]
Merge "Use default zen policy's callers/messages"

5 years agoMerge "Remove unused constant PROPERTY_CEC_AUDIO_DEVICE_FORWARD_VOLUME_KEYS_SYSTEM_AU...
TreeHugger Robot [Fri, 1 Feb 2019 21:07:28 +0000 (21:07 +0000)]
Merge "Remove unused constant PROPERTY_CEC_AUDIO_DEVICE_FORWARD_VOLUME_KEYS_SYSTEM_AUDIO_MODE_OFF"

5 years agoMerge "Deprecate acceptRingingCall and endCall." am: 6e3a88a3e2 am: 280019629c
Tyler Gunn [Fri, 1 Feb 2019 21:06:23 +0000 (13:06 -0800)]
Merge "Deprecate acceptRingingCall and endCall." am: 6e3a88a3e2 am: 280019629c
am: 994c17768a

Change-Id: I10fee83408de8a1af75555eedf2403dfdbc4b857

5 years agoMerge "Fix the wrong assignment" am: cf74daba15 am: f8e84f8434
Kyeongkab.Nam [Fri, 1 Feb 2019 20:56:15 +0000 (12:56 -0800)]
Merge "Fix the wrong assignment" am: cf74daba15 am: f8e84f8434
am: ab9b774cd6

Change-Id: Ia1e996ee23e8fbd6697382881560457d1cfb078e

5 years agoMerge "Use the correct Smart Storage flag in SettingsLib." into pi-dev
Daniel Nishi [Fri, 1 Feb 2019 20:44:53 +0000 (20:44 +0000)]
Merge "Use the correct Smart Storage flag in SettingsLib." into pi-dev

5 years agoMerge "[viewcompiler] Support more than 16 registers in invoke instructions" am:...
Eric Holk [Fri, 1 Feb 2019 20:44:32 +0000 (12:44 -0800)]
Merge "[viewcompiler] Support more than 16 registers in invoke instructions" am: f96ebc501e
am: 18fa74cbe4

Change-Id: I2bbe8793d7bf3b1e06ec5576ba250f10a0f9c304

5 years agoMerge "Refresh cardId before using it." am: 84d250c18d
Jordan Liu [Fri, 1 Feb 2019 20:38:36 +0000 (12:38 -0800)]
Merge "Refresh cardId before using it." am: 84d250c18d
am: 5b3acb8d9b

Change-Id: Ie57153839c499d9972cd6267c4f926525fed1fde

5 years agoMerge "Update TypedArray and TypedValue to store source layouts."
Aurimas Liutikas [Fri, 1 Feb 2019 20:35:23 +0000 (20:35 +0000)]
Merge "Update TypedArray and TypedValue to store source layouts."

5 years agoMerge "Deprecate acceptRingingCall and endCall." am: 6e3a88a3e2
Tyler Gunn [Fri, 1 Feb 2019 20:31:53 +0000 (12:31 -0800)]
Merge "Deprecate acceptRingingCall and endCall." am: 6e3a88a3e2
am: 280019629c

Change-Id: Ie2bc60b8c8f5abc1651944fa3f927b23ab545d0f

5 years agoMerge "Fix the wrong assignment" am: cf74daba15
Kyeongkab.Nam [Fri, 1 Feb 2019 20:22:49 +0000 (12:22 -0800)]
Merge "Fix the wrong assignment" am: cf74daba15
am: f8e84f8434

Change-Id: Ib97f79abfe85c7bb2b94aaa44a573d1cba15c329

5 years agoFix log spam "Local tv device not available".
Amy [Wed, 23 Jan 2019 22:17:50 +0000 (14:17 -0800)]
Fix log spam "Local tv device not available".

Test: manual
Bug: 120249926
Change-Id: I07771a2595d1196a773206157444013da4d13b46
(cherry picked from commit 4d3f84608a1e733125286a4b68df188a6bf1da37)

5 years agoMerge "[viewcompiler] Support more than 16 registers in invoke instructions"
Eric Holk [Fri, 1 Feb 2019 19:46:25 +0000 (11:46 -0800)]
Merge "[viewcompiler] Support more than 16 registers in invoke instructions"
am: f96ebc501e

Change-Id: Ie5d39674bd90410e388c8b8c6173fa717fcf11b7

5 years agoSmall fixes in PermissionControllerManager/Service
Philip P. Moltmann [Sun, 20 Jan 2019 17:01:19 +0000 (09:01 -0800)]
Small fixes in PermissionControllerManager/Service

- better names
- broken javadoc
- missing input paramter checks

Bug: 116738135
Test: Built
Change-Id: I6056b46776cf32937a113b99584d138ff423f039

5 years agoMerge "Refresh cardId before using it."
Jordan Liu [Fri, 1 Feb 2019 19:41:40 +0000 (11:41 -0800)]
Merge "Refresh cardId before using it."
am: 84d250c18d

Change-Id: I09076401184087f57d4f15b7934abe603b9b85a2

5 years agoMerge "Prevent reallocation of Surface object in copyFrom"
Rob Carr [Fri, 1 Feb 2019 19:38:22 +0000 (19:38 +0000)]
Merge "Prevent reallocation of Surface object in copyFrom"

5 years agoMerge "Deprecate acceptRingingCall and endCall."
Tyler Gunn [Fri, 1 Feb 2019 19:36:13 +0000 (11:36 -0800)]
Merge "Deprecate acceptRingingCall and endCall."
am: 6e3a88a3e2

Change-Id: I12830995d5a6f14d5aabd30cc084e36b4d4b740c

5 years agoMerge "Fix the wrong assignment"
Kyeongkab.Nam [Fri, 1 Feb 2019 19:27:57 +0000 (11:27 -0800)]
Merge "Fix the wrong assignment"
am: cf74daba15

Change-Id: I1ddab12828584676054e57d317600797564b0921

5 years agoUse default zen policy's callers/messages
Beverly [Fri, 1 Feb 2019 19:02:58 +0000 (14:02 -0500)]
Use default zen policy's callers/messages

Change-Id: I57674466af56cc45aa28b72bd6b346f3e0a1555c
Fixes: 123406095
Test: atest ZenModeConfigTest

5 years agoMerge "Disable force-dark"
TreeHugger Robot [Fri, 1 Feb 2019 19:09:18 +0000 (19:09 +0000)]
Merge "Disable force-dark"

5 years agoRemove unused constant PROPERTY_CEC_AUDIO_DEVICE_FORWARD_VOLUME_KEYS_SYSTEM_AUDIO_MOD...
shubang [Fri, 1 Feb 2019 18:59:54 +0000 (10:59 -0800)]
Remove unused constant PROPERTY_CEC_AUDIO_DEVICE_FORWARD_VOLUME_KEYS_SYSTEM_AUDIO_MODE_OFF

Test: make

Change-Id: Ib922a792778293a1769aae4d6408fcc2cb769b73

5 years agoMerge "Only selected VoiceInteractionService can call methods"
James O'Leary [Fri, 1 Feb 2019 19:00:41 +0000 (19:00 +0000)]
Merge "Only selected VoiceInteractionService can call methods"

5 years agoMerge "[viewcompiler] Support more than 16 registers in invoke instructions"
Treehugger Robot [Fri, 1 Feb 2019 18:57:18 +0000 (18:57 +0000)]
Merge "[viewcompiler] Support more than 16 registers in invoke instructions"

5 years agoMerge "Fix dialer cts test"
Eugene Susla [Fri, 1 Feb 2019 18:27:58 +0000 (18:27 +0000)]
Merge "Fix dialer cts test"

5 years agoMerge "Refresh cardId before using it."
Jordan Liu [Fri, 1 Feb 2019 18:23:26 +0000 (18:23 +0000)]
Merge "Refresh cardId before using it."

5 years agoAdd PermissionGrantRequestResultReported atom
Philip P. Moltmann [Tue, 29 Jan 2019 22:22:48 +0000 (14:22 -0800)]
Add PermissionGrantRequestResultReported atom

Also add a prototype for a future system-api accessible metrics file
that will be auto-generated from atoms.proto

Test: - ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissoncontroller 170
      - triggered permission request
Bug: 123594188123663448
Change-Id: Icede6ff1f12ca79ebad6267c045a4fb3a9955402

5 years agoMerge "Flags instead of booleans for countPermissionApps"
TreeHugger Robot [Fri, 1 Feb 2019 18:21:33 +0000 (18:21 +0000)]
Merge "Flags instead of booleans for countPermissionApps"

5 years ago[Magnifier-77] Show it on long press selection
Mihai Popa [Fri, 1 Feb 2019 15:30:53 +0000 (15:30 +0000)]
[Magnifier-77] Show it on long press selection

Before this CL, the TextView magnifier was shown when selecting text,
but only when a selection handle was explicitly grabbed. This CL also enables
the magnifier when selection is performed by dragging after long press.

Bug: 119819194
Test: manual testing
Change-Id: I415a9c4a91da765db83a3755264b2b19679d0878

5 years agoMerge "Reduce number of calls to getApplicationInfo"
Fabian Kozynski [Fri, 1 Feb 2019 18:06:20 +0000 (18:06 +0000)]
Merge "Reduce number of calls to getApplicationInfo"

5 years agoMerge "AppWindowToken: Guard against null SurfaceControl in prepareSurfaces"
TreeHugger Robot [Fri, 1 Feb 2019 18:03:15 +0000 (18:03 +0000)]
Merge "AppWindowToken: Guard against null SurfaceControl in prepareSurfaces"

5 years agoMerge "Pipe through color sampling to BrightnessChangeEvent"
Kevin DuBois [Fri, 1 Feb 2019 17:42:00 +0000 (17:42 +0000)]
Merge "Pipe through color sampling to BrightnessChangeEvent"

5 years agoMerge "Move getPhoneCount implementation back to TelephonyManager."
Xiangyu/Malcolm Chen [Fri, 1 Feb 2019 17:38:54 +0000 (17:38 +0000)]
Merge "Move getPhoneCount implementation back to TelephonyManager."

5 years agoMerge "Deprecate acceptRingingCall and endCall."
Tyler Gunn [Fri, 1 Feb 2019 17:27:58 +0000 (17:27 +0000)]
Merge "Deprecate acceptRingingCall and endCall."

5 years agoDisable force-dark
Lucas Dupin [Fri, 1 Feb 2019 17:17:16 +0000 (09:17 -0800)]
Disable force-dark

It might invert the status bar and lock screen.

Test: visual
Change-Id: Ifbf68d7dbacb7e97ad441b90be182081619e8f18
Fixes: 123752554

5 years agoMerge "Fix the wrong assignment"
Treehugger Robot [Fri, 1 Feb 2019 16:44:36 +0000 (16:44 +0000)]
Merge "Fix the wrong assignment"

5 years agoMerge "Fix typo"
Makoto Onuki [Fri, 1 Feb 2019 15:52:28 +0000 (15:52 +0000)]
Merge "Fix typo"

5 years agoMerge "Print ANR filename on logcat"
Makoto Onuki [Fri, 1 Feb 2019 15:52:01 +0000 (15:52 +0000)]
Merge "Print ANR filename on logcat"

5 years agoMerge "Allow ActionBarShadowController to attach to Views."
TreeHugger Robot [Fri, 1 Feb 2019 15:50:52 +0000 (15:50 +0000)]
Merge "Allow ActionBarShadowController to attach to Views."

5 years agoMerge "Cache SkImage in SurfaceTexture only if buffer content is same"
TreeHugger Robot [Fri, 1 Feb 2019 15:44:59 +0000 (15:44 +0000)]
Merge "Cache SkImage in SurfaceTexture only if buffer content is same"

5 years agoReduce number of calls to getApplicationInfo
Fabian Kozynski [Fri, 1 Feb 2019 15:14:26 +0000 (10:14 -0500)]
Reduce number of calls to getApplicationInfo

Converted PrivacyApplication calls to PackageManager#getApplicationInfo
to lazy and removed sort by app name in PrivacyDialogBuilder (only the
actual dialog needs that sort). This makes it so the calls to
getApplicationInfo are only realized when needed.

Test: manual using trace-ipc. In one minute of usage, calls are reduced
from ~6000 to 7.
Test: atest
Test: manual, no change in observed behavior
Bug: 122878595

Change-Id: Iff4d2b27b8210687079cb12d1bbae83ba33f8392

5 years agoMerge "Refactor PackageWatchdog to use VersionedPackage"
TreeHugger Robot [Fri, 1 Feb 2019 15:36:42 +0000 (15:36 +0000)]
Merge "Refactor PackageWatchdog to use VersionedPackage"

5 years agoMerge "Fix deferring making activities active"
Andrii Kulian [Fri, 1 Feb 2019 15:34:59 +0000 (15:34 +0000)]
Merge "Fix deferring making activities active"

5 years agoMerge "Make AppDetailsActivity to be transparent"
Ricky Wai [Fri, 1 Feb 2019 15:15:13 +0000 (15:15 +0000)]
Merge "Make AppDetailsActivity to be transparent"

5 years agoMerge "Add support for MATCH_APEX in getPackageInfo."
TreeHugger Robot [Fri, 1 Feb 2019 15:06:57 +0000 (15:06 +0000)]
Merge "Add support for MATCH_APEX in getPackageInfo."

5 years agoMerge "New enum values for logging Settings SetNewPasswordActivity events"
TreeHugger Robot [Fri, 1 Feb 2019 14:43:37 +0000 (14:43 +0000)]
Merge "New enum values for logging Settings SetNewPasswordActivity events"

5 years agoMerge "Allow device owner app to start activities from background"
Michal Karpinski [Fri, 1 Feb 2019 14:19:47 +0000 (14:19 +0000)]
Merge "Allow device owner app to start activities from background"

5 years agoMerge changes Ie9c8934d,Iea747394
Annie Meng [Fri, 1 Feb 2019 14:09:14 +0000 (14:09 +0000)]
Merge changes Ie9c8934d,Iea747394

* changes:
  Create "android" backup agent in the system process for all users
  [Multi-user] Pass userId on backup agent creation

5 years agoRefactor PackageWatchdog to use VersionedPackage
Zimuzo [Fri, 1 Feb 2019 13:08:16 +0000 (13:08 +0000)]
Refactor PackageWatchdog to use VersionedPackage

We now pass a VersionedPackage argument instead of passing separate
method arguments for packageName and versionCode.

Test: atest PackageWatchdogtest
Bug: 120598832
Change-Id: I8dd7e6d1e144251830108c58f4a752c411d7295b

5 years agoMerge "Remove references to ANDROID_ENABLE_LINEAR_BLENDING"
Leon Scroggins [Fri, 1 Feb 2019 13:27:27 +0000 (13:27 +0000)]
Merge "Remove references to ANDROID_ENABLE_LINEAR_BLENDING"

5 years agoMerge "Add owners for KeyChain code" am: 0f9319ed1b am: d7fd57224d
Eran Messeri [Fri, 1 Feb 2019 13:23:03 +0000 (05:23 -0800)]
Merge "Add owners for KeyChain code" am: 0f9319ed1b am: d7fd57224d
am: 4cfb943d9b

Change-Id: I8d5ab0f2e7778c34fa0171f8b85276281ebbd6af

5 years agoMerge "Add owners for KeyChain code" am: 0f9319ed1b
Eran Messeri [Fri, 1 Feb 2019 13:12:47 +0000 (05:12 -0800)]
Merge "Add owners for KeyChain code" am: 0f9319ed1b
am: d7fd57224d

Change-Id: I30f0d7060cb61a26efcddb5cd4e2119907a4f63e

5 years agoMerge "Add owners for KeyChain code"
Eran Messeri [Fri, 1 Feb 2019 13:03:21 +0000 (05:03 -0800)]
Merge "Add owners for KeyChain code"
am: 0f9319ed1b

Change-Id: Id8528c3b1c499cdab621479d27e52969f22ac22f

5 years agoMerge "Revert "Minimum viable TimeZoneDetectorService""
TreeHugger Robot [Fri, 1 Feb 2019 12:57:32 +0000 (12:57 +0000)]
Merge "Revert "Minimum viable TimeZoneDetectorService""

5 years agoMerge "Add owners for KeyChain code"
Eran Messeri [Fri, 1 Feb 2019 12:51:51 +0000 (12:51 +0000)]
Merge "Add owners for KeyChain code"

5 years agoNew enum values for logging Settings SetNewPasswordActivity events
Bernard Chau [Thu, 31 Jan 2019 15:31:22 +0000 (15:31 +0000)]
New enum values for logging Settings SetNewPasswordActivity events

- new PageId SET_NEW_PASSWORD_ACTIVITY
- new Action ACTION_SET_NEW_PASSWORD
- new Action ACTION_SET_NEW_PARENT_PROFILE_PASSWORD

Bug: 120840632
Test: N/A
Change-Id: I330651d9858a45f8ae1489e49fddf969e0cb4957

5 years agoMerge "ModuleInfo: Address API council feedback."
Narayan Kamath [Fri, 1 Feb 2019 12:00:44 +0000 (12:00 +0000)]
Merge "ModuleInfo: Address API council feedback."

5 years agoAllow device owner app to start activities from background
Michal Karpinski [Fri, 1 Feb 2019 11:48:25 +0000 (11:48 +0000)]
Allow device owner app to start activities from background

Bug: 123689871
Bug: 110956953
Test: atest WmTests:ActivityStarterTests
Change-Id: I5d4a8e2e98d486187f65999fb7f7dd72d1413b70

5 years agoMake AppDetailsActivity to be transparent
Ricky Wai [Tue, 29 Jan 2019 16:40:59 +0000 (16:40 +0000)]
Make AppDetailsActivity to be transparent

Test: It's transparent and no flash/action bar when it starts
Bug: 119484208
Change-Id: Iddbe80d017d652884f5bfb7bb7420739e00b855d

5 years agoMerge "Only check isTopOfTask() when needed"
TreeHugger Robot [Fri, 1 Feb 2019 11:15:58 +0000 (11:15 +0000)]
Merge "Only check isTopOfTask() when needed"

5 years agoMerge changes from topic "session2Token"
TreeHugger Robot [Fri, 1 Feb 2019 11:01:18 +0000 (11:01 +0000)]
Merge changes from topic "session2Token"

* changes:
  Revert "Remove MediaController2 usages in MediaSessionServiceImpl"
  Revert "Ensure that framework does not refer MediaSession2 related code"

5 years agoMerge "Add DynamicAndroidClient"
Po-Chien Hsueh [Fri, 1 Feb 2019 10:56:42 +0000 (10:56 +0000)]
Merge "Add DynamicAndroidClient"

5 years agoMerge "Add settings for KernelCpuThreadReader"
Misha Wagner [Fri, 1 Feb 2019 10:44:12 +0000 (10:44 +0000)]
Merge "Add settings for KernelCpuThreadReader"

5 years agoMerge "Clean up how APK backups are made."
Narayan Kamath [Fri, 1 Feb 2019 10:30:42 +0000 (10:30 +0000)]
Merge "Clean up how APK backups are made."

5 years agoMerge "Set mResolvedBaseFile for apex install sessions."
Narayan Kamath [Fri, 1 Feb 2019 10:30:23 +0000 (10:30 +0000)]
Merge "Set mResolvedBaseFile for apex install sessions."

5 years agoMerge "Fix to register the receiver for all users" am: c72866785a am: 29a43554ab
Kyeongkab.Nam [Fri, 1 Feb 2019 08:44:08 +0000 (00:44 -0800)]
Merge "Fix to register the receiver for all users" am: c72866785a am: 29a43554ab
am: 53b5f1c789

Change-Id: Icfde7189f87a490b02db48eabbe4287916196ece

5 years agoMerge "Fix to register the receiver for all users" am: c72866785a
Kyeongkab.Nam [Fri, 1 Feb 2019 08:34:55 +0000 (00:34 -0800)]
Merge "Fix to register the receiver for all users" am: c72866785a
am: 29a43554ab

Change-Id: I6210f0c4a8705752a4597a04cf45f5f5709e0c9f

5 years agoMerge "Fix to register the receiver for all users"
Kyeongkab.Nam [Fri, 1 Feb 2019 08:26:38 +0000 (00:26 -0800)]
Merge "Fix to register the receiver for all users"
am: c72866785a

Change-Id: I931c857ad5c205df9cd244af6828d1d3abbd2afa

5 years agoFix the wrong assignment
Kyeongkab.Nam [Fri, 1 Feb 2019 02:51:02 +0000 (11:51 +0900)]
Fix the wrong assignment

the format value is erroneously assigned to sinkChannelMask.
Therefore, it modify to assign the format value to sinkFormat.

Test: manual
Change-Id: Iaa2f2cef0f1448a432279483b23e0057ae3ed381

5 years agoMerge "Fix to register the receiver for all users"
Treehugger Robot [Fri, 1 Feb 2019 08:08:32 +0000 (08:08 +0000)]
Merge "Fix to register the receiver for all users"

5 years agoOnly selected VoiceInteractionService can call methods
James O'Leary [Wed, 30 Jan 2019 19:52:21 +0000 (14:52 -0500)]
Only selected VoiceInteractionService can call methods

- Extract current code for checking caller into a private method
- Replace occurrences of that code with a call to the private method
- Add method call to setTranscription/clearTranscription/setVoiceState

Test: Verified Milford can't call setTranscription/clearTranscription
when it is no longer the active service.
Bug: b/123412646

Change-Id: I2c428c6c65b62f6a83264286df4f44fb5d1c249e

5 years agoRevert "Remove MediaController2 usages in MediaSessionServiceImpl"
Hyundo Moon [Thu, 31 Jan 2019 02:28:20 +0000 (02:28 +0000)]
Revert "Remove MediaController2 usages in MediaSessionServiceImpl"

This reverts commit c1e4316e023a3632466203fe84481f4caf4fd26a.

Reason for revert: Now the circular dependency problem is resolved, this change is now obsolete.

Bug: 123336670
Change-Id: I065d811e9b8a3c7f851fb66d9527d62b417f1420

5 years agoRevert "Ensure that framework does not refer MediaSession2 related code"
Hyundo Moon [Thu, 31 Jan 2019 02:39:24 +0000 (02:39 +0000)]
Revert "Ensure that framework does not refer MediaSession2 related code"

This reverts commit 14ca142e65f6fbe61d8db6663768f500c934e737.

Reason for revert: Now the circular dependency problem is resolved, the change is now obsolete.

Bug: 123495968
Change-Id: I5992f9dd205654ce70143773f9ab9bdcafee9ace

5 years ago[automerger skipped] Merge "Handle permission check for multi-active SIMs devices...
Holly Jiuyu Sun [Fri, 1 Feb 2019 04:57:11 +0000 (20:57 -0800)]
[automerger skipped] Merge "Handle permission check for multi-active SIMs devices." am: 2638587995 am: 44eb96b47c
am: cf9b175dfb -s ours
am skip reason: change_id Icfc0c9e9f4303876bceb1adbe217b39b538b347e with SHA1 6bf0359b27 is in history

Change-Id: I9fd7f3571f639f1316fb3e74e4e548e781d0a569

5 years agoMerge "Change to use ConfigurationContainer.onParentChanged"
TreeHugger Robot [Fri, 1 Feb 2019 04:50:59 +0000 (04:50 +0000)]
Merge "Change to use ConfigurationContainer.onParentChanged"

5 years agoMerge changes from topic "media2-stub"
Dongwon Kang [Fri, 1 Feb 2019 04:49:14 +0000 (04:49 +0000)]
Merge changes from topic "media2-stub"

* changes:
  Move Session2Token to media apex
  Add updatable_media_stubs to prevent private API use.

5 years agoMerge "Handle permission check for multi-active SIMs devices." am: 2638587995
Holly Jiuyu Sun [Fri, 1 Feb 2019 04:43:46 +0000 (20:43 -0800)]
Merge "Handle permission check for multi-active SIMs devices." am: 2638587995
am: 44eb96b47c

Change-Id: Ied8f6ef53a701547f4c921e3b401838c5facf205

5 years agoMerge "Handle permission check for multi-active SIMs devices."
Holly Jiuyu Sun [Fri, 1 Feb 2019 04:34:20 +0000 (20:34 -0800)]
Merge "Handle permission check for multi-active SIMs devices."
am: 2638587995

Change-Id: Ibc492399e3b083fe1781eae706ea00416e48429e

5 years agoMerge "Update BiometricPrompt documentation"
TreeHugger Robot [Fri, 1 Feb 2019 04:28:46 +0000 (04:28 +0000)]
Merge "Update BiometricPrompt documentation"

5 years agoMerge "Handle permission check for multi-active SIMs devices."
Holly Jiuyu Sun [Fri, 1 Feb 2019 04:16:50 +0000 (04:16 +0000)]
Merge "Handle permission check for multi-active SIMs devices."

5 years agoMerge "Minor refactoring for instrumenting with background activity starts permission"
TreeHugger Robot [Fri, 1 Feb 2019 03:49:02 +0000 (03:49 +0000)]
Merge "Minor refactoring for instrumenting with background activity starts permission"

5 years agoMerge "Add a new "appPredictor" protection flag."
TreeHugger Robot [Fri, 1 Feb 2019 03:48:32 +0000 (03:48 +0000)]
Merge "Add a new "appPredictor" protection flag."

5 years agoMerge "Removed SSID from connected Passpoint network summary"
Quang Luong [Fri, 1 Feb 2019 03:43:57 +0000 (03:43 +0000)]
Merge "Removed SSID from connected Passpoint network summary"

5 years agoMerge "[viewcompiler] Add PrecompiledLayoutTest to TEST_MAPPING" am: 1cb64c6a85 am...
Eric Holk [Fri, 1 Feb 2019 03:27:53 +0000 (19:27 -0800)]
Merge "[viewcompiler] Add PrecompiledLayoutTest to TEST_MAPPING" am: 1cb64c6a85 am: d8ec417dd6
am: 55398cf19d

Change-Id: I55026e983954f5af3913eaf0a5caa93721ffa796

5 years agoMerge "[viewcompiler] Add PrecompiledLayoutTest to TEST_MAPPING" am: 1cb64c6a85
Eric Holk [Fri, 1 Feb 2019 03:17:13 +0000 (19:17 -0800)]
Merge "[viewcompiler] Add PrecompiledLayoutTest to TEST_MAPPING" am: 1cb64c6a85
am: d8ec417dd6

Change-Id: I12273695d8318900d325436ebb252b287517c367

5 years agoMerge "New lock iconography"
TreeHugger Robot [Fri, 1 Feb 2019 03:10:29 +0000 (03:10 +0000)]
Merge "New lock iconography"

5 years agoMove getPhoneCount implementation back to TelephonyManager.
Malcolm Chen [Thu, 31 Jan 2019 05:19:57 +0000 (21:19 -0800)]
Move getPhoneCount implementation back to TelephonyManager.

Moving it inside iTelephony creates problems. Some components call
getPhoneCount during initialization while iTelephony service is not
even running, which will cause phone process to crash.

Bug: 123667461
Test: manual
Change-Id: I51199eaf0bd87055c21fe61af50f4c353137d621

5 years agoMerge "[viewcompiler] Add PrecompiledLayoutTest to TEST_MAPPING"
Eric Holk [Fri, 1 Feb 2019 03:06:56 +0000 (19:06 -0800)]
Merge "[viewcompiler] Add PrecompiledLayoutTest to TEST_MAPPING"
am: 1cb64c6a85

Change-Id: I881a6acd8b68be987ceadf1dfc303aedb53a211a

5 years agoMerge "Remove unused members from NEM"
TreeHugger Robot [Fri, 1 Feb 2019 02:53:23 +0000 (02:53 +0000)]
Merge "Remove unused members from NEM"

5 years agoMerge "[viewcompiler] Add PrecompiledLayoutTest to TEST_MAPPING"
Treehugger Robot [Fri, 1 Feb 2019 02:50:31 +0000 (02:50 +0000)]
Merge "[viewcompiler] Add PrecompiledLayoutTest to TEST_MAPPING"

5 years agoFix dialer cts test
Eugene Susla [Fri, 1 Feb 2019 02:30:47 +0000 (18:30 -0800)]
Fix dialer cts test

Whether setting default dialer succeeds is propagated all the way to API,
and (apparently) enforced by cts, so it looks like we should wait for it

Fixes: 123718729
Test: atest android.telecom.cts.DefaultDialerOperationsTest#testSetDefaultDialerNoDialIntent_notSupported
Change-Id: I2f7b8d4a32d1b570d0aba8cc4cc529f58a9dbc20

5 years agoFix deferring making activities active
Andrii Kulian [Fri, 1 Feb 2019 02:20:11 +0000 (18:20 -0800)]
Fix deferring making activities active

New logic for checking whether activities should be made active did
not take into account deferring resume during launch. This lead to
making activity resumed before actually launching it, and
top-resumed state change callback was ignored on the client side
since activity was not registered on the client yet. This in turn
made the client think that it was never made top-resumed before
loosing the top-resumed position.

Bug: 123587738
Test: atest WmTests:ActivityRecordTests#testShouldMakeActive_deferredResume
Change-Id: Ieb3b98b4ddb4819805fa0e818ecf8359487eaaff

5 years agoMerge "StatsManager setActiveConfigsChangedOperation API"
TreeHugger Robot [Fri, 1 Feb 2019 02:19:11 +0000 (02:19 +0000)]
Merge "StatsManager setActiveConfigsChangedOperation API"

5 years agoMerge "Option to exclude configs from AAPT2 Link"
TreeHugger Robot [Fri, 1 Feb 2019 02:13:08 +0000 (02:13 +0000)]
Merge "Option to exclude configs from AAPT2 Link"