Commit Graph

415654 Commits

Author SHA1 Message Date
TreeHugger Robot
0d4716fcd2 Merge "GpuStats: Track ANGLE usage info" into qt-dev 2019-05-09 19:58:15 +00:00
TreeHugger Robot
d8f241214d Merge "Create notification channel interstitial shelf" into qt-dev 2019-05-09 19:52:41 +00:00
TreeHugger Robot
1fe353f6fd Merge "Global Actions Panel plugin can override Global Actions background" into qt-dev 2019-05-09 19:44:39 +00:00
TreeHugger Robot
f34f600c70 Merge "Synchronized WifiTracker scan result cache update logic" into qt-dev 2019-05-09 19:36:52 +00:00
Sudheer Shanka
e2ce2e00ca Merge "Update behavior of setDestinationInExternalPublicDir()." into qt-dev 2019-05-09 19:09:49 +00:00
Dario Freni
fca6e42895 Merge "Allow persistent APKs updates using PM flags." into qt-dev 2019-05-09 18:49:13 +00:00
TreeHugger Robot
907e0abca2 Merge "Update size and vertical spacing of clock on keyguard." into qt-dev 2019-05-09 18:46:08 +00:00
TreeHugger Robot
973ec50c27 Merge "Remove sanity check in UsageStatsDatabase." into qt-dev 2019-05-09 18:35:20 +00:00
TreeHugger Robot
f992bb99b2 Merge "Apply content capture settings to all users." into qt-dev 2019-05-09 18:27:37 +00:00
TreeHugger Robot
1ef70c3781 Merge "AudioService: implement de-registration (release) of recorders" into qt-dev 2019-05-09 18:26:30 +00:00
TreeHugger Robot
d1c478540a Merge "Import translations. DO NOT MERGE" into qt-dev 2019-05-09 18:25:53 +00:00
TreeHugger Robot
0bf807f2f8 Merge "Add new carrier config for supporting WPS over IMS" into qt-dev 2019-05-09 18:20:19 +00:00
TreeHugger Robot
cfbbe54c97 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-05-09 18:17:23 +00:00
Brad Ebinger
588c2c0e17 Merge "Use requestType, not service type for interrogation check" into qt-dev 2019-05-09 18:14:04 +00:00
Steve Elliott
86ef62853c Global Actions Panel plugin can override Global Actions background
Bug: 128828632
Test: manual
Change-Id: I7b68bd0be5243d0e42101d4e02ae24da786aee32
2019-05-09 18:07:35 +00:00
TreeHugger Robot
29c74cd40c Merge "Cache value of NotificationUtils.useNewInterruptionModel()" into qt-dev 2019-05-09 17:47:52 +00:00
Lucas Dupin
0ba00953e0 Merge "Revert LockIcon click behavior" into qt-dev 2019-05-09 17:47:40 +00:00
TreeHugger Robot
2e761ef06c Merge "Add logging enums for slice converter exceptions" into qt-dev 2019-05-09 17:45:10 +00:00
Hai Zhang
8e1c4a0916 Merge "Remove default app permission granting from DefaultPermissionGrantPolicy." into qt-dev 2019-05-09 17:33:50 +00:00
Robert Snoeberger
78a79d299e Update size and vertical spacing of clock on keyguard.
Bug: 130223602
Test: visual
Change-Id: I09f6dff826d6ef297a4babdc9aa70b7f138dbeed
2019-05-09 13:30:11 -04:00
Chavi Weingarten
9df0e02700 Merge "Use new captureScreen method with displayId or layerStack" into qt-dev 2019-05-09 17:21:57 +00:00
TreeHugger Robot
23feab4338 Merge "Fix TileLayout#onMeasure" into qt-dev 2019-05-09 17:10:38 +00:00
TreeHugger Robot
478b6810d8 Merge "Lower battery indicator on AOD screen" into qt-dev 2019-05-09 17:01:32 +00:00
TreeHugger Robot
ad2ddcf022 Merge "Fix cross-user background activity starts." into qt-dev 2019-05-09 16:52:48 +00:00
Felipe Leme
2c382f076b Merge "Fixed index passed to handleAssist()" into qt-dev 2019-05-09 16:45:54 +00:00
andychou
dcc0dd2efc Add new carrier config for supporting WPS over IMS
Some carriers allow WPS over IMS but carrier not allow.
Add a carrier config and dial WPS call over IMS or CS per config value

Bug: 131917532
Test: Override Carrier Config and test WPS over IMS or CS
Change-Id: Idb698b12ba08086584e1883cc61e31f924ae42cb
2019-05-10 00:33:15 +08:00
TreeHugger Robot
8af653e8b2 Merge "Fix AudioRecordingConfiguration.anonymizedCopy method" into qt-dev 2019-05-09 16:28:30 +00:00
Mikhail Naganov
cfe4c2627e AudioService: implement de-registration (release) of recorders
Clients must unregister themselves when client-side AudioRecord
goes away. This allows removing the tracking record sooner than
the client app goes away.

"DEATH" event has been renamed to "RELEASE". Client death is handled
the same way as regular release.

Bug: 123312504
Test: start and stop audio recording, check "dumpsys audio"
Change-Id: I6a9578b29ab3c41bac2bf4c823224276efbe1beb
2019-05-09 09:25:45 -07:00
Jorim Jaggi
44787038c2 Merge "Check for null bg insets during initialization" into qt-dev 2019-05-09 16:20:28 +00:00
TreeHugger Robot
1a054122f0 Merge "Add default brightness config to dumpsys display" into qt-dev 2019-05-09 16:13:27 +00:00
TreeHugger Robot
fbfb36f593 Merge "Displays that have focused apps can also be top focused" into qt-dev 2019-05-09 15:56:45 +00:00
Josh Tsuji
f4a8e08fb6 Merge "Adds the new dismiss target, with fling/magnet to dismiss." into qt-dev 2019-05-09 15:38:33 +00:00
Robert Snoeberger
11de8092b4 Lower battery indicator on AOD screen
Bug: 132273091
Test: visual
Change-Id: I351b1fb611f292e778224aa8eb5cfa3ef9ddaf72
2019-05-09 15:22:38 +00:00
Dario Freni
f3c1480ea7 Merge "Always restore staged sessions on boot." into qt-dev 2019-05-09 15:19:58 +00:00
Evan Laird
47dc4546ec Create notification channel interstitial shelf
From NotificationGuts, tapping "Turn off notifications" will now present
a half-shelf allowing the user to directly block up to 4 channels (the
one given from the notification guts + up to 3 other channels from
that app) or the app itself.

Test: visual (for now)
Bug: 130307442
Fixes: 131432719
Change-Id: I7e82928dfd56b9e25e5bef02607eede55b11d9e3
2019-05-09 11:13:19 -04:00
Bill Yi
b774f35ea2 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I6af36e569fdbe65c3ae973afa86e00927ee74c4c
2019-05-09 08:08:12 -07:00
Lorenzo Colitti
52ce3686f9 Merge changes If5801c81,Ifd669426,I7cbe5fc1 into qt-dev
* changes:
  Switch to positive naming for NetworkMonitor's Networks.
  Add tests for strict mode private DNS validation.
  Add a simple wrapper for IpClient.
2019-05-09 15:07:52 +00:00
TreeHugger Robot
52801c2445 Merge "Change the icon for the captive portal login app." into qt-dev 2019-05-09 15:06:02 +00:00
Jorim Jaggi
89d1bdedf7 Merge "Only consume status bar if FULLSCREEN is set" into qt-dev 2019-05-09 14:34:19 +00:00
Jorim Jaggi
d798fd3f99 Check for null bg insets during initialization
Test: Turn on Ambient sensing, toggle ambient sensing in settings
Fixes: 132264167
Change-Id: I7f19a91a7d78f8e6ae730871aebb6f7bfb30a0c5
2019-05-09 16:06:02 +02:00
Dario Freni
f2449f7c5c Always restore staged sessions on boot.
The current logic doesn't restore sessions unless they are "in flight".
We want staged session to stick around until they expire after
MAX_TIME_SINCE_UPDATE_MILLIS.

Bug: 131290871
Test: atest CtsStagedInstallHostTestCases (with modifications coming in
a separate CL)

Change-Id: Ifaccf50e744a97e30a4fda0e47b88d7dc71adcf8
2019-05-09 14:20:26 +01:00
Alan Stokes
2f4a4ed6b5 Fix cross-user background activity starts.
This fixes some issues with checking background activity starts when
there are multiple users:

1. System server can run in other users, and we need to take this into
account when checking for Process.SYTEM_UID.

2. Starting an activity via cross-profile intent uses
startActivityAsCaller. This will generally fail our checks (because the
app we are pretending to be is not foreground) but it should be
allowed - when we use this call the system server definitely wants the
activity to be shown, and there are sufficient permission checks in
place to prevent abuse.

Bug: 130622120
Test: CTS Verifier tests no longer get blocked activity starts.
Test: atest BackgroundActivityLaunchTest
Test: atest RootWindowContainerTests
Test: atest WmTests:ActivityStarterTests
Test: atest CtsWindowManagerDeviceTestCases:ActivityStarterTests
Test: atest CtsAppTestCases:.ServiceTest
Change-Id: Id05a2cb089ac99b15cff8a3cd311ee043f13c8e1
2019-05-09 12:43:58 +00:00
Lorenzo Colitti
c52bc221a7 Switch to positive naming for NetworkMonitor's Networks.
"mNonPrivateDnsBypassNetwork" is not very easy to understand.

Bug: 122652057
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: If5801c81c6ef222b46f631bd6570dcd0fea465bd
Merged-In: If5801c81c6ef222b46f631bd6570dcd0fea465bd
(cherry picked from commit 669dc6cea7)
2019-05-09 12:36:02 +00:00
Lorenzo Colitti
ab3611bc08 Add tests for strict mode private DNS validation.
Test successful and failed validation, and updating the config.
In order to do this, add a FakeDns class so we can change DNS
responses dynamically while the test is running.

Also a couple of minor fixes:
1. Make sure the DNS timeout is set. Before this CL, it was
   always 0. Not sure why. It does seem to be set to the default
   value (12500) when actually running on device. We didn't
   catch this because the only tests that use the timeout set it
   explicitly.
2. Make runNetworkTest a bit more realistic: always send
   NetworkCapabilities *before* calling notifyNetworkConnected.
   This is what ConnectivityService does.

Bug: 122652057
Test: atest FrameworksNetTests NetworkStackTests
Test: atest --generate-new-metrics 50 NetworkStackTests:com.android.server.connectivity.NetworkMonitorTest
Change-Id: Ifd6694262501874f3261c864a049cb35c6afb9c8
Merged-In: Ifd6694262501874f3261c864a049cb35c6afb9c8
(cherry picked from commit 89909befd2)
2019-05-09 12:35:18 +00:00
Lorenzo Colitti
64c39a1890 Add a simple wrapper for IpClient.
This takes care of boilerplate tasks such as clearing calling
identity, catching RemoteExceptions, and converting to stable
parcelable objects.

Bug: 131206163
Test: builds, boots, wifi works
Test: atest FrameworksNetTests
Change-Id: I7cbe5fc105503d0983cba2bf77fb0097bd20d9ba
Merged-In: I7cbe5fc105503d0983cba2bf77fb0097bd20d9ba
(cherry picked from commit 67a6f782e2)
2019-05-09 12:07:48 +00:00
Lorenzo Colitti
f0196b9c34 Change the icon for the captive portal login app.
Looks like https://screenshot.googleplex.com/6n4Cf3LRv4A
Icon comes from frameworks/base/core/res/res/drawable/stat_notify_wifi_in_range.xml

Test: manual
Bug: 29924821
Change-Id: I378fdb2d493fb8598c3e4fa98e100696c72f88ea
Merged-In: I378fdb2d493fb8598c3e4fa98e100696c72f88ea
(cherry picked from commit 0b4e075016)
2019-05-09 11:55:44 +00:00
Mohammad Samiul Islam
39789e86f7 Merge "Revert "Populate active apexes cache in a background thread"" into qt-dev 2019-05-09 11:12:38 +00:00
Edgar Wang
fa3034615f Merge "Set the default value for Secure Settings: SKIP_GESTURE & SILENCE_GESTURE" into qt-dev 2019-05-09 10:56:10 +00:00
Lorenzo Colitti
8961a1728b Merge "[CS] Unregister callback as part of onUnavailable dispatch" into qt-dev 2019-05-09 09:42:38 +00:00
Kenny Guy
2ebb5317ce Add default brightness config to dumpsys display
Test: manual: Booted device and ran adb dumpsys display checked for config.
Bug: 131735749
Change-Id: Id6957807487381ddf84bb40cf12e2b36b374daf9
2019-05-09 09:39:20 +00:00