This reverts commit 78e1005614.
Revert "SystemShortcuts: fix fc with InfoBottomSheet"
This reverts commit 2d2c5768a6.
Revert "Launcher3: Do not attempt to show promise icon when info is null"
This reverts commit a15d13d800.
Revert "Launcher3: Fix NPE with AppInfoBottomSheet"
This reverts commit 41e92c2a48.
Revert "InfoBottomSheet: Fix NPE with AppTransitionManager"
This reverts commit f9a5fb8402.
- Allow icons to be added to first row where search container does not occupy
- On upgrade, clean up first row of screen 0 which may have junk data, as we used to assume first forw of screen 0 is always occupied
Bug: 210127246
Test: manual
Change-Id: I835a321964984e02632c8a70474a6551b5e360f7
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Adapt 6x6 grid to 26aa8c2 ("Making tablet grid scalable and tuning size")
and other misc improvements.
Change-Id: I76ad637908da82ca131a9d5a8657d83dcfa569d0
Fixes
06-21 09:27:41.679 447 986 E SurfaceFlinger: Only WindowManager is allowed to use eEarlyWakeup[Start|End] flags
Change-Id: I9e68b318faafac4a2b34d73c703cf98168c2a32d
Signed-off-by: Mohammad Hasan Keramat J <ikeramat@protonmail.com>
Change-Id: I0fd443c877eb2fa3d9a13a49f97339cdc7c12a81
[ghostrider-reborn: set tooltip text, improve bg color]
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Method as per Google commit 25399db1e7
("[DO NOT MERGE] Disable live tile in split mode for S").
Live tile has a LOT of bugs even in AOSP and Pixel stock ROMs:
* Alpha animation randomly not applying causing app to get stuck
* X/Y translation not applying causing app to get stuck
* Causes extreme jank (enable HWUI bars and swipe in recents...)
* Sidescroll tile minimization cuts off content instead of shrinking it.
* Screenshotting a sidescolled live tile causes it to become invisible.
Combined with our blur/transparency changes:
* The tile doesn't actually shrink because Google just draws background
over the tile instead of shrinking it...
* The tile gets blurred which has to be fixed in very hacky ways,
because it is on a very low layer, which is below the blur
...the end result is a total mess.
Kill this feature, and revisit fixing our issues once Google gets their
own shit together.
Squashed:
Author: nift4 <nift4@protonmail.com>
Date: Wed Aug 23 18:29:52 2023 +0200
Launcher3: disable live tile - fix blur flicker
As per minaripenguin's now reverted commits
Change-Id: I4fc0918e5b39d225e09841fb2dc53ff52df87932
Change-Id: I33e6dab845b2147fd72fe0fb4c151e78035560ec
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
When the animation get canceled, cleanupScreenshot() should
be run instantly because it does something like removing
pending animations. The switchToScreenshot() attaches it to
RtFrameCallback which only be called on frame update. This
is leading to problems as the next frame update may only
happened when the next gesture starts, which means all the
pending animations will be removed on next gesture. And then
the next gesture freezed.
Fixes randomly gesture freeze since 12L.
Change-Id: I10247294a2dcae467706c434685b299f8b525888
Signed-off-by: LibXZR <i@xzr.moe>
Enables Android to automatically generate monochromatic icons to use for monet.
Some icons can look weird but it's still better than a mismatched homescreen
Only turns on when Themed Icons is enabled, so this seems fine
Change-Id: I4a4b84051a4e09fda40faa438706c25958713f4a
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Directly expand the notifications panel instead of relying on our
drag velocity. Also expand QS if swiped down on the right side of
workspace (similar to QS quick pulldown on status bar).
Change-Id: Idc82f69d9a69415ebe3815d95daea9279873f461
Change-Id: Ib8e1d039ce47c0b99029dbcafcd9def59e07ad59
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Mohammad Hasan Keramat J <ikeramat@protonmail.com>
[ghostrider-reborn: simplify, add to recents end clear all button]
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Change-Id: I1311fcccb8e179d34a02d89f26d826ebc5fc04ff
Signed-off-by: LordShenron <shen.priyanshu@gmail.com>
Signed-off-by: Mohammad Hasan Keramat J <ikeramat@protonmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
This fixes a bug, which became obvious thanks to disabled live tile, but
has already existed before, where recents jumps to using last snapshot
instead of the correct/current one once you fling, because thumbnails
were cached but the cache had not been updated in this codepath.
Change-Id: Ie7afe56b6e0aecaae2510248c5887873800a0b51
Press recent key and quickly click recent screen background, then
Recent List task doesn't disappear and overlaps on Homescreen.
When there is no time for Background State to change to Overview State, and gotoState(Normal) API is called, then let Background State transition to Normal state, and force Normal state to not transition to Overview state.
Bug: 287897684
Test: manually
1. Launch any app
2. Press Recent key
3. Click on same app task on recent list
4. Press Recent key
5. As soon as recent list appears, quickly click on background of Recent screen
Change-Id: I21f71a49cafe83bb8c916eb240d8db9246a13487
Signed-off-by: Dmitrii <bankersenator@gmail.com>
Adapt it for Live Tile support + fix landscape handling
Change-Id: I1cf5d79aa6373e836d33bc7ddb15c0c5258a63d7
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Fixes an issue where apps from "all apps" view can still be launched
after search results are visible; which can cause a different app to be
launched when tapped on a search result, or unexpected app launches when
tapped on empty space (below search results).
Testing:
1. open app drawer and search for anything
2. quickly tap on a search result or empty space
3. if tapped on one of the search results, correct app is launched; if
tapped on the empty space, no app is launched
Change-Id: I105db932b0beab79ba9a72c234f46be63249d81a
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Mohammad Hasan Keramat J <ikeramat@protonmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
"LA.QSSI.13.0.r1-12600-qssi.0"
* tag 'LA.QSSI.13.0.r1-12600-qssi.0' of https://git.codelinaro.org/clo/la/platform/packages/apps/Launcher3:
RESTRICT AUTOMERGE Fix permission bypass in legacy shortcut
[RESTRICT AUTOMERGE] Fix permission issue in legacy shortcut
Launcher3QuickStepGo should have one Default Activity
Launcher3QuickStepGo should have one Default Activity
NIU Actions: Handle null default assistant
Revert "Grant Launcher permission to access AppSearch"
Prevent falling into OtherActivityInputConsumer when over lockscreen
Fix testStressSwipeToOverview
Fix issues with starting new recents animation before previous onRecentsAnimationStart
Fixing ModelPreload cancelling existing load
Allow One-handed gesture when densityDpi > 600
Change-Id: Ife9f070d4fa9c52acf4a010a338a97ecdb7ef086
Intent created for Chooser should not be allowed in legacy shortcuts
since it doesn't make sense for user to tap on a shortcut in homescreen
to share, the expected share flow started from ShareSheet.
Bug: 295334906, 295045199
Test: manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:602cb48c72b4384b56214b87268c711aa422e4d8)
Merged-In: I8d0cbccdc31bd4cb927830e5ecf841147400fdfa
Change-Id: I8d0cbccdc31bd4cb927830e5ecf841147400fdfa
When building legacy shortcut, Launcher calls
PackageManager#resolveActivity to retrieve necessary permission to
launch the intent.
However, when the source app wraps an arbitrary intent within
Intent#createChooser, the existing logic will fail because launching
Chooser doesn't require additional permission.
This CL fixes the security vulnerability by performing the permission
check against the intent that is wrapped within.
Bug: 270152142
Test: manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f0261b5b38cd95bc1522780a7538a5f4ddc1b119)
Merged-In: I05ccbde0a873569f24af4d3675a86830ba54c43f
Change-Id: I05ccbde0a873569f24af4d3675a86830ba54c43f
Recents glitches out momentarily when an app is unstalled directly
from its menu in recents. Having uninstall button there itself is
bad UX in the first place, it's enough to have it in the app's long
press menu in home screen/app drawer.
Change-Id: I9c1796215ac62424a1de59e9ff88c801c5278c04