Commit Graph

1553 Commits

Author SHA1 Message Date
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
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
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
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
TreeHugger Robot
629cac54f6 Merge "Add support for TvInputManager.acquireTvInputHardware CTS" into rvc-dev am: f49fa1a9ea
Change-Id: I5a4cbbb4bda0e975129108ee32dd3c1965bed24f
2020-05-27 04:48:53 +00:00
TreeHugger Robot
b7e62faf05 Merge "Add support for TvInputManager.acquireTvInputHardware CTS" into rvc-dev am: f49fa1a9ea
Change-Id: Id67aaf261a342341f73cb038edc488e5c87744dc
2020-05-27 04:48:34 +00:00
TreeHugger Robot
f49fa1a9ea Merge "Add support for TvInputManager.acquireTvInputHardware CTS" into rvc-dev 2020-05-27 04:39:45 +00:00
TreeHugger Robot
bd94b5d3e0 Merge "Fix black screen during Quick switch" into rvc-dev am: c82ee307b1 am: 2f34b5f9fb
Change-Id: Iba11cc5c1d417bd7def1329a38b291cdeed558e5
2020-05-25 18:31:39 +00:00
TreeHugger Robot
94f5ae2fce Merge "Fix black screen during Quick switch" into rvc-dev am: c82ee307b1
Change-Id: I1ce1a153bacd7aafae975c7b5563bb6474d12805
2020-05-25 18:27:04 +00:00
TreeHugger Robot
2f34b5f9fb Merge "Fix black screen during Quick switch" into rvc-dev am: c82ee307b1
Change-Id: I93231dd8c485d2ae20aaed9946863e5c97076cd0
2020-05-25 18:27:03 +00:00
Ming-Shin Lu
aa9376bc4f Fix black screen during Quick switch
When quick switch a delayed task, before onTaskAppeared called,
if the user holds gesture on nav bar, TRANSIT_WALLPAPER_OPEN from closing
app happens will cancel recents animation when
WC#applyAnimationUnchecked, and that will cause the black screen if the
delayed task not yet drawn and there is no recents task snapshot on top.

Since cancelling recents animation during quick switching doesn't make
sense, to fix that, we should check the animation task target if is
still controlled by recents animation, if so, we should not cancel it.

Also, make sure if the appeared task has already been in task target list,
(i.e. task A appreared, quick switch to task B, before task B appeared,
quick switch back to task A) if so, we don't need to callback task
appeared again.

Fix: 156670249
Test: manual as issue test steps.
Change-Id: I303403d63c91c08fabcb8c5b1b1aac42c4ec65db
2020-05-25 21:20:33 +08:00
Jay Aliomer
1c9b3a68da Merge "Remove new styles from AOSP" into rvc-d1-dev am: dbe16101a5
Change-Id: Idaa838376e581f37c30cb6d3ace8cb73d72dd99d
2020-05-20 20:47:56 +00:00
Jay Aliomer
dbe16101a5 Merge "Remove new styles from AOSP" into rvc-d1-dev 2020-05-20 20:35:15 +00:00
Andrew Walbran
386d9691c3 Add keylayout for HORIPAD for Nintendo Switch
This is a third-party USB game controller for the Nintendo Switch, but
doesn't require the special driver needed for the official controllers.

The same button layout is used as for the Nintendo Switch Pro Controller.

Test: manual test with Gamepad Tester app
Change-Id: Ie424bbe8fe40853b5c8683d6094e2c6d3cf55a5b
2020-05-19 22:52:31 +01:00
Jay Aliomer
e3b17f75b5 Remove new styles from AOSP
Fixes: 156779458
Test: manually check styles
Change-Id: Idab27fe12f0daad6ffe6587967d1e25ff2f5c238
2020-05-19 13:35:08 -04:00
TreeHugger Robot
ae898cd2d2 Merge "Screen recording doesnt record internal audio" into rvc-dev am: 3ccf874dca
Change-Id: I73fb031cb436c4b632d82890498df484713f5e69
2020-05-18 23:37:20 +00:00
TreeHugger Robot
a70674e644 Merge "Add keylayout for Steam controller (USB)" into rvc-dev am: e061bdbfe1
Change-Id: Id27fda1baa8db1247face7d0483b5c7f8626f2f2
2020-05-18 23:12:34 +00:00
TreeHugger Robot
c4bbe5f370 Merge "Screen recording doesnt record internal audio" into rvc-dev am: 3ccf874dca am: 43ddb44202
Change-Id: I7dd0cb5e95d39d1331f79ed310b4b361e06ee2a3
2020-05-18 17:07:08 +00:00
TreeHugger Robot
43ddb44202 Merge "Screen recording doesnt record internal audio" into rvc-dev am: 3ccf874dca
Change-Id: Icb1ad78c63b8b81dc386be86cfdadbbce403a22b
2020-05-18 16:50:38 +00:00
TreeHugger Robot
3ccf874dca Merge "Screen recording doesnt record internal audio" into rvc-dev 2020-05-18 16:37:11 +00:00
Jay Aliomer
c2094aedcc Screen recording doesnt record internal audio
Fixes: 156645454
Test: manual
Change-Id: I3be1df0e6261750b2fe923650ee3359414fce642
2020-05-16 17:58:25 -04:00
TreeHugger Robot
2cffdd6b41 Merge "Add keylayout for Steam controller (USB)" into rvc-dev am: e061bdbfe1 am: 99a088c764
Change-Id: I831255898643144318b004e732357533cbe56c14
2020-05-16 01:58:13 +00:00
TreeHugger Robot
99a088c764 Merge "Add keylayout for Steam controller (USB)" into rvc-dev am: e061bdbfe1
Change-Id: I6fd935f70a23800c93acf60c54138b85c56d0e2f
2020-05-16 01:32:42 +00:00
Siarhei Vishniakou
2abc5d2823 Add keylayout for Steam controller (USB)
In the USB mode, Steam controller needs a key layout, because most of
the buttons and axes are incorrectly mapped.

The wireless dongle has not been tested.

The controller also support BLE, but currently goes into lizard mode by
default (only mouse and 2 buttons: left/right clicks work). So a driver
is likely necessary to go into the normal mode over BT, and hid-steam
doesn't help with that currently.

On BT, the controller has product id of 0x1106.

Bug: 147434575
Test: use the "gamepad tester" app and connect joystick over the USB.
Ensure that all mappings work
Test: CTS test will not be done at this time because it requires
supporting SET_REPORT in the hid command.

Change-Id: Ic0c50695338f98dcaeaaa7b3417fde702563d205
2020-05-15 07:38:14 -07:00
Amy Zhang
5f8498bcf1 Add support for TvInputManager.acquireTvInputHardware CTS
1. Add a test api in TvInputManager to add hardware device for testing
2. Add Shell permission for TV_INPUT_HARDWARE
3. Add TUNER_RESOURCE_ACCESS permission for TvInput Framework.

Test: atest android.media.tv.cts
Bug: 155114656
Change-Id: I227f13cbf14532d8732729412ae9c2518755ef02
2020-05-14 17:37:52 -07:00
Treehugger Robot
3dc4f436b9 Merge "Convert much of f/b/data/fonts/Android.mk to Android.bp" am: fbb827fe24 am: 445030096f am: 93e1bfa6fc
Change-Id: I82242b7e323829cdafae869815a35b768f42d233
2020-05-14 16:48:36 +00:00
Treehugger Robot
93e1bfa6fc Merge "Convert much of f/b/data/fonts/Android.mk to Android.bp" am: fbb827fe24 am: 445030096f
Change-Id: I1dda18059beb41e34a25a62cc2c95e83944427c3
2020-05-14 16:33:52 +00:00
Treehugger Robot
445030096f Merge "Convert much of f/b/data/fonts/Android.mk to Android.bp" am: fbb827fe24
Change-Id: I1f455ecabdd195f30e6026a0aee3d38e3cd7c5de
2020-05-14 16:18:55 +00:00
Dan Willemsen
276c4eb05b Convert much of f/b/data/fonts/Android.mk to Android.bp
The Serif symlinks haven't been used since 2014, so I removed them.

Test: treehugger
Test: m fonts.xml DroidSansMono.ttf AndroidClock.ttf, ensure same installed files
Change-Id: I496498e0debac37f5fff4b9e046813e6b2694fd5
2020-05-13 20:22:42 -07:00
TreeHugger Robot
f3ae8b5bd1 Merge "Add day-night-mode permission to Shell." into rvc-dev am: 021ceaecf2
Change-Id: Ib364f93a1f0c338b7139c8f0a6945653a2db01bf
2020-05-13 19:47:17 +00:00
TreeHugger Robot
021ceaecf2 Merge "Add day-night-mode permission to Shell." into rvc-dev 2020-05-13 19:41:38 +00:00
TreeHugger Robot
77d3432f68 Merge "Includes SecondaryHome into the priv app whitelist." into rvc-dev am: 8a8dba8d27
Change-Id: I4283f9cc4fb1cc56d95f1952cd0f7468a592741c
2020-05-12 20:36:40 +00:00
TreeHugger Robot
6d18a18871 Merge "Includes SecondaryHome into the priv app whitelist." into rvc-dev am: 8a8dba8d27 am: 27777a33cc
Change-Id: Ifa13b89421c0bab0552819fd086cab93e32f7810
2020-05-12 19:44:50 +00:00
TreeHugger Robot
27777a33cc Merge "Includes SecondaryHome into the priv app whitelist." into rvc-dev am: 8a8dba8d27
Change-Id: I541b357a816f6851a670b17f28d0bee14cdf533c
2020-05-12 19:28:04 +00:00
Hall Liu
04e782ddb7 Merge "Convert Telephony broadcasts to be non-sticky" into rvc-dev am: ee1249911a
Change-Id: I7365f679d2b7af4119283a67660187857de790c9
2020-05-12 19:09:29 +00:00
Treehugger Robot
fbd4a6f80a Add day-night-mode permission to Shell.
Without the permission "adb shell cmd uimode night <mode>" doesn't work.
Adding the permission to the AndroidManifest file so the shell command
will work.

Bug: 155584597
Test: run `adb shell cmd uimode night <no|yes|auto>`
Change-Id: Ic444f3351cb130d24a2794284c6bf8709c80712c
(cherry picked from commit a85cc22044)
2020-05-12 15:13:26 +00:00
Yuncheol Heo
561f67eb72 Includes SecondaryHome into the priv app whitelist.
- Add android.permission.INTERACT_ACROSS_USERS for the CarNotificationLib.

Bug: 156114875
Test: check if SecondayHome is shown (in gcar_hl_md_emu_x86).
Change-Id: I79ae64b90a52235876a6e51ad01ae70def1bf1fa
2020-05-11 19:52:01 -07:00
Treehugger Robot
2c5a6f6c4d Merge "Add day-night-mode permission to Shell." am: 963c11e32d am: dbf9eed8c1 am: 4d79a92078
Change-Id: I543f3a26224e826708dc3317b2f9c2bd7b19b53e
2020-05-11 23:18:22 +00:00
Treehugger Robot
4d79a92078 Merge "Add day-night-mode permission to Shell." am: 963c11e32d am: dbf9eed8c1
Change-Id: I5fe4468f78049f9907a92121b7e3661bb9598440
2020-05-11 22:56:39 +00:00
Treehugger Robot
dbf9eed8c1 Merge "Add day-night-mode permission to Shell." am: 963c11e32d
Change-Id: Iad4aba4108aa1d60e470388bfadf2bdc78984324
2020-05-11 22:38:44 +00:00
Kweku Adams
6adfa79de1 Add day-night-mode permission to Shell.
Without the permission "adb shell cmd uimode night <mode>" doesn't work.
Adding the permission to the AndroidManifest file so the shell command
will work.

Bug: 155584597
Test: run `adb shell cmd uimode night <no|yes|auto>`
Change-Id: Ibfb145d762c73bba9de639d4050b9b26e4778cc9
2020-05-11 11:46:34 -07:00
Hall Liu
558b7f1af4 Merge "Convert Telephony broadcasts to be non-sticky" into rvc-dev am: ee1249911a am: 276f44d2ba
Change-Id: I629a56543cb71ca867804046ffec2bbee5438016
2020-05-10 05:29:32 +00:00