summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/WidgetPreviewLoader.java
Commit message (Collapse)AuthorAgeFilesLines
* Trebuchet: Catch SQLiteReadOnlyException.Adnan Begovic2015-02-101-0/+2
| | | | | | | | | | | | | | BUGDUMP-648580 android.database.sqlite.SQLiteReadOnlyDatabaseException: attempt to write a readonly database (code 1032) at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method) at android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:736) at android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:754) at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:64) at android.database.sqlite.SQLiteDatabase.delete(SQLiteDatabase.java:1499) at com.android.launcher3.WidgetPreviewLoader.clearDb(WidgetPreviewLoader.java:379) ... Change-Id: I5e3cbd85a2fba84263b1e6df25f00f98b1ef55c0
* Adding support for managed profiles in widgetSunny Goyal2014-08-201-111/+96
| | | | | | issue: 16892811 Change-Id: If8c81f2a5a3bc846b02a5d225c5a8f27b1382dab
* Fix NPE in WidgetPreviewLoaderAdrian Roos2014-05-141-5/+8
| | | | Change-Id: Ic746f2a5e4237a9ea82abf5f9532307d40432ac1
* Dump open files if we run out of file descriptorsAdrian Roos2014-04-291-0/+98
| | | | | Bug: 12782843 Change-Id: I7254c2cb6c3f721a06b9301d674c9560f86dfde6
* Fix skia crash in widget preview loadingAdrian Roos2014-04-161-3/+24
| | | | | | | | | This fix works making sure all drawables are mutated before drawing them in the background. Mutation has to be executed on the main thread because that operation is not thread safe. Bug: 12525890 Change-Id: Id7bdf9cf48d3e7b7f31938bdea4a3bf1632cf337
* Fix concurrent drawable usage resulting in native crashAdrian Roos2014-03-191-3/+12
| | | | | | | | One of widget preview drawables was drawn concurrently from a thread pool, causing a native Skia crash. Bug: 12525890 Change-Id: I2dea7b86ba8b32237f40feff225657dcb2b0061b
* Clean up dead, ugly and wrong code in icon and widget preview loadingAdrian Roos2014-03-191-29/+25
| | | | | | | | | Removed and fixed serveral instances of dead code and small bugs that grew in the widget preloading logic, discovered while chasing a bug. Bug: 12525890 Change-Id: I22e03eccecc07b73388cfd3c8462d947601c6e54
* Recover when widget preview database is deletedMichael Jurka2014-01-091-20/+47
| | | | | | Bug: 12109621 Change-Id: I8d59700d31d6856d6151b965786c87585801317b
* Clear widget preview cache when system is updatedMichael Jurka2013-11-011-0/+22
| | | | Bug: 11325218
* backup widget assets.Chris Wren2013-10-031-4/+3
| | | | | Bug: 10778984 Change-Id: I842a88c517401fa4eb3798fd03e0fbc3634e3144
* Tweaking the front cling to support more verbose languages. (Bug 11015051)Winson Chung2013-10-021-1/+1
|
* Updating widget preview tile.Winson Chung2013-10-021-1/+1
|
* Recover when reading corrupted widget previewsMichael Jurka2013-09-261-5/+22
| | | | Bug: 10785722
* Initial Changes for Dynamic GridWinson Chung2013-08-201-2/+4
| | | | Change-Id: I9e6f1e5167791cf8dc140778dfa447f86424e9bf
* Lazily instantiate LauncherAppState.Daniel Sandler2013-06-271-2/+0
| | | | | | | | The application context for LauncherAppState is supplied by the application whenever it starts; don't ask for an instance before that. Change-Id: I1ca8ea04238a357a682f79250f08813ead7ae532
* Move LauncherApplication's state and code to LauncherAppState.Daniel Sandler2013-06-111-1/+1
| | | | | | | | 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
* Launcher2 is now Launcher3.Daniel Sandler2013-06-051-0/+610
Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b