Commit Graph

63170 Commits

Author SHA1 Message Date
Anushree Ganjam 75183ceed5 [DO NOT MERGE] Change the LPNH flag to read from server flag "ENABLE_LONG_PRESS_NAV_HANDLE_MPR".
Flag: ENABLE_LONG_PRESS_NAV_HANDLE_MPR
Test: Manual
Bug: 309689303
Change-Id: Ib695b3d6ac3f40ee53b6b64bb6b121e7b34d4b07
2023-11-08 23:43:49 +00:00
Bill Yi c0ab803dfd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibdeded5c211f9ff20c88ac0ff5b7c4fa9975524f
2023-11-03 11:48:27 -07:00
Tony Wickham 7738b6e943 Merge "Fix 3 button mode issues in AllSetActivity" into udc-qpr-dev 2023-11-02 18:50:49 +00:00
Tony Wickham 286fc215e6 Fix 3 button mode issues in AllSetActivity
- Set system bars appearance to light/dark depending on device
  theme to ensure visibility
- Also fix issue where taskbar icons would appear partially
  offscreen and prevent pressing nav buttons if you rotated

Fixes: 293438087
Test: adb shell am start -a android.intent.action.MAIN -n com.google.android.setupwizard/.SetupWizardTestActivity
  - Skip to the end (AllSetActivity), and ensure 3 buttons are visible
  - Rotate device and ensure 3 buttons are still visible and functional
  - Will also flash / wipe to the build once it's created
Flag: None
Change-Id: Ie2d9bf1e1d95a6ccbd1f9c592adb51390b21ad85
2023-11-01 17:08:29 +00:00
Bill Yi fae7bcdcc7 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2023-10-31 17:20:48 +00:00
Bill Yi bd46ac2e47 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4a896fab1575b944ef17d21ed96dfb1b192e9cd0
2023-10-30 20:00:13 -07:00
Bill Yi fa473558ba Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4194ef5bacc03bc059706da3d4336b3cf71a7d1e
2023-10-30 19:58:47 -07:00
Bill Yi e98d49f10b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2849700e0074a0028bb5a55b626cd1ecfccfdf6f
2023-10-20 02:19:45 -07:00
Alex Chau c44b3cdda9 Avoid drawing live tile behind recents when launching on grid overview
Fix: 304911154
Flag: none
Test: Swipe up in tablet, scroll to side, launch focused task
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1f5de2483bc9eb36128a7f700ca4539591afd186)
Merged-In: I91dd8b4088f02af9dc5e603853d8e26606acc38f
Change-Id: I91dd8b4088f02af9dc5e603853d8e26606acc38f
2023-10-17 08:32:22 +00:00
Pat Manning 08f89425bb Set FastBitmapDrawable's badge alpha when updating drawable alpha.
Test: FastBitmapDrawableTest
Fix: 304559962
Change-Id: Ie545cc5da506c77af18f99b5d045cafc37110a5a
2023-10-16 09:52:06 +00:00
Jon @ 5838767cc2 Merge "Fix bug where All Apps button loads in late in taskbar." into udc-qpr-dev 2023-10-13 18:37:04 +00:00
fbaron 9ffd90a85b Add NullPointerException to try/catch since it's possible to have such an error
getShortcutIconDrawable could return null "Method invocation 'getShortcutIconDrawable' may produce 'NullPointerException'" and it leads to the code crashing. Adding  NullPointerException as one of the exceptions in the try/catch would resolve this issue

Fix: 299525046
Test: verify after merging that the null pointer exception stops occurring
Flag: no flag
Change-Id: I52cfba9c7b08ea4e1b0f4506c461e79c3e91dc6c
(cherry picked from commit 7e6107caaf)
2023-10-12 17:02:28 +00:00
Jon Miranda 1e931890d1 Fix bug where All Apps button loads in late in taskbar.
We need to re-create the icon alignment controller if the
stash status changes, otherwise it will use an old value.

Bug: 296414290
Test: home to app then quickly unstash
Change-Id: I35f23842f289fce95d102a9a93dc94cd033fa8cc
2023-10-11 13:28:08 -07:00
Bill Yi a2a4b84db1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 53bc743c58 -s ours am: f145e084cc -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24975341

Change-Id: Ie6e5ba75ff8a5e7cda38ab8f749dca85461bf66e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-10 00:15:35 +00:00
Bill Yi dae4fd731e [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 3b26a6ef18 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24975342

Change-Id: I83e05d16a6b305810020a039d18dc9f1a1a41422
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-10 00:11:29 +00:00
Bill Yi f145e084cc [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 53bc743c58 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24975341

Change-Id: I984f6bf4764b7e00843d0df001e51d2728de9c46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-10 00:01:25 +00:00
Andreas Agvard 928e0521b2 DO NOT MERGE Temporary fix for race condition.
Bug: 303078360
Test: Manual

Change-Id: I7355e3b64424492b6fab4f416014d2a9a797973d
2023-10-07 22:55:17 +00:00
Bill Yi 3b26a6ef18 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I377cbd4c47099777bb6a8dde57582f0687ac0b1d
2023-10-06 19:03:42 -07:00
Bill Yi 53bc743c58 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6f3aec8a927fbd499f6693596d7233d7f3f8a988
2023-10-06 19:03:18 -07:00
Andy Wickham bf4a08acef Merge "Add awickham to OWNERS file" into udc-qpr-dev 2023-10-05 20:07:25 +00:00
Tony Wickham cf596d4178 Merge "Fix gestures for exclude-from-recents + translucent tasks" into udc-qpr-dev 2023-10-05 18:16:40 +00:00
hyunyoungs 0bac78be6e Add awickham to OWNERS file
Change-Id: Ib7cec7caf615ed8974f09df4eb9d93ea117e756b
2023-10-05 09:18:19 -07:00
Anushree Ganjam 13517070d8 Developer options should reflect the correct DeviceConfig value for ReleaseFlag.
Before this change : When a ReleaseFlag is turned on from server side or
set in DeviceConfig, developer options shows the flag is off.

After this change : When a ReleaseFlag is turned on from server side or
set in DeviceConfig, developer options shows the flag is on.

This change doesn't reflect the DeviceConfig value changes done using
`adb shell device_config put` unless launcher is restarted.

Bug: 297202824
Test: Manual
Flag: NA

Change-Id: I5d83207cf454c60278fd02e59199207e855d51a8
Merged-In: I5d83207cf454c60278fd02e59199207e855d51a8
(cherry picked from commit 9eb68bb7cf)
2023-10-05 01:45:32 +00:00
Tony Wickham 94a0a58b37 Fix gestures for exclude-from-recents + translucent tasks
- If task is translucent and excluded, fade out as swipe up
  - Fade back in when re-launching live tile
- Ignore excluded tasks if there is another visible task,
  and use that underlying task during gesture instead.

Fixes: 299351175
Fixes: 300297333
Fixes: 302672319

Test: Invoke translucent + excluded app (e.g. expanded Volume
dialog) over another app, swipe to overview, quick switch, home

Change-Id: I5740afc4bf561d1a264bd132863ffc15f27d2b20
2023-10-04 20:23:07 +00:00
Bill Yi 6105891d36 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If4ad039f050e4561270ff10218401060c3f94362
2023-10-03 22:14:28 -07:00
Bill Yi bcac59d6ea [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours am: db1564dc30 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24916778

Change-Id: If1984c83b5d81c5530fe8e845b820808b1e9b5ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 04:36:24 +00:00
Bill Yi db1564dc30 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ae62fdcad1 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24916778

Change-Id: I64457a597525e4199671585b4f082a02de6105c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 03:50:33 +00:00
Bill Yi 944c20c55a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7d89450308 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24916779

Change-Id: I23233aeae831c9f58e80074cc592b675a113a8a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-02 21:27:56 +00:00
Bill Yi 7d89450308 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I12dcaf89a910360b3ec0fb399128dbfe7030fb49
2023-10-01 17:42:13 -07:00
Bill Yi ae62fdcad1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie0c2decf49991c9eb4f7f96e06d11c3b0554bc97
2023-10-01 17:41:46 -07:00
Luca Zuccarini ba44979d79 [Toast] Fix ANR when tapping on rich card chip.
This method recursively looks up the view hierarchy for a suitable view
to animate. The wrong variable was causing an infinite loop by never
updating the object being checked for the end condition.

With the fix, the animation behaves as expected.

Fix: 302568434
Flag: ENABLE_SEARCH_RESULT_LAUNCH_ANIMATION
Test: see video in the bug.
Change-Id: I123e50f1618a1e48256c0c976eeb46c93e8391b2
Merged-In: I123e50f1618a1e48256c0c976eeb46c93e8391b2
2023-09-29 11:41:55 +00:00
Jagrut Desai f2412770e2 Merge "Add more debugs logs to TaskbarManager" into udc-qpr-dev 2023-09-29 02:39:18 +00:00
Jagrut Desai c1bd53c3f0 Add more debugs logs to TaskbarManager
- adding more logs to TaskbarManager to investigate taskbar being present in folded state of the device.

Test: Presubmit
Bug: 254119092
Flag: not needed
Change-Id: I81c475f1c6bbc8d5b7874ddc45e8778861b61cd0
2023-09-28 15:46:22 -07:00
Pinyao Ting ab39708d7e [automerger skipped] Fix permission bypass in legacy shortcut am: b7b192bd7f am: a30a52e708 am: 7446209d60 am: c08b5f4760 am: 2da64fb9ee am: 588cd6ac30 am: 558b541aeb -s ours am: 533abfb443 -s ours am: ce216112ef -s ours am: af170a41cd -s ours
am skip reason: Merged-In I8d0cbccdc31bd4cb927830e5ecf841147400fdfa with SHA-1 602cb48c72 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24751391

Change-Id: Ied669abf406c289b3d2cfba3df2d15520a9dce51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 08:58:19 +00:00
Pinyao Ting 989b702db0 [automerger skipped] Fix permission bypass in legacy shortcut am: b7b192bd7f am: a30a52e708 am: 7446209d60 am: c08b5f4760 am: 2da64fb9ee am: 588cd6ac30 am: bb11300545 -s ours am: 6d1d921102 -s ours am: f601a059a9 -s ours
am skip reason: Merged-In I8d0cbccdc31bd4cb927830e5ecf841147400fdfa with SHA-1 602cb48c72 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24751391

Change-Id: I7e3d563c52d83bdcf7f0a969ec482a74aafd70a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 08:58:01 +00:00
Pinyao Ting af170a41cd [automerger skipped] Fix permission bypass in legacy shortcut am: b7b192bd7f am: a30a52e708 am: 7446209d60 am: c08b5f4760 am: 2da64fb9ee am: 588cd6ac30 am: 558b541aeb -s ours am: 533abfb443 -s ours am: ce216112ef -s ours
am skip reason: Merged-In I8d0cbccdc31bd4cb927830e5ecf841147400fdfa with SHA-1 602cb48c72 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24751391

Change-Id: I5b84f451acef590eb98d4b82faa74e8481e03bc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 08:02:06 +00:00
Pinyao Ting f601a059a9 [automerger skipped] Fix permission bypass in legacy shortcut am: b7b192bd7f am: a30a52e708 am: 7446209d60 am: c08b5f4760 am: 2da64fb9ee am: 588cd6ac30 am: bb11300545 -s ours am: 6d1d921102 -s ours
am skip reason: Merged-In I8d0cbccdc31bd4cb927830e5ecf841147400fdfa with SHA-1 602cb48c72 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24751391

Change-Id: Ib2e6118928e28b24fb373c54006f09b79a03dc9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 08:01:57 +00:00
Pinyao Ting ce216112ef [automerger skipped] Fix permission bypass in legacy shortcut am: b7b192bd7f am: a30a52e708 am: 7446209d60 am: c08b5f4760 am: 2da64fb9ee am: 588cd6ac30 am: 558b541aeb -s ours am: 533abfb443 -s ours
am skip reason: Merged-In I8d0cbccdc31bd4cb927830e5ecf841147400fdfa with SHA-1 602cb48c72 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24751391

Change-Id: I95859b4c532ba56654678cc6b124debbc34da139
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 07:53:27 +00:00
Pinyao Ting 6d1d921102 [automerger skipped] Fix permission bypass in legacy shortcut am: b7b192bd7f am: a30a52e708 am: 7446209d60 am: c08b5f4760 am: 2da64fb9ee am: 588cd6ac30 am: bb11300545 -s ours
am skip reason: Merged-In I8d0cbccdc31bd4cb927830e5ecf841147400fdfa with SHA-1 602cb48c72 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24751391

Change-Id: I2b02f0936e7a53110a34877cb2bae0499ae4f6af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 07:09:04 +00:00
Pinyao Ting 533abfb443 [automerger skipped] Fix permission bypass in legacy shortcut am: b7b192bd7f am: a30a52e708 am: 7446209d60 am: c08b5f4760 am: 2da64fb9ee am: 588cd6ac30 am: 558b541aeb -s ours
am skip reason: Merged-In I8d0cbccdc31bd4cb927830e5ecf841147400fdfa with SHA-1 602cb48c72 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24751391

Change-Id: I8d256874c73cfe2e10522307e6b5cdc56d20c6ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 07:01:03 +00:00
Pinyao Ting 558b541aeb Fix permission bypass in legacy shortcut am: b7b192bd7f am: a30a52e708 am: 7446209d60 am: c08b5f4760 am: 2da64fb9ee am: 588cd6ac30
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24751391

Change-Id: I1728144089099b790c4cba96303b1a1a4a2c9bf6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 05:51:01 +00:00
Pinyao Ting bb11300545 Fix permission bypass in legacy shortcut am: b7b192bd7f am: a30a52e708 am: 7446209d60 am: c08b5f4760 am: 2da64fb9ee am: 588cd6ac30
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24751391

Change-Id: I7340004ed1402e4f19d2749285e4c5cd72cfd641
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 05:50:43 +00:00
Pinyao Ting 588cd6ac30 Fix permission bypass in legacy shortcut am: b7b192bd7f am: a30a52e708 am: 7446209d60 am: c08b5f4760 am: 2da64fb9ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24751391

Change-Id: I50538435c008e2fd71ada5ffcb011d43eca92178
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 04:00:13 +00:00
Pinyao Ting 2da64fb9ee Fix permission bypass in legacy shortcut am: b7b192bd7f am: a30a52e708 am: 7446209d60 am: c08b5f4760
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24751391

Change-Id: I91cfe8344b819d1ae94a7110f99e37b4b116e7dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 01:56:57 +00:00
Pinyao Ting c08b5f4760 Fix permission bypass in legacy shortcut am: b7b192bd7f am: a30a52e708 am: 7446209d60
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24751391

Change-Id: I2cdd5612284d653c50020cc048f70589a4f370ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-27 23:48:53 +00:00
Pinyao Ting 7446209d60 Fix permission bypass in legacy shortcut am: b7b192bd7f am: a30a52e708
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24751391

Change-Id: I2681538508aaef6fb27cad282d7ceead016bfec6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-27 22:38:16 +00:00
Pinyao Ting a30a52e708 Fix permission bypass in legacy shortcut am: b7b192bd7f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24751391

Change-Id: I9989130b7225de16297dadb0ab70febf3139ba28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-27 20:41:00 +00:00
Bill Yi 5986dfe2d5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6f49d0428e6d8fcb22ac648dbe81c039b1a80013
2023-09-27 13:17:02 -07:00
Holly Jiuyu Sun 6c3cd3c092 Merge "Log toggle status for LPNH and LPH in Settings." into udc-qpr-dev 2023-09-27 16:05:41 +00:00
Holly Sun e292642489 Log toggle status for LPNH and LPH in Settings.
Bug: 295039461
Test: manual
Flag: PRESS_HOLD_NAV_HANDLE_TO_SEARCH. LONG_PRESS_HOME_BUTTON_TO_SEARCH
Change-Id: I380dd6f62378098edf063f29d10305b8c404f38d
2023-09-26 00:36:44 +00:00