Commit Graph

1312 Commits

Author SHA1 Message Date
TreeHugger Robot
9682046756 Merge "preinstalled-packages-platform for profiles" 2019-12-23 22:38:48 +00:00
Issei Suzuki
8cac70a65e Merge "Promote app transition target its ancestor if possible." 2019-12-20 12:44:09 +00:00
Issei Suzuki
0ae90d0cca Promote app transition target its ancestor if possible.
Previously we only animated ActivityRecord. When hierarchical animation
is enabled, we find the top most entity from the window hierarchy (i.e.
ActivityRecord < Task < ActivityStack) which we can animate without
user visible changes, and set app transition animation on it.

The hierarchical animation is disabled by default. To enable it,
system property "persist.wm.hierarchical_animations" must be set.

Test: atest AppTransitionControllerTest
Bug: 131661052
Change-Id: I4709fd178de09d289d72cf1833b056b4e34fc92b
2019-12-20 11:05:33 +01:00
TreeHugger Robot
996c6b12f6 Merge "Move the permission.xml to /system_ext" 2019-12-20 07:26:42 +00:00
markchien
ae8aa646dc [Tether13] Move TetheringManager into framework
Move tethering out of ConnectivityService. All client would
use TetheringManager to talk with TetheringService directly.

Bug: 144320246
Test: -build, flash, boot
      -atest TetheringTests

Change-Id: Ib051bea724a256f9c4572b566e46ae7b9c4abe6e
2019-12-20 10:31:31 +08:00
Jay Aliomer
27221263df Merge "Persist dark mode when set" 2019-12-19 19:51:08 +00:00
Bookatz
6d31ac184d preinstalled-packages-platform for profiles
Unwhitelist packages that are not needed on profiles, such as wallpaper,
navbar, and cutout apps. These system packages will therefore not be
pre-installed on profile users.

Bug: 134605778
Test: Confirmed that these packages do not appear in a profile
Change-Id: Icefbcf8def31450a0f2d93cca12f6fcbf6803cb7
2019-12-19 11:48:28 -08:00
Vadim Caen
85e9d45cd8 Merge "Better debbugging message for orientation" 2019-12-19 16:12:33 +00:00
Vadim Caen
1096f11e21 Better debbugging message for orientation
Test: N/A
Bug: N/A
Change-Id: Iefe688c3aa10857a6d7d87236a095605a62d1ff0
2019-12-19 12:47:10 +01:00
markchien
58b0f233c5 Change Tethering package name
".apex" is easy to confuse.
Rename as below:
apex: com.android.tethering.apex -> com.android.tethering
apk: com.android.tethering -> com.android.networkstack.tethering

Bug: 146471733
Test: build

Change-Id: I2c7647abb996539a3af6cfe0e0214a5e8927c0d6
2019-12-19 12:57:39 +08:00
TreeHugger Robot
a1d5731beb Merge "Move SystemUI to /system_ext" 2019-12-19 02:17:02 +00:00
Jeongik Cha
f0b0eafabb Move the permission.xml to /system_ext
As mentioned in b/132780927, we plan to forbid hidden APIs usage in /product partition,
in other word, apps in /product are allowed to use only either public API or system API.
So, this app will be moved to /system_ext, of course, it is not permanent,
they can be moved back to /product if they don't use hidden API anymore.

Bug: 137908189
Test: m
Test: check whether device boots successfully
Change-Id: I623e0dcc1d3bc1a2a69a6cad34ace1f79532654e
2019-12-18 21:16:25 +09:00
Automerger Merge Worker
5dfe7b9e51 Merge "[Tether11] Grant privileged permissions for tethering" am: b04cf17d71 am: 906a909c32 am: 323d51382a
Change-Id: I633592a7304130cd660ea861348141f02cdf9e52
2019-12-18 00:32:59 +00:00
Mark Chien
b04cf17d71 Merge "[Tether11] Grant privileged permissions for tethering" 2019-12-18 00:11:43 +00:00
Mark Chien
a6a6915f1c Merge "Add TETHER_PRIVILEGED permission to shell for CTS test." 2019-12-18 00:08:58 +00:00
Ytai Ben-tsvi
0d52f4202c Merge changes from topic "soundtrigger_refactor"
* changes:
  Migrate SoundTrigger implementation to new service
  Implement the soundtrigger_middlewware service
  Add a permission for preempting sound trigger sessions
  Sound trigger middleware service definition
  Add audio.common types AIDL definition
2019-12-17 22:33:55 +00:00
Jay Aliomer
e2815f22c8 Persist dark mode when set
When setting dark mode, the changes dont persist

Test: atest UiModeManagerServiceTest
Change-Id: I6c18cf096510d79cff9c0d6eac830f7b9209166c
2019-12-17 21:53:58 +00:00
markchien
840abdc14c [Tether11] Grant privileged permissions for tethering
Since tethering is moved from systemServer to networkStack
process, it would lose privileged capability. Grant privileged
permissions for tethering individually. Grant MANAGE_USB to control
usb rndis function. Grant MODIFY_PHONE_STATE to know whether DUN
is required. Grant READ_NETWORK_USAGE_HISTORY to update tethering
usage. Grant UPDATE_APP_OPS_STATS to check WRITE_SETTINGS permission.

Bug: 144320246
Test: -build, flash, boot
      -atest TetheringTests

Change-Id: Id6e71b58e027d6ba90551084367ef881652c2555
2019-12-18 01:06:36 +08:00
Automerger Merge Worker
50682787ba Merge "Add CONNECTIVITY_USE_RESTRICTED_NETWORKS permission" am: 8893c6f9ac am: e8f7e5f483 am: 81358e51d0
Change-Id: Ie6d7fe61c21f170bb63c5a22e6f785cffa8f14fc
2019-12-17 14:37:54 +00:00
markchien
a2ce459f65 Add TETHER_PRIVILEGED permission to shell for CTS test.
Grant TETHER_PRIVILEGED permissions to the shell identity
for use within CTS tests.

Bug: 145490751
Test: atest CtsTetheringTest
Change-Id: Ifad265cdc5e0b1b1b2fa8f4f79eeb7dd18493624
2019-12-17 21:24:23 +08:00
Jeongik Cha
d45d9e111b Move SystemUI to /system_ext
we plan to forbid hidden API in product partition.
So this app should be moved to /system_ext because it uses hidden API.
It is not permanent, so they can be moved back to /product due to
needs if there isn't hidden usage anymore.

Bug: 137908189
Test: m
Test: check whether device boots successfully
Test: atest SystemUITests
Change-Id: I54f86496d4a0045af3576091cce00e5cd285b4f8
2019-12-17 07:19:45 +00:00
TreeHugger Robot
e754074a05 Merge "move privapp_whitelist_com.android.storagemanager to system_ext" 2019-12-16 09:19:31 +00:00
paulhu
741e513050 Add CONNECTIVITY_USE_RESTRICTED_NETWORKS permission
Add CONNECTIVITY_USE_RESTRICTED_NETWORKS permission to phone
package in privapp permission list.

Bug: 146222771
Test: build, flash, boot to home
Change-Id: I1c88b892b1d2f50856b139a5cad5dc8b07a006be
2019-12-16 09:02:36 +00:00
Ytai Ben-Tsvi
0b0441d16c Add a permission for preempting sound trigger sessions
Previously, the power to preempt sound trigger recognition sessions
for the sake of being able to capture audio on platforms that don't
support doing both concurrently, was implicitly granted based on
process (audio_server) co-location with the sound trigger service.
Since this service is now being migrated out of audio_server, a new
permission is introduced and granted to the audio server.

Change-Id: Ifcdfc2a5543d814fb0630a45cdd9bcdba4d92107
Bug: 142070343
2019-12-13 10:45:42 -08: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