summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/util/PackageManagerHelper.java
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-10.0.0_r31' into HEADLuca Stefani2020-03-071-0/+75
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 10.0.0 release 31 * tag 'android-10.0.0_r31': (218 commits) Increase drag distance threshold when drag starts from deep press Fix shortcut componentname in workspace layout logging Fix shortcut componentname in workspace layout logging perform accessbility focus when the recyclerview doesn't gain focus after fragment replacement in SettingsActivity Persist predicted items when dragged to workspace Import translations. DO NOT MERGE Import translations. DO NOT MERGE Align badging logic with platform IconDrawableFactory. Fix bug where icon remains invisible after returning home. Fix quick switch from home biased towards returning home Fix recents scale sometimes lagging behind window scale Fix folder open/close animation when grid size is small. fix custom shortcut test Improve quick switch from home by tracking both x and y motion Move shelf peeking anim code to ShelfPeekAnim class Fix folder available height calculation Tapl: AllApps: ensuring a minimal vertical size of an icon Enable a11y scrolling with item drag disable custom shortcut test in oop include predicted_rank in app launch logging ... Change-Id: Id824c350cd133c4c8fa91de0f8793faed9003393
| * Fix bug where Files app keeps getting added to the workspace.Jon Miranda2019-10-301-0/+3
| | | | | | | | | | | | | | | | Caused by mainline updates where Files app session commit is broadcasted. Launcher workaround is to not auto-add system apps to the workspace. Bug: 139663018 Change-Id: Id61532bd0df2cd5f3bdfc28a3616ba5e5ff3d18a
| * Moving some utilities methods to separate classSunny Goyal2019-07-171-0/+72
| | | | | | | | Change-Id: I5094b22ddc77c45590cea1a5f5dead0dc7580abf
* | Revert "Add developer options for grid change for Styles"Luca Stefani2019-12-141-5/+0
|/ | | | | | This reverts commit 58de5de42ae14bcd688fccd841c537fe8da6f3e9. Change-Id: Ibf3ceeb55230681be2e0de72d2eaa432b3eaf505
* Add developer options for grid change for StylesHyunyoung Song2019-05-161-0/+5
| | | | | | Bug: 118758696 Change-Id: I66cd36cda495d339e0c2550f0957e3fbcddca477
* Listening only for "android" package for overlay changesSunny Goyal2019-04-221-0/+15
| | | | | Bug: 130917995 Change-Id: I37160a886a0afdc02dca8f7da6e8aa54c795882d
* ShortcutInfo renamed to WorkspaceItemInfoSunny Goyal2019-04-161-2/+2
| | | | | | Will get rid of ShortcutInfoCompat in a follow up cl Change-Id: I7d7d9c938635f59b216290ba28bea9d0e0721a7d
* Changing min sdk to 25Sunny Goyal2019-01-291-15/+1
| | | | Change-Id: I0d28069967854357ca755bf25dec19d4979bdecf
* Revert "Revert "Adding support for hiding widgets from the widget tray and ↵Winson Chung2018-03-051-0/+45
| | | | | | | | | | reconfiguring widgets"" This reverts commit f502e5faecbd460ad3b8258168c5812cbaa34c4e. Reason for revert: Reverting post-build Change-Id: I09eb292dbbbe37ffaf3abc477aa2ddb5700093b8
* Revert "Adding support for hiding widgets from the widget tray and ↵Winson Chung2018-03-051-45/+0
| | | | | | | | | | reconfiguring widgets" This reverts commit b29a5fa55ce3b84dd1829688db8522d5e68ffc44. Reason for revert: Temporary revert for build. Change-Id: I58045ad1ce28d398a5216ba4fbbcdba1196942ec
* Adding support for hiding widgets from the widget tray and reconfiguring widgetsSunny Goyal2018-03-021-0/+45
| | | | | | | | > Removing AppInfo target > Switching between uninstall and setup based on the drag view Bug: 63931362 Change-Id: Iccd6f965fa3d61992244a365efc242122292c0ca
* Adding referrer information when launching market intentSunny Goyal2018-01-221-2/+4
| | | | | Bug: 72331091 Change-Id: I75ed764fd9964b58de97c287b8a26d24a0caa3fc
* Moving apps search related logic into a custom layout fileSunny Goyal2017-05-081-0/+18
| | | | | | | | This will allow derivative projects to easily change the search behavior by simply overriding the xml file Bug: 37616877 Change-Id: Ib8d6a2dab06819a52611e9a3d97c70c5a49bbf97
* Removing the profile extra from intent and using the profile id from the ↵Sunny Goyal2017-03-211-1/+1
| | | | | | | | | profile column The intent extra is not always correct as the profile id can change during backup restore. This allows us to use a consistant behavior everywhere. Change-Id: I004bd244204ca91758b1d42488e1fc13b0ccb998
* Fixing SDCard and package enabled state checks in PackageManagerHelerSunny Goyal2017-03-011-44/+18
| | | | | Bug: 32365540 Change-Id: Iaac3e08ce55457ebbfb3633514ebc8ade6d200c5
* Launcher3: fix app shortcuts for suspended appsCharles He2017-02-211-0/+18
| | | | | | | | | | | | | | | | | | This CL fixes app shortcuts for suspended packages. 1) When DO/PO suspends an app, its pinned shortcuts are instantly grayed out, but this is not persisted after the launcher restarts (e.g. device reboot). We now enforce the launcher to check the suspended state when loading the workspace, and gray out pinned shortcut icons accordingly. 2) When DO/PO suspends an app, its app shortcut popup is still available. We now temporarily disable the popup when the app is suspended, and persist the state across restarts. Bug: 32365540 Test: manual, by following the steps in the bug above Test: manual, by restarting the launcher package Change-Id: I983d7c17fa198beca23b66459b50bd67b447bdd2
* Making methods in PaackageManagerHelper non-staticSunny Goyal2017-02-021-14/+37
| | | | | Bug: 34112546 Change-Id: Ia3db3e2f56d26e314000e302b51e6d38607c525d
* Refactoring some loadWorkspace logic in a separate classSunny Goyal2017-01-101-0/+10
| | | | | Bug: 34112546 Change-Id: I8a43ed1646056aa1957ac3d6ea82018691df6386
* Updating version check method namesSunny Goyal2016-11-021-1/+1
| | | | Change-Id: If98851677545a9bbb9de308c23ff5c155a61a8bf
* Showing a toast when the default wallpaper app is disabled.Sunny Goyal2016-10-251-26/+0
| | | | | | | If there is no default defined, showing an intent picker with all options Bug: 32197478 Change-Id: Ia2337701a76a9bb00973ab64e2fa435607ce2820
* Preventing a shortcut which requires permissions from being added toSunny Goyal2016-09-081-0/+54
| | | | | | | | | | | | | | | | homescreen A shortcut can be added by any app as INSTALL_SHORTCUT is a normal level permission. But the intent is actually launched by the launcher app which can have other permission as well. > When adding a shortcut from the broadcast, verify that the intent does not require any permission > When adding a shortcut using the two-step drop process, verify that the source app also has the permission to create such a shortcut Bug: 30778130 Change-Id: I710a490d69019dc25709db5a97020c20d9325007
* Opening the system default wallpaper picker on clicking the wallpaper tileSunny Goyal2016-05-171-0/+28
| | | | | Bug: 28790378 Change-Id: If283b60a0b9563ab8e80d49b0ffa195fc3ffda8a
* Fix incorrect icon greying on pre-N systemRubin Xu2016-04-281-1/+10
| | | | | | | | | The flag we check for package suspension is reused by a hidden constant prior to N, so the flag should only be checked on N or later system. Bug: 28390176 Change-Id: Ia28f62991cc2cd1b5d2cc27a5f11f7edca0ba02b (cherry picked from commit 3ee9080fb47ecb3ecb003519faf24394b8c4761e)
* Removing dependency on getApplicationInfo method added in NSunny Goyal2016-04-071-0/+62
This method is goiing away. We don't need this method anyway since LauncherActivityInfo already has the information Change-Id: Ic6afa1df14958b894925d730e01a2e2d2a6fb98c