aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-26Snap for 8116027 from 97d06f3624665bb7cf682f886fae9561da505fee to ↵android-12.1.0_r9android-12.1.0_r8android-12.1.0_r7android-12.1.0_r22android-12.1.0_r21android-12.1.0_r20android-12.1.0_r19android-12.1.0_r11android-12.1.0_r10android12-qpr3-s7-releaseandroid12-qpr3-s6-releaseandroid12-qpr3-s5-releaseandroid12-qpr3-s4-releaseandroid12-qpr3-s3-releaseandroid12-qpr3-s2-releaseandroid12-qpr3-s1-releaseandroid12-qpr3-releaseAndroid Build Coastguard Worker
sc-qpr3-release Change-Id: I6ff5f865bfc4a3d799b2f8f629025e36c4ed95bf
2022-01-19Add an example of specifying off-screen nudge action per applicationYabin Huang
Bug: 208739202 Test: manual Change-Id: I20b37af80a93e364d28bd6f9ad195d1d158adfb5
2021-10-20Add generate-overlays.pyandroid12L-devCole Faust
Similar to generate-overlayable.py, but for the <overlay> entry. This assumes that the resources that the RRO uses to replace app resources are named exactly the same as the app's resources. The user can also supply the app's res folder to the script, in which case it will know to ignore any resources that are not also present in the app. Fixes: 169707403 Test: Manually Change-Id: I33340f8f711fefa0166c7d775881eab82d1f8907 (cherry picked from commit 38cb3702eda83b7977e78690a635b8a7079e2caf) Merged-In: I33340f8f711fefa0166c7d775881eab82d1f8907
2021-10-14Add better logging to RRO scriptHeemin Seog
Bug: 192256161 Test: manual Change-Id: I340b6b5a74ab0892f27c8ddf73cb76af866a8a4b
2021-09-23Merge "Add plurals to ignore string check" into sc-v2-devTreeHugger Robot
2021-09-22Add plurals to ignore string checkAlex Stetson
The ignore string parameter should also apply to plural strings, since otherwise they cannot be removed properly. Bug: 199229954 Test: manual Change-Id: I0bbe6f08ccd995a68fad00a731d2def3d579e454
2021-09-14Merge "Edit gradle project for TestMediaApp" into sc-v2-devTreeHugger Robot
2021-09-10Edit gradle project for TestMediaAppArnaud Berry
Sign the app with the same certificate so the gradle and soong builds can override each other. Bug: 194511956 Test: manual Change-Id: Ica116ba3fd85da0aa721df267539d6737f0dae8b
2021-08-23Merge "Fix a crash on non car-ui Activity" into sc-v2-devTreeHugger Robot
2021-08-20Fix a crash on non car-ui ActivitySaeid Farivar Asanjan
We're avoiding injecting car-ui LayoutInflaterFactory when the launching Activity is not using Theme.CarUi. A workaround for these cases if they're intentionally trying to use car-ui components on a non car-ui Activity is adding the following attr to their theme. <item name="carUiActivity">true</item> Bug: 196567855 Test: Manually Change-Id: I0256a2f5f8f9dc9b01101f0013eeec3f6506ac2d
2021-08-19Add an example of popup windowYabin Huang
Bug: 194954154 Test: manual Change-Id: Ifbd468ec38a2cb519e5f5343dde5e64c10d2a8aa
2021-08-02Merge "Remove usage of deprecated DirectManipulationHelper methods" into ↵TreeHugger Robot
sc-v2-dev
2021-07-30Remove usage of deprecated DirectManipulationHelper methodsCole Faust
Bug: 190783163 Test: Compiling Change-Id: Ia32a3756335baa01ca73b5d867bd85001e3b2dc0
2021-07-24Add an example of overlapped SurfaceViewYabin Huang
Bug: 194148552 Test: manual Change-Id: I6e2509a8eda887cb5a1edebd6f48530f33448f2c
2021-07-13Rearrange prefs and browse tree to optimize AAP emulator tests.jaysebastian
Also add audio focus listener to pause/resume during transient focus changes. Bug: 179729640 Test: n/a (scaffolding for separate test project) Change-Id: Ie076ed32271f8b5729cecd6b0b129a2b9683a74c
2021-06-29Fix a crash when creating PendingIntent am: a1dfded1ebYabin Huang
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/tests/+/15114492 Change-Id: I22bd3bdc3f343e9960183d8867619113f0a15711
2021-06-25Fix a crash when creating PendingIntentandroid-12.0.0_r32android-12.0.0_r29android-12.0.0_r28android-12.0.0_r27android-12.0.0_r26android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android-12.0.0_r16android12-qpr1-releaseandroid12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseandroid12-devYabin Huang
Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. So this CL uses FLAG_IMMUTABLE to create the PendingIntent because the flag is recommended in most cases. Fixes: 192103710 Test: manual Change-Id: Ie736f88ee939774d7e8ef95b91dbcf8e462950ee
2021-06-16Fix generate-overlayable script to include attrs am: 27751ea8c6Julia Kawano
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/tests/+/14890244 Change-Id: I744e7047474860713f0675a2d875b04d989dae5f
2021-06-08Fix generate-overlayable script to include attrsJulia Kawano
Test: manual Change-Id: Ibb147dafa3f974af1fd8d6afdf40142e4e30beca Bug: 190069278
2021-05-14Merge "Workaround older androidx media library" into sc-devTreeHugger Robot
2021-05-12Workaround older androidx media libraryArnaud Berry
The androidx media library fixed the creation of pending intents on S. However the prebuilt has not been updated, and S is locking down so this simple workaround seems safer. Bug: 182007466 Test: manual Change-Id: Ie058437b6ccf2f35475da17e8a6b5fbb9ae82fbb
2021-05-06Merge "Use new nudge shortcut attributes" into sc-devDanny Epstein
2021-05-05Only use default strings.xml file as overlayableAlex Stetson
If we reference all strings.xml files and then remove a string, the resource will still be present in our overlayable.xml file. Then, when translations are imported and the additional references are removed, the application will no longer build. Bug: 187225456 Test: manual (on CarSettings) Change-Id: I114b1fd37cac6d50571bd5173e0bab601db87698
2021-05-04Use new nudge shortcut attributesDanny Epstein
Migrate from the old nudge shortcut attributes that only let you specify a single shortcut to the new attributes that let you specify up to four shortcuts. Bug: 187223909 Test: manually nudge in custom focus area tab of Rotary Playground Change-Id: Ia2c5a244198335e0f9918bfb123299561ea31abd
2021-04-30Add generic overlayable.xml scriptsHeemin Seog
Bug: 186785919 Test: manual with MediaCenter Change-Id: Ic62b079c471ce905c9aa457c4a41aa133cb569f7
2021-04-16Demo updating a view without losing focusYabin Huang
Add a FocusArea to the Cards tab to demonstrate how to update a view properly. Fixes: 185377477 Test: manual Change-Id: I66038ef4677ee904246bf1dd16503fca4b27c9c1
2021-03-11Add FLAG_IMMUTABLE when creating PendingIntent instances.Arnaud Berry
Note that a media session library update is needed (was able to test by creating and passing a pending intent to new MediaSessionCompat in TmaBrowser#onCreate: ComponentName mbrComponent = MediaButtonReceiver.getMediaButtonReceiverComponent(this); Intent mediaButtonIntent = new Intent("android.intent.action.MEDIA_BUTTON"); mediaButtonIntent.setComponent(mbrComponent); PendingIntent mbrIntent = PendingIntent.getBroadcast(this, 0, mediaButtonIntent, PendingIntent.FLAG_IMMUTABLE); mSession = new MediaSessionCompat(this, MEDIA_SESSION_TAG, mbrComponent, mbrIntent); Fixes: 182007466 Test: manual Change-Id: I9cfe322463503018c4655ab7b811584e23070040
2021-03-11Adding more songs Test Media App to test jankiness scenarios. am: 1a48bdf829 ↵Rohan Mehta
am: 694662e9bf am: ccb21c82af Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/tests/+/13619867 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ic8b0d460b33436475c83f12c3f2c66e55604f81f
2021-03-11Adding more songs Test Media App to test jankiness scenarios. am: 1a48bdf829 ↵temp_ab_7272582Rohan Mehta
am: 694662e9bf Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/tests/+/13619867 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ic15c2e4335b52366da11b71a062ed3bf5eaf9685
2021-03-10Adding more songs Test Media App to test jankiness scenarios. am: 1a48bdf829Rohan Mehta
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/tests/+/13619867 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id55b4a57ec1cbfdd300d3260f19c341bfb1b61ad
2021-03-10Adding more songs Test Media App to test jankiness scenarios.Rohan Mehta
Bug: 178499441 Test: build and run test Change-Id: I6cb9932e401427307e309bbf2e45de08e04e6ced
2021-03-04Add special items that hide/show others when played am: cfc4e710a0 am: ↵Arnaud Berry
03da64e262 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/tests/+/13712344 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I8d07e0b93756727a09c89d6a67a4e22812d68182
2021-03-04Add special items that hide/show others when played am: cfc4e710a0Arnaud Berry
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/tests/+/13712344 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I88d1fd91f0a5c52c05c5214df15eac024e129719
2021-03-04[automerger skipped] Merge RQ2A.210305.007 am: f0cb80c34a -s ours am: ↵Xin Li
9834eaeaec -s ours am: 3a684f571c -s ours am skip reason: Change-Id I0db04e327d71553d83dc2dd53119dab08795f333 with SHA-1 90f7cde7a8 is in history Original change: https://android-review.googlesource.com/c/platform/packages/apps/Car/tests/+/1613656 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I9fe6a1c95e55c5ac77a71531b9727a59137e131d
2021-03-03[automerger skipped] Merge RQ2A.210305.007 am: f0cb80c34a -s ours am: ↵Xin Li
9834eaeaec -s ours am skip reason: Change-Id I0db04e327d71553d83dc2dd53119dab08795f333 with SHA-1 90f7cde7a8 is in history Original change: https://android-review.googlesource.com/c/platform/packages/apps/Car/tests/+/1613656 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I9f292b1f44559055659c47446a845619eec967ab
2021-03-03[automerger skipped] Merge RQ2A.210305.007 am: f0cb80c34a -s oursXin Li
am skip reason: Change-Id I0db04e327d71553d83dc2dd53119dab08795f333 with SHA-1 90f7cde7a8 is in history Original change: https://android-review.googlesource.com/c/platform/packages/apps/Car/tests/+/1613656 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ia56a0fb7dcd6ae568b34a2f8bed85c2c45b37ef7
2021-03-03Merge RQ2A.210305.007android-s-beta-2android-s-beta-1Xin Li
Bug: 180401296 Merged-In: I0db04e327d71553d83dc2dd53119dab08795f333 Change-Id: Ie05c2f5acb36a12410d0af9604287df8344bb13f
2021-02-26Add special items that hide/show others when playedArnaud Berry
This allows to simulate apps (like BT) that dynamically remove or add media items. Bug: 148811848 Test: manual Change-Id: I337a5cbb88b52adb59e8f56be86f7d535c9ab8da
2021-02-23[automerger skipped] Merge ab/7061308 into stage. am: 90f7cde7a8 -s ours am: ↵Xin Li
ef79a84a5a -s ours am skip reason: Change-Id I65efc7c49ffbc42c9c372b38b2484d87e3077802 with SHA-1 1787540c90 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/tests/+/13658374 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id1fc172a0444bbe307fa35b77f2df36bd8fa83e0
2021-02-23[automerger skipped] Merge ab/7061308 into stage. am: 90f7cde7a8 -s oursXin Li
am skip reason: Change-Id I65efc7c49ffbc42c9c372b38b2484d87e3077802 with SHA-1 1787540c90 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/tests/+/13658374 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id5e0deec1676375e068da336a4c0f95f3373951b
2021-02-21[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Car/tests am: 7777c04c43 am: ↵Bob Badour
c6651061dd am: c8e0bc0fe1 Original change: https://android-review.googlesource.com/c/platform/packages/apps/Car/tests/+/1587749 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Iad20b27aedeb5982ee7e5d783d0d1c33f922b314
2021-02-21Merge ab/7061308 into stage.temp_RQ2A.210305.007Xin Li
Bug: 180401296 Merged-In: I65efc7c49ffbc42c9c372b38b2484d87e3077802 Change-Id: I0db04e327d71553d83dc2dd53119dab08795f333
2021-02-19[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Car/tests am: 7777c04c43 am: ↵Bob Badour
c6651061dd Original change: https://android-review.googlesource.com/c/platform/packages/apps/Car/tests/+/1587749 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Iedabc6bcb4d504500e869c47cfbad53184393a98
2021-02-19[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Car/tests am: 7777c04c43Bob Badour
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Car/tests/+/1587749 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I035f7a250cdb62c4c39c8df2cf50bee9c43cc593
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Car/testsBob Badour
Added SPDX-license-identifier-Apache-2.0 to: RotaryIME/Android.bp RotaryPlayground/Android.bp TestMediaApp/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I39c7814e8f40a3e2f834f4dc36738211ac0a325e
2021-02-05Merge "Customize off-screen nudges" into sc-devDanny Epstein
2021-02-03Customize off-screen nudgesDanny Epstein
Test: nudge up, down, and left from Rotary Playground Bug: 174877801 Change-Id: I6fcf3f0a020e174c527aff116e0e466c037add52
2021-02-03[automerger skipped] DO NOT MERGE Customize off-screen nudges am: c4d1f1cb4c ↵Danny Epstein
am: 789c35dec1 -s ours am skip reason: subject contains skip directive Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/tests/+/13454621 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I9b9593eb2419f9f186ae203d400a767b9e7ecea6
2021-02-03DO NOT MERGE Customize off-screen nudges am: c4d1f1cb4cDanny Epstein
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/tests/+/13454621 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id24b7bfce583dd76e44b468b75052776b961149a
2021-02-02DO NOT MERGE Customize off-screen nudgesDanny Epstein
Test: nudge up, down, and left from Rotary Playground Bug: 174877801 Change-Id: I6fcf3f0a020e174c527aff116e0e466c037add52