History log of /packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
42de82ff8d2aa182594709e63e608bbcd4610cfa 27-Sep-2014 Sunny Goyal <sunnygoyal@google.com> Resetting launcherProvider data if restore set was empty

Bug: 17332300
Change-Id: I6d2187cd1b1fa7a53e49b96eb109263f6b74b258
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
c5fb59fb9a36180ce962f565d85aa92f9991da1a 26-Sep-2014 Sunny Goyal <sunnygoyal@google.com> Fixing loadWorkspace being called multiple times
Using right intent when refreshing shortcut icons

Bug: 17662782
Bug: 17663766
Bug: 17569197
Change-Id: I8d698c5e2145b8412aff9978db4ec930d89f7f24
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
ffe83f13319cdb833a25596d47cf1af098cc4c60 15-Aug-2014 Sunny Goyal <sunnygoyal@google.com> Adding support for managed profiles in widget

issue: 16892811

Change-Id: If8c81f2a5a3bc846b02a5d225c5a8f27b1382dab
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
0fc1be164e982433e619bcbb16aa67e28ff681ef 12-Aug-2014 Sunny Goyal <sunnygoyal@google.com> Updating the ui for widget restore flow

> Pending widget show a PreloadIconDrawable to indicate
installation progress
> Only the concerned widgets are reinflated on package
install and not the whole workspace.
> Adding support for storing default package icon in
IconCache

issue: 10779035
issue: 16737660

Change-Id: Id787ae4a5ef72d6e01aeb5a1bae5ab8840037679
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
ff572277112ec3d6a6a8c1be274d6fa1019e3648 23-Jul-2014 Sunny Goyal <sunnygoyal@google.com> Adding support to restore widgets even for jelly beans.

> Show 'widget-not-ready' until the widget app is installed
> Once the app is installed, bind a new widget id (not required on L if
id-remap was received).
**Remove the widget if bind failed
> If the widget has no configuration screen, show the widget, otherwise
show 'setup-widget'.
> Clicking 'setup-widget' shows the config screen, and updates the
widget on RESULT_OK.

issue: 10779035

Change-Id: I2f8b06d09dd6acbc498cdd93edc59c26e5ce17af
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
58852b393bbfa0e2efd73186316cc3fa9592233a 23-May-2014 Chris Wren <cwren@android.com> Log the component name for restored icons.

Bug: 15192063
Change-Id: I7d8aa05600a2278c18f3ac34f87b87b3867bcd0c
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
f8b1dfd293430f32ace939d2fa78f3059cb7bb2f 13-May-2014 Kenny Guy <kennyguy@google.com> Reset profile ids when backing up / restoring favorites.

Clear the profile id when packing an intent for backup.
Set the profile id to the current user when restoring
a favorite from a backup.

Change-Id: I9d976fbe16773b34a74e57d080ff797ba51f9b04
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
43ea7ac8ade3d6b6b354fc2f4623c14ac4e69020 09-May-2014 Kenny Guy <kennyguy@google.com> Fix missing space in select statement in backup helper.

Also check when backing up favourites that they are
for current user.

Change-Id: Ic9d496c30612ee531fa84a22f852b3012df00b4f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
ed13187a745866483139e2878037e1f8427ce567 30-Apr-2014 Kenny Guy <kennyguy@google.com> Launcher3 multi-profile support

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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
5160e96698bec4ecd630c81f66e32eb0afb1eaef 13-Mar-2014 Chris Wren <cwren@android.com> also backup icon assets for shortcuts.

Bug: 13449249
Change-Id: I8c5a9e907f668e105c2786b80f0c8e62bd5f8344
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
7114426665c21a11464147a8bb5e094b7949db42 27-Feb-2014 Chris Wren <cwren@android.com> skip backup if launcher is in a bad state

Bug: 13153542
Change-Id: I4312ebd200e8e652ef841f54301981c2a486b726
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
6d0dde01f307051ee1849481c989d9e87774b894 10-Feb-2014 Chris Wren <cwren@android.com> use restored icon for restored app shortcuts

Bug: 10778992
Change-Id: Ie430a6587d49dc0d78b87b81582c0cef7c281017
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
22dc65e741139936343bc792900b2e2e25378793 05-Feb-2014 Mac Duy Hai <haim@google.com> Fix deprecated EMPTY_ARRAY usage (nanoprotos).

Newer nanoproto compiler discourages the use of this.

Change-Id: Ic27a6d15f2892bb49df3100147c086a2bce20fd4
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
f4d081107f5984bfb92cb1a627667fea5bf1498c 17-Jan-2014 Chris Wren <cwren@android.com> handle shortcut restore for missing packages

Bug: 10778992
Change-Id: I8766b8d4dd9c0269d52a7ec3da58dd408bc5f09f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
50c8f42568145b87b489e1ab65838f5fc434e5e6 15-Jan-2014 Chris Wren <cwren@android.com> rationalize launcher backup logging

enough data to debug dogfood issues
easy switch to move to quieter production mode
common switch across all three classes

Bug: 12545310
Change-Id: Icb4ad7174f20884c6993140149db590d66f6e006
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
44f834133e106550a67ecf246e8bc9d4e1644c56 15-Jan-2014 Dan Sandler <dsandler@android.com> Merge "restore app favorites and screens" into jb-ub-now-kermit
65b6a603fa972a1bd62298558016eb4712e8c727 10-Jan-2014 Chris Wren <cwren@android.com> search for a valid journal

there are too many bytes, so we need to find the valid subset,
without stepping past the end!

Bug: 12489602
Change-Id: Ic9d7c804c199740ff50d0864f99632ae68619369
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
5dee7aff5fa8774d37977d12df7ce8986752321d 20-Dec-2013 Chris Wren <cwren@android.com> restore app favorites and screens

version 0: restore assuming apps are already installed.

Bug: 10779035
Change-Id: I7f9aa418a7d3d5460a79a229c0fbc80305b5eb5c
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
1ae293c647fa44f458625774e2ea119a61814e63 14-Jan-2014 Chris Wren <cwren@android.com> Merge "backup keys that might have slipped past" into jb-ub-now-kermit
4b171361ca4ef2d88cd9493c6d92bb390df45289 13-Jan-2014 Chris Wren <cwren@android.com> hide launcher restore behind a flag.

enable with 'adb shell settings put secure launcher_restore_enabled 1'
before signing into wiped device

Bug: 12532845
Change-Id: I1471c39dac2e6e1412f7720b1ba8edf46273c593
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
5743aa9a86b7f559d9beb09c223dad8e3913c5c6 11-Jan-2014 Chris Wren <cwren@android.com> backup keys that might have slipped past

seems a little paranoid, but can't hurt.

Bug: 12455866
Change-Id: If9da4cc021ee4fac32c822a91fabda69bf3ff8aa
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
33f4c2df28228f93d96e9b1d1bfad52d715d917b 09-Jan-2014 Chris Wren <cwren@android.com> first backup should save things from the beginning of time

Bug: 12455866
Change-Id: Ie9a97ed4110e7b1ded21f609179b5d6ee7f0ead5
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
45297f851af715b2a0367459089a7a8f9c39b8fd 17-Oct-2013 Chris Wren <cwren@android.com> backup launcher preferences

Bug: 11267816
Change-Id: I12a32477164fe2205bc8cb02e0a23c561a7f9189
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
4d89e2af1189ac0bbd37b4f7cf4f160603a2b6e4 09-Oct-2013 Chris Wren <cwren@android.com> clean up backup imports

Change-Id: Ic78e071eabb9931b2aaec34b57ab187bf3a1cfd6
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java
92aa423826b9e4e83d5d32e364930399785b3e84 04-Oct-2013 Chris Wren <cwren@android.com> move to backup helper architecture

add journals to DecoderRing, for backup debugging

Bug: 10778984
Change-Id: I38e93853c05f72468b3800c172b96effc70a63e0
/packages/apps/Launcher3/src/com/android/launcher3/LauncherBackupHelper.java