Commit Graph

413169 Commits

Author SHA1 Message Date
Svetoslav Ganov
71d8e5ffcf Merge "Handle restricted permissions for shared UID components - framework" into qt-dev 2019-04-10 19:16:45 +00:00
Yin-Chia Yeh
85ad2979aa Merge "DngCreator: scale lens distortion paramters" into qt-dev 2019-04-10 19:16:07 +00:00
Jeff Sharkey
668f138c3a Merge "People might want GROUP_CONCAT." into qt-dev 2019-04-10 19:05:19 +00:00
TreeHugger Robot
329a9b0b6f Merge "Handle additional users settings custom clock faces." into qt-dev 2019-04-10 18:45:01 +00:00
TreeHugger Robot
592192f813 Merge "Sharesheet - navbar color integration" into qt-dev 2019-04-10 18:37:26 +00:00
TreeHugger Robot
9cca9b4e8a Merge "Fix log spam from DefaultPermissionGrantPolicy" into qt-dev 2019-04-10 18:23:20 +00:00
TreeHugger Robot
3fa2657fd6 Merge "Hard-disable precompiled layouts" into qt-dev 2019-04-10 18:16:41 +00:00
Christine Franks
8d17d4ca7d Merge "Add config for display white balance default state" into qt-dev 2019-04-10 18:08:54 +00:00
Hayden Gomes
1114046a4d Merge "Set stream volume for lecacy stream types" into qt-dev 2019-04-10 18:06:29 +00:00
TreeHugger Robot
1d926382f6 Merge "CameraServiceProxy: Handle race between systemserver and cameraserver" into qt-dev 2019-04-10 18:06:09 +00:00
TreeHugger Robot
f0af267513 Merge "Handle onNullBinding" into qt-dev 2019-04-10 17:58:00 +00:00
Nikita Ioffe
af3ac3b170 Merge "Add ROLLBACK_FAILED apexd session to StagingManager" into qt-dev 2019-04-10 17:46:22 +00:00
TreeHugger Robot
8bffd47f7a Merge "Revert "Revert "Fix lifecycle issue in CommonPool""" into qt-dev 2019-04-10 17:42:09 +00:00
TreeHugger Robot
10673d513f Merge "BinaryPushStateChanged enum updates" into qt-dev 2019-04-10 17:36:58 +00:00
Mady Mellor
b78bc92ed3 Merge "Make FLAG_BUBBLE public; update some documentation" into qt-dev 2019-04-10 17:33:20 +00:00
Jeff Sharkey
457296a084 Merge "Split VOLUME_EXTERNAL and VOLUME_PRIMARY." into qt-dev 2019-04-10 17:31:13 +00:00
TreeHugger Robot
a1cab98af4 Merge "Update car paddings" into qt-dev 2019-04-10 17:10:24 +00:00
Benedict Wong
610eed67b6 Merge "Fix remove-before-add for IpSecService RefcountedResource" into qt-dev 2019-04-10 17:07:02 +00:00
Jonathan Koo
f746b4b485 Merge "Address UI change request for injected services" into qt-dev 2019-04-10 16:46:15 +00:00
Jeff Sharkey
0ab6feb7c8 People might want GROUP_CONCAT.
Bug: 129890881
Test: none
Change-Id: I24b6cc3c65e7a25b34c57f17584ba75c40be38ab
2019-04-10 10:27:19 -06:00
Shuzhen Wang
64e6437d1e CameraServiceProxy: Handle race between systemserver and cameraserver
Add retry logic for case where camera proxy in system service needs to
wait for camera server to starts up.

Test: Camera CTS and Forrest test
Bug: 130045093
Change-Id: Ib56e487bbd039dad21bf9e86524cf417f3abcd4c
2019-04-10 16:26:09 +00:00
Felipe Leme
bef3d76b16 Merge "Clarified ContentCaptureCondition constructor." into qt-dev 2019-04-10 16:19:56 +00:00
Eric Holk
49e7040b92 Hard-disable precompiled layouts
The feature is not enabled for Q, so although the cost of checking if it's
enabled is low, there's no reason to pay it at all.

Bug: 111895153
Change-Id: I0d20f47d2c8ddc15031257ce87b40a0d23a617ff
2019-04-10 09:16:05 -07:00
TreeHugger Robot
9214de571f Merge "Do not deep copy bundle in getExtras()" into qt-dev 2019-04-10 16:00:56 +00:00
Lucas Dupin
9aab7ae143 Merge "Revert "Release bitmap reference right after Per85ComputeTask done its job."" into qt-dev 2019-04-10 15:57:49 +00:00
Mark Renouf
853cf287fa Merge "BubbleData [4/n]: Cleanup StackView initializiation" into qt-dev 2019-04-10 15:55:37 +00:00
Mark Renouf
c46a60fa63 Merge "BubbleData [3/n]: separate Bubble view inflation" into qt-dev 2019-04-10 15:55:24 +00:00
TreeHugger Robot
bd29a284b8 Merge "Reset system fixed to clean storage perm model 2" into qt-dev 2019-04-10 15:38:41 +00:00
Svet Ganov
38a0631dda Handle restricted permissions for shared UID components - framework
We set the app op for a restricted permission to allow if the app
requesting the permission is whitelisted and to deny if the app requesting
the permission is not whitelisted. However, there is another case where an
app in a shared user can access a component in another app in the same shared
user due to being in the same shared user and not by having the permission
that guards the component form the rest of the world. We need to handle this.
The way we do this is by setting app ops corresponding to non requested
restricted permissions to allow as this would allow the shared uid access
case and be okay for other apps as they would not have the permission and
would fail on the permission checks before reaching the app op check.

Test: atest CtsAppSecurityHostTestCases:android.appsecurity.cts.PermissionsHostTest
Test: atest CtsPermissionTestCases
Test: atest CtsPermission2TestCases
Test: atest CtsRoleTestCases
Test: shell query commands now work

bug:130045570

Change-Id: I654f057e909340fafd708b2bca182eb105d0cd30
2019-04-10 15:38:11 +00:00
Jeff Sharkey
586d3c013a Split VOLUME_EXTERNAL and VOLUME_PRIMARY.
To let developers focus on specific concrete storage devices in Q,
we need a volume name that can be used to point at the primary
external storage device.  We had been using VOLUME_EXTERNAL for that,
but we've heard that certain apps are making deep assumptions that
media item IDs are globally unique across all volumes.

Thus these changes merge all volumes back into a single underlying
database, and VOLUME_EXTERNAL works with all of the currently
attached volumes.  The new VOLUME_PRIMARY name can be used to focus
on the primary storage device when desired.

When developers try inserting items directly into VOLUME_EXTERNAL,
we gracefully assume they meant VOLUME_PRIMARY.

Bug: 128451765
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I682ff6e9aaab4f5315a46c9825313a438548c7e6
2019-04-10 09:35:14 -06:00
TreeHugger Robot
acbdf91036 Merge "Support ATT 5 level signal bars display" into qt-dev 2019-04-10 15:21:22 +00:00
Jeff Sharkey
191114330a Merge "Refactor s/TypeInfo/MimeTypeInfo/ per feedback." into qt-dev 2019-04-10 15:09:33 +00:00
Julia Reynolds
8a4f2aba40 Handle onNullBinding
Test: atest
Fixes: 111388269
Change-Id: I3e25a11712ee913ddc4b0ef5dd6055aa804ba94a
2019-04-10 10:48:13 -04:00
TreeHugger Robot
c39db916fa Merge "Only show 'scanning' animation on bouncer" into qt-dev 2019-04-10 14:21:03 +00:00
TreeHugger Robot
a1de518e56 Merge "Guard against creating too many MobileSignalControllers" into qt-dev 2019-04-10 14:16:03 +00:00
Michal Karpinski
328cd4c86a Merge "Fix NPE in CompanionDeviceManagerService#unlockUser()" into qt-dev 2019-04-10 13:49:41 +00:00
TreeHugger Robot
46ea5598a4 Merge "Ensure that hardware Bitmap has a ColorSpace" into qt-dev 2019-04-10 13:19:18 +00:00
andychou
9e39628c4a Support ATT 5 level signal bars display
Bug:123528673
Test: Insert ATT SIM and check if 5 level bars display is correct
Change-Id: Ibc3d270d64d21d2a2f792cf68416e93b086cbd0e
2019-04-10 20:49:06 +08:00
TreeHugger Robot
4e75d8b4e0 Merge "Remove dismiss action and associated event tag. Users expect the volume dialog to stay on screen after a press, like when interacting with the rest of the dialog." into qt-dev 2019-04-10 12:38:49 +00:00
Leon Scroggins III
87e99a29aa Ensure that hardware Bitmap has a ColorSpace
Bug: 129355537
Test: I9e004fbb7c966bb58ae374087fecd66a1bb72346

android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode in
SkiaGL could create an android::Bitmap without an SkColorSpace. Treat
HAL_DATASPACE_UNKNOWN as sRGB, as this is how we treat it internally.

Change-Id: Iad7f7d7cafce0a8759a84a4296ae5c3ce86dff4c
(cherry picked from commit 7fb4c9e4bb)
Merged-In: Iad7f7d7cafce0a8759a84a4296ae5c3ce86dff4c
2019-04-10 12:10:52 +00:00
TreeHugger Robot
db54f27d0a Merge "MediaSessionService: Log more info on volume key event" into qt-dev 2019-04-10 11:21:34 +00:00
Chiachang Wang
60cc2ab6e7 Merge "Enforce NETWORK_STACK permission for calling NSS#forceUpdateIfaces" into qt-dev 2019-04-10 10:55:06 +00:00
Michal Karpinski
670b0d58f7 Fix NPE in CompanionDeviceManagerService#unlockUser()
Test: manual
Bug: 130221860
Change-Id: I77f59d3b60fb79fc3b975449903ad28b5b7893e2
2019-04-10 11:02:54 +01:00
Anthony Tripaldi
8eb58c2336 Remove dismiss action and associated event tag. Users expect the volume
dialog to stay on screen after a press, like when interacting with the
rest of the dialog.

Bug:129977566
Test: manual
Change-Id: Ibafbfa91e54e375bb7f3ac17e85d2bb94a284e95
2019-04-10 10:00:39 +00:00
Vladimir Marko
38c298ac32 Merge "Restrict updatable-media to android.media package." into qt-dev 2019-04-10 09:46:32 +00:00
TreeHugger Robot
e777220a38 Merge "Fix Launcher crash while handling top resumed state" into qt-dev 2019-04-10 09:07:35 +00:00
Kevin Chyn
76d5454a86 Merge "Handle cancellation properly for setDeviceCredentialAllowed(true)" into qt-dev 2019-04-10 08:34:34 +00:00
Wu Ahan
f04468806f Revert "Release bitmap reference right after Per85ComputeTask done its job."
This reverts commit 1e0e143c40.

Reason for revert:
ART remove preloaded classes in ag/6987683 to prevent AsyncTask leakage.
1. android.content.AsyncTaskLoader$LoadTask
2. android.speech.tts.TextToSpeech$Connection$SetupConnectionAsyncTask

Bug: 124127996
Bug: 130206915
Test: Obtain CL ag/6987683 in local test environment.
Test: run "atest android.app.cts.WallpaperManagerTest".
Test: Observe AsyncTask do not cause bitmap object leak anymore.
Change-Id: I358756366fd9a08bbdd51e09f21fccafee7ad311
2019-04-10 08:27:37 +00:00
TreeHugger Robot
4777281cf4 Merge "Remove overlay logic from package manager and parser" into qt-dev 2019-04-10 07:59:42 +00:00
TreeHugger Robot
36844cc4b8 Merge "Adding a new dimension in dimens_car.xml for the spacer between title and message in a dialog." into qt-dev 2019-04-10 07:24:34 +00:00