summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/util/PendingRequestArgs.java
Commit message (Collapse)AuthorAgeFilesLines
* Using the application classloader for unmarsheling internal classesSunny Goyal2018-03-271-1/+1
| | | | | | | | Android default classloader may not find the custom classes defined in the launcher package, causing ClassNotFoundException Bug: 74234914 Change-Id: I47cc1034c699a1466da51137c4efd7a5c12af2fc
* Removing config shortcut activities for managed profiles forSunny Goyal2017-03-201-0/+2
| | | | | | | | | | apps build with older sdk > Also fixing the bug where legacy icon with primary user gets created when managed user failed to provide the new icon Bug: 34392403 Change-Id: I1d56962e9520742781df6cbeb03be2b9767a8c0b
* Adding WidgetAddFlowHandler to handle widget addition and configuration.Sunny Goyal2017-01-231-21/+8
| | | | | | | | This will allow us to override the implementation and provide custom logic for widget addition. Bug: 33584624 Change-Id: I310bf39e301c7e1c8de4f62456594535e2fe5bbc
* Removing static access to Context through LauncherAppStateSunny Goyal2016-12-291-6/+9
| | | | | Bug: 33032833 Change-Id: I09baaa6d79187b3096a2ab3a89d7dcaeaf9eee68
* Adding a utility class to enforce that icons are always flattened onSunny Goyal2016-11-191-1/+1
| | | | | | | the background thread. Bug: 21325319 Change-Id: I4d0f02557cdbf70cfa86750ac047faf2917e39bf
* Missing call in write to parcelSunny Goyal2016-10-181-0/+1
| | | | | Bug: 17924700 Change-Id: Ie48757fc53674979b8e92f96b5281f965e2ef3b4
* Launcher restore state fixes:Sunny Goyal2016-09-061-0/+127
> Creating PendingRequestArgs to store generic request info across activity instances > Storing the CALL_PHONE request in PendingRequestArgs > Handling onActivityResult only after the workspace has loaded. onActivityResult sometimes modifies launcher db when removing empty screens, and any add action is also deferred until bindComplete. This simplifies this logic. > Always binding the restored page irrespective of pending result. Before starting a request activity (bind widget permission, or widget config activity or shortcut picker), workspace commits the pending screen id to the DB. Hence the restore page is valid when restore is called (onResume loads with currentPage instead of restored page) Bug: 28573143 Change-Id: I34be603cbeb2145f5caf0d18e016f50029e07df8