Commit Graph

1583 Commits

Author SHA1 Message Date
TreeHugger Robot
4261bfdb6d Merge "Add Effect_Tick.ogg back to Android TV devices" into rvc-dev am: a12b964839 am: fa717b9f9e am: 35573b3d80 am: 3a65c165e8
Change-Id: I3a5b26d17dac3b4cd2ab0a7219d497389651964f
2020-05-27 20:04:03 +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
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
Chen Xu
dbbc79265b Merge "support cellbroadcast data migration by dafault" 2020-05-27 16:13:35 +00:00
Taran Singh
4871a0e51a Merge "Add Insets dumps and IME debug logs" into rvc-dev am: e20c25ddc6 am: 816b9c374c am: f0f00c8764 am: a6bb9dcf0b
Change-Id: I6df359e39d094a590346c6074ec957f76537cee3
2020-05-27 15:49:09 +00:00
Treehugger Robot
e7b4e70c9b Merge "Add keylayout for HORIPAD for Nintendo Switch" am: 9ea883f4a3 am: 226410ff53 am: 5da33eca4e am: a490ee3338 am: f914f9e6b0
Change-Id: Ib965726b4f7ae1dc019ec1a647c5e9612ba3b9fe
2020-05-27 15:48:15 +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
Automerger Merge Worker
432000fef9 Merge "Merge "Add support for TvInputManager.acquireTvInputHardware CTS" into rvc-dev am: f49fa1a9ea am: b7e62faf05 am: 1c4bcda424" into rvc-qpr-dev-plus-aosp am: cce2d11a1c
Change-Id: I8e145e9a194fad5b6e78f50016af542a0d384ef1
2020-05-27 05:28:15 +00:00
TreeHugger Robot
116baa3ad8 Merge "Add support for TvInputManager.acquireTvInputHardware CTS" into rvc-dev am: f49fa1a9ea am: b7e62faf05 am: 1c4bcda424
Change-Id: I2543d698154caff16978fb1e1730794975052011
2020-05-27 05:16:53 +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
f6c4427889 Merge "Fix black screen during Quick switch" into rvc-dev am: c82ee307b1 am: 2f34b5f9fb am: bd94b5d3e0 am: cdacf0b915
Change-Id: Idd6355d608e03eb8d0326467a1ba8747c4195c4f
2020-05-25 19:11:20 +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
Chen Xu
bb4b28e805 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
2020-05-23 21:26:30 -07:00
Chris Li
188dd133c3 Merge "Migrate DisplayContent.mOverlayContainers to DisplayArea" 2020-05-21 00:21:17 +00:00
Jay Aliomer
fd05a23c75 Merge "Remove new styles from AOSP" into rvc-d1-dev am: dbe16101a5 am: 1c9b3a68da am: a19a88b5aa
Change-Id: Ieef64c1ed185ea8f8314e3712366fd4234acf093
2020-05-20 21:32:34 +00: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
Chris Li
27284de40a Migrate DisplayContent.mOverlayContainers to DisplayArea
(1/n DisplayArea Sibling Roots)

Instead of adding magnification window to the overlay containers in
DisplayContent, move it to be part of the policy created display
hierarchy.

DA.Root
   - DA for FEATURE_WINDOWED_MAGNIFICATION
      - BELOW_TASKS
      - TDA
      - ABOVE_TASKS (below TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY)
   - DA.Tokens for TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY
      - Magnification overlay windows
   - ABOVE_TASKS (DA.Tokens's for layers above
     TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY)

Fix: 156424590
Test: manual: magnification and screen rotation
Test: go/wm-smoke (manual)
Change-Id: I959c0a882b0a0e9a9dbb44ad62a3c65c1dfe3c06
2020-05-20 13:44:33 -07: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
519a1ee6ce Merge "Screen recording doesnt record internal audio" into rvc-dev am: 3ccf874dca am: 43ddb44202 am: c4bbe5f370 am: 73e1604fe5
Change-Id: Ib853efdf98b4bc31fb2162828f98f3f8fe5b8962
2020-05-18 17:43:59 +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
3f2b390486 Merge "Add keylayout for Steam controller (USB)" into rvc-dev am: e061bdbfe1 am: 99a088c764 am: 2cffdd6b41 am: 0be5e16a03
Change-Id: If55c46af334346b6624f3b69a703b38978bc21d7
2020-05-16 02:33:13 +00: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
3264563e66 Merge "Convert much of f/b/data/fonts/Android.mk to Android.bp" am: fbb827fe24 am: 445030096f am: 93e1bfa6fc am: 3dc4f436b9 am: 08525c730f
Change-Id: Iafe38e18fb4dad2790a030454e5ed7ad2b60b068
2020-05-14 17:18:15 +00: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