Commit Graph

406017 Commits

Author SHA1 Message Date
Irina Dumitrescu
d74fb7c93c Revert "Avoid LockSettingsService NPE during CTS due to races around user removal."
This reverts commit e83f512553.

Reason for revert: http://b/125421639 was due to a bug in broadcasts which is now fixed.

Change-Id: I678d7721c948dadfbca8aca50183290438e7f451
2019-03-06 16:42:29 +00:00
Irina Dumitrescu
e83f512553 Avoid LockSettingsService NPE during CTS due to races around user removal.
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.ManagedProfileTest
Fixes: 125421639
Change-Id: Ie015748f4ef54a8de9ad143df2fe1b0f40976f40
2019-02-26 12:30:28 +00:00
TreeHugger Robot
8e95f0bfb9 Merge "Delaying populating APEX cache until boot is completed." 2019-02-25 12:37:04 +00:00
Shafik Nassar
31756bdaa7 Merge "Implement staged directory clean up for staged install" 2019-02-25 11:53:05 +00:00
Mohammad Samiul Islam
5eacf09ea4 Implement staged directory clean up for staged install
Staged files should be deleted from /data/staging once installation
is complete, regardless of failure or success. If a session fails
pre-reboot verification, then it can be deleted before reboot.

Bug: 123624108
Test: manual testing
      - create two apex files; aosp signed and dev signed
      - flash device with internal master
      - aosp signed apex file will fail pre-reboot verification
      - check that files are deleted in /data/staging
      - repeat with multiple package
      - dev signed package passes pre-reboot verification
      - on reboot, files should be deleted from /data/staging

Change-Id: I44a6cc72de26ad0216942623edb6e279c628d58d
2019-02-25 10:28:52 +00:00
Martijn Coenen
3f6299409f Delaying populating APEX cache until boot is completed.
To avoid taking a boot time hit.

Bug: 124528038
Test: boots
Change-Id: Id551bc686fc61c0d5e40b4b5a421baa48916c848
2019-02-25 09:00:30 +01:00
Ivan Chiang
c0c7f7560d Merge "Add @RequiresPermission annotations to getCahce and putCache" 2019-02-25 05:15:53 +00:00
TreeHugger Robot
bae1b92132 Merge "Adding a selector to the button color." 2019-02-25 03:49:47 +00:00
Ivan Chiang
a46ade3cc1 Add @RequiresPermission annotations to getCahce and putCache
Add @RequiresPermission annotations to the methods so that
it's clear what permission is protecting these APIs.

Test: make
Change-Id: I203ce997319c7fc8a13e91b55f3c55d844429be8
Fix: 123661724
2019-02-25 11:30:34 +08:00
Cassie Wang
05ad6df98a Merge "Use an implicit intent to launch Dialer" 2019-02-25 01:30:30 +00:00
Dario Freni
a3c30c21ac Merge "Throw a checked exception on child session linkage" 2019-02-24 19:45:06 +00:00
Ricky Wai
b953577b27 Disable app details activity for the apps installed before Q
Bug: 124876950
Test: Set mIsPreQUpgrade to true, all existing app without launcher icon still remain doesn't have an icon
Change-Id: I38d4af7a0b1c28dba3f2f82746805a3f848cf87f
2019-02-23 16:17:50 +00:00
Ricky Wai
b9616408ad Merge "Do not return AppDetailsActivity in PackageInfo" 2019-02-23 12:00:12 +00:00
TreeHugger Robot
7d9c08d393 Merge "Control lid behaviour with a Global setting" 2019-02-23 06:54:48 +00:00
Kevin Rocard
2f9dd0aa80 Merge "Public Audio playback capture must have a valid projection" 2019-02-23 05:22:33 +00:00
TreeHugger Robot
da1cd64264 Merge "Bluesky: move tests to CTS" 2019-02-23 05:13:02 +00:00
Sudheer Shanka
9d2829ba4d Merge "Fix inconsistent naming and indentation." 2019-02-23 04:40:38 +00:00
TreeHugger Robot
ec2149bd9a Merge "fix binary push flag usage" 2019-02-23 04:34:51 +00:00
TreeHugger Robot
fb8509a3dd Merge "Create setting screen from Notification Assistant" 2019-02-23 04:30:23 +00:00
TreeHugger Robot
370b0da014 Merge "Fix View#performHapticFeedback() can block UI thread" 2019-02-23 03:39:53 +00:00
TreeHugger Robot
05675bc0cf Merge "Made AbstractRemoteService.getRemoteRequestMillis() optional." 2019-02-23 03:25:46 +00:00
TreeHugger Robot
1f6b9850bd Merge "Update comments related to force default rotation." 2019-02-23 03:07:25 +00:00
Edward Savage-Jones
ce7a01fd78 Control lid behaviour with a Global setting
Using a global setting to specify the lid open/close behaviour
allows OEMs to support switching between windowed and windowless
lids at runtime instead of build time.

Bug: 70378569
Test: Find the hall effect sensor on the device and then using a magnet
confirm the expected behaviour for each global setting:
* No reaction from device
adb shell settings put global lid_behavior 0
* Sleep/screen off
adb shell settings put global lid_behavior 1
* Lock screen but screen stays on
adb shell settings put global lid_behavior 2
Change-Id: I53682711aeaaeb9eead7246ba83e4dd4b3c06a58
2019-02-23 10:18:21 +08:00
TreeHugger Robot
870edccb68 Merge "Create an interface to set details text" 2019-02-23 02:15:26 +00:00
TreeHugger Robot
e4851982f8 Merge "Fix missing .fsv_sig after partial split install" 2019-02-23 02:05:53 +00:00
gomo
0031798599 Bluesky: move tests to CTS
Bug: 111441283
Test: Current Tests Pass.
Change-Id: I0bba5346dbb7d32126b7f8c7e281ca53ea77bfc1
2019-02-22 17:39:23 -08:00
Hsiu-Chang Chen
2a2e15cb78 Merge "p2p: fix the copy constructor of WifiP2pDevice" 2019-02-23 01:27:15 +00:00
Qasid Sadiq
62b67c26c9 Merge "Revert "Fix a11y cache correctness bug"" into pi-dev am: 987ec033ab
am: 24f953a6c2

Change-Id: I38d80cd355ebf044696848d1d4697521cd78183f
2019-02-22 17:23:08 -08:00
TreeHugger Robot
3f9eff103e Merge "Re-throw reflective exceptions" 2019-02-23 01:10:32 +00:00
Garfield Tan
12b12f7a59 Update comments related to force default rotation.
Bug: 124420570
Test: TH is enough.
Change-Id: I00058bb932ef16db2b49b494156c2ca1c650ce1c
2019-02-22 16:33:27 -08:00
TreeHugger Robot
b8d804f074 Merge "Use colored shadow for DeviceDefault.Colored buttons." 2019-02-23 00:27:00 +00:00
Ricky Wai
905908f743 Do not return AppDetailsActivity in PackageInfo
Also, update javadoc for LauncherApps.getActivityList()

Bug: 119789943
Test: atest android.content.pm.cts.PackageManagerTest#testGetPackageInfo
Change-Id: I1a183207e6eb880a68811d4c2a5cf77d3f71f0b0
2019-02-23 00:26:57 +00:00
Qasid Sadiq
24f953a6c2 Merge "Revert "Fix a11y cache correctness bug"" into pi-dev
am: 987ec033ab

Change-Id: I00d421256cbda478bf413a2195f14787d09d133c
2019-02-22 15:55:50 -08:00
Ecco Park
8541aa5bca Merge "OsuLogin: disconnect wifi network when activitiy is destroyed" 2019-02-22 23:45:23 +00:00
Qasid Sadiq
987ec033ab Merge "Revert "Fix a11y cache correctness bug"" into pi-dev 2019-02-22 23:43:54 +00:00
Victor Hsieh
fdc5208641 Fix missing .fsv_sig after partial split install
Test: adb install-multiple foo.apk foo.apk.fsv_sig
      adb install-multiple -p com.foo foo_split.apk foo_split.apk.fsv_sig
      # See base.apk.fsv_sig in /data/app/com.foo-*/
Bug: 112037636
Change-Id: I043c7bf545164c58b2cc37507d10188c25033f6b
2019-02-22 15:40:56 -08:00
Chandan Nath
8715260984 Merge "[Multi-user] add PackageInstaller.installExistingPackage with IntentSender which is fired only after the asynchronous restore is complete" 2019-02-22 23:34:04 +00:00
TreeHugger Robot
a9954d9aae Merge "Fixed when ContentCapture is finished." 2019-02-22 23:30:12 +00:00
Mikhail Naganov
d073c00a8a [automerger skipped] Merge "Visualizer: fix native crash when visualizer release" into pi-dev am: d4d9e1a08c -s ours
am: 684632498c -s ours
am skip reason: change_id I0cda2ff2be8ce487e10b5311fbdc043fa57d91d4 with SHA1 52f7adec6c is in history

Change-Id: I618e5a464243757af1b1e0c82cf646c9f95e2788
2019-02-22 15:28:52 -08:00
Ashley Rose
c74a113d28 Re-throw reflective exceptions
Test: atest GeneratedInspectionCompanionProviderTest
Fixes: 125800739
Change-Id: Ifea2c3dc303e255bc704ee34168e250e649519b5
2019-02-22 18:24:18 -05:00
zengjing
6c02bf9663 [automerger skipped] Visualizer: fix native crash when visualizer release am: 52f7adec6c -s ours
am: d605c82661 -s ours
am skip reason: change_id I0cda2ff2be8ce487e10b5311fbdc043fa57d91d4 with SHA1 5a56b61c16 is in history

Change-Id: I5940f5fd4f11022ecb2e2724b8ca0d370d8b74c5
2019-02-22 15:20:22 -08:00
Mikhail Naganov
684632498c [automerger skipped] Merge "Visualizer: fix native crash when visualizer release" into pi-dev
am: d4d9e1a08c -s ours
am skip reason: change_id I0cda2ff2be8ce487e10b5311fbdc043fa57d91d4 with SHA1 52f7adec6c is in history

Change-Id: Ie7d3c9fcae8ac3d4f4314c53ba86da0eb8d66696
2019-02-22 15:12:58 -08:00
zengjing
d605c82661 [automerger skipped] Visualizer: fix native crash when visualizer release
am: 52f7adec6c -s ours
am skip reason: change_id I0cda2ff2be8ce487e10b5311fbdc043fa57d91d4 with SHA1 5a56b61c16 is in history

Change-Id: Iecb12cd00920fabf0c3ad25e4e1d2b1c4172f572
2019-02-22 15:07:56 -08:00
Mikhail Naganov
d4d9e1a08c Merge "Visualizer: fix native crash when visualizer release" into pi-dev 2019-02-22 22:55:06 +00:00
Mady Mellor
01dd1a233d Merge "Allow bubbles to be displayed at the bottom of the screen" 2019-02-22 22:30:05 +00:00
TreeHugger Robot
8e8180a66a Merge "Set the RemoteAugmentedAutofillService when service dies, so that system server can try to reconnect the next time" 2019-02-22 22:20:50 +00:00
Chenjie Yu
a2fc124e4c fix binary push flag usage
Test: gts
Bug: 125851063
Change-Id: I005c809401ad5b3de5f1b71c1b1751dc3d81bf6f
2019-02-22 14:09:59 -08:00
Sudheer Shanka
74584a5fab Fix inconsistent naming and indentation.
Test: manual
Test: atest cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ExternalStorageHostTest.java

Change-Id: If2ea679dd07bd0bf478627cbf66087e9d1996590
2019-02-22 14:08:05 -08:00
Yiwei Zhang
5ccf21b382 Merge "Game Driver: process sphal libraries in GPU service" 2019-02-22 21:45:56 +00:00
Wei Wang
141852c378 Merge "Remove HardwarePropertiesManager usage" 2019-02-22 21:28:11 +00:00