Commit Graph

1689 Commits

Author SHA1 Message Date
Yan Zhu
49a86b728a Update preinstalled-packages-platform-overlays.xml for overlay packages
Enable more overlay packages.

Bug: 159826397
Test: manual:
1. adb shell dumpsys user
2. adb shell cmd user report-system-user-package-whitelist-problems

Change-Id: I202fbc096ed92ea81c928e76002f5c1fda7c7d4b
2020-07-12 17:00:13 -07:00
TreeHugger Robot
4051ee024f Merge "Add support for Razer Raiju Tournament Edition Controller." 2020-07-07 23:03:31 +00:00
TreeHugger Robot
2cb25c3190 Merge "Add support for Razer Raiju Ultimate Edition Controller." 2020-07-07 04:45:00 +00:00
Chris Ye
1823bfe5dc Add support for Razer Raiju Ultimate Edition Controller.
Add Razer Raiju Tournament Ultimate Controller keyboard layout mapping.

Bug: 140958486
Test: Connect Razer Raiju Controller and play game with it.
Change-Id: Ic66c2baac654220d04524112efa9bb7e1f74eca2
2020-07-06 09:15:50 -07:00
Chris Ye
3e02cf2a7a Add support for Razer Raiju Tournament Edition Controller.
Add Razer Raiju Tournament Edition Controller keyboard layout mapping.

Bug: 140958486
Test: Connect Razer Raiju Controller and play game with it.
Change-Id: I7d1c8b9401a1964120ebbd91560e55bbab486eaf
2020-07-06 09:08:08 -07:00
Chris Ye
fd92ab3214 Change axis definition for Razer Raiju Mobile Controller.
LTRIGGER and RTRIGGER need to be mapped to axis 0x0a and 0x09 for Razer Raiju Mobile Controller.

Bug: 140958486
Test: atest android.hardware.input.cts.tests.RazerRaijuMobileBluetoothTest

Change-Id: I1f780334c3111d69f21aa9cae96f36d281e72440
2020-07-02 10:01:54 -07:00
TreeHugger Robot
50ce80b847 Merge "Deliver hideInsets when target is removed" into rvc-dev am: bb6c1e09ad am: 553b71a5b2 am: e15666d78c am: f793e73aff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12011265

Change-Id: I4b0d2200bda43891b55853ed2d1a11bf975cb93f
2020-07-01 17:27:10 +00:00
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
a062d8b766 Merge "Wait for remote animation to stop freezing display" into rvc-dev am: 0207dba4b6 am: a0ba1c6f27 am: e0b7712c6e am: f38d02f15b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12034123

Change-Id: I81a81a44a0926ca403996a55a9db2b1c4590d179
2020-06-30 04:22:55 +00: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
2efd751980 Merge changes from topic "adbwifi-cts" into rvc-dev am: 5ab3aa0c7b am: af1f67ebd4 am: b497b40119 am: ee288b5c36
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12000446

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

Change-Id: I1124248048dd778f02cab0945c52b74fa48a8712
2020-06-30 01:23:15 +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
TreeHugger Robot
3c4689a381 Merge "Change BUTTON_MODE fallback key to HOME in Virtual.kcm" 2020-06-29 17:20:17 +00:00
Chris Ye
56106e2905 Change BUTTON_MODE fallback key to HOME in Virtual.kcm
Change BUTTON_MODE fallback key to HOME, to be consistent with
Generic.kcm.

Bug: 159925776
Test: atest RazerRaijuMobileBluetoothTest

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

Change-Id: I0fc93a81a530939a5b22caf66644fa9f8421cc11
2020-06-27 03:05:15 +00: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
Chris Ye
995b3bcb91 Add support for Razer Raiju Mobile Controller.
Add Razer Raiju Mobile Controller keyboard layout mapping.

Bug: 140958486
Test: Connect Razer Raiju Mobile Controller and play game with it.
Change-Id: I88f8d56ce89d4c49b49352fe8966dc29529b5f49
2020-06-25 10:51:59 -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
025a4b4edd Merge "Allow MediaProvider to request REGISTER_STATS_PULL_ATOM" into rvc-dev am: f59cdcf6dc am: 854c557ca4 am: 5a11ff404c am: 0b8548ad0c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11880479

Change-Id: Iac1299004ed8d7ceaf63b3d1b5392ace3cd7aeb4
2020-06-18 13:22:53 +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
c328048dda Merge "Move car companion device support app perms to framework" into rvc-dev am: 561b09994b am: a2a7b8909b am: e2651f9cb5 am: c83b1a43f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11853982

Change-Id: I3c269858a5476123cbe7e8a73dfd4faedf75d741
2020-06-17 21:03:50 +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
6f5f129b0b Merge "Add keylayout for SnakeByte iDroid:con" am: 99ce8c4945 am: f8b50f034a am: ae0e270ff7 am: 6c86a253b1 am: 558aeff56f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1331927

Change-Id: I21d6d2cc60908e89f940e699e3c36be40e918690
2020-06-15 13:22:58 +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
b821d34df8 Merge "Install auto-generrate overlay packages even when not included in whitelist" into rvc-dev am: b6ac0061fa am: 17d5ac8048 am: d4f5525efa am: 062c6f2251
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11529815

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

Change-Id: Idb74eb48fffe5ca07ca874f53b2c8ecce304f44a
2020-06-10 05:00:43 +00: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