Commit Graph

1289 Commits

Author SHA1 Message Date
TreeHugger Robot
e754074a05 Merge "move privapp_whitelist_com.android.storagemanager to system_ext" 2019-12-16 09:19:31 +00:00
Louis Chang
677921fc25 Merge ActivityDisplay and DisplayContent into one class (77/n)
Bug: 80414790
Test: Existing tests pass
Change-Id: I1924af0d353406ad950b9758e19384a579ad1426
2019-12-13 17:51:46 +08:00
Issei Suzuki
324f2845f5 Merge "Separate animation applying logic from commitVisibility" 2019-12-12 05:44:26 +00:00
Jeongik Cha
f32bbcf742 move privapp_whitelist_com.android.storagemanager to system_ext
As StorageManager, permissions.xml should follow the app's partition.

Test: m && check booting
Bug: 137908189
Change-Id: Ie791b5fbe1b1906537a57e8f1c34029c0f092afc
2019-12-11 22:02:59 +09:00
TreeHugger Robot
69218ced43 Merge "Move 'privapp_whitelist_com.android.launcher3' to system_ext" 2019-12-11 03:53:17 +00:00
Issei Suzuki
2bcbd6809c Separate animation applying logic from commitVisibility
Test: Refactoring. Pass existing tests.
Bug: 131661052

Change-Id: Ic455bcf77d405410ed8639664b643564fb089338
2019-12-11 11:33:31 +08:00
PO HUNG CHEN
e607256c64 Merge "Fix boot failure on aosp_pixel-userdebug" 2019-12-11 02:09:09 +00:00
Howard Chen
c38989264e Fix boot failure on aosp_pixel-userdebug
Test: Boot test
Bug: 145904897
Change-Id: Icb83f886c8734aee8d77d455754ffa37336aa6d9
2019-12-10 12:42:15 +08:00
Greg Kaiser
6074b2592e Add some sounds used by KeyguardViewMediator
Logcat failures indicate these three sounds are used in Android Go
builds.

Bug: 145923544
Test: Boot wembley and no longer see error in logcat about these files.
Change-Id: I3ee3248125d4f08a5ad71d1936a88484a8964fa2
2019-12-09 12:28:00 -08:00
PO HUNG CHEN
63a772c070 Merge "Allow the DSU Loader to install DSU package" 2019-12-09 03:36:45 +00:00
Jeff Sharkey
993b3ed571 Merge "Structure MediaProvider as an APEX." 2019-12-08 21:20:34 +00:00
TreeHugger Robot
93b3b42b65 Merge "Move 'privapp_whitelist_com.android.settings' to system_ext" 2019-12-05 04:09:20 +00:00
Jeff Sharkey
5fceb1574f Structure MediaProvider as an APEX.
Based on guidance from the Mainline team, we're placing the
MediaProvider APK inside a new APEX, as this will allow us to
move MediaStore.java inside the module boundary in a future CL.

As part of this restructuring, we need the pre-Mainline APK to
remain intact to preserve the user's media database.  There is
already logic in place from previous CLs that will migrate data
from the pre-Mainline to the post-Mainline world, including tests
to verify that the migration works.

Bug: 144247087
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I4c45dcf019442013da8fce0223ed0be896dedef4
2019-12-04 16:28:42 -07:00
Tyler Gunn
bf7be6def1 Merge "Car mode InCallService changes." am: 1d4fcf1703 am: 920d3e0fbf
am: bed4e9789c

Change-Id: I10f1de2db0dfc6657c7aece1e31f35da5c07a37c
2019-12-04 14:46:55 -08:00
Tyler Gunn
1d4fcf1703 Merge "Car mode InCallService changes." 2019-12-04 16:50:47 +00:00
Jeongik Cha
9a970c0494 Move 'privapp_whitelist_com.android.launcher3' to system_ext
As AOSP launcher is moved to system_ext, its permission files will follow the app location.

Test: m
Bug: 137908189
Change-Id: I5d11e3901633be82f375c56a5ef2c79b6e0b0922
2019-12-04 13:09:41 +09:00
Jeongik Cha
a8eb85afb4 Move 'privapp_whitelist_com.android.settings' to system_ext
As Settings is moved to system_ext, its permission files will follow the app location.

Test: m
Bug: 137908189
Change-Id: I58ae29a6454f91f222b15ccbd9d3e5b5d5889289
2019-12-04 12:35:08 +09:00
TreeHugger Robot
e7366b91e1 Merge "move privapp_whitelist_com.android.provision to system_ext" 2019-12-04 00:19:00 +00:00
TreeHugger Robot
b7b7cb0128 Merge "privapp_whitelist_com.android.emergency to system_ext" 2019-12-04 00:18:27 +00:00
Bookatz
52c7408b15 Fix typos in preinstalled-packages-platform.xml
Test: N/A (just comments)
Change-Id: Id383cba37379dc94fe5cb2b81a5bb70acbe7f614
2019-12-03 09:31:05 -08:00
Howard Chen
a46d15d66f Allow the DSU Loader to install DSU package
The DSU Loader is an Activity for developers to select a DSU
package and install.

Bug: 140090894
Test: click settings->developer option->debug::DSU Loader
Change-Id: If661ee3865ecc6234c19a7cf7376df1677313f60
2019-12-02 19:13:38 +08:00
Tyler Gunn
f701f7a765 Car mode InCallService changes.
1. Grant ENTER_CAR_MODE and CONTROL_INCALL_EXPERIENCE permissions to the
shell identity for use within CTS tests.
2. Remove un-needed Telecom shell command.

Test: unit tests, telecom CTS tests, manual testing
Bug: 144345414
Change-Id: I54a2e723d6ef9552117e6cadf4ab7c449dd5e3cb
2019-11-26 13:43:53 -08:00
TreeHugger Robot
b80612d1e2 Merge "UserSystemPackageInstaller uses user types" 2019-11-26 19:35:50 +00:00
Roshan Pius
dc4c722068 Merge changes from topic "wifi_mainline_apex"
* changes:
  Revert "Add a new wifi protection level"
  Revert "Mainline wifi stack module"
  Revert "WifiManager: Retrieve IWifiManager service lazily"
  Revert "Sysui/WifiTracker: Changes to support late starting wifi service"
2019-11-26 19:22:17 +00:00
TreeHugger Robot
d5617a96f0 Merge "privapp_whitelist_com.android.carrierconfig to system_ext" 2019-11-26 14:38:13 +00:00
Jeongik Cha
2c979fcb5f move privapp_whitelist_com.android.provision to system_ext
Test: m
Bug: 137908189
Change-Id: I183397b6e7e3783e26f1fd345c357af47410bb22
2019-11-26 16:15:40 +09:00
Jeongik Cha
38ed7d7410 privapp_whitelist_com.android.emergency to system_ext
Test: m
Bug: 137908189
Change-Id: I50c04967fb5a3e4f3227b50d750f24d3d8deeec4
2019-11-26 16:13:57 +09:00
Jeongik Cha
228ef6fa66 privapp_whitelist_com.android.carrierconfig to system_ext
Test: m
Bug: 137908189
Change-Id: I65cb7cb998d23541c8bcd2cfd81c8a9b94e7eccc
2019-11-26 15:55:47 +09:00
Roshan Pius
ac76d48454 Revert "Mainline wifi stack module"
This reverts commit 6f5338dd8f.

Reason for revert: Wifi services no longer plan to be a separate
APK/process for mainline. Will instead become a jar loaded from Apex.

Bug: 144722612
Test: Device boots up & connects to wifi networks.
Change-Id: I293e36973c4bdbd8bf9db2fcd78e61e6c38b39f4
2019-11-25 20:59:31 -08:00
Bonian Chen
073cdcab42 [Settings] Change the ordering of permission
Move READ_PRIVILEGED_PHONE_STATE based on alphabet ordering.

Bug: 144960427
Test: build pass
Change-Id: Ia86e20afc87725b012014b272b5c2f570aa31ca8
2019-11-26 09:22:56 +08:00
Roshan Pius
40ff6d65cc Merge "Revert "privapps-permission: Make REQUEST_NETWORK_SCORES a privilged permission"" 2019-11-25 17:34:36 +00:00
Roshan Pius
8533a06a9d Revert "privapps-permission: Make REQUEST_NETWORK_SCORES a privilged permission"
This reverts commit 82f37f83a8.

Reason for revert: Wifi services no longer plan to be a separate
APK/process for mainline. Will instead become a jar loaded from Apex.

Bug: 145114247
Change-Id: I993dd4d35cc280afe6dc044fa1dee0ea268f9bca
2019-11-25 14:36:16 +00:00
Bookatz
a8c2d2a553 UserSystemPackageInstaller uses user types
UserSystemPackageInstaller was recently introduced and used a subset of
UserInfo flags to specify which package should be installed on which
user.
ag/9507174 introduced the notion of user types to UserManager.

The current cl does the following:

UserSystemPackageInstaller now uses user types instead of UserInfo
flags. This includes both base types (SYSTEM, FULL, PROFILE), as well as
specific user types (like guest, managed profiles, etc.). OEMs can
therefore specify on which type of user each system package should be
installed.

(Installing based on the ephemeral flag is therefore no longer
available, but since it wasn't being used for this purpose, that's
okay.)

Bug: 134605778
Bug: 142151520
Bug: 142482943
Test: atest UserSystemPackageInstallerTest
Change-Id: Ibd6de29e4f4861e91e282edfdd3100dc2d2e2f5f
2019-11-22 10:53:08 -08:00
Issei Suzuki
d4ee1cc971 Clean up visibility related flags in ActivityRecord
- Replace mClientHidden by mClientVisible

Test: Refactoring, all existing tests pass.
Bug: 80414790
Change-Id: I4c122bf5418182ab7456ee2548195dbbab79fad6
2019-11-21 15:56:53 +01:00
Issei Suzuki
f2f6c91dd3 Clean up visibility related flags in WindowToken
- Replace isHidden() and setHidden() by isVisible() and setVisible()
  in accordance with variable names.
- Move isVisible() from AppRecord to WindowToken

Test: Refactoring CL, existing tests pass.
Bug: 80414790
Change-Id: Ib39200acbedf204adf57c06a8b8bbb3d07f959d1
2019-11-21 15:56:26 +01:00
Issei Suzuki
17c36347cc Merge "Clean up visibility related flags in ActivityRecord" 2019-11-21 14:53:41 +00:00
Tyler Gunn
5474568b87 Merge "Add prioritized enableCarMode API in UiModeManager"
am: 8e7a1f8528

Change-Id: I81d8b4a457c567e19c3c8e499cc1f08e1c8af3b3
2019-11-20 00:17:34 -08:00
Tyler Gunn
8e7a1f8528 Merge "Add prioritized enableCarMode API in UiModeManager" 2019-11-20 07:08:19 +00:00
Wale Ogunwale
7a8889a816 Remove Task#numFullscreen & ActivityRecord#sendingToBottom/remove (70/n)
- Task#numberFullscreen was only used in one location where we
needed to figure-out if the task has occluding activities.
Just use the hierarchy to figure that out vs. keeping track of
a variable that adds confusion.
- ActivityRecord#sendingToBottom was used to prevent focus and
orientation changes from activity moved to the bottom, however
since we are traversing the hierarchy from top-to-bottom we
should process activities on-top first vs the onces that have
already moved to the bottom.
- ActivityRecord#remove is no longer needed as the object won't
be connected to the hierarchy when it is removed.

Test: They pass!
Bug: 80414790
Bug: 35699615
Change-Id: I23f6501a65bf745dc0fb819c30543cd21241fa91
2019-11-19 23:37:07 +00:00
Tyler Gunn
18325cf2d4 Merge "Add prioritized enableCarMode API in UiModeManager" 2019-11-19 23:16:33 +00:00
Tyler Gunn
f05f2c2cc2 Add prioritized enableCarMode API in UiModeManager
Per design doc (go/android-car-mode-design), added new system API to
enable car mode and specify a priority for the calling app.
Also modified UiModeManager to pass the package name of the caller to
UiModeManagerService.

Bug: 136109592
Test: Added new unit tests and CTS tests.
Test: Added Telecom test app functionality to verify.
Change-Id: I2848039c9ea18ba93e7694e04c4e5dc70759daa3
Merged-In: I2848039c9ea18ba93e7694e04c4e5dc70759daa3
2019-11-19 23:15:52 +00:00
Issei Suzuki
1669ea4bc8 Clean up visibility related flags in ActivityRecord
- Replace visible and hiddenRequested flag by a single flag
  mVisibleRequested.
- Merge setVisible() into setVisiblity().

Test: Refactoring, all existing tests pass.
Bug: 80414790
Change-Id: I7bafdb86e6b8431046775d3968d24f85c3fac45a
2019-11-19 17:16:39 +01:00
Tyler Gunn
daef668a99 Add prioritized enableCarMode API in UiModeManager
Per design doc (go/android-car-mode-design), added new system API to
enable car mode and specify a priority for the calling app.
Also modified UiModeManager to pass the package name of the caller to
UiModeManagerService.

Bug: 136109592
Test: Added new unit tests and CTS tests.
Test: Added Telecom test app functionality to verify.
Change-Id: I2848039c9ea18ba93e7694e04c4e5dc70759daa3
2019-11-18 13:03:30 -08:00
Jean-Michel Trivi
0fb6ac46d9 Merge "AudioPackage11.mk: fix typo" am: 2f7b351010 am: 15b30f03f4
am: 8367ff5263

Change-Id: Ib6e954140ef689c561ec2f2429c1944833dd15c3
2019-11-14 10:48:42 -08:00
Jean-Michel Trivi
15b30f03f4 Merge "AudioPackage11.mk: fix typo"
am: 2f7b351010

Change-Id: Ifcfb74ba46add7f492980f2270e1dc35de8ae765
2019-11-14 10:32:58 -08:00
Jean-Michel Trivi
76c707467d AudioPackage11.mk: fix typo
Fix typo after file name introduced
by dc54082abe

Bug: 144470640
Test: add frameworks/base/data/sounds/AudioPackage11.mk in product mk and build
Change-Id: I75101b12596b2b50d8017325f55cd85ea836f6a8
2019-11-14 08:36:10 -08:00
Issei Suzuki
430a111553 Revert "Clean up visibility related flags in ActivityRecord"
This reverts commit f8c7ced903.

Reason for revert: broke dev test (com.roidapp.photogrid)
Fixes: 144403961
2019-11-14 16:20:52 +01:00
Issei Suzuki
7b9e257908 Revert "Clean up visibility related flags in WindowToken"
This reverts commit cf0d2ae88d.

Reason for revert: broke dev test (com.roidapp.photogrid)
Fixes: 144403961

Change-Id: I77920d16062190b4565d4c95687b06fc587f9817
2019-11-14 16:19:54 +01:00
Issei Suzuki
e63eac7a99 Revert "Clean up visibility related flags in ActivityRecord"
This reverts commit c0edbbb521.

Reason for revert: broke dev test (com.roidapp.photogrid)
Fixes: 144403961

Change-Id: I71ef435cfbdab46d2e57f2ed68af3eff04958a99
2019-11-14 16:03:02 +01:00
Jeff Sharkey
97d3ca1e8f Merge changes from topic "legacycodez"
* changes:
  Progress towards splitting MediaProvider UID.
  Progress towards splitting MediaProvider UID.
2019-11-13 20:53:45 +00:00