summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherAppState.java
Commit message (Collapse)AuthorAgeFilesLines
* Updating backup restore logicSunny Goyal2014-10-281-7/+25
| | | | | | | | | | | | | | | > Adding DeviceProfile information in the backup > Removing SharedPreference backup > Adding helper methods to abort backup in the middle > Comparing keys against the backup journal during restore to avoid restoring corrupt/lost entries > Old backups are still compatible, but lost keys verification will be ignored in that case. Bug: 17937935 Bug: 17951775 Bug: 17260941 Change-Id: Iad48646cfdd69abaff5c163b2055f3b8a9b39b19
* Merge "Updating ItemInfo objects in the worker thread" into ub-now-queensSunny Goyal2014-10-211-0/+2
|\
| * Updating ItemInfo objects in the worker threadSunny Goyal2014-10-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | > Launcher was making non-trivial updates to ItemInfo objects on UI thread. These updates were getting skipped when the Activity gets destroyed (possibly due to onConfigurationChange) > Unregistering SessionCallback on application onTerminate, rather than activity onDestroy Bug: 17941096 Change-Id: Iad4a50871fe09470f26139b44a2e9886833032f1
* | Add more Launcher files to delete on Clear Launcher DataHelena Josol2014-10-161-2/+1
|/ | | | | Bug: 12753154 Change-Id: I00679bdc6eff70a1398122aaa955c08eabd556b1
* Updating promise icon's bitmap and label when onBadgingChanged is receivedSunny Goyal2014-09-191-0/+7
| | | | | Bug: 17583799 Change-Id: I68b4f9d4086c43bd949ad8b46b574ec78edb32db
* Turn off debugging for launch.Chris Wren2014-09-121-1/+1
| | | | Bug: 17483474 Change-Id: I8dd24ba08ffe0773f4d68739b30b829021d69902
* Handling label and icon from SessionInfo.Sunny Goyal2014-09-041-1/+1
| | | | | | | | | > The ShortcutInfo stores state as bit flags and not as ints > Intents of auto-install shortcut are automatically updated upon installation > Icons/titles for active sessions are cached in IconCache Change-Id: I2047849f67d4a8aaf2bc346b58110325bb4807d4
* Implementing a package install progress listener for LSunny Goyal2014-08-011-4/+9
| | | | | | issue: 15835307 Change-Id: I71aaea087963f2e0e1206447190cbe23c174057d
* Revert "Revert Cls stopping now-master running on googlefood"Kenny Guy2014-06-301-2/+2
| | | | | | | | | This reverts commit 7bc272a11b701a32d2ed91277341c382cbd84aeb. Conflicts: src/com/android/launcher3/BubbleTextView.java Change-Id: Id1fb2e1249e72658ce5477165c9bcacba9de2b04
* Revert Cls stopping now-master running on googlefoodKenny Guy2014-06-241-2/+2
| | | | | | | | | | This reverts commits 01453e855fa87ee19f61223b2b1a6965071ee95a. and 242bbe1b72e4978dde8a662d164cd186305e14a7. "Add content description to bagded icons." "Remove reflection now we are building against L" Bug: 15833449 Change-Id: I81a5316f5619a9cd3b6ab9fd03b2ba96657b7f68
* Remove reflection now we are building against LKenny Guy2014-06-231-2/+2
| | | | | | | Remove reflection and update changed renamed L APIs now that branch has L sdk. Change-Id: I223c6528487110eb328e2e229bbcbefb701e0c20
* Fix bug with user of shortcut not being remembered over restart.Kenny Guy2014-05-081-1/+3
| | | | | | | | | | | Intent extra was being set as int rather than long so being missed. Also use LauncherApps if neccessary in case where launching without launch animation. Unregister for package notifications when terminating. Bug: 14636181 Change-Id: I1575f6eed806446782092dffe8c01afe7b6507fe
* Launcher3 multi-profile supportKenny Guy2014-04-301-8/+5
| | | | | | | | | | | | | | | | | | | | | Use LauncherApps API and badging APIs instead of PackageManager. With compatability layer that uses PackageManager pre L. Adds support to show apps from current user and any managed profiles. Background: Managed profiles are user sandboxes that are visible from the primary user and can be launched as if they are a part of this user. A launcher should now be capable of listing apps from this user as well as related profiles of this user. Launching of activities is now via the LauncherApps interface, to allow for cross-profile app launching. Only activities with category LAUNCHER can be added as a shortcut on the workspace for a managed profile. Widgets and non-application shortcuts are only supported for the current profile. Widgets from the managed profile are not available. Change-Id: I5f396b1bf7f91ad91a5710ea4a0fd14573972eb9
* additional debug logs to track welcome back behavior.Chris Wren2014-04-161-1/+1
| | | | | Bug: 13568891 Change-Id: I359202ce59b3444e46331485ea22f542ae908e36
* turn off LauncherAppState.DEBUGChris Wren2014-04-151-1/+1
| | | | Change-Id: Ia6d54235c353c27c8716d7fd9270a7f2ee7bc93f
* update promise icon statusChris Wren2014-03-111-0/+7
| | | | | | | also fix a crash in LauncherModel.DEBUG_LOADERS Bug: 10778992 Change-Id: Iafc28c1e0c2f2a1283783a7ce27e181634b62993
* Merge "Fix NPE in Workspace.onDropCompleted" into jb-ub-now-kermitJorim Jaggi2014-01-141-0/+4
|\
| * Fix NPE in Workspace.onDropCompletedJorim Jaggi2014-01-141-0/+4
| | | | | | | | | | Bug: 11627757 Change-Id: I9dc86856d4bc00253d6350d157be541a8c46888d
* | Merge "Recover when widget preview database is deleted" into jb-ub-now-kermitMichael Jurka2014-01-141-1/+8
|\ \ | |/ |/|
| * Recover when widget preview database is deletedMichael Jurka2014-01-091-1/+8
| | | | | | | | | | | | Bug: 12109621 Change-Id: I8d59700d31d6856d6151b965786c87585801317b
* | Allow DISABLE_ALL_APPS to be set using a system property.Nilesh Agrawal2014-01-091-1/+9
|/ | | | | | | | | - Moving the property to LauncherAppState - The property is only read on dogfood builds. The property can be set using setprop or /data/local.prop Change-Id: I14c7354efb12edb93f97e81687a6f920cc634e9a
* Clean up importsMichael Jurka2013-12-131-2/+0
|
* Update suggested wallpaper dimensions in onResumeMichael Jurka2013-12-031-0/+11
| | | | | | | If another launcher runs in between, it might change the suggested dimensions. This fixes that case. Bug: 11667475
* Adding method to get the search bar bounds.Winson Chung2013-11-141-1/+1
| | | | Change-Id: Iec2fe0992cc666432ba6b9eac7ee8bf63e49b146
* Initial changes to support smaller landscape layouts.Winson Chung2013-10-281-3/+8
| | | | Change-Id: If0abe2b82eb08bae4f1ce65b805362d548acb876
* Altering the workspace padding to account for default widget padding (Bug ↵Winson Chung2013-10-101-1/+2
| | | | 11116452)
* check the state of launcher before running a backup.Chris Wren2013-10-041-0/+4
| | | | | Bug: 11066273 Change-Id: Ie27a7cce4060f0bafedb06dbdb33fddf50a9cc48
* Add a better app filtering mechanism and filter widgetsBjorn Bringert2013-10-031-1/+8
| | | | | | | | | | | The old one didn't use the app filter when packages were added or updated, only in the initial load. The app filter is now also used for appwidget providers. Bug: 10895858 Bug: 10898990 Change-Id: Id29bbc3cf7bdb0c360edd92f768b86684bd338ed
* Clean up unused codeMichael Jurka2013-08-281-3/+0
| | | Change-Id: Ie1e927aa0b5304f62cfffaab449abb3133870f80
* Fixing folders to always show in view, removing old assets and references to ↵Winson Chung2013-08-231-7/+8
| | | | LauncherModel count.
* Initial implementation of new wallpaper picker.Michael Jurka2013-08-211-1/+7
| | | Change-Id: Ib4c5ac4989b4959fa62465d9cde3cac662e24949
* Initial Changes for Dynamic GridWinson Chung2013-08-201-1/+27
| | | | Change-Id: I9e6f1e5167791cf8dc140778dfa447f86424e9bf
* Fix crash when started via Instrumentation.Daniel Sandler2013-06-271-1/+1
| | | | Change-Id: Iffe2c76e93e67d56a239228fd2d9e6928ab9f65e
* Lazily instantiate LauncherAppState.Daniel Sandler2013-06-271-64/+53
| | | | | | | | The application context for LauncherAppState is supplied by the application whenever it starts; don't ask for an instance before that. Change-Id: I1ca8ea04238a357a682f79250f08813ead7ae532
* Memory tracking is now handled by a service.Daniel Sandler2013-06-211-4/+14
| | | | | | | | | | Multiple processes may be tracked and viewed simultaneously. Also, some changes to the graph: * show uss and pss together * adjust opacity controls Change-Id: I20eebaa8cc8faf78b46af2a35d71ee538207f02b
* Fix build.Daniel Sandler2013-06-171-4/+0
| | | | Change-Id: I6afd45e603fd2480867dc692d59fd489ee2af63d
* New icon to dump heap information and share it.Daniel Sandler2013-06-171-0/+10
| | | | | | | Alternatively, $ adb shell am start -n <pkg>/com.android.launcher3.MemoryDumpActivity Change-Id: I8c615ec3abffaf6ad693c93bdf569550d8f97298
* Rename mUpTime to mStartTimeBjorn Bringert2013-06-121-3/+3
| | | | | | This is a follow-up to change Id26e9dcf23017abaffed4015166d57e21e751e6c Change-Id: I0abaaf2914fff121bdcefb84f1d29a42ebb5aebb
* Memory debugging overlay for L3.Daniel Sandler2013-06-121-3/+12
| | | | Change-Id: Id26e9dcf23017abaffed4015166d57e21e751e6c
* Move LauncherApplication's state and code to LauncherAppState.Daniel Sandler2013-06-111-0/+163
This removes Launcher's static data and other state out of the Application object. Now LauncherApplication (extends Application) exists only to instantiate LauncherAppState. Change-Id: I4e323bd78b77536b92054105536a55c0c2c19ba8