Commit Graph

1642 Commits

Author SHA1 Message Date
Treehugger Robot
d8447c1fa6 Merge "Add KEYCODE_CAPTIONS mapping to LKC KEY_SUBTITLE" am: 3e21dc8b70 am: 0796fa5254 am: 1c4d68f863
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1365552

Change-Id: I455e3070b6692cd45cf94053b2112c06b87eb2b0
2020-07-21 21:53:28 +00:00
Treehugger Robot
1c4d68f863 Merge "Add KEYCODE_CAPTIONS mapping to LKC KEY_SUBTITLE" am: 3e21dc8b70 am: 0796fa5254
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1365552

Change-Id: I85a1b1a2f43df5cf78abc902abb0633fd97bf469
2020-07-21 21:28:23 +00:00
Aman Gupta
6c984953ea Add KEYCODE_CAPTIONS mapping to LKC KEY_SUBTITLE
From https://github.com/torvalds/linux/blob/master/include/uapi/linux/input-event-codes.h,
KEY_SUBTITLE is near the TV codes. Note that 0x172 == 370.

  #define KEY_CHANNEL		0x16b
  #define KEY_FAVORITES		0x16c
  #define KEY_EPG			0x16d
  #define KEY_PVR			0x16e	/* Media Select Home */
  #define KEY_MHP			0x16f
  #define KEY_LANGUAGE		0x170
  #define KEY_TITLE		0x171
  #define KEY_SUBTITLE		0x172
  #define KEY_ANGLE		0x173
  #define KEY_FULL_SCREEN		0x174	/* AC View Toggle */
  #define KEY_ZOOM		KEY_FULL_SCREEN

You can also see on https://www.kernel.org/doc/html/v4.9/media/uapi/rc/rc-tables.html it is listed in the "Movie play control" section:

  KEY_SUBTITLE	Allow changing the subtitle

Change-Id: I7690269cddd00b787a939f87ba651db38f1160ac
Signed-off-by: Aman Gupta <aman@tmm1.net>
2020-07-21 12:09:52 -07:00
Treehugger Robot
32f405be5d Merge "Add KEYCODE_LAST_CHANNEL mapping to LKC KEY_LAST" am: 1710dbd097 am: c3fb05c1db am: 5dd5e5c937
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1365551

Change-Id: Ib38af6404d351410af3c66e5c4bef97bc8f3cef3
2020-07-21 16:08:11 +00:00
Treehugger Robot
5dd5e5c937 Merge "Add KEYCODE_LAST_CHANNEL mapping to LKC KEY_LAST" am: 1710dbd097 am: c3fb05c1db
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1365551

Change-Id: I6da0050ca6e1cf3907d4e19fefa391da1816641a
2020-07-21 15:56:11 +00:00
Sarah Chin
11f538f963 Merge "Add HANDLE_CAR_MODE_CHANGED permission" into rvc-d1-dev am: 2047572941
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12173845

Change-Id: Id90b846a504d7160bf24cf0bb058fde2c0be0596
2020-07-17 17:45:27 +00:00
Aman Gupta
48a06806f1 Add KEYCODE_LAST_CHANNEL mapping to LKC KEY_LAST
Change-Id: Idcf987c6e5541e29cac1b8a89263580bfcdc9636
Signed-off-by: Aman Gupta <aman@tmm1.net>
2020-07-16 18:27:02 -07:00
Sarah Chin
c363a3a148 Add HANDLE_CAR_MODE_CHANGED permission
Required to allow DeviceStateMonitor to monitor changes in car mode to
get an accurate state of when all screens are on/off.

Test: build
Bug: 160898432
Change-Id: If3ad86a2564ce3ba53afea44e8ad5bf02b8d51e0
2020-07-16 21:50:38 +00:00
Rajeev Kumar
4df25df8ed 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
Merged-In: I7fd5080aa740fcfcebeb4f934d0a3fc39d847cc9
2020-07-02 00:40:05 +00:00
TreeHugger Robot
0869447e90 Merge "Deliver hideInsets when target is removed" into rvc-dev am: bb6c1e09ad am: 454aeee949
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12011265

Change-Id: Iff4f5d38d11daff718c165fca703d658bbad265b
2020-07-01 17:09:41 +00:00
TreeHugger Robot
454aeee949 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: Ic690589869754fbef778d9c3405989abbcc7f57a
2020-07-01 17:00:07 +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
276b14ee1a 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: I6dbf73fff1409640bd2c9390cffbdc00292496b8
2020-06-30 03:32:35 +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
Hao Chen
056b64be1a 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-17 21:12:30 +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
Yo Chiang
5218a1f9e5 Merge "DO NOT MERGE Temporarily rename the package name of BugReportApp" 2020-06-16 11:30:46 +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
Yo Chiang
2812c3b042 DO NOT MERGE Temporarily rename the package name of BugReportApp
There is some de-sync happening between AOSP and internal.
BugReportApp has been moved to AOSP as a platform APP, however the
package name is renamed to com.android.car.bugreport only in internal.
AOSP BugReportApp still have the old package name
com.google.android.car.bugreport.

A recent change I5e541138c35cdf67d18ce5475221baeb3e7faef4 moved the
privapp whitelist to AOSP, too. However that is the whitelist for
com.android.car.bugreport, not com.google.android.car.bugreport.

Since the only difference is the package name, I'll just point AOSP
BugReportApp to use the internal BugReportApp's whitelist, which is
privapp_whitelist_com.android.car.bugreport (without .google).
And change the package name in
privapp_whitelist_com.android.car.bugreport to
com.google.android.car.bugreport.

Use DO NOT MERGE as there are only temporary fixes and these
workarounds should all go away when next platform release lands.

Bug: 158151004
Test: TH presubmit
Change-Id: I35b90e4ff2428a8a685c51a7c49b371bcbb240e8
2020-06-13 07:16:04 +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
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