Commit Graph

1573 Commits

Author SHA1 Message Date
Yo Chiang
8f7968d0ab Merge "Remove font symlinks hack" am: df792ee3f2 am: f369e4f670 am: 572f829f7f
Original change: undetermined

Change-Id: Idec39c2a5e58b1c726968c271b3b77b6d8605146
2020-06-02 11:15:39 +00:00
Yo Chiang
572f829f7f Merge "Remove font symlinks hack" am: df792ee3f2 am: f369e4f670
Original change: undetermined

Change-Id: If3a07de26e209dd9f7f4cfa2c3cfed1459b44acc
2020-06-02 11:15:03 +00:00
Yo Chiang
f369e4f670 Merge "Remove font symlinks hack" am: df792ee3f2
Original change: undetermined

Change-Id: I890a67df43166c0c2f7362896162e55901830c10
2020-06-02 10:57:24 +00:00
Yo Chiang
df792ee3f2 Merge "Remove font symlinks hack" 2020-06-02 10:38:16 +00:00
Mina Granic
fb928ffed1 Merge "Whitelist READ_PRIVILEGED_PHONE_STATE permission needed by Build.getSerial()." into rvc-dev am: 3420744449 am: 9c50a0fd93
Change-Id: I2de9f957880856d5414c16888fa690fd10f06a60
2020-05-29 16:59:05 +00:00
Mina Granic
ce89357221 Merge "Whitelist READ_PRIVILEGED_PHONE_STATE permission needed by Build.getSerial()." into rvc-dev am: 3420744449
Change-Id: I87ba76fba86a254cb01ee6ab9142a072f6a558ed
2020-05-29 16:50:24 +00:00
Mina Granic
9c50a0fd93 Merge "Whitelist READ_PRIVILEGED_PHONE_STATE permission needed by Build.getSerial()." into rvc-dev am: 3420744449
Change-Id: I2abef9f3ff3f447cc9438da976a1c9e41390294a
2020-05-29 16:50:20 +00:00
Mina Granic
3420744449 Merge "Whitelist READ_PRIVILEGED_PHONE_STATE permission needed by Build.getSerial()." into rvc-dev 2020-05-29 16:43:43 +00:00
TreeHugger Robot
2a9258b974 Merge "Add LOCATION_HARDWARE permission to shell." into rvc-dev am: 8a6ef8e52d
Change-Id: I9c2feef6a19fb44c10891384fca3056e9dee0b2b
2020-05-28 21:46:33 +00:00
TreeHugger Robot
b16116ce55 Merge "Add LOCATION_HARDWARE permission to shell." into rvc-dev am: 8a6ef8e52d am: fc7c4138ef
Change-Id: I68a918d7a81271225549c6e402fe964c53bffbdb
2020-05-28 19:47:14 +00:00
TreeHugger Robot
fc7c4138ef Merge "Add LOCATION_HARDWARE permission to shell." into rvc-dev am: 8a6ef8e52d
Change-Id: Ica09e8dba5b17f0df7d15f980c284b48defac8d0
2020-05-28 19:45:06 +00:00
Chen Xu
31e6e90e97 Merge "support cellbroadcast data migration by dafault" into rvc-dev am: ef0740e227 am: 129cfaccc4
Change-Id: Ie54bd47a0a8058be419f422fb95677c7868aa0f7
2020-05-28 01:09:34 +00:00
Chen Xu
129cfaccc4 Merge "support cellbroadcast data migration by dafault" into rvc-dev am: ef0740e227
Change-Id: I7a981e5a17df180310b3e9c1fac5aa5262007834
2020-05-28 01:06:38 +00:00
Wei Wang
96f7636149 Add LOCATION_HARDWARE permission to shell.
A few location System APIs require LOCATION_HARDWARE permssion. Adding
this permission to shell so CTS tests can adopt this permission.

Bug:154347471

Test: atest PrivilegedLocationPermissionTest
Change-Id: I4abe4dc044ec4a3ab62352cc0f4a1726bebac633
2020-05-27 17:53:31 -07:00
Chen Xu
5499acb4a7 Merge "support cellbroadcast data migration by dafault" into rvc-dev am: ef0740e227
Change-Id: I685dcfde242d4240931053b3ad4ccd1bf71ec21e
2020-05-28 00:26:52 +00:00
Chen Xu
ef0740e227 Merge "support cellbroadcast data migration by dafault" into rvc-dev 2020-05-28 00:24:30 +00:00
Chen Xu
1d4939fff2 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
Merged-in: I5e61c7e777526e038cd8d9971a2c5b87c00eaacb
2020-05-27 20:25:10 +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
0bbc0e252c Merge "Add Effect_Tick.ogg back to Android TV devices" into rvc-dev am: a12b964839
Change-Id: Ice679162b985abdca668b0859b3cd74766943026
2020-05-27 19:55:58 +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
minagranic
f750a61838 Whitelist READ_PRIVILEGED_PHONE_STATE permission needed by Build.getSerial().
Bug: 144779107
Test: Plugged the phone, no SecurityException, started Phantoscope.
Change-Id: I2af21c1318fabb4d9a8b9bc6808dc163a3e353b5
2020-05-27 17:40:41 +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
Yo Chiang
5585f04ae6 Remove font symlinks hack
Remove Android.mk symlink hack.
Use Android.bp prebuilt_font's symlinks property to install symlinks.

Bug: 157537895
Test: m DroidSansMono.ttf
Test: m Roboto-Regular.ttf Roboto-Bold.ttf
Test: # system/fonts/DroidSans.ttf -> Roboto-Regular.ttf
Test: # system/fonts/DroidSans-Bold.ttf -> Roboto-Bold.ttf
Change-Id: I5b311a3e32bd688e2a6be20d9b81d24560b7e133
2020-05-27 18:08:11 +08: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