Commit Graph

27434 Commits

Author SHA1 Message Date
Zak Cohen 3f2f1f74e1 Resolve markers - Fix build break. am: 1e7b4b850f am: 910e895a99 am: 188092646c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11725363

Change-Id: Id3391364294cd31df671c6ae22e0348bd58cf317
2020-06-04 04:56:05 +00:00
Zak Cohen d821dbe38a Resolve markers - Fix build break. am: 1e7b4b850f am: bb4cb00ff0 am: 40c8cf14d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11725363

Change-Id: I87009c59fc77f5eeb2846d41744411a7b44a886b
2020-06-04 04:55:56 +00:00
Zak Cohen 67feabb46e Resolve markers - Fix build break. am: 1e7b4b850f am: 910e895a99 am: fcbe280fdc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11725363

Change-Id: Ieec8c5f605fcc8881cd482647cd19958e4bbf9b2
2020-06-04 04:55:30 +00:00
Zak Cohen 40c8cf14d7 Resolve markers - Fix build break. am: 1e7b4b850f am: bb4cb00ff0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11725363

Change-Id: I720e5fc0d11926268a6d4d78eb6b9c111a837cfc
2020-06-04 04:39:17 +00:00
Zak Cohen fcbe280fdc Resolve markers - Fix build break. am: 1e7b4b850f am: 910e895a99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11725363

Change-Id: I34fd11734e012a23b6263ec9a9ba7c006c9acdb4
2020-06-04 04:39:02 +00:00
Zak Cohen 188092646c Resolve markers - Fix build break. am: 1e7b4b850f am: 910e895a99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11725363

Change-Id: I47e2ae41a374111d922ef24a9df31e97f23c69e5
2020-06-04 04:39:00 +00:00
Zak Cohen bb4cb00ff0 Resolve markers - Fix build break. am: 1e7b4b850f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11725363

Change-Id: I057b13f7ae6464fc7a2c1fd28efbfd8a8592f583
2020-06-04 04:27:26 +00:00
Zak Cohen 910e895a99 Resolve markers - Fix build break. am: 1e7b4b850f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11725363

Change-Id: Ic1ce220a36c1c4e34e1e3bbdfea8b07250245240
2020-06-04 04:27:18 +00:00
Zak Cohen 1e7b4b850f Resolve markers - Fix build break.
Test: local compile
Bug: 156757117

Change-Id: I95cdfa34ecde95768f82a14463a4b91cf5012d8e
2020-06-04 04:07:34 +00:00
Automerger Merge Worker abb3c73154 Merge "Screenshots - move to new api that uses image bundle. am: 1b5923e5e5 am: 2cd83a3fe3" into rvc-d1-dev-plus-aosp am: 3be40590c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11727200

Change-Id: I7037352673dd0540c9fe292d43e5b5c5949abf09
2020-06-04 03:59:27 +00:00
Zak Cohen 49e2922b0e Screenshots - move to new api that uses image bundle. am: 1b5923e5e5 am: 2cd83a3fe3 am: 277f26c4f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11727200

Change-Id: I2c77b42f369879648bad51ec400bc3986568211d
2020-06-04 03:59:13 +00:00
Zak Cohen 2e0a297ddc Screenshots - move to new api that uses image bundle. am: 1b5923e5e5 am: 604ceb545b am: 58d3ce5542
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11727200

Change-Id: I02caa96b469de2e29b373bb63e8e23b46bb98dbc
2020-06-04 03:58:44 +00:00
Automerger Merge Worker 3be40590c0 Merge "Screenshots - move to new api that uses image bundle. am: 1b5923e5e5 am: 2cd83a3fe3" into rvc-d1-dev-plus-aosp 2020-06-04 03:42:51 +00:00
Zak Cohen 58d3ce5542 Screenshots - move to new api that uses image bundle. am: 1b5923e5e5 am: 604ceb545b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11727200

Change-Id: If9f63a665f2343ef7e7b0ab4dfb6ff8878ec14bc
2020-06-04 03:42:06 +00:00
Zak Cohen db6361e9ea Screenshots - move to new api that uses image bundle. am: 1b5923e5e5 am: 2cd83a3fe3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11727200

Change-Id: Ibe8598abdf0f2e3ed0040b7b4f38ce7d27456ac0
2020-06-04 03:41:54 +00:00
Zak Cohen 277f26c4f1 Screenshots - move to new api that uses image bundle. am: 1b5923e5e5 am: 2cd83a3fe3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11727200

Change-Id: I4defa5156d5e94964aae3b8471633501ba1e2f87
2020-06-04 03:41:49 +00:00
Zak Cohen 604ceb545b Screenshots - move to new api that uses image bundle. am: 1b5923e5e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11727200

Change-Id: I53fb67901bb8792148b9a816971e6444a6856337
2020-06-04 03:23:11 +00:00
Zak Cohen 2cd83a3fe3 Screenshots - move to new api that uses image bundle. am: 1b5923e5e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11727200

Change-Id: Ie1f907568384cc40ec38b810e4ac57e2a8ec2e93
2020-06-04 03:23:08 +00:00
Zak Cohen 1b5923e5e5 Screenshots - move to new api that uses image bundle.
Bug: 157380566
Bug: 156757117
Test: local
Change-Id: I5d688abc87a89ae93e2e2f9a0e13410c511cc15e
2020-06-03 23:30:42 +00:00
Adam Cohen afd6a98f9d [automerger skipped] Merging from ub-launcher3-rvc-dev @ build 6552182 am: e557bac0a1 am: a203a72143 -s ours am: 2fb63ca806 -s ours
am skip reason: Change-Id I795aafd151c6ce53077e1aebb97567eedd84f274 with SHA-1 e557bac0a1 is in history

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

Change-Id: I4133458e3ed8ac504349445b12425f34017e48e9
2020-06-03 23:28:58 +00:00
Adam Cohen ed2e462ec0 [automerger skipped] Merging from ub-launcher3-rvc-dev @ build 6552182 am: e557bac0a1 am: b44fe59a6f am: 9d09bfbf38 -s ours
am skip reason: Change-Id I795aafd151c6ce53077e1aebb97567eedd84f274 with SHA-1 e557bac0a1 is in history

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

Change-Id: Ic0a9bc6d7b65f114722594c28869680f2e34e571
2020-06-03 23:28:39 +00:00
Adam Cohen a7c707f445 Merging from ub-launcher3-rvc-dev @ build 6552182 am: e557bac0a1 am: b44fe59a6f am: cf0cd2a35a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11707957

Change-Id: Ic4fa00fe7be32b5584cd7221c7377bb35b975458
2020-06-03 23:28:22 +00:00
Adam Cohen 2fb63ca806 [automerger skipped] Merging from ub-launcher3-rvc-dev @ build 6552182 am: e557bac0a1 am: a203a72143 -s ours
am skip reason: Change-Id I795aafd151c6ce53077e1aebb97567eedd84f274 with SHA-1 e557bac0a1 is in history

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

Change-Id: I0d82e42e6aab3a9cc50db38a59eb7ddff092d448
2020-06-03 23:15:05 +00:00
Adam Cohen cf0cd2a35a Merging from ub-launcher3-rvc-dev @ build 6552182 am: e557bac0a1 am: b44fe59a6f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11707957

Change-Id: I2e113eb04d527eec28625aaa9a4f67f31254c970
2020-06-03 23:14:41 +00:00
Adam Cohen 9d09bfbf38 Merging from ub-launcher3-rvc-dev @ build 6552182 am: e557bac0a1 am: b44fe59a6f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11707957

Change-Id: I38b5310d9e9ff1a075ca71bc4eea86c344068015
2020-06-03 23:14:40 +00:00
Adam Cohen a203a72143 Merging from ub-launcher3-rvc-dev @ build 6552182 am: e557bac0a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11707957

Change-Id: If35ada1fbc68fcd2fb968b1c2460e28d4e1cac8c
2020-06-03 23:01:51 +00:00
Adam Cohen b44fe59a6f Merging from ub-launcher3-rvc-dev @ build 6552182 am: e557bac0a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11707957

Change-Id: I8888438bb66eaa382620b7325a1cf20ddd3b32b1
2020-06-03 23:01:44 +00:00
Adam Cohen e557bac0a1 Merging from ub-launcher3-rvc-dev @ build 6552182
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6552182.html

Change-Id: I795aafd151c6ce53077e1aebb97567eedd84f274
Merged-In: I795aafd151c6ce53077e1aebb97567eedd84f274
2020-06-03 20:28:44 +00:00
TreeHugger Robot 73763959d1 Merge "Add SysUiOverlayInputConsumer." into ub-launcher3-rvc-dev 2020-06-02 17:49:04 +00:00
Vinit Nayak 3cdbb9b039 Merge "Set mLastRectRotation to valid rotation" into ub-launcher3-rvc-dev 2020-06-02 04:42:33 +00:00
Vinit Nayak fb442a70f8 Set mLastRectRotation to valid rotation
mLastRectRotation's value is used after
swipe gestures are complete to reset the
layout for overview (after swiping to home
animation is complete), so we need to set
it to a valid value instead of -1.
OverviewActions visibility depends on
it being rotation 0 for it to be visible,
otherwise it won't show up.

Bug: 155844780
Test: Swipe up to home from an app,
Swipe up to overview, observe overview
actions show in portrait.
Swipe up and back down from landscape app,
hit back. Open portrait app, ensure back
gesture still works.

Change-Id: Ia923a54e68af567b4470841783328528fffebe6a
2020-06-01 18:30:15 -07:00
TreeHugger Robot 210bb43493 Merge "Add app launch event for tap on shortcut in shortcut container." into ub-launcher3-rvc-dev 2020-06-02 00:09:26 +00:00
thiruram b91480e3c7 Add app launch event for tap on shortcut in shortcut container.
Bug: 157765763
Change-Id: I769eb81ccabc96ad1c6c4c3d53ff89a8a744c3e0
2020-06-01 16:38:36 -07:00
Sunny Goyal 518d54e3f2 Preventing launcher preload if user setup is not complete
Also fixing some leaks due to not destroying RecentsAnimationDeviceState

Bug: 155350432
Change-Id: I70f510c3db03515d5889f0bcde6a15a9456e9791
2020-06-01 16:19:38 -07:00
TreeHugger Robot 2a4dce1402 Merge "Fixing loadTasksInBackground called twice on swipe up" into ub-launcher3-rvc-dev 2020-06-01 22:44:03 +00:00
Sunny Goyal b396864072 Fixing loadTasksInBackground called twice on swipe up
Bug: 157644889
Change-Id: Ia4413ea878f8ba731fbb7a8f61b7c0c0050f3811
2020-06-01 15:12:32 -07:00
thiruram 5f1274c863 Log tap on widget and appinfo system icons within ShortcutContainer.
Bug: 157765763
Change-Id: Id417728d27678cce073ff36d24b129c4435dcbe5
2020-06-01 21:56:12 +00:00
thiruram 63bf8eedf9 Add WW log for drag events from longpress popup window.
Bug: 157765763
Sample Log: https://docs.google.com/document/d/1CBP2yTcXdFhPdNG5ZmWFKSgd8mDbMevY-akVlUXPLDo/edit#bookmark=id.368csp9y1pwc

Change-Id: I73024f2c8010e77b6f89829fda64130f54ff81f1
2020-06-01 21:55:25 +00:00
TreeHugger Robot 77aaa94bc2 Merge "Fix bug where font size (etc.) doesn't change after changing display settings." into ub-launcher3-rvc-dev 2020-06-01 21:51:53 +00:00
Jon Miranda 7772fcde47 Fix bug where font size (etc.) doesn't change after changing display settings.
The metrics we get from Display#getMetrics does not change regardless of
what the new configuration is (we would expect the scaledDensity to change).

Documentation shows that Display#getMetrics is deprecated in R.

Using guidance from b/154665987#comment14 we get the metrics from the derived
context.

Bug: 156141463
Change-Id: I25e5f2c13f94e0471111f6c895694947998e3222
2020-06-01 14:08:16 -07:00
TreeHugger Robot 50f2a6c7d6 Merge "Enable RotationWatcher when home rotation is on" into ub-launcher3-rvc-dev 2020-06-01 20:33:30 +00:00
Joshua Tsuji eeb675683b Add SysUiOverlayInputConsumer.
This consumer is used when Bubbles is expanded, and causes swipes up to hide bubbles via closeSystemDialogs rather than going all the way home.

Test: install launcher and swipe up (after including the other CL in this topic)
Fixes: 156390484
Change-Id: I36b71dd95dc45a5a547eddfe0faddf61630b6f25
2020-06-01 20:33:13 +00:00
Vinit Nayak 39cc356a53 Merge "Start quickswitch on task switch instead of touch down" into ub-launcher3-rvc-dev 2020-06-01 20:32:14 +00:00
TreeHugger Robot 0e1cbf56aa Merge "Reset Overview layout after swiping to home" into ub-launcher3-rvc-dev 2020-06-01 19:24:54 +00:00
Vinit Nayak acd2f58693 Start quickswitch on task switch instead of touch down
Previously we would enter a quickswitch session state
whenever user tapped on navbar and sent flags to
sysui to only enable edge gesture for the current rotation.
Now we only do that on a new task resulting from the gesture
or when going into recents to show nav bar in the
orientation user would expect it (only if they never
quickswitched).

Fixes: 155844780
Test: Tested swiping back from quickswitching
into apps of different orientations.
Note that back is still broken when you
quickswitch and then rotate the foreground app.

Change-Id: I935e7c66489d46e59156414d64653c846ae4c5d8
2020-06-01 12:06:47 -07:00
Hyunyoung Song 2911c56a80 Merge "Migrate launcher home settings button tap/longpress logging to WW" into ub-launcher3-rvc-dev 2020-06-01 18:08:39 +00:00
Vinit Nayak 90b006dbe5 Reset Overview layout after swiping to home
Reset overview when user does a swipe to home
gesture. Preivously we only rest when user
first when to over, and then swiped to home.

Fixes: 156053957
Change-Id: I5a157f9e2229aba4b36851bd46d704a39d647110
2020-06-01 10:40:05 -07:00
TreeHugger Robot 6d9e0c4a55 Merge "More logging for pause non-detection" into ub-launcher3-rvc-dev 2020-06-01 17:27:10 +00:00
TreeHugger Robot 7149a7e0c5 Merge "Removes unused constant" into ub-launcher3-rvc-dev 2020-06-01 16:50:30 +00:00
Jon Miranda 10a6ed86eb More logging for pause non-detection
Bug: 156044202
Change-Id: I68d6febf4c201c2fea41c7e24600dcc2c54a680a
2020-06-01 09:39:13 -07:00