Commit Graph

1628 Commits

Author SHA1 Message Date
TreeHugger Robot
f793e73aff Merge "Deliver hideInsets when target is removed" into rvc-dev am: bb6c1e09ad am: 553b71a5b2 am: e15666d78c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12011265

Change-Id: I4d62f2afdd60058d8697a795edf1365837ec4853
2020-07-01 17:23:08 +00:00
TreeHugger Robot
553b71a5b2 Merge "Deliver hideInsets when target is removed" into rvc-dev am: bb6c1e09ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12011265

Change-Id: Idd5ef36a92ca4440dc9be16e6ce98e1092572a38
2020-07-01 16:59:13 +00:00
Taran Singh
4545703367 Deliver hideInsets when target is removed
hideInsets(IME) may not be delivered to the control target if
the window requesting hide is no longer available in WindowManager's
window map. However, it is still nicer to deliver it to the default
display's control target rather than not delivering it at all.
Fix: 159623277
Test: Manually using steps in bug.

Change-Id: I22cdf20627da2183d30af444f6dd9d0375d417c1
2020-06-30 10:02:10 -07:00
TreeHugger Robot
e0b7712c6e Merge "Wait for remote animation to stop freezing display" into rvc-dev am: 0207dba4b6 am: a0ba1c6f27
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12034123

Change-Id: I1b924b5b21f7f205c03f00756a54d68c869423dc
2020-06-30 03:51:04 +00:00
TreeHugger Robot
a0ba1c6f27 Merge "Wait for remote animation to stop freezing display" into rvc-dev am: 0207dba4b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12034123

Change-Id: I70daa117908a5a26091ceff41f45efd58abd9d27
2020-06-30 03:32:16 +00:00
TreeHugger Robot
0207dba4b6 Merge "Wait for remote animation to stop freezing display" into rvc-dev 2020-06-30 03:29:46 +00:00
Joshua Duong
3269261a01 Merge changes from topic "adbwifi-cts" into rvc-dev am: 5ab3aa0c7b am: b47d1e6100
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12000446

Change-Id: I4fb7e1fec0d9c844ffbb5e84632aec33acc7361f
2020-06-30 01:05:52 +00:00
Joshua Duong
af1f67ebd4 Merge changes from topic "adbwifi-cts" into rvc-dev am: 5ab3aa0c7b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12000446

Change-Id: I612c709e9dad8b75e91f07e6eab44cff28fd1404
2020-06-30 00:57:39 +00:00
Joshua Duong
b47d1e6100 Merge changes from topic "adbwifi-cts" into rvc-dev am: 5ab3aa0c7b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12000446

Change-Id: I27c6493f075ace2e9c12f9b7f359f42ccbb1406f
2020-06-30 00:57:37 +00:00
Joshua Duong
5ab3aa0c7b Merge changes from topic "adbwifi-cts" into rvc-dev
* changes:
  Add shell commands for AdbService.
  Add shell permissions for CTS test (AdbManagerTest).
2020-06-30 00:55:36 +00:00
Riddle Hsu
96ed092b10 Wait for remote animation to stop freezing display
If display is rotated 180 degree, the display might not have
configuration change. And if there is remote rotation and it hasn't
done, the rotation of display is still the old one. Once there is
a path calls stop-freezing-display, the rotation animation will be
executed directly with 0 degree delta. And if the activity needs to
relaunch, there will be obvious flickering.

Fixes: 160107205
Test: atest DisplayContentTests#testRemoteRotation
Change-Id: I66a02b67f7066abafd65c2c282144222701feaae
2020-06-30 01:28:35 +08:00
Rajeev Kumar
01351c2272 Merge "Add privapp permissions permission for com.android.cellbroadcastreceiver package." into rvc-dev am: 0c059b97dd am: 68894b7c9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12011267

Change-Id: I4e1f4fc1f44610475451291f86f747c646f7828d
2020-06-26 21:39:49 +00:00
Rajeev Kumar
0687271685 Merge "Add privapp permissions permission for com.android.cellbroadcastreceiver package." into rvc-dev am: 0c059b97dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12011267

Change-Id: I27bd61f10559eb4d49232636118fc705cbc8fcd5
2020-06-26 21:33:36 +00:00
Rajeev Kumar
68894b7c9f Merge "Add privapp permissions permission for com.android.cellbroadcastreceiver package." into rvc-dev am: 0c059b97dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12011267

Change-Id: I0989bfc34b94d649b1e31c4ba7c815587eb96f97
2020-06-26 21:33:34 +00:00
Rajeev Kumar
8fe5465ada Add privapp permissions permission for
com.android.cellbroadcastreceiver package.

Bug: 159544147
Fixes: 159544147
Test: Built a system image with this change and flashed
a device with it and the device booted successfully.

Change-Id: I7fd5080aa740fcfcebeb4f934d0a3fc39d847cc9
2020-06-26 19:26:31 +00:00
Joshua Duong
f2e03b393f Add shell permissions for CTS test (AdbManagerTest).
Bug: 159936209

Test: atest CtsAdbManagerTests
Change-Id: I896b53df582cceb7d1b0d6694d00064b0fb57b94
2020-06-25 15:03:19 -07:00
Shafik Nassar
964206ed74 Merge "Allow MediaProvider to request REGISTER_STATS_PULL_ATOM" into rvc-dev am: f59cdcf6dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11880479

Change-Id: I7217a1cfb42b1500d9c1bb234ebe47f4dd38fd64
2020-06-18 15:06:39 +00:00
Enrico Granata
5392a4d81f Merge "Move car companion device support app perms to framework" into rvc-dev am: 561b09994b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11853982

Change-Id: I2b1b2bfac9d0ca3665e57317849c4469052c659d
2020-06-18 14:39:49 +00:00
Shafik Nassar
5a11ff404c Merge "Allow MediaProvider to request REGISTER_STATS_PULL_ATOM" into rvc-dev am: f59cdcf6dc am: 854c557ca4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11880479

Change-Id: I55703c2eb965dcdfb747ce4dbcd5dbf10f367800
2020-06-18 12:52:09 +00:00
Shafik Nassar
854c557ca4 Merge "Allow MediaProvider to request REGISTER_STATS_PULL_ATOM" into rvc-dev am: f59cdcf6dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11880479

Change-Id: I802a9b91db2ad2cf74852c1af1b582a81bca91db
2020-06-18 12:41:38 +00:00
Shafik Nassar
f59cdcf6dc Merge "Allow MediaProvider to request REGISTER_STATS_PULL_ATOM" into rvc-dev 2020-06-18 12:25:55 +00:00
Enrico Granata
e2651f9cb5 Merge "Move car companion device support app perms to framework" into rvc-dev am: 561b09994b am: a2a7b8909b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11853982

Change-Id: Ic5fe3da605311763d9ba4b619378f59c13146ef7
2020-06-17 20:04:11 +00:00
Enrico Granata
a2a7b8909b Merge "Move car companion device support app perms to framework" into rvc-dev am: 561b09994b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11853982

Change-Id: I991a2c31bb9060108ac2e3f6d44569c8e480f508
2020-06-17 20:02:57 +00:00
shafik
44f3ca5679 Allow MediaProvider to request REGISTER_STATS_PULL_ATOM
MediaProvider needs the permission to register a StatsPullCallback in
statsd to pull the external storage metrics.

Test: build
Bug: 149669087
Change-Id: I4f7e09c2e514e2290d1cd5ac765bb115e7ade9ef
2020-06-17 11:34:01 +01:00
Hao Chen
8de2ca3e5c Move car companion device support app perms to framework
Test: build and flash the trout PDK, boot to the UI
Bug: 158483244
Change-Id: Ic8cd135cde2d616e5a8d36b71de56acba4dab261
2020-06-16 21:30:12 +00:00
Andrew Walbran
6c86a253b1 Merge "Add keylayout for SnakeByte iDroid:con" am: 99ce8c4945 am: f8b50f034a am: ae0e270ff7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1331927

Change-Id: I3b56f7e2ccd8e7de80cf323549f250d3167afd9f
2020-06-15 12:46:01 +00:00
Andrew Walbran
ae0e270ff7 Merge "Add keylayout for SnakeByte iDroid:con" am: 99ce8c4945 am: f8b50f034a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1331927

Change-Id: I0b3ef96e98ff8ee11d3b807c98f24c2dff8e8ac2
2020-06-15 12:45:33 +00:00
Andrew Walbran
99ce8c4945 Merge "Add keylayout for SnakeByte iDroid:con" 2020-06-15 12:04:43 +00:00
Andrew Walbran
ba81efe04a Add keylayout for SnakeByte iDroid:con
This is a Bluetooth game controller which supports Android, but the
thumbstick buttons had the wrong keycodes.

Test: manual test with Gamepad Tester app
Change-Id: Id7d8ccbf282e25fd076903cbf9f3d66d30941c3e
2020-06-14 10:16:28 +01:00
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
78a201ba95 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: I86ae7d8b23708ee443d33f5ee17717c04cab931c
2020-06-10 04:38:17 +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
Zhomart Mukhamejanov
678cc7d33d Move car bugreport app perms to framework.
Change-Id: I5e541138c35cdf67d18ce5475221baeb3e7faef4
Test: emulator
Bug: 158151004
2020-06-09 13:34:02 -07: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
TreeHugger Robot
ba6d043909 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: I45cb0ff585ef2ea8f23868dfa226432bfda7ee84
2020-06-09 01:21:53 +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
Xin Li
d7785982ac Merge "Merge QQ3A.200605.002 into master" 2020-06-06 01:41:11 +00: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
TreeHugger Robot
ee5837a47b 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: Id297f0a5f071ab2fe92366a5386097d84bd0a8c9
2020-06-04 22:36:19 +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
2b3c00b99f 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
Merged-In: I32516e5dcf966b05cfb8ab4956a0cdb183298f2a
2020-06-03 22:09:35 -07: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
3c0fe83b63 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: I59aa0b8b5327685cd6658a6a0a382f61c1d3ea7a
2020-06-04 01:22:17 +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