summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-27Trebuchet: Remove feature flag togglerHEADlineage-18.1alk3pInjection
Change-Id: Ie3e440d5d98c733c7c23bc6ea367ce1c993d8bdc
2021-09-27Trebuchet: Add uninstall button to system shortcutsAli B
Change-Id: I005d676d9a98f65296c330e5e13fd0d849df6fe5
2021-09-27fixup! Revert "Launcher3: Add FORCE_STOP_PACKAGES permission"alk3pInjection
This partially reverts commit a5fc769fd484ca51dea6039f5e0fc303b289d611. Change-Id: I3b5f01d9d4672e38aabc7bf42175f123d5cbe698
2021-09-27Trebuchet: Add kill action to app shortcuts popupezio84
Squashed with the following commits: Author: Alexandru Scurtu <sasha.scurtu@gmail.com> Date: Mon Mar 22 09:35:29 2021 +0200 Launcher3: Update kill app button drawable Change-Id: Iff78ae0528b8ed9c7b11952352e4b6d43507e233 Author: Ali B <abittin@gmail.com> Date: Sun Jan 31 16:38:29 2021 +0300 Launcher3: Dismiss task from recents when killed Change-Id: I25f37484a444346bf08e6960893892cc4bf25ada Author: Pranav Vashi <neobuddy89@gmail.com> Date: Mon, 25 May 2020 09:47:19 +0530 Launcher3: Add FORCE_STOP_PACKAGES permission Change-Id: I20dd0287c47269ccfdd02a8eae2a3da1de96e206 Change-Id: Iea088a79d2be5e552e510f0ac153eb4c1976e383
2021-09-27Trebuchet: Re-add app permissionsPranav Vashi
Change-Id: I319d46e2112bd40d59257bf1484731eec8c3fc75
2021-09-27Trebuchet: Add extra privapp permissions xmlMichael Bestas
Change-Id: I0ffd66d97aafe0047b52a6c347c3cbf22fc134ad
2021-09-27Trebuchet: Elevate to 'core/platform' app'Alex Cruz
Change-Id: I06333610166f5aacedbb46bf3bed65146e76dac0
2021-09-27Trebuchet: Extend notification listener with proxyAmir Zaidi
Change-Id: If6bb3d4a5c25deee8994044e0d99311d4ffad906
2021-09-27Trebuchet: Do not check fast scroll movement to fix unresponsivenessAmir Zaidi
Change-Id: I14a987a284c237e8faff53a3d26d4020cd39f32a
2021-09-27Trebuchet: Fix NPE for QuickStep hotseat prediction controllerPranav Vashi
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: Id21a00afbf0cdf461db751a89e02d7ae85b21eee
2021-09-27Trebuchet: Do not attempt to show promise icon when info is nullAmir Zaidi
Change-Id: I9b7a4f1923194657f7fd5b0ad75fc095a072086b
2021-09-27Trebuchet: avoid npe in AppsSearchContainerLayoutDil3mm4
Change-Id: I29aac5482ab3a6e8df41fd130013fd9ff0c3c8e6
2021-09-27Quickstep: Fix crash in StaggeredWorkspaceAnimPranav Vashi
This may not be proper fix but should prevent crash. Crash log: 01-10 13:05:12.710 E/AndroidRuntime(17714): FATAL EXCEPTION: main 01-10 13:05:12.710 E/AndroidRuntime(17714): Process: com.android.launcher3, PID: 17714 01-10 13:05:12.710 E/AndroidRuntime(17714): java.lang.NullPointerException: Attempt to invoke virtual method 'com.android.launcher3.ShortcutAndWidgetContainer com.android.launcher3.CellLayout.getShortcutsAndWidgets()' on a null object reference 01-10 13:05:12.710 E/AndroidRuntime(17714): at com.android.quickstep.util.StaggeredWorkspaceAnim.<init>(StaggeredWorkspaceAnim.java:85) 01-10 13:05:12.710 E/AndroidRuntime(17714): at com.android.quickstep.LauncherSwipeHandlerV2$LauncherHomeAnimationFactory.playAtomicAnimation(LauncherSwipeHandlerV2.java:140) 01-10 13:05:12.710 E/AndroidRuntime(17714): at com.android.quickstep.BaseSwipeUpHandlerV2.animateToProgressInternal(BaseSwipeUpHandlerV2.java:995) 01-10 13:05:12.710 E/AndroidRuntime(17714): at com.android.quickstep.BaseSwipeUpHandlerV2.lambda$animateToProgress$7$BaseSwipeUpHandlerV2(BaseSwipeUpHandlerV2.java:941) 01-10 13:05:12.710 E/AndroidRuntime(17714): at com.android.quickstep.-$$Lambda$BaseSwipeUpHandlerV2$AxMdBBhViuZu--Remsk7q7WjVXE.run(Unknown Source:14) 01-10 13:05:12.710 E/AndroidRuntime(17714): at com.android.quickstep.BaseSwipeUpHandler.onRecentsAnimationStart(BaseSwipeUpHandler.java:246) 01-10 13:05:12.710 E/AndroidRuntime(17714): at com.android.quickstep.BaseSwipeUpHandlerV2.onRecentsAnimationStart(BaseSwipeUpHandlerV2.java:624) 01-10 13:05:12.710 E/AndroidRuntime(17714): at com.android.quickstep.RecentsAnimationCallbacks.lambda$onAnimationStart$0$RecentsAnimationCallbacks(RecentsAnimationCallbacks.java:103) 01-10 13:05:12.710 E/AndroidRuntime(17714): at com.android.quickstep.-$$Lambda$RecentsAnimationCallbacks$bsmpezEUYjs0M-4-h-P-bJ4AEXs.run(Unknown Source:4) 01-10 13:05:12.710 E/AndroidRuntime(17714): at android.os.Handler.handleCallback(Handler.java:938) 01-10 13:05:12.710 E/AndroidRuntime(17714): at android.os.Handler.dispatchMessage(Handler.java:99) 01-10 13:05:12.710 E/AndroidRuntime(17714): at android.os.Looper.loop(Looper.java:223) 01-10 13:05:12.710 E/AndroidRuntime(17714): at android.app.ActivityThread.main(ActivityThread.java:7660) 01-10 13:05:12.710 E/AndroidRuntime(17714): at java.lang.reflect.Method.invoke(Native Method) 01-10 13:05:12.710 E/AndroidRuntime(17714): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) 01-10 13:05:12.710 E/AndroidRuntime(17714): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: Ibd171db09c1cac1fc18494d259f9a9b27bf1c5a5
2021-09-27Trebuchet: QsbContainerView: Fix NPE in preview modePranav Vashi
Crash log: 01-08 19:40:00.712 E/AndroidRuntime(2495): FATAL EXCEPTION: main 01-08 19:40:00.712 E/AndroidRuntime(2495): Process: com.android.launcher3, PID: 2495 01-08 19:40:00.712 E/AndroidRuntime(2495): android.view.InflateException: Binary XML file line #9 in com.android.launcher3:layout/search_container_workspace: Binary XML file line #9 in com.android.launcher3:layout/search_container_workspace: Error inflating class fragment 01-08 19:40:00.712 E/AndroidRuntime(2495): Caused by: android.view.InflateException: Binary XML file line #9 in com.android.launcher3:layout/search_container_workspace: Error inflating class fragment 01-08 19:40:00.712 E/AndroidRuntime(2495): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.app.Activity.getPackageName()' on a null object reference 01-08 19:40:00.712 E/AndroidRuntime(2495): at com.android.launcher3.qsb.QsbContainerView$QsbFragment.createQsb(QsbContainerView.java:227) 01-08 19:40:00.712 E/AndroidRuntime(2495): at com.android.launcher3.qsb.QsbContainerView$QsbFragment.onCreateView(QsbContainerView.java:213) 01-08 19:40:00.712 E/AndroidRuntime(2495): at com.android.launcher3.graphics.LauncherPreviewRenderer$MainThreadRenderer.onCreateView(LauncherPreviewRenderer.java:302) 01-08 19:40:00.712 E/AndroidRuntime(2495): at android.view.LayoutInflater.tryCreateView(LayoutInflater.java:1059) 01-08 19:40:00.712 E/AndroidRuntime(2495): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:995) 01-08 19:40:00.712 E/AndroidRuntime(2495): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:959) 01-08 19:40:00.712 E/AndroidRuntime(2495): at android.view.LayoutInflater.rInflate(LayoutInflater.java:1121) 01-08 19:40:00.712 E/AndroidRuntime(2495): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1082) 01-08 19:40:00.712 E/AndroidRuntime(2495): at android.view.LayoutInflater.inflate(LayoutInflater.java:680) 01-08 19:40:00.712 E/AndroidRuntime(2495): at android.view.LayoutInflater.inflate(LayoutInflater.java:532) 01-08 19:40:00.712 E/AndroidRuntime(2495): at com.android.launcher3.graphics.LauncherPreviewRenderer$MainThreadRenderer.populate(LauncherPreviewRenderer.java:506) 01-08 19:40:00.712 E/AndroidRuntime(2495): at com.android.launcher3.graphics.LauncherPreviewRenderer$MainThreadRenderer.access$200(LauncherPreviewRenderer.java:250) 01-08 19:40:00.712 E/AndroidRuntime(2495): at com.android.launcher3.graphics.LauncherPreviewRenderer.getRenderedView(LauncherPreviewRenderer.java:246) 01-08 19:40:00.712 E/AndroidRuntime(2495): at com.android.launcher3.graphics.PreviewSurfaceRenderer.lambda$render$1$PreviewSurfaceRenderer(PreviewSurfaceRenderer.java:112) 01-08 19:40:00.712 E/AndroidRuntime(2495): at com.android.launcher3.graphics.-$$Lambda$PreviewSurfaceRenderer$_PrKLG2VldSXdF1BqdogYlTY3uQ.run(Unknown Source:4) 01-08 19:40:00.712 E/AndroidRuntime(2495): at android.os.Handler.handleCallback(Handler.java:938) 01-08 19:40:00.712 E/AndroidRuntime(2495): at android.os.Handler.dispatchMessage(Handler.java:99) 01-08 19:40:00.712 E/AndroidRuntime(2495): at android.os.Looper.loop(Looper.java:223) 01-08 19:40:00.712 E/AndroidRuntime(2495): at android.app.ActivityThread.main(ActivityThread.java:7660) 01-08 19:40:00.712 E/AndroidRuntime(2495): at java.lang.reflect.Method.invoke(Native Method) 01-08 19:40:00.712 E/AndroidRuntime(2495): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) 01-08 19:40:00.712 E/AndroidRuntime(2495): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: I08e17280f425c9096ce518dd30278b834b959939
2021-09-27Trebuchet: Hide drag arrowezio84
Signed-off-by: spezi77 <spezi7713@gmx.net> Change-Id: Id7390e6494f56b27312366b9e56f7744e8da102d
2021-09-27Trebuchet: Reduce app label text size for 5x5 gridLaker
Change-Id: Id616a3020ae006aa8ac52d25c6fa89feb6b3dd7b
2021-09-27Trebuchet: Use a custom icon factory to decide icon wrappingAnay Wadhera
Change-Id: Ie287c918106e786cf6a2d77ca7188a2aa7556fa2
2021-09-27Trebuchet: Fix gesture navigation fail to move to bottomYingren Wang
Go to the recents page from all apps page and rotate to horizontal, at last switch to one app that only support portrait display, we will see the gesture navigation always at device right and not move to bottom. At this scenario, launcher state switch from overview to all apps, but launcher not notify systemui update gesture navigation display. To slove this, launcher must notify systemui update gesture navigation display when launcher state switch from overview to all apps. Change-Id: I23bc642c62596dff7d13e299e6d83563e38ec144 CRs-Fixed: 2828560
2021-09-27DepthController: Change blur radius to dimension resourceDanny Lin
This allows us to define the blur radius in device-independent pixels instead of physical pixels, which is necessary to fix discrepancies in apparent blur strength across devices with different pixel densities. Change-Id: Ib45aeb023304aa6a70986be565f64ab38bbd1a9c
2021-09-27Trebuchet: double tap on home screen to turn off screenThecrazyskull
Change-Id: I554c005d5e523aca0842c78a353686e86af1a7f2
2021-09-27Trebuchet: Raise overview actions a bitalk3pInjection
Change-Id: I59926a5c128ca40c3fed7b60633a90ad2dcd9500
2021-09-27Trebuchet: Hide screenshot button from actions viewalk3pInjection
Change-Id: Ie04ff721677d2ce60592b80f59b67d1fadb40e0b
2021-09-27Trebuchet: move clear all button to actions viewVachounet
Change-Id: I7a0b2729c163169f7606ad4644870d07d5165e8e
2021-09-27Trebuchet: Add back button in home settingsJyotiraditya
Change-Id: I11af64931810ab6184dfb3504d0a50dea27f996c
2021-09-27Trebuchet: Allow blur in all states except ALL_APPS and NORMALDanny Lin
We want to blur in more states for completeness: - Background app: inter-app quick switch - Hint: intermediate transition state - ... and likely more that I haven't encountered yet. None of the additional states above have major performance issues with blur, and we are allowing more states than we're blocking now, so let's change this to a blocklist that only contains states known to exhibit poor performance. Change-Id: Ie92da12f21a2dd0523769c7198fe1c1d2e2810e9
2021-09-27QuickStep: Limit depth blur to overview and quick switch statesDanny Lin
The current Kawase blur implementation is prohibitively expensive to render in all states with depth, especially during the app opening animation where it causes a lot of stuttering. Blurring a moving background doesn't provide much of a visual benefit anyway, so just disable the blur effect in states where it has an insignificant visual effect to increase performance. Change-Id: Ied14072874afd0660aa38d0777365314bc1f5405
2021-09-27QuickStep: Bump max blur radius to 175 pxDanny Lin
This matches our SystemUI notification shade blur radius, which is set to 175 px to create a "glass blur" effect. Change-Id: Ib898baf2b2c0918ee8751d303bec8cd9f4a57e9c
2021-09-27Trebuchet: use common style for recents task menu dividermaxwen
Change-Id: Ida14211a0d8decb897e857f44e071c51122eda9c
2021-09-27Trebuchet: Use system fontsPranav Vashi
Change-Id: I80b94a70b05daa72d294b0dd06949f93decb52de
2021-09-08Merge tag 'android-11.0.0_r43' into ↵Kevin F. Haggerty
staging/lineage-18.1_merge-android-11.0.0_r43 Android 11.0.0 release 43 * tag 'android-11.0.0_r43': Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent. Change-Id: I14cc0a3c60c628ab1cdd95cc31d9c00fe842e3f9
2021-08-21Automatic translation importMichael Bestas
Change-Id: I777bb6418593879c3202e3194ae9f54bc2836d8a
2021-06-30Merge cherrypicks of [15164514, 15164515, 15164096, 15164078, 15163495, ↵Android Build Coastguard Worker
15164068, 15164480, 15164097, 15164098, 15164482, 15164698, 15164375, 15164485, 15164469, 15164730, 15164731, 15164732, 15164733, 15164734, 15164735, 15164736, 15164737, 15164738, 15163662, 15164486, 15164519, 15164699, 15164700, 15164487, 15164099] into rvc-qpr3-release Change-Id: I43c863c2417dbc6e7aac1889894ed49a4dce2f66
2021-06-30Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent.Jon Miranda
Bug: 183927137 Test: restore phone and ensure broadcast is sent Change-Id: I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2 (cherry picked from commit b62fba0d0199d719ac63761846e09b4b28e1dc2c)
2021-06-14Merge tag 'android-11.0.0_r38' into ↵Kevin F. Haggerty
staging/lineage-18.1_merge-android-11.0.0_r38 Android 11.0.0 Release 38 (RQ3A.210605.005) * tag 'android-11.0.0_r38': Block recent work profile apps content capture Fix missing grid for devices that upgrade from R Fix bug where dragview gets stuck on screen. Separate TaskView translationX into dismiss + offset translations [DO NOT MERGE ANYWHERE] Add swipes left method in Background.java [DO NOT MERGE ANYWHERE] Add swipes left method in Background.java Change-Id: I89aa2e83dd5941edd9b113079cb8200a88387378
2021-06-11Revert "Trebuchet: Remove workspaceStatusBarScrim"Adi Wahono
This reverts commit 147d648f722fa209395152c73d7880b18cd8150b. Reason for revert: <Removing workspaceStatusBarScrim makes the status bar invisible (white text and icons on white background) when using wallpapers with mostly white color on the top part of the image (when it doesn't activate the light theme with dark text).> Change-Id: I0dee7f8d64be934b3d445fb3e89564e5c93926df
2021-05-17Trebuchet: Set 5x6 grid to 5 hotseat iconsSam Mortimer
* 5x5 and 5x7 have hotseat icon count 5 (matches column count) * 5x6 currently has hotseat icon count set to 6 which does not look good with the column count of 5. * The original commit message shows this was intentional: https://review.lineageos.org/q/Ib8d5dcc70d386376755c0a57b009ced1b2ee0834 But a hotseat icon count of 5 for all of 5x5,5x6,5x7 looks more consistent. Change-Id: Ic55a258b8ef64d10b7440576af87d0e78d318cc3
2021-05-01Automatic translation importLineageOS Builder
Change-Id: I779606a4a42ad76ee4ad994f00aaa4e55d817650
2021-04-10Merge tag 'android-11.0.0_r34' into ↵Kevin F. Haggerty
staging/lineage-18.1_merge-android-11.0.0_r34 Android 11.0.0 release 34 * tag 'android-11.0.0_r34': Fix missing grid for devices that upgrade from R Change-Id: Idb5e7b21280940dc8d47e909d5a08026d93d1b42
2021-04-08Snap for 7269201 from a538ffe2a4b94aa9ddbed4cecc8d2d1d52663bfe to ↵android-build-team Robot
rvc-qpr3-release Change-Id: If859efaaab8aae2518d6e0344ebbeca4335e2213
2021-04-07resolve merge conflicts of 8786016e859c639de1d3722c1911b5389ef8fc39 to ↵Alex Johnston
rvc-qpr-dev Bug: 168802517 Change-Id: I84db4b2328ecdd40991f661f23f635f4dd1a42ab Merged-In: I3e6ba1d8645335785e8e26cdc895ea9c0017a0fd
2021-03-29Block recent work profile apps content captureAlex Johnston
Stop data exposure of work profile by blocking content capture of recents apps when the work profile is locked. Manual testing steps * Set up work profile * Set personal and work pattern * Open work app, enter work pattern and verify content capture is possible * Lock device * Go to Recents and select already opened work app. Verify content capture is not possible until work pattern is entered. Bug: 168802517 Test: manual testing Change-Id: I3e6ba1d8645335785e8e26cdc895ea9c0017a0fd Merged-In: I3e6ba1d8645335785e8e26cdc895ea9c0017a0fd
2021-03-19Trebuchet: Remove workspaceStatusBarScrimMichael W
* This generates stripes which move when the screen content changes * No drawback found from removing it Change-Id: Iad288b781dee30817cc0f245686cfb8346be1089
2021-03-02Merge tag 'android-11.0.0_r32' into ↵Kevin F. Haggerty
staging/lineage-18.1_merge-android-11.0.0_r32 Android 11.0.0 Release 32 (RQ2A.210305.006) * tag 'android-11.0.0_r32': [DO NOT MERGE] Keeping Launcher in overview UI if activity is restarting due to UI mode changes [DO NOT MERGE] Encode launch location for hotseat items [DO NOT MERGE] Add WW log for noti shade swipe down from home. DO NOT MERGE Revert "Handle uiMode changes" DO NOT MERGE Revert "Defer recreation until resumed" End the attaching animation early when we settle on the end target [DO NOT MERGE] Add component name to launcher home and overview gestures Bug: 168805198 Change-Id: Ic09f37799b543fef3d1bec87e883dcfc0cec41f0
2021-02-28Automatic translation importMichael Bestas
Change-Id: I5f8868507133bbd8baae0a6cf9cfd70e4594036e
2021-02-17Launcher3: Add support for icon packsJoey
- Supports icon packs from nova and adw - Live preview in settings - Default applied icon pack via overlay Change-Id: Ie9879fa30f4cd9d52356acf78a423b415657510c Signed-off-by: Joey <joey@lineageos.org>
2021-02-09Merge cherrypicks of [13532551, 13532552, 13534990, 13533561, 13533870, ↵android-build-team Robot
13533871, 13534991, 13533562, 13532553, 13533872, 13534992, 13532554, 13535065, 13535085, 13535105, 13535125, 13535126, 13535106, 13535107, 13535086] into rvc-qpr2-release Change-Id: I02773d2c5a849e00c0f12d4a807c24b5eaebedcf
2021-02-09Fix missing grid for devices that upgrade from RTracy Zhou
Fixes: 178435615 Test: TODO Change-Id: I9894b88485daf5b641b4674a5abff05e0f53138b (cherry picked from commit a62e49b365739d8b3c918380c316e65376de085e)
2021-01-29Snap for 7109713 from a62e49b365739d8b3c918380c316e65376de085e to ↵android-build-team Robot
rvc-qpr3-release Change-Id: I1ed17ac3dec5535219fc5f9fa3576b5db5ee17d5
2021-01-27Fix missing grid for devices that upgrade from RTracy Zhou
Fixes: 178435615 Test: TODO Change-Id: I9894b88485daf5b641b4674a5abff05e0f53138b
2021-01-27Snap for 7104876 from b453ef76212b31cd20075242108726b393d14fdb to ↵android-build-team Robot
rvc-qpr3-release Change-Id: Ia67f8a4319b390b8543e5283af2b93ab6a36c978