Pat Manning
ac7f012ba0
Detect force visible nav bar based on kids mode. am: 6d17a71d19
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19038728
Change-Id: If652dd2dc98687e6ff3106f477c23487c91e07fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-22 23:08:26 +00:00
Pat Manning
ec7b63d52c
Detect force visible nav bar based on kids mode. am: 6d17a71d19
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19038728
Change-Id: I0e9315bb03ccc3453fad4b1c3c64409df85bad78
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-22 23:07:02 +00:00
Pat Manning
6d17a71d19
Detect force visible nav bar based on kids mode.
...
WM was changed to use NAV_BAR_KIDS_MODE instead of NAV_BAR_FORCE_VISIBLE, this needs to update to match.
Fix: 229580780
Test: manual.
Change-Id: I38fb23dcc85676593a3f8f0851676bc526802d2e
(cherry picked from commit c773d7cdc8 )
2022-06-22 21:27:27 +00:00
Sihua Ma
ecc272447c
Fill the fade-in ImageView with its content for the cross fade animation
...
The cross fade function of DragView tries to match the shapes of the fade-in and fade-out views. However, ImageView (the fade-in view) by default only tries to match at least one axis between the content (the final view) and the bound (the ImageView bounding box). We need to make sure that the content fully fills the bound to exactly match the shapes.
Test: Manual
Fix: 221496442
Change-Id: I7c142d52b7bfbd0e266a917c27cbd40691fbf3c2
2022-06-22 20:59:32 +00:00
Brandon Dayauon
65590cb071
Fix work toggle button that gets blocked by threeButton nav bar on TABLETS
...
Ex) for tablets.. the nav bar height is really the height of the taskbar.
Thats why we add the current padding of the work toggle button to the
taskbar size.
As of patchset 3.. I reverted mDevice.getInsets().bottom because it caused
the button to be higher than it should be on landscape.
Bug: 235053326
Test: Manual (pictures in bug thread)
Change-Id: I2f77d759ae060311d049182e8347dede590cd0b0
2022-06-22 13:21:25 -07:00
Sunny Goyal
24b441051e
Fixing wrong flags used by AllAppsController in SystemUiController
...
Bug: 236857339
Test: Verified the UI manually
Change-Id: I2773837932ed50a59ebc9d2810f9e7ee501b6f6b
2022-06-22 12:09:22 -07:00
Sunny Goyal
1e654bd6fe
Merge "Removing non-launcher engineers from the Launcher OWNERS file" into tm-qpr-dev am: 80179921f3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19018201
Change-Id: Ie09bb67a7a4a2730a1933a1a08993671f79bbabe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-22 18:39:10 +00:00
Sunny Goyal
80179921f3
Merge "Removing non-launcher engineers from the Launcher OWNERS file" into tm-qpr-dev
2022-06-22 18:16:20 +00:00
vadimt
020c9e4b22
Remove unused tracing; it confuses investigators
...
Bug: 196820244
Test: presubmit
Change-Id: If403f475f393fc95e5efd098ae63c8e8bb199ddc
2022-06-22 17:10:08 +00:00
Alex Chau
05e6d084ec
Disable header protection on tablets
...
- Also listen for config chagne in FloatingHeaderView
Fix: 218500759
Test: Change screen size between phone and tablet, header protection is only enabled for phone
Change-Id: I65120080641ea75ae58c010c4a27fe2b1539e0b5
2022-06-22 18:09:35 +01:00
Sebastian Franco
9097d7d09f
Added a content call to emulate the other devices displays
...
Running the following commands should change your connected
device display:
adb root
adb shell setprop ro.test_harness 1
adb shell pm enable --user 0 com.google.android.apps.nexuslauncher/com.android.launcher3.testing.TestInformationProvider
adb shell content call --uri content://com.google.android.apps.nexuslauncher.TestInfo --method emulate-display --extra device:s:pixel5 --extra grid:s:crazy_big
adb shell setprop ro.test_harness 0
Alternative method for this is using
./display_emulator.py emulate --device pixel5
I hooked up the existing DisplayEmulator into a content
provider. Doing this has a couple advantages to the previous method
of calling the emulator inside of a test. The biggest one is
that running the emulation doesn't restarts the Launcher3,
and because of that the previous method could leave the user in a
fake emulation where it looks like the device is being emulated but
is not 100% accurate.
Test: Run the command lines described above.
Fix: 229666646
Change-Id: Ia039fbaf4c7330d6bdf469633127f58d2466a1bf
2022-06-22 09:36:52 -07:00
Alex Chau
67c0910b58
Merge "Revert "Finish recents animation on activity destroyed."" into tm-dev am: ed2e7719cb am: 800cc73373 am: 85e0325343
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19015866
Change-Id: I84503ff0525f1ae0528e37f446f24d0d4d8b2e84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-22 12:57:56 +00:00
Alex Chau
ccf503c0a1
Merge "Revert "Finish recents animation on activity destroyed."" into tm-dev am: ed2e7719cb am: 90abf51d5b am: 1d69453918
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19015866
Change-Id: I5b6caf2654c5ca752d95b9e2af0b0d53790663a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-22 12:57:47 +00:00
Alex Chau
b4428f5168
Merge "Revert "Finish recents animation on activity destroyed."" into tm-dev am: ed2e7719cb am: 90abf51d5b am: 7356c13760
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19015866
Change-Id: Ie5c3b79eb4f7d06152709b8c419abb657d51df3d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-22 12:56:25 +00:00
Alex Chau
85e0325343
Merge "Revert "Finish recents animation on activity destroyed."" into tm-dev am: ed2e7719cb am: 800cc73373
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19015866
Change-Id: I008d46f6b3c12d1d5bdeb414f3bfe67b1e04196e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-22 12:39:52 +00:00
Alex Chau
1d69453918
Merge "Revert "Finish recents animation on activity destroyed."" into tm-dev am: ed2e7719cb am: 90abf51d5b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19015866
Change-Id: I29afe301856c5c8dc330c07c63934470967838d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-22 12:39:42 +00:00
Alex Chau
7356c13760
Merge "Revert "Finish recents animation on activity destroyed."" into tm-dev am: ed2e7719cb am: 90abf51d5b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19015866
Change-Id: I3d68a995880a27c953164e2d4767f63ab38b0bfc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-22 12:39:41 +00:00
Alex Chau
90abf51d5b
Merge "Revert "Finish recents animation on activity destroyed."" into tm-dev am: ed2e7719cb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19015866
Change-Id: I42777fcd655a85f9914ced5101960eeefb4084fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-22 12:22:54 +00:00
Alex Chau
800cc73373
Merge "Revert "Finish recents animation on activity destroyed."" into tm-dev am: ed2e7719cb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19015866
Change-Id: I42d0fe1b7b0d690da3d78e55c6bf67d9f3263ad5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-22 12:21:25 +00:00
Alex Chau
ed2e7719cb
Merge "Revert "Finish recents animation on activity destroyed."" into tm-dev
2022-06-22 11:59:31 +00:00
Sunny Goyal
506165689f
Revert "Finish recents animation on activity destroyed."
...
This reverts commit 0fd3b13d01 .
Reason for revert: b/236514960
Bug: 228137694
Bug: 230373809
Change-Id: Ifed5f2a13fda4409982d548e3212bd16c81b63bc
2022-06-22 11:59:13 +00:00
wilsonshih
9840bdaa13
[Shell Transition]Fix live tile be hidden by wallpaper leash.
...
A generic fix to specific layers for live tiles/wallpaper.
Because there cannot sure the absolutely z-order of recents surface, we
can always set wallpaper layer to bottom, and set the z-order of live
tiles to either MAX or MIN + 1, so live tile can always above wallpaper,
also the live tile can be show above/below recents surface based on
mDrawsBelowRecents.
Test: enable shell transition, open app then entering recents, verify
the live tile stay visible when entering recents. And the shared
indicators visible when state transition complete.
Test: also verify above test for legacy transition.
Bug: 236410500
Change-Id: I0f86d7617af1d96c28783320248af64f576bd570
2022-06-22 15:21:49 +08:00
TreeHugger Robot
67d79af886
Merge "Unifying scroll calculation logic for both widgets and apps recycler view Also using itemType instead of item object for widget size cache" into tm-qpr-dev am: 5069964ea2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18763224
Change-Id: Ief18fa0a43fd0c01685109ef26f37d32af1c200b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-22 03:35:36 +00:00
TreeHugger Robot
5069964ea2
Merge "Unifying scroll calculation logic for both widgets and apps recycler view Also using itemType instead of item object for widget size cache" into tm-qpr-dev
2022-06-22 03:23:07 +00:00
Android Build Coastguard Worker
2697ed6d1e
Snap for 8750964 from bd8111a049 to tm-qpr1-release
...
Change-Id: Ib2d86d0c604691ff7071d8a73b40f4f0fb5c9d57
2022-06-22 01:25:11 +00:00
Alex Chau
ea4cd21275
Merge "Only check dbFile to decide if grid migration is needed" into tm-qpr-dev am: bd8111a049
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18929060
Change-Id: If1f486698b05e167eb3cf78bbcd170c5b3faf84a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-21 20:23:50 +00:00
vadimt
a18e9f2637
Reducing max timeout in TAPL
...
Lab presubmits now have a limit 60 sec per test, so failing to find an expected view will result in a cryptic "Test did not run due to instrumentation issue. Run level error reported reason: 'Instrumentation did not output anything for the configured timeout. ddmlib reported error: Failed to receive adb shell test output within 600000 ms. Test may have timed out, or adb connection to device became unresponsive.'"
Reducing the timeout to get better messages.
Bug: 236308045
Test: presubmit
Change-Id: I09e7fa02a12f4e2d0900d29b0029686337a381b0
2022-06-21 20:14:08 +00:00
Alex Chau
bd8111a049
Merge "Only check dbFile to decide if grid migration is needed" into tm-qpr-dev
2022-06-21 20:08:53 +00:00
Schneider Victor-tulias
b683d685d7
Merge "Fix taskbar unstash animation delay when launching a split task." into tm-qpr-dev am: 6c71fe71bd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18875100
Change-Id: I19b21dd901575f5d8fd934faa6ca09957cd3c2c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-21 19:58:42 +00:00
Sunny Goyal
20b4457319
Removing non-launcher engineers from the Launcher OWNERS file
...
Bug: 236736620
Test: n/a
Change-Id: I59e80d93a3b272cf2f82efa4b36824a469845874
2022-06-21 12:48:45 -07:00
Schneider Victor-tulias
6c71fe71bd
Merge "Fix taskbar unstash animation delay when launching a split task." into tm-qpr-dev
2022-06-21 19:38:46 +00:00
Schneider Victor-tulias
bfde6b2e5d
Fix a potential null-pointer onActivityDestroyed
...
Fixes: 234082544
Test: started recents from a large screen and phone
Change-Id: I54ee93793ec146d1b0b0f00f23256aaca5975bc0
2022-06-21 12:34:02 -07:00
Alex Chau
7b695ca337
Merge "Revert "Add logs for InvariantDeviceProfile.getDeviceProfile"" into tm-qpr-dev am: 61c6b580ad
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18929971
Change-Id: Ieeaeed1f325af7a2a6c967526049addd88883131
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-21 18:32:51 +00:00
Alex Chau
61c6b580ad
Merge "Revert "Add logs for InvariantDeviceProfile.getDeviceProfile"" into tm-qpr-dev
2022-06-21 18:10:28 +00:00
Alex Chau
49dcd16b26
Only check dbFile to decide if grid migration is needed
...
Fix: 234847755
Test: With a modified local build, when changing display config to swap between same grid:
- When dbFile is same but device type is different, no migration is performed
- When both dbFile and device type are different, migration is performed properly
Test: Grid migration through Wallpaper & Styles still works properly
Change-Id: Ie7429a7d59c135ba47061cae21c40b8d8af7188a
2022-06-21 12:36:50 +00:00
Android Build Coastguard Worker
0a4fe56cfb
Snap for 8746557 from fbc3f597dc to tm-qpr1-release
...
Change-Id: I8e73c73b308077793e09fc9b8ea49b5bd9fb3941
2022-06-21 01:24:48 +00:00
Android Build Coastguard Worker
2719b17206
Snap for 8746455 from ccd3f9b40a to tm-release
...
Change-Id: I91758e4d84c38bf2e2fc0b8378c23f2d42ba0271
2022-06-20 23:24:08 +00:00
TreeHugger Robot
41519b02f4
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: fbc3f597dc -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18987634
Change-Id: I49e159d4931dbc1920f6d85def7b23b39d851125
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-20 12:29:21 +00:00
Bill Yi
a1f4a043c6
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: cba7d722c4 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18987634
Change-Id: I5c670f582882944ebe926bab44bd356460248593
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-20 12:29:01 +00:00
TreeHugger Robot
fbc3f597dc
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev
2022-06-20 12:13:14 +00:00
Bill Yi
2323c764a0
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dd44423c3f -s ours am: ccd3f9b40a -s ours am: 4a1135ad60 -s ours am: c4fbec0557 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18983984
Change-Id: I1604d2e2d703059526e577286af51574dded8181
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-20 08:58:05 +00:00
Bill Yi
c4fbec0557
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dd44423c3f -s ours am: ccd3f9b40a -s ours am: 4a1135ad60 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18983984
Change-Id: Ibe7424c1f5901a492043093c4f406364c82707a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-20 08:50:29 +00:00
Bill Yi
6e5bd4e01b
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dd44423c3f -s ours am: ccd3f9b40a -s ours am: d0ee81b797 -s ours am: c8aafdfc63 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18983984
Change-Id: Ia62ff5fdadc875836a0287f7f81a30272f972d36
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-20 08:46:42 +00:00
Bill Yi
cd9c7f2916
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dd44423c3f -s ours am: ccd3f9b40a -s ours am: d0ee81b797 -s ours am: 80e9c8d070 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18983984
Change-Id: I90589543671dcdea67c23b31db8ff39769235c85
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-20 08:36:23 +00:00
Bill Yi
80e9c8d070
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dd44423c3f -s ours am: ccd3f9b40a -s ours am: d0ee81b797 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18983984
Change-Id: I09ea9ad4dacddb8fbb61de80ac583fd49917724d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-20 08:34:09 +00:00
Bill Yi
c8aafdfc63
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dd44423c3f -s ours am: ccd3f9b40a -s ours am: d0ee81b797 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18983984
Change-Id: I38a3e2a1cc44c1f6e76eebbb2448980289c1a613
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-20 08:33:53 +00:00
Bill Yi
4d350c183b
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: fa9f6501e9 -s ours am: b52e94bb84 -s ours am: f17a97540c -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18987633
Change-Id: Ic68867e4d5159eace157e55f8abb014dc73d1190
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-20 08:32:13 +00:00
Schneider Victor-tulias
caebd0adee
Fix All set activity not drawing on initial swipe. am: 4d18da78c0 am: 3a126d78a9 am: dfadafe45b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18930603
Change-Id: Ibc6e68421638d4ba45a6392e850defaea9e95c9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-20 08:31:57 +00:00
Bill Yi
d0ee81b797
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dd44423c3f -s ours am: ccd3f9b40a -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18983984
Change-Id: I2143c6c351e07ebe7aaa85d9770ab13c7f761ea3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-20 08:24:04 +00:00
Bill Yi
4a1135ad60
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: dd44423c3f -s ours am: ccd3f9b40a -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18983984
Change-Id: I453f3ab9712006b76f145abd71938a1bd8f96a17
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-20 08:22:22 +00:00