Commit Graph

412397 Commits

Author SHA1 Message Date
TreeHugger Robot
77a059fe34 Merge "Tidy up some Javadoc." 2019-04-03 15:32:42 +00:00
TreeHugger Robot
c27b0785d2 Merge "Set active stream when progerss changed by user" 2019-04-03 15:28:12 +00:00
Eric Laurent
efa6c8a8db Merge "Revert "Mute haptic channels by default."" 2019-04-03 15:23:16 +00:00
Chandan Nath
88e193ba11 Merge "[Multi-user] Clean up user state stored in the system user directory when user is removed." 2019-04-03 15:22:11 +00:00
TreeHugger Robot
ff0e1f5241 Merge "Use a confirmedTap listener to guarantee a click. This eliminates the overlapping component listener bug from the caption service." 2019-04-03 15:13:32 +00:00
Mady Mellor
ac9c597d00 Merge "Use FLAG_BUBBLE rather than setting the value ourselves" 2019-04-03 14:56:42 +00:00
Todd Kennedy
8aaa528536 Merge "OMS: ignore instant apps" 2019-04-03 14:47:01 +00:00
TreeHugger Robot
eaf603ddec Merge "Change theme setting to JSONObject format." 2019-04-03 14:40:58 +00:00
Narayan Kamath
aa22f417e3 Merge "CastTile: Better handling of multiple active devices." 2019-04-03 14:10:22 +00:00
TreeHugger Robot
2c49d1233b Merge "Tell the app that a smart reply was used even when it has been edited." 2019-04-03 14:07:39 +00:00
Misha Wagner
3666811dc6 Merge "Add more tests to KernelCpuThreadReaderDiffTest" 2019-04-03 13:55:30 +00:00
Gustav Sennton
f29f2d4ada 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
2019-04-03 14:51:28 +01:00
Jorim Jaggi
ff23ad19df Merge "Use mPidMap instead of mProcessNames to get process with pid info" 2019-04-03 13:16:43 +00:00
Amin Shaikh
bb58879ddb Change theme setting to JSONObject format.
Add JSON_OBJECT_VALIDATOR to Settings and add unit tests.

Fixes: 129543539
Test: atest coretests
Change-Id: I4fa7a1357d442c1fa04a7eee815d5c3a48cc5115
2019-04-03 09:05:17 -04:00
Ecco Park
331411f945 Merge "carrier-config: define imsi_eap_identity_sequence_int key" 2019-04-03 12:56:05 +00:00
Chandan Nath
7053e28b59 [Multi-user] Clean up user state stored in the system user directory
when user is removed.

For non system users, backup state is stored in both the user's own dir and the system dir.
When the user is removed, the user's own dir gets removed by the OS. This code change ensures
that the part of the user backup state which is in the system dir also gets removed.

Bug: 127650374

Test: atest -v CtsBackupHostTestCases:android.cts.backup.MultiUserBackupStateTest

Change-Id: I4ea252e8e6da608e36ec3ac335666923d88a8748
2019-04-03 13:36:55 +01:00
Narayan Kamath
32492eebf9 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
2019-04-03 12:59:11 +01:00
Mathew Inwood
1c53bca656 Merge "Greylist IActivityTaskManagerSingleton." 2019-04-03 11:52:23 +00:00
lucaslin
607a13d9d1 Merge "Fix NetworkMonitor won't do private dns resolution" am: c895b818e0 am: aecea736d2
am: 7d0a216e79

Change-Id: I2785e0aedd229aba6c1d8e8df09ee5c7a209b74c
2019-04-03 04:35:21 -07:00
lucaslin
7d0a216e79 Merge "Fix NetworkMonitor won't do private dns resolution" am: c895b818e0
am: aecea736d2

Change-Id: I5ec0cb096f2704e21e0c0f296d5cf81ab8808627
2019-04-03 04:25:18 -07:00
lucaslin
aecea736d2 Merge "Fix NetworkMonitor won't do private dns resolution"
am: c895b818e0

Change-Id: I7c7a573bef77ba952219e6f6f56ab11f0211e0a7
2019-04-03 04:13:48 -07:00
Mark Chien
ed194a33e0 Merge "Some cleanups for Tethering" am: 31b33b6f41 am: 5dff3c98c5
am: 9d4a2a27e6

Change-Id: I0f5c8f33f13dfa2366992a2b2e0ada7667b90e2f
2019-04-03 03:54:42 -07:00
Treehugger Robot
c895b818e0 Merge "Fix NetworkMonitor won't do private dns resolution" 2019-04-03 10:50:09 +00:00
Misha Wagner
5fb988fa5d Add more tests to KernelCpuThreadReaderDiffTest
Change-Id: I2fd69de9fded626d1210443bb63c4be251dd2658
Test: atest KernelCpuThreadReaderDiffTest
2019-04-03 11:45:33 +01:00
Mark Chien
9d4a2a27e6 Merge "Some cleanups for Tethering" am: 31b33b6f41
am: 5dff3c98c5

Change-Id: I0e00187f9a5eee9e55f961ce0458c9b91af19fb7
2019-04-03 03:45:05 -07:00
Mark Chien
5dff3c98c5 Merge "Some cleanups for Tethering"
am: 31b33b6f41

Change-Id: Ifb60c76855a2bea5a1cccf26034e6c582ad16021
2019-04-03 03:35:42 -07:00
Alex Kershaw
83b0528587 Tidy up some Javadoc.
Tidy up InstallSystemUpdateCallback#UPDATE_ERROR_UPDATE_FILE_INVALID
javadoc.

Test: Javadoc change only
Change-Id: I114c60ec330c1cea96a187f727570373b4e7f3bc
2019-04-03 11:28:12 +01:00
Mark Chien
31b33b6f41 Merge "Some cleanups for Tethering" 2019-04-03 10:16:25 +00:00
TreeHugger Robot
62e98c42e3 Merge "Use Volume Group core callback in volume preference rather than intent" 2019-04-03 09:54:20 +00:00
Nicolas Geoffray
51541ec2d5 Merge "Remove support for dexopting shared libraries." am: 75a76da717 am: bd0b7295a6
am: f51cadfad5

Change-Id: I0270103a45df5205b07df8f8188870dc8e6f84b7
2019-04-03 02:50:35 -07:00
Nicolas Geoffray
f51cadfad5 Merge "Remove support for dexopting shared libraries." am: 75a76da717
am: bd0b7295a6

Change-Id: I3ce34a72359aa8fa53066311d37caabdd7b9717f
2019-04-03 02:29:05 -07:00
Remi NGUYEN VAN
34495dc292 Merge "Fix API in CaptivePortal, StaticIpConfiguration" am: 0470353c2e am: 77daae9b3d
am: e86dfa92fe

Change-Id: Icda65fe4a009a754b6a1a763d402820652d55391
2019-04-03 02:28:11 -07:00
Chenbo Feng
6cb1a0adcc Merge "Add tests for PermissionMonitor" am: a84cdf4fc6 am: b9ee567881
am: 18758e9f90

Change-Id: Ifcb29bfded1b1675231c397ed886506a70267279
2019-04-03 02:19:30 -07:00
Nicolas Geoffray
bd0b7295a6 Merge "Remove support for dexopting shared libraries."
am: 75a76da717

Change-Id: I2b77a9abfe953c0b2f3e1889a2f95ac78b7a8219
2019-04-03 02:12:43 -07:00
Remi NGUYEN VAN
e86dfa92fe Merge "Fix API in CaptivePortal, StaticIpConfiguration" am: 0470353c2e
am: 77daae9b3d

Change-Id: I82eee20855710de2b4fb541dd5e2b887140ed364
2019-04-03 02:12:22 -07:00
lucaslin
8175ac99ad 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
2019-04-03 17:09:28 +08:00
Chenbo Feng
18758e9f90 Merge "Add tests for PermissionMonitor" am: a84cdf4fc6
am: b9ee567881

Change-Id: I9be22991bd590a7aee4d0a4b2908e0023870d0b6
2019-04-03 02:05:07 -07:00
Mathew Inwood
7fb5aca05d 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
2019-04-03 09:49:04 +01:00
Nicolas Geoffray
75a76da717 Merge "Remove support for dexopting shared libraries." 2019-04-03 08:22:35 +00:00
Nicolas Geoffray
0c6d4db413 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 653356f114.

Test: BackgroundDexOptServiceIntegrationTests
Test: DexoptUtilsTest
Bug: 119800099
Change-Id: I3570fbc0e4f7079da3315691d676452b17e516a7
2019-04-03 08:21:47 +00:00
Remi NGUYEN VAN
77daae9b3d Merge "Fix API in CaptivePortal, StaticIpConfiguration"
am: 0470353c2e

Change-Id: Ia36ba5946e8dc956c5c71cbebe7dc02658fdb7a0
2019-04-03 01:21:38 -07:00
Narayan Kamath
94fda28a6b Merge "MediaProjectionManagerService: Exempt privileged apps from the f/g service requirement." 2019-04-03 08:14:14 +00:00
Chenbo Feng
b9ee567881 Merge "Add tests for PermissionMonitor"
am: a84cdf4fc6

Change-Id: I2079c4ce13aae962c1d907009edc107e861bb3b5
2019-04-03 01:10:07 -07:00
Richard Uhler
79d943d447 Merge "Use UserHandle.SYSTEM for ENABLE_ROLLBACK broadcast." 2019-04-03 08:05:02 +00:00
Po-Chien Hsueh
2d204b3985 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
2019-04-03 07:55:55 +00:00
Po-Chien Hsueh
91508ea20d 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
2019-04-03 07:54:54 +00:00
Howard Chen
72324e4eb1 Use gsid.isGsiEnabled to refine DynamicSystemService
* Add isEnabled
* Replace toggle with setEnable

Test: Compile passed
Bug: 125079548
Change-Id: I4931e6469388ea05194ba44ccb994f32c08ad40d
2019-04-03 07:53:50 +00:00
TreeHugger Robot
be8b2e8583 Merge "zygote: initialize selinux app contexts before fork()" 2019-04-03 06:59:33 +00:00
Remi NGUYEN VAN
0470353c2e Merge "Fix API in CaptivePortal, StaticIpConfiguration" 2019-04-03 06:51:35 +00:00
Treehugger Robot
a84cdf4fc6 Merge "Add tests for PermissionMonitor" 2019-04-03 06:12:12 +00:00