Commit Graph

1591 Commits

Author SHA1 Message Date
Yan Zhu
9238788caa Merge "Install auto-generrate overlay packages even when not included in whitelist" into rvc-dev am: b6ac0061fa am: 17d5ac8048
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11529815

Change-Id: Id4913a6d9ef9039d9008c12c65d112195111667d
2020-06-10 04:48:39 +00:00
Yan Zhu
17d5ac8048 Merge "Install auto-generrate overlay packages even when not included in whitelist" into rvc-dev am: b6ac0061fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11529815

Change-Id: I851b95ed15c125502b8be10279b4c560b68cfd91
2020-06-10 04:38:22 +00:00
Yan Zhu
b6ac0061fa Merge "Install auto-generrate overlay packages even when not included in whitelist" into rvc-dev 2020-06-10 04:23:30 +00:00
TreeHugger Robot
dee5790847 Merge "Move car bugreport app perms to framework." into rvc-dev am: 94bedc9aec am: 5523cc5b9e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11784244

Change-Id: I2c026f1fd62a80be9c44ea2c1921cf5742c5459f
2020-06-09 01:37:39 +00:00
TreeHugger Robot
5523cc5b9e Merge "Move car bugreport app perms to framework." into rvc-dev am: 94bedc9aec
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11784244

Change-Id: I78af05f8237a504e9072d4540e11711b245cfa48
2020-06-09 01:22:05 +00:00
Yan Zhu
31b01e4bc5 Install auto-generrate overlay packages even when not included in whitelist
Detect auto-generated overlay packages according to the suffix
(.auto_generated_rro_vendor_ OR .auto_generated_rro_product_)

Bug: 156668533
Bug: 140120696
Test: logcat: set DEBUG=true
adb logcat UserManagerService | grep overlay
atest
FrameworksServicesTests:com.android.server.pm.UserSystemPackageInstallerTest
-c

Change-Id: I1835eb923bf2421b2e171be0ac0fa400b6fd38f7
2020-06-08 16:34:34 -07:00
Zhomart Mukhamejanov
9fd6408edd Move car bugreport app perms to framework.
Change-Id: I5e541138c35cdf67d18ce5475221baeb3e7faef4
Test: emulator
Bug: 158151004
2020-06-07 18:04:19 -07:00
TreeHugger Robot
bd70112ceb Merge "Adding incremental related peremissions to Shell" into rvc-dev am: d1f5bf1f93 am: 99664b235a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11722415

Change-Id: Id72b44469223d328d7c0f49a6f1590fee4d7d63c
2020-06-04 22:51:50 +00:00
TreeHugger Robot
99664b235a Merge "Adding incremental related peremissions to Shell" into rvc-dev am: d1f5bf1f93
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11722415

Change-Id: Ia47f5557acc54572dbae5fd0dc215015884e7283
2020-06-04 22:36:33 +00:00
Dimuthu Gamage
8589197fb5 Adding incremental related peremissions to Shell
This is expected to be used with adoptShellPermission in the Incremental
CTS tests.

Test: atest android.content.pm.cts.PackageManagerShellCommandTest
(There will be future tests relying on this)

Bug: 158024822
Change-Id: I46674498783c5323668ff775c76ff31a304aeadb
2020-06-04 17:04:44 +00:00
Sung Min Lee
470e761379 Merge "Add CAPTURE_AUDIO_OUTPUT permission required for GTS test" into rvc-dev am: 5bafce8420 am: 0bb87d4503
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11712625

Change-Id: Icc98228a68edff4bcfacc67d0519c930d625920a
2020-06-04 01:36:09 +00:00
Sung Min Lee
0bb87d4503 Merge "Add CAPTURE_AUDIO_OUTPUT permission required for GTS test" into rvc-dev am: 5bafce8420
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11712625

Change-Id: Id0c25e0e665d740e7f7d768b64fafc17a2ffddc0
2020-06-04 01:22:00 +00:00
Sung Min Lee
5bafce8420 Merge "Add CAPTURE_AUDIO_OUTPUT permission required for GTS test" into rvc-dev 2020-06-04 01:07:27 +00:00
TreeHugger Robot
49f5de8a55 Merge "Add keylayout for Xbox controller over USB" into rvc-dev am: f7deec1444 am: c4021be11b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11707675

Change-Id: Id350dcdc0404123f67024782fe7897f193f08045
2020-06-04 00:11:52 +00:00
TreeHugger Robot
c4021be11b Merge "Add keylayout for Xbox controller over USB" into rvc-dev am: f7deec1444
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11707675

Change-Id: Ie4964b47d41366b0dea3343babf1f655d436ebdf
2020-06-03 23:52:18 +00:00
TreeHugger Robot
f7deec1444 Merge "Add keylayout for Xbox controller over USB" into rvc-dev 2020-06-03 23:40:37 +00:00
Siarhei Vishniakou
4647f1866c Add keylayout for Xbox controller over USB
Without a custom layout, this controller has incorrect mappings for the
right stick and gas/break axes.
Add a custom layout to ensure all axes and keys are mapped properly.

Bug: 157852643
Test: connected controller to the phone and verified mappings using the
controllerTester app

Change-Id: I1f65fe973652e25fab5e6e29ab598eee54e33e06
2020-06-03 12:35:19 -07:00
Sung Min Lee
a90b1fcaca Add CAPTURE_AUDIO_OUTPUT permission required for GTS test
GtsDialerAudioTestCases require this privileged permission for testing in GTS.

Bug: 157243201
Test: run gts -m GtsDialerAudioTestCases
Change-Id: I32516e5dcf966b05cfb8ab4956a0cdb183298f2a
2020-06-02 21:24:59 -07:00
Yo Chiang
8f7968d0ab Merge "Remove font symlinks hack" am: df792ee3f2 am: f369e4f670 am: 572f829f7f
Original change: undetermined

Change-Id: Idec39c2a5e58b1c726968c271b3b77b6d8605146
2020-06-02 11:15:39 +00:00
Yo Chiang
572f829f7f Merge "Remove font symlinks hack" am: df792ee3f2 am: f369e4f670
Original change: undetermined

Change-Id: If3a07de26e209dd9f7f4cfa2c3cfed1459b44acc
2020-06-02 11:15:03 +00:00
Yo Chiang
f369e4f670 Merge "Remove font symlinks hack" am: df792ee3f2
Original change: undetermined

Change-Id: I890a67df43166c0c2f7362896162e55901830c10
2020-06-02 10:57:24 +00:00
Yo Chiang
df792ee3f2 Merge "Remove font symlinks hack" 2020-06-02 10:38:16 +00:00
Mina Granic
fb928ffed1 Merge "Whitelist READ_PRIVILEGED_PHONE_STATE permission needed by Build.getSerial()." into rvc-dev am: 3420744449 am: 9c50a0fd93
Change-Id: I2de9f957880856d5414c16888fa690fd10f06a60
2020-05-29 16:59:05 +00:00
Mina Granic
ce89357221 Merge "Whitelist READ_PRIVILEGED_PHONE_STATE permission needed by Build.getSerial()." into rvc-dev am: 3420744449
Change-Id: I87ba76fba86a254cb01ee6ab9142a072f6a558ed
2020-05-29 16:50:24 +00:00
Mina Granic
9c50a0fd93 Merge "Whitelist READ_PRIVILEGED_PHONE_STATE permission needed by Build.getSerial()." into rvc-dev am: 3420744449
Change-Id: I2abef9f3ff3f447cc9438da976a1c9e41390294a
2020-05-29 16:50:20 +00:00
Mina Granic
3420744449 Merge "Whitelist READ_PRIVILEGED_PHONE_STATE permission needed by Build.getSerial()." into rvc-dev 2020-05-29 16:43:43 +00:00
TreeHugger Robot
2a9258b974 Merge "Add LOCATION_HARDWARE permission to shell." into rvc-dev am: 8a6ef8e52d
Change-Id: I9c2feef6a19fb44c10891384fca3056e9dee0b2b
2020-05-28 21:46:33 +00:00
TreeHugger Robot
b16116ce55 Merge "Add LOCATION_HARDWARE permission to shell." into rvc-dev am: 8a6ef8e52d am: fc7c4138ef
Change-Id: I68a918d7a81271225549c6e402fe964c53bffbdb
2020-05-28 19:47:14 +00:00
TreeHugger Robot
fc7c4138ef Merge "Add LOCATION_HARDWARE permission to shell." into rvc-dev am: 8a6ef8e52d
Change-Id: Ica09e8dba5b17f0df7d15f980c284b48defac8d0
2020-05-28 19:45:06 +00:00
Chen Xu
31e6e90e97 Merge "support cellbroadcast data migration by dafault" into rvc-dev am: ef0740e227 am: 129cfaccc4
Change-Id: Ie54bd47a0a8058be419f422fb95677c7868aa0f7
2020-05-28 01:09:34 +00:00
Chen Xu
129cfaccc4 Merge "support cellbroadcast data migration by dafault" into rvc-dev am: ef0740e227
Change-Id: I7a981e5a17df180310b3e9c1fac5aa5262007834
2020-05-28 01:06:38 +00:00
Wei Wang
96f7636149 Add LOCATION_HARDWARE permission to shell.
A few location System APIs require LOCATION_HARDWARE permssion. Adding
this permission to shell so CTS tests can adopt this permission.

Bug:154347471

Test: atest PrivilegedLocationPermissionTest
Change-Id: I4abe4dc044ec4a3ab62352cc0f4a1726bebac633
2020-05-27 17:53:31 -07:00
Chen Xu
5499acb4a7 Merge "support cellbroadcast data migration by dafault" into rvc-dev am: ef0740e227
Change-Id: I685dcfde242d4240931053b3ad4ccd1bf71ec21e
2020-05-28 00:26:52 +00:00
Chen Xu
ef0740e227 Merge "support cellbroadcast data migration by dafault" into rvc-dev 2020-05-28 00:24:30 +00:00
Chen Xu
1d4939fff2 support cellbroadcast data migration by dafault
As part of mainline effort, cellbroadcastreceiver package name has been
renamed. Now its a completely new apk with different uid. That said all
user data e.g, cellbroadcast history and user preference from legacy app
com.android.cellbroadcastreceiver are gone. This change is to support
preserve user data when devices upgrate to R and take cellbraodcast.
mainline module.
1. create legacy cellbroadcast app with old pakcage name
com.android.cellbroadcastreceiver. this app only surface the old data
and should not contains any activities/services to handle emergecy apert
2. legacy cellbroadcast app will be included to the system image by
default. OEMs are free to remove it if they don't care data loss or
after R data migration is done. leagcy app will not be part of
com.android.cellbroadcast apex.
3. the real mainline module rename to com.android.cellbroadcast.module

Bug: 155844209

Change-Id: I5e61c7e777526e038cd8d9971a2c5b87c00eaacb
Merged-in: I5e61c7e777526e038cd8d9971a2c5b87c00eaacb
2020-05-27 20:25:10 +00:00
TreeHugger Robot
35573b3d80 Merge "Add Effect_Tick.ogg back to Android TV devices" into rvc-dev am: a12b964839 am: fa717b9f9e
Change-Id: Iaf0807069cdecb7669331e487938fdb771efc5a5
2020-05-27 19:56:47 +00:00
TreeHugger Robot
0bbc0e252c Merge "Add Effect_Tick.ogg back to Android TV devices" into rvc-dev am: a12b964839
Change-Id: Ice679162b985abdca668b0859b3cd74766943026
2020-05-27 19:55:58 +00:00
TreeHugger Robot
fa717b9f9e Merge "Add Effect_Tick.ogg back to Android TV devices" into rvc-dev am: a12b964839
Change-Id: Id36a4f786aa02c335ca20fd2f035fe02584cca02
2020-05-27 19:55:27 +00:00
Robin Lee
3bf241ba1c Add Effect_Tick.ogg back to Android TV devices
Change-Id: I61039a9f3bae072cbf059c784b579ca3aa7f77be
Test: adb shell input keyevent DPAD_RIGHT
Test: ls $OUT/product/media/audio/ui
Bug: 157310189
Bug: 132316308
2020-05-27 18:14:35 +00:00
minagranic
f750a61838 Whitelist READ_PRIVILEGED_PHONE_STATE permission needed by Build.getSerial().
Bug: 144779107
Test: Plugged the phone, no SecurityException, started Phantoscope.
Change-Id: I2af21c1318fabb4d9a8b9bc6808dc163a3e353b5
2020-05-27 17:40:41 +00:00
Taran Singh
f0f00c8764 Merge "Add Insets dumps and IME debug logs" into rvc-dev am: e20c25ddc6 am: 816b9c374c
Change-Id: Ia49440ff942e1b26e2c2cb262aa8d17e6bc560e6
2020-05-27 15:24:58 +00:00
Treehugger Robot
a490ee3338 Merge "Add keylayout for HORIPAD for Nintendo Switch" am: 9ea883f4a3 am: 226410ff53 am: 5da33eca4e
Change-Id: I0939be844273ab00456fee9a8f24865cdbe0937d
2020-05-27 15:24:50 +00:00
Taran Singh
cc38222c8f Merge "Add Insets dumps and IME debug logs" into rvc-dev am: e20c25ddc6
Change-Id: I2f578a6d6c4ebe37ae4d172f1005c52249581612
2020-05-27 15:24:28 +00:00
Taran Singh
816b9c374c Merge "Add Insets dumps and IME debug logs" into rvc-dev am: e20c25ddc6
Change-Id: Ic644e48d41209ce171c568e87358a86090249b3f
2020-05-27 15:24:27 +00:00
Taran Singh
e20c25ddc6 Merge "Add Insets dumps and IME debug logs" into rvc-dev 2020-05-27 15:12:30 +00:00
Taran Singh
85661e3f9e Add Insets dumps and IME debug logs
Add more dumps and logs to better help debug IME insets better
Logging can be enabled by setting InsetsController.DEBUG to true.

Bug: 154348613
Test: manually build and flash.
      Verify showing and hiding IME shows logs.
      verify adb shell dumpsys window windows has new dumps

Change-Id: Iad0a21d81a22d6acfaaf5c5ca8b5131eec411e79
2020-05-27 15:12:07 +00:00
Treehugger Robot
5da33eca4e Merge "Add keylayout for HORIPAD for Nintendo Switch" am: 9ea883f4a3 am: 226410ff53
Change-Id: I79d82bafcc321f87af216cdee70e574447d4d1fc
2020-05-27 15:11:24 +00:00
Treehugger Robot
226410ff53 Merge "Add keylayout for HORIPAD for Nintendo Switch" am: 9ea883f4a3
Change-Id: Ic145e79673090a13e3847ba65d0a04f99a2074ee
2020-05-27 14:58:44 +00:00
Yo Chiang
5585f04ae6 Remove font symlinks hack
Remove Android.mk symlink hack.
Use Android.bp prebuilt_font's symlinks property to install symlinks.

Bug: 157537895
Test: m DroidSansMono.ttf
Test: m Roboto-Regular.ttf Roboto-Bold.ttf
Test: # system/fonts/DroidSans.ttf -> Roboto-Regular.ttf
Test: # system/fonts/DroidSans-Bold.ttf -> Roboto-Bold.ttf
Change-Id: I5b311a3e32bd688e2a6be20d9b81d24560b7e133
2020-05-27 18:08:11 +08:00
TreeHugger Robot
4b05833b7e Merge "Add support for TvInputManager.acquireTvInputHardware CTS" into rvc-dev am: f49fa1a9ea am: b7e62faf05
Change-Id: Ic89f297fefe136612d04028a84c331a49f3c56ad
2020-05-27 04:59:29 +00:00