OSDN Git Service

android-x86/frameworks-base.git
5 years agoTemporary hack until we have dynamic remounting.
Jeff Sharkey [Wed, 3 Apr 2019 20:21:42 +0000 (14:21 -0600)]
Temporary hack until we have dynamic remounting.

We're stuck in a place where we've half-implemented our storage
mounting and remounting story, so the mount mode is locked in for
the lifetime of the process.

The safest way to get this working for the next beta cut is to
always assume the app has the permissions they request, and we'll
follow up with a STOPSHIP to get a real fix in place.

Bug: 129744277
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: If152c52d3630112547f4d3e7a07449da452550fd

5 years agoMerge "Use FLAG_BUBBLE rather than setting the value ourselves"
Mady Mellor [Wed, 3 Apr 2019 14:56:42 +0000 (14:56 +0000)]
Merge "Use FLAG_BUBBLE rather than setting the value ourselves"

5 years agoMerge "OMS: ignore instant apps"
Todd Kennedy [Wed, 3 Apr 2019 14:47:01 +0000 (14:47 +0000)]
Merge "OMS: ignore instant apps"

5 years agoMerge "Change theme setting to JSONObject format."
TreeHugger Robot [Wed, 3 Apr 2019 14:40:58 +0000 (14:40 +0000)]
Merge "Change theme setting to JSONObject format."

5 years agoMerge "CastTile: Better handling of multiple active devices."
Narayan Kamath [Wed, 3 Apr 2019 14:10:22 +0000 (14:10 +0000)]
Merge "CastTile: Better handling of multiple active devices."

5 years agoMerge "Tell the app that a smart reply was used even when it has been edited."
TreeHugger Robot [Wed, 3 Apr 2019 14:07:39 +0000 (14:07 +0000)]
Merge "Tell the app that a smart reply was used even when it has been edited."

5 years agoMerge "Add more tests to KernelCpuThreadReaderDiffTest"
Misha Wagner [Wed, 3 Apr 2019 13:55:30 +0000 (13:55 +0000)]
Merge "Add more tests to KernelCpuThreadReaderDiffTest"

5 years agoTell the app that a smart reply was used even when it has been edited.
Gustav Sennton [Tue, 2 Apr 2019 14:10:00 +0000 (15:10 +0100)]
Tell the app that a smart reply was used even when it has been edited.

The existing API RemoteInput.Source covers two scenarios for responding
to message notifications:
1. A user uses the 'reply' button and enters a response freely.
2. A user clicks a smart reply which is used as the response.

Before this CL the platform would notify the app of scenario nr. 1 in
the case where we use tap-to-edit smart replies (replies that can be
edited before being sent). With this CL we instead log scenario nr. 2
(since a smart reply was clicked).

Bug: 123407240
Test: use a test-app to ensure that a response created using smart
replies + tap-to-edit logs the correct @Source.
Change-Id: I3dc8169a3c440af106c4f244b72ddf7c9e450203

5 years agoMerge "Use mPidMap instead of mProcessNames to get process with pid info"
Jorim Jaggi [Wed, 3 Apr 2019 13:16:43 +0000 (13:16 +0000)]
Merge "Use mPidMap instead of mProcessNames to get process with pid info"

5 years agoChange theme setting to JSONObject format.
Amin Shaikh [Tue, 2 Apr 2019 22:07:40 +0000 (18:07 -0400)]
Change theme setting to JSONObject format.

Add JSON_OBJECT_VALIDATOR to Settings and add unit tests.

Fixes: 129543539
Test: atest coretests
Change-Id: I4fa7a1357d442c1fa04a7eee815d5c3a48cc5115

5 years agoMerge "carrier-config: define imsi_eap_identity_sequence_int key"
Ecco Park [Wed, 3 Apr 2019 12:56:05 +0000 (12:56 +0000)]
Merge "carrier-config: define imsi_eap_identity_sequence_int key"

5 years agoCastTile: Better handling of multiple active devices.
Narayan Kamath [Thu, 21 Mar 2019 18:09:38 +0000 (18:09 +0000)]
CastTile: Better handling of multiple active devices.

With the new MediaProjection based flow for cast, we will have
a connected MediaRoute active at the same time as a MediaProjection
session. In order to deal with them correctly, we need to assume
in a few places that we have more than one active CastDevice. We
also consider all devices that are connected, regardless of whether
the given route is selected or not.

Test: Manual
Test: atest CastControllerImplTest
Test: atest SystemUITests
Bug: 128515798
Change-Id: Ie46798633f69c347ee32e0799d6cb23576122dd9

5 years agoMerge "Greylist IActivityTaskManagerSingleton."
Mathew Inwood [Wed, 3 Apr 2019 11:52:23 +0000 (11:52 +0000)]
Merge "Greylist IActivityTaskManagerSingleton."

5 years agoMerge "Fix NetworkMonitor won't do private dns resolution" am: c895b818e0 am: aecea736d2
lucaslin [Wed, 3 Apr 2019 11:35:21 +0000 (04:35 -0700)]
Merge "Fix NetworkMonitor won't do private dns resolution" am: c895b818e0 am: aecea736d2
am: 7d0a216e79

Change-Id: I2785e0aedd229aba6c1d8e8df09ee5c7a209b74c

5 years agoMerge "Fix NetworkMonitor won't do private dns resolution" am: c895b818e0
lucaslin [Wed, 3 Apr 2019 11:25:18 +0000 (04:25 -0700)]
Merge "Fix NetworkMonitor won't do private dns resolution" am: c895b818e0
am: aecea736d2

Change-Id: I5ec0cb096f2704e21e0c0f296d5cf81ab8808627

5 years agoMerge "Fix NetworkMonitor won't do private dns resolution"
lucaslin [Wed, 3 Apr 2019 11:13:48 +0000 (04:13 -0700)]
Merge "Fix NetworkMonitor won't do private dns resolution"
am: c895b818e0

Change-Id: I7c7a573bef77ba952219e6f6f56ab11f0211e0a7

5 years agoMerge "Some cleanups for Tethering" am: 31b33b6f41 am: 5dff3c98c5
Mark Chien [Wed, 3 Apr 2019 10:54:42 +0000 (03:54 -0700)]
Merge "Some cleanups for Tethering" am: 31b33b6f41 am: 5dff3c98c5
am: 9d4a2a27e6

Change-Id: I0f5c8f33f13dfa2366992a2b2e0ada7667b90e2f

5 years agoMerge "Fix NetworkMonitor won't do private dns resolution"
Treehugger Robot [Wed, 3 Apr 2019 10:50:09 +0000 (10:50 +0000)]
Merge "Fix NetworkMonitor won't do private dns resolution"

5 years agoAdd more tests to KernelCpuThreadReaderDiffTest
Misha Wagner [Wed, 3 Apr 2019 10:13:17 +0000 (11:13 +0100)]
Add more tests to KernelCpuThreadReaderDiffTest

Change-Id: I2fd69de9fded626d1210443bb63c4be251dd2658
Test: atest KernelCpuThreadReaderDiffTest

5 years agoMerge "Some cleanups for Tethering" am: 31b33b6f41
Mark Chien [Wed, 3 Apr 2019 10:45:05 +0000 (03:45 -0700)]
Merge "Some cleanups for Tethering" am: 31b33b6f41
am: 5dff3c98c5

Change-Id: I0e00187f9a5eee9e55f961ce0458c9b91af19fb7

5 years agoMerge "Some cleanups for Tethering"
Mark Chien [Wed, 3 Apr 2019 10:35:42 +0000 (03:35 -0700)]
Merge "Some cleanups for Tethering"
am: 31b33b6f41

Change-Id: Ifb60c76855a2bea5a1cccf26034e6c582ad16021

5 years agoMerge "Some cleanups for Tethering"
Mark Chien [Wed, 3 Apr 2019 10:16:25 +0000 (10:16 +0000)]
Merge "Some cleanups for Tethering"

5 years agoMerge "Use Volume Group core callback in volume preference rather than intent"
TreeHugger Robot [Wed, 3 Apr 2019 09:54:20 +0000 (09:54 +0000)]
Merge "Use Volume Group core callback in volume preference rather than intent"

5 years agoMerge "Remove support for dexopting shared libraries." am: 75a76da717 am: bd0b7295a6
Nicolas Geoffray [Wed, 3 Apr 2019 09:50:35 +0000 (02:50 -0700)]
Merge "Remove support for dexopting shared libraries." am: 75a76da717 am: bd0b7295a6
am: f51cadfad5

Change-Id: I0270103a45df5205b07df8f8188870dc8e6f84b7

5 years agoMerge "Remove support for dexopting shared libraries." am: 75a76da717
Nicolas Geoffray [Wed, 3 Apr 2019 09:29:05 +0000 (02:29 -0700)]
Merge "Remove support for dexopting shared libraries." am: 75a76da717
am: bd0b7295a6

Change-Id: I3ce34a72359aa8fa53066311d37caabdd7b9717f

5 years agoMerge "Fix API in CaptivePortal, StaticIpConfiguration" am: 0470353c2e am: 77daae9b3d
Remi NGUYEN VAN [Wed, 3 Apr 2019 09:28:11 +0000 (02:28 -0700)]
Merge "Fix API in CaptivePortal, StaticIpConfiguration" am: 0470353c2e am: 77daae9b3d
am: e86dfa92fe

Change-Id: Icda65fe4a009a754b6a1a763d402820652d55391

5 years agoMerge "Add tests for PermissionMonitor" am: a84cdf4fc6 am: b9ee567881
Chenbo Feng [Wed, 3 Apr 2019 09:19:30 +0000 (02:19 -0700)]
Merge "Add tests for PermissionMonitor" am: a84cdf4fc6 am: b9ee567881
am: 18758e9f90

Change-Id: Ifcb29bfded1b1675231c397ed886506a70267279

5 years agoMerge "Remove support for dexopting shared libraries."
Nicolas Geoffray [Wed, 3 Apr 2019 09:12:43 +0000 (02:12 -0700)]
Merge "Remove support for dexopting shared libraries."
am: 75a76da717

Change-Id: I2b77a9abfe953c0b2f3e1889a2f95ac78b7a8219

5 years agoMerge "Fix API in CaptivePortal, StaticIpConfiguration" am: 0470353c2e
Remi NGUYEN VAN [Wed, 3 Apr 2019 09:12:22 +0000 (02:12 -0700)]
Merge "Fix API in CaptivePortal, StaticIpConfiguration" am: 0470353c2e
am: 77daae9b3d

Change-Id: I82eee20855710de2b4fb541dd5e2b887140ed364

5 years agoFix NetworkMonitor won't do private dns resolution
lucaslin [Wed, 3 Apr 2019 09:09:28 +0000 (17:09 +0800)]
Fix NetworkMonitor won't do private dns resolution

NetworkMonitor cannot do the private dns resolution due to lack
"mNetworkCapabilities". ConnectivityService will call
NetworkStackService#notifyPrivateDnsChanged() before doing
network validation. After NetworkMonitor received
CMD_PRIVATE_DNS_SETTINGS_CHANGED, it will call
isValidationRequired to check if the validation is required.
But mNetworkCapabilities didn't be set, so the
mPrivateDnsProviderHostname will be set to empty and make
EvaluatingPrivateDnsState doesn't do private dns resolution.

Bug: 129375892
Test: 1. Build pass
      2. atest FrameworksNetTests
      3. atest NetworkStackTests

Change-Id: I637212fb4746bb2e9a2f4a4457fd36c4c2701149

5 years agoMerge "Add tests for PermissionMonitor" am: a84cdf4fc6
Chenbo Feng [Wed, 3 Apr 2019 09:05:07 +0000 (02:05 -0700)]
Merge "Add tests for PermissionMonitor" am: a84cdf4fc6
am: b9ee567881

Change-Id: I9be22991bd590a7aee4d0a4b2908e0023870d0b6

5 years agoGreylist IActivityTaskManagerSingleton.
Mathew Inwood [Wed, 3 Apr 2019 08:49:04 +0000 (09:49 +0100)]
Greylist IActivityTaskManagerSingleton.

This is needed by Tinker, a hotfix framework commonly used in China so
it can continue working in Q.

Bug: 129726065
Test: m
Change-Id: Ie559b1bd9ad256de789e387c3f2b182bd761d23f

5 years agoMerge "Remove support for dexopting shared libraries."
Nicolas Geoffray [Wed, 3 Apr 2019 08:22:35 +0000 (08:22 +0000)]
Merge "Remove support for dexopting shared libraries."

5 years agoRemove support for dexopting shared libraries.
Nicolas Geoffray [Mon, 1 Apr 2019 09:54:53 +0000 (10:54 +0100)]
Remove support for dexopting shared libraries.

The CL landed after feature complete, and has shown it can cause related issues,
not easy to deal with (eg b/128529256 or b/128912573).

The libs are expected to be preopted (as in P).

Partial revert of 653356f114fa798ee0cc3d5d5ac4ccd0ab4783de.

Test: BackgroundDexOptServiceIntegrationTests
Test: DexoptUtilsTest
Bug: 119800099
Change-Id: I3570fbc0e4f7079da3315691d676452b17e516a7

5 years agoMerge "Fix API in CaptivePortal, StaticIpConfiguration"
Remi NGUYEN VAN [Wed, 3 Apr 2019 08:21:38 +0000 (01:21 -0700)]
Merge "Fix API in CaptivePortal, StaticIpConfiguration"
am: 0470353c2e

Change-Id: Ia36ba5946e8dc956c5c71cbebe7dc02658fdb7a0

5 years agoMerge "MediaProjectionManagerService: Exempt privileged apps from the f/g service...
Narayan Kamath [Wed, 3 Apr 2019 08:14:14 +0000 (08:14 +0000)]
Merge "MediaProjectionManagerService: Exempt privileged apps from the f/g service requirement."

5 years agoMerge "Add tests for PermissionMonitor"
Chenbo Feng [Wed, 3 Apr 2019 08:10:07 +0000 (01:10 -0700)]
Merge "Add tests for PermissionMonitor"
am: a84cdf4fc6

Change-Id: I2079c4ce13aae962c1d907009edc107e861bb3b5

5 years agoMerge "Use UserHandle.SYSTEM for ENABLE_ROLLBACK broadcast."
Richard Uhler [Wed, 3 Apr 2019 08:05:02 +0000 (08:05 +0000)]
Merge "Use UserHandle.SYSTEM for ENABLE_ROLLBACK broadcast."

5 years agoMerge changes from topic "dyn_system_ff"
Po-Chien Hsueh [Wed, 3 Apr 2019 07:55:55 +0000 (07:55 +0000)]
Merge changes from topic "dyn_system_ff"

* changes:
  Use setEnable() when there is an installed image
  Use gsid.isGsiEnabled to refine DynamicSystemService
  Use FeatureFlagPersistent to guard DynamicSystem
  Make feature flag settings_dynamic_system persistent

5 years agoUse setEnable() when there is an installed image
Po-Chien Hsueh [Mon, 1 Apr 2019 08:51:47 +0000 (16:51 +0800)]
Use setEnable() when there is an installed image

We can now use setEnable() to tell GsiService that we would like
run in DynamicSystem on the next restart, if there is a system
image installed.

Bug: 124613126
Test: Tap the button and setEnabe() is invoked.
Change-Id: I74312af0c87548981ecb4e1ac9a1f3814304a4d5

5 years agoUse gsid.isGsiEnabled to refine DynamicSystemService
Howard Chen [Fri, 29 Mar 2019 08:38:39 +0000 (16:38 +0800)]
Use gsid.isGsiEnabled to refine DynamicSystemService

* Add isEnabled
* Replace toggle with setEnable

Test: Compile passed
Bug: 125079548
Change-Id: I4931e6469388ea05194ba44ccb994f32c08ad40d

5 years agoMerge "zygote: initialize selinux app contexts before fork()"
TreeHugger Robot [Wed, 3 Apr 2019 06:59:33 +0000 (06:59 +0000)]
Merge "zygote: initialize selinux app contexts before fork()"

5 years agoMerge "Fix API in CaptivePortal, StaticIpConfiguration"
Remi NGUYEN VAN [Wed, 3 Apr 2019 06:51:35 +0000 (06:51 +0000)]
Merge "Fix API in CaptivePortal, StaticIpConfiguration"

5 years agoMerge "Add tests for PermissionMonitor"
Treehugger Robot [Wed, 3 Apr 2019 06:12:12 +0000 (06:12 +0000)]
Merge "Add tests for PermissionMonitor"

5 years agoSome cleanups for Tethering
markchien [Wed, 3 Apr 2019 02:43:09 +0000 (10:43 +0800)]
Some cleanups for Tethering

Bug: 126481523
Test: -build, flash, boot
      -FrameworksNetTests

Change-Id: I904646efa87eb5434124c7828aca4ab09c5dc38e

5 years agoMerge "Avoid elevating apps to high proc states on binding"
Amith Yamasani [Wed, 3 Apr 2019 05:50:28 +0000 (05:50 +0000)]
Merge "Avoid elevating apps to high proc states on binding"

5 years ago[automerger skipped] Merge changes from topic "am-ee7381fd1a8845c99ba642b88f8db9d4...
Jack Yu [Wed, 3 Apr 2019 05:27:01 +0000 (22:27 -0700)]
[automerger skipped] Merge changes from topic "am-ee7381fd1a8845c99ba642b88f8db9d4" into stage-aosp-master am: f2b4fcbacc -s ours
am: a4d0bd441c -s ours
am skip reason: change_id Ib152f97711441fded998a36528ef007f9e28ccbf with SHA1 05a6543248 is in history

Change-Id: I8521ced6cb0c58f9f40eaec10dd4c194578a6a14

5 years ago[automerger skipped] Merge changes from topic "am-77824143cfe54e8ebd083716dd4fb16f...
Jack Yu [Wed, 3 Apr 2019 05:12:33 +0000 (22:12 -0700)]
[automerger skipped] Merge changes from topic "am-77824143cfe54e8ebd083716dd4fb16f" into stage-aosp-master am: 259ea052e8
am: 71757ccdb8 -s ours
am skip reason: change_id Ib152f97711441fded998a36528ef007f9e28ccbf with SHA1 05a6543248 is in history

Change-Id: I60381dea904297814f05ac3bd717f5b22c0b5368

5 years agoMerge "Merge "Merge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult...
Android Build Merger (Role) [Wed, 3 Apr 2019 04:57:48 +0000 (04:57 +0000)]
Merge "Merge "Merge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am: 3db9cfe660" into stage-aosp-master am: 78d17025e8" into pi-dev-plus-aosp am: da912fb40b"

5 years agoMerge "Merge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as...
Paul Hu [Wed, 3 Apr 2019 04:57:11 +0000 (21:57 -0700)]
Merge "Merge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am: 3db9cfe660" into stage-aosp-master am: 78d17025e8" into pi-dev-plus-aosp
am: da912fb40b

Change-Id: Ic2288afe4b4b077cba263e51f6308c34332b5eb1

5 years agoMerge "Dismiss bouncer if auth happens during gesture"
Lucas Dupin [Wed, 3 Apr 2019 04:45:20 +0000 (04:45 +0000)]
Merge "Dismiss bouncer if auth happens during gesture"

5 years agoMerge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library...
Paul Hu [Wed, 3 Apr 2019 04:37:53 +0000 (21:37 -0700)]
Merge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am: 3db9cfe660 am: 2d20cd2378" into pi-dev-plus-aosp
am: 78f8fb79b5

Change-Id: Ie64e6636de76cb7e92b4bc33451d95437c179350

5 years ago[automerger skipped] Merge changes from topic "am-ee7381fd1a8845c99ba642b88f8db9d4...
Jack Yu [Wed, 3 Apr 2019 04:31:11 +0000 (21:31 -0700)]
[automerger skipped] Merge changes from topic "am-ee7381fd1a8845c99ba642b88f8db9d4" into stage-aosp-master
am: f2b4fcbacc -s ours
am skip reason: change_id Ib152f97711441fded998a36528ef007f9e28ccbf with SHA1 27ff407104 is in history

Change-Id: I91228bb25d5d27440dbb8fe6297dfc91ac83bec5

5 years agoMerge "Bluetooth: Log class of device"
TreeHugger Robot [Wed, 3 Apr 2019 04:27:29 +0000 (04:27 +0000)]
Merge "Bluetooth: Log class of device"

5 years agoMerge changes from topic "am-77824143cfe54e8ebd083716dd4fb16f" into stage-aosp-master
Jack Yu [Wed, 3 Apr 2019 04:19:15 +0000 (21:19 -0700)]
Merge changes from topic "am-77824143cfe54e8ebd083716dd4fb16f" into stage-aosp-master
am: 259ea052e8

Change-Id: I9f66f83c96be53f9b27aea8356c6ce2e0e8c1ec1

5 years agoMerge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am...
Paul Hu [Wed, 3 Apr 2019 04:19:14 +0000 (21:19 -0700)]
Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am: 3db9cfe660 am: 2d20cd2378
am: 4bf4e79766

Change-Id: Iccf60b710df5895d8d269b6c918a8b2f252e93a6

5 years agoMerge "Merge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as...
Android Build Merger (Role) [Wed, 3 Apr 2019 03:58:43 +0000 (03:58 +0000)]
Merge "Merge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am: 3db9cfe660" into stage-aosp-master am: 78d17025e8" into pi-dev-plus-aosp

5 years agoMerge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library...
Paul Hu [Wed, 3 Apr 2019 03:57:51 +0000 (20:57 -0700)]
Merge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am: 3db9cfe660" into stage-aosp-master
am: 78d17025e8

Change-Id: Ide6e0120b57228d2dd4c9895abf716f18b41b1fa

5 years agoMerge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library...
Android Build Merger (Role) [Wed, 3 Apr 2019 03:47:48 +0000 (03:47 +0000)]
Merge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am: 3db9cfe660 am: 2d20cd2378" into pi-dev-plus-aosp

5 years agoMerge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am...
Paul Hu [Wed, 3 Apr 2019 03:47:27 +0000 (20:47 -0700)]
Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am: 3db9cfe660
am: 2d20cd2378

Change-Id: Ibf8b3f0c986acb156c3705ee569554bf673269f0

5 years agoMerge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am...
Paul Hu [Wed, 3 Apr 2019 03:45:17 +0000 (20:45 -0700)]
Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am: 3db9cfe660
am: 2d20cd2378

Change-Id: I5a5fd9f900bb1d7217364812d9d0e5477179bfc9

5 years agoMerge changes from topic "am-ee7381fd1a8845c99ba642b88f8db9d4" into stage-aosp-master
Android Build Merger (Role) [Wed, 3 Apr 2019 03:35:37 +0000 (03:35 +0000)]
Merge changes from topic "am-ee7381fd1a8845c99ba642b88f8db9d4" into stage-aosp-master

* changes:
  Merge changes from topics "lte_ca_support", "ss_provider" am: 8dedf2b5e4
  Passing ServiceState as byte array into ServiceStateProvider am: 2d9b4faedc

5 years agoMerge changes from topic "am-77824143cfe54e8ebd083716dd4fb16f" into stage-aosp-master
Android Build Merger (Role) [Wed, 3 Apr 2019 03:34:48 +0000 (03:34 +0000)]
Merge changes from topic "am-77824143cfe54e8ebd083716dd4fb16f" into stage-aosp-master

* changes:
  Merge changes from topics "lte_ca_support", "ss_provider" am: 8dedf2b5e4
  Passing ServiceState as byte array into ServiceStateProvider am: 2d9b4faedc

5 years agoMerge changes from topics "lte_ca_support", "ss_provider"
Jack Yu [Wed, 3 Apr 2019 03:34:06 +0000 (20:34 -0700)]
Merge changes from topics "lte_ca_support", "ss_provider"
am: 8dedf2b5e4

Change-Id: I6906070f9df82b57e49c5edf50e8931aa5192cdf

5 years agoMerge changes from topics "lte_ca_support", "ss_provider"
Jack Yu [Wed, 3 Apr 2019 03:33:21 +0000 (20:33 -0700)]
Merge changes from topics "lte_ca_support", "ss_provider"
am: 8dedf2b5e4

Change-Id: I3cb0bad3aa3c6b24b79709c507739baab670c044

5 years agoAdd tests for PermissionMonitor
Chenbo Feng [Tue, 26 Feb 2019 06:55:58 +0000 (22:55 -0800)]
Add tests for PermissionMonitor

Add more tests to PermissionMonitor to verify the functionality related
to INTERNET permission and UPDATE_DEVIE_STATS permission. Modified some
of the class design of PermissionMonitor so that it is easier to test
the new functionalities.

Bug: 111560570
Test: PermissionMonitorTest

Change-Id: Ic5585f337db5de48e2f87bf4f01ed7d85c349827

5 years agoPassing ServiceState as byte array into ServiceStateProvider
Jack Yu [Wed, 3 Apr 2019 03:25:44 +0000 (20:25 -0700)]
Passing ServiceState as byte array into ServiceStateProvider
am: 2d9b4faedc

Change-Id: I8471dc9b1353135b0a9b693d2845c7f358213f6c

5 years agoPassing ServiceState as byte array into ServiceStateProvider
Jack Yu [Wed, 3 Apr 2019 03:24:53 +0000 (20:24 -0700)]
Passing ServiceState as byte array into ServiceStateProvider
am: 2d9b4faedc

Change-Id: I26dffc5c5c819a93c04cc64763d49e920f20cb01

5 years agoMerge "Only remove visible recent tasks for the current user"
TreeHugger Robot [Wed, 3 Apr 2019 03:21:42 +0000 (03:21 +0000)]
Merge "Only remove visible recent tasks for the current user"

5 years agoMerge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library...
Android Build Merger (Role) [Wed, 3 Apr 2019 03:17:56 +0000 (03:17 +0000)]
Merge "Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am: 3db9cfe660" into stage-aosp-master

5 years agoMerge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library"
Paul Hu [Wed, 3 Apr 2019 03:17:33 +0000 (20:17 -0700)]
Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library"
am: 3db9cfe660

Change-Id: I33db2bd452f5b30b382f8e0e913862ad6bcc099e

5 years agoMerge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library"
Paul Hu [Wed, 3 Apr 2019 03:16:43 +0000 (20:16 -0700)]
Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library"
am: 3db9cfe660

Change-Id: I387332fd5914474010eb1b29d6543028457599df

5 years agoMerge "Fix unbind a11y service fail"
Rhed Jao [Wed, 3 Apr 2019 03:10:03 +0000 (03:10 +0000)]
Merge "Fix unbind a11y service fail"

5 years agoMerge "Query APN protocol for emergency SUPL without SIM"
Shinru Han [Wed, 3 Apr 2019 02:48:27 +0000 (02:48 +0000)]
Merge "Query APN protocol for emergency SUPL without SIM"

5 years agoMerge changes from topics "lte_ca_support", "ss_provider"
Jack Yu [Wed, 3 Apr 2019 02:47:20 +0000 (02:47 +0000)]
Merge changes from topics "lte_ca_support", "ss_provider"

* changes:
  Correctly support LTE carrier aggregation
  Passing ServiceState as byte array into ServiceStateProvider

5 years agoMerge "Add null check to destroyUiAutomationService"
TreeHugger Robot [Wed, 3 Apr 2019 02:44:12 +0000 (02:44 +0000)]
Merge "Add null check to destroyUiAutomationService"

5 years agoMerge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library"
Paul Hu [Wed, 3 Apr 2019 02:42:06 +0000 (02:42 +0000)]
Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library"

5 years agoUse mPidMap instead of mProcessNames to get process with pid info
Yunfan Chen [Mon, 1 Apr 2019 06:34:44 +0000 (15:34 +0900)]
Use mPidMap instead of mProcessNames to get process with pid info

With newly introduced mPidMap, we do not need to iterate every process
to find the one we need with pid information. Use mPidMap directly to
accelerate the getting process method.

By doing this, the time consumption of getConfiguration get reduced by
12.5%. The time consumption percentage of getConfiguration in
getOrientationChanging is reduced from around 87% to 41%. Also, in
prepareSurfacesLocked, the time consumption of getOrientationChanging
reduced from 37% to 25%.

Test: go/wm-smoke
Test: ddms
Bug: 129389526
Change-Id: I77511ce3385049e8c812e8e3706482a48457df0c

5 years agoBluetooth: Log class of device
Jack He [Tue, 2 Apr 2019 20:32:52 +0000 (13:32 -0700)]
Bluetooth: Log class of device

* Add BluetoothClassOfDeviceReported atom to log class of device
  during connection and pairing

Bug: 112969790
Test: make, test drive with statsd
Change-Id: I8039f3f94f8bc4aa9ef2b67d04929421805d2432

5 years agoUse FeatureFlagPersistent to guard DynamicSystem
Po-Chien Hsueh [Mon, 1 Apr 2019 03:26:18 +0000 (11:26 +0800)]
Use FeatureFlagPersistent to guard DynamicSystem

Check persistent feature flag 'settings_dynamic_system' before
invoking the installation service. User can still use gsi_tool if
the device is unlocked.

Bug: 119647479
Test: Verified with 'adb shell am' and test app.
Change-Id: If2265d877bc7eedf9b7a107bba04d2e95cf1b89a

5 years agoMake feature flag settings_dynamic_system persistent
Po-Chien Hsueh [Tue, 2 Apr 2019 05:59:03 +0000 (13:59 +0800)]
Make feature flag settings_dynamic_system persistent

Bug: 119647479
Test: turn on/off feature flag and use DynamicSystem
Change-Id: I2b2591f7a937cbe74d67cbfb95b778d2cfa32abb

5 years agoMerge "Add multiuserDelayUserDataLocking configuration"
Keun-young Park [Wed, 3 Apr 2019 02:28:06 +0000 (02:28 +0000)]
Merge "Add multiuserDelayUserDataLocking configuration"

5 years agoMerge "Use LOCAL_REQUIRED_MODULES instead of LOCAL_TARGET_REQUIRED_MODULES" am: 50b59...
Dan Willemsen [Wed, 3 Apr 2019 02:21:29 +0000 (19:21 -0700)]
Merge "Use LOCAL_REQUIRED_MODULES instead of LOCAL_TARGET_REQUIRED_MODULES" am: 50b59ccafc am: d092f8a234
am: 9f2d31f172

Change-Id: Ic8d0c2e1503456e76c9cc46874911a49a71d63e6

5 years agoMerge "Merge "Change UT to disabled by default" am: 3c1a889a9c am: 94c06c609a am...
Android Build Merger (Role) [Wed, 3 Apr 2019 02:06:51 +0000 (02:06 +0000)]
Merge "Merge "Change UT to disabled by default" am: 3c1a889a9c am: 94c06c609a am: 5e6235db9a"

5 years agoMerge "Fix tinting on injected pref icon in Tile"
Linda Tseng [Wed, 3 Apr 2019 02:06:42 +0000 (02:06 +0000)]
Merge "Fix tinting on injected pref icon in Tile"

5 years agoMerge "Change UT to disabled by default" am: 3c1a889a9c am: 94c06c609a
Brad Ebinger [Wed, 3 Apr 2019 02:06:26 +0000 (19:06 -0700)]
Merge "Change UT to disabled by default" am: 3c1a889a9c am: 94c06c609a
am: 5e6235db9a

Change-Id: Icd039f27190c07e74a046e0b9f7a9b447346ab8f

5 years agoMerge "Use LOCAL_REQUIRED_MODULES instead of LOCAL_TARGET_REQUIRED_MODULES" am: 50b59...
Dan Willemsen [Wed, 3 Apr 2019 01:48:21 +0000 (18:48 -0700)]
Merge "Use LOCAL_REQUIRED_MODULES instead of LOCAL_TARGET_REQUIRED_MODULES" am: 50b59ccafc
am: d092f8a234

Change-Id: I9db35be9e19d51be23b540340bc5a1066ade0292

5 years agoMerge "Update getGnssCapabilities() in LMS to include sub-HAL capabilities (part 2)"
Anil Admal [Wed, 3 Apr 2019 01:47:35 +0000 (01:47 +0000)]
Merge "Update getGnssCapabilities() in LMS to include sub-HAL capabilities (part 2)"

5 years agoMerge "Take persistable permission for fp content Uri"
Tony.YS Liu [Wed, 3 Apr 2019 01:41:45 +0000 (01:41 +0000)]
Merge "Take persistable permission for fp content Uri"

5 years agoMerge "Wifi usability: Add firmware alert reason code into WifiUsabilityStats"
Mingguang Xu [Wed, 3 Apr 2019 01:41:28 +0000 (01:41 +0000)]
Merge "Wifi usability: Add firmware alert reason code into WifiUsabilityStats"

5 years agoMerge "Change UT to disabled by default" am: 3c1a889a9c
Brad Ebinger [Wed, 3 Apr 2019 01:39:55 +0000 (18:39 -0700)]
Merge "Change UT to disabled by default" am: 3c1a889a9c
am: 94c06c609a

Change-Id: I930b6873fcc24aebcf430f356bc1002db665ce5d

5 years agoMerge "Use LOCAL_REQUIRED_MODULES instead of LOCAL_TARGET_REQUIRED_MODULES"
Dan Willemsen [Wed, 3 Apr 2019 01:13:51 +0000 (18:13 -0700)]
Merge "Use LOCAL_REQUIRED_MODULES instead of LOCAL_TARGET_REQUIRED_MODULES"
am: 50b59ccafc

Change-Id: Ia61b5c353a0d8316319c9bd9e5723795cfe41957

5 years agoMerge "Change UT to disabled by default"
Brad Ebinger [Wed, 3 Apr 2019 01:05:12 +0000 (18:05 -0700)]
Merge "Change UT to disabled by default"
am: 3c1a889a9c

Change-Id: Id0e575b3e17515667371ff626a4423e1cb82b2c0

5 years agoMerge "Fixed a memory leak"
TreeHugger Robot [Wed, 3 Apr 2019 00:59:19 +0000 (00:59 +0000)]
Merge "Fixed a memory leak"

5 years agoMerge "Logging atom TOMB_STONE_OCCURRED when a tombstone file added to dropbox."
Jian Jin [Wed, 3 Apr 2019 00:07:46 +0000 (00:07 +0000)]
Merge "Logging atom TOMB_STONE_OCCURRED when a tombstone file added to dropbox."

5 years agoMerge "Camera: Relax logical camera stream combination requirement"
TreeHugger Robot [Wed, 3 Apr 2019 00:06:53 +0000 (00:06 +0000)]
Merge "Camera: Relax logical camera stream combination requirement"

5 years agoMerge "Use LOCAL_REQUIRED_MODULES instead of LOCAL_TARGET_REQUIRED_MODULES"
Treehugger Robot [Tue, 2 Apr 2019 23:46:52 +0000 (23:46 +0000)]
Merge "Use LOCAL_REQUIRED_MODULES instead of LOCAL_TARGET_REQUIRED_MODULES"

5 years agoMerge "Remove IWebViewUpdateService.isFallbackPackage."
TreeHugger Robot [Tue, 2 Apr 2019 23:46:30 +0000 (23:46 +0000)]
Merge "Remove IWebViewUpdateService.isFallbackPackage."

5 years agoDismiss bouncer if auth happens during gesture
Lucas Dupin [Fri, 29 Mar 2019 23:09:26 +0000 (16:09 -0700)]
Dismiss bouncer if auth happens during gesture

The user might have started to drag during authentication,
we want to make sure that the bouncer will be dismissed if
this happens.

Fixes: 129432051
Test: unlock with fp when swiping up
Test: unlock after swipping up
Test: swipe up and then unlock
Test: expand QS after unlocking
Test: atest NotificationPanelViewTest
Change-Id: Iaf189634048ca6735341a271d53e2576a3370602

5 years agoOnly remove visible recent tasks for the current user
Winson Chung [Tue, 2 Apr 2019 23:23:46 +0000 (16:23 -0700)]
Only remove visible recent tasks for the current user

Bug: 128389239
Test: atest WmTests:RecentTasksTest
Change-Id: I13d1fcff8cda0e3a7ddbdb54790f6c24b6763657