1. 04 Aug, 2015 2 commits
  2. 03 Aug, 2015 1 commit
  3. 31 Jul, 2015 2 commits
    • Sunny Goyal's avatar
      Enabling logging for migration task · d934e0b0
      Sunny Goyal authored
      Bug: 22353460
      Change-Id: I8a9a8ea0d5523acb6d2376920535a9f4f519525d
      d934e0b0
    • Sunny Goyal's avatar
      Homescreen migration from a larger grid to a smaller grid. · e5bb705f
      Sunny Goyal authored
      Adding support for restoring from a larger device, if the grid size
      difference is not more that 1.
      During restore add all the items in the DB, and run a one-time migration
      the next time launcher starts.
      
      The migration strategy is defined in ShrinkWorkspaceTask.java which involves
      resizing, moving and removing some items.
      
      Change-Id: I6ee411f6db5bf0152b527e16146a88c56dec2d97
      e5bb705f
  4. 20 Jul, 2015 1 commit
    • Sunny Goyal's avatar
      Fixing widget restore · 53f9672b
      Sunny Goyal authored
      > Widget restore active flag was not cleared when the app was downloaded
      > Icon from session info was not getting cached
      
      Bug: 22413379
      Change-Id: Ie096b929252200675a76dadd8c25cc3aa433671b
      53f9672b
  5. 16 Jul, 2015 3 commits
  6. 14 Jul, 2015 1 commit
  7. 26 Jun, 2015 1 commit
    • Sunny Goyal's avatar
      Fixing backup restore · 4e5cc64e
      Sunny Goyal authored
      > Not deleting icons from cache, which have not been restored yet
      > Not checking if activity exists during DB migration. Missing
      components are removed during loader anyway
      > Backing up and restoring bitmaps even when iconType is resource.
      This allows us to show a proper bitmap icon, until the correct
      resource is available.
      > Loading proper shortcutResource icon for promiseIcons
      > Checking against promise intent when verifying duplicates
      > A launcher App intent can contain EXTRA_PROFILE
      
      Bug: 22094970
      Change-Id: I982971338846733833ec133119393af0bea0eb08
      4e5cc64e
  8. 18 Jun, 2015 2 commits
  9. 12 Jun, 2015 1 commit
    • Sunny Goyal's avatar
      Deleting empty folders based on DB state · b1622cc3
      Sunny Goyal authored
      > Previously folders were getting deleted based on in-memory
      loader state. If for some reason, an item failed to load, we would
      delete the folder from DB as well.
      
      Bug: 21354058
      Change-Id: I5318ee8a99afa9cafd93ed2b9ef0e155f502a41b
      b1622cc3
  10. 09 Jun, 2015 2 commits
  11. 05 Jun, 2015 1 commit
    • Sunny Goyal's avatar
      Code cleanup · 4f3e9383
      Sunny Goyal authored
      > Removing obsolete logging
      > Removing unused methods
      > Removing resource leak warning due to non-static handler class in launcher
      
      Change-Id: Ic38cc8aea82899b0b5ee3235f04e5964e49245fb
      4f3e9383
  12. 04 Jun, 2015 2 commits
    • Sunny Goyal's avatar
      Updating widget list when iconCache updates · 091f0ffd
      Sunny Goyal authored
      > Fixing bug where items were not getting removed from the memcache
      > Fixing bug where package entries were not getting removing because
      of component mismatch.
      
      Bug: 21612532
      Change-Id: Ie56f3272f7fb7e1a37c5ff9bfa523d814edc1a02
      091f0ffd
    • Sunny Goyal's avatar
      Fixing different bitmap sizes in different orientations · 53d7ee42
      Sunny Goyal authored
      > Using a single bitmap icon size
      > Picking up appropriate density for satisfy the required icon size
      > Fixing some icon size assumptions during icon animations
      
      Bug: 19514688
      Change-Id: Ia7a1d0d2c03a9d39ccc241fa4ae3eb8a0f374585
      53d7ee42
  13. 02 Jun, 2015 1 commit
  14. 22 May, 2015 1 commit
  15. 21 May, 2015 5 commits
    • Adam Cohen's avatar
      Refactoring DeviceProfile · 2e6da153
      Adam Cohen authored
      -> Pulling out the parts of device profile which can (and need to be)
         initialized and accessed without access to an Activity context,
         ie. the invariant bits.
      -> The invariant bits are stored in InvariantDeviceProfile which is
         initialized statically from LauncherAppState.
      -> The DeviceProfile contains the Activity context-dependent bits,
         and we will create one of these for each Activity instance, and
         this instance is accessed through the Launcher activity.
      -> It's possible that we can continue to refactor this such that
         all appropriate dimensions can be computed without an Activity
         context (by only specifying orientation). This would be an
         extension of this CL and allow us to know exactly how launcher
         will look in both orientations from any context.
      
      Sets the stage for some improvements around b/19514688
      
      Change-Id: Ia7daccf14d8ca2b9cb340b8780b684769e9f1892
      2e6da153
    • Sunny Goyal's avatar
      Icons are not updated to TYPE_APPLICATION during restore · 5c97f51f
      Sunny Goyal authored
      > Use low res only for app shortcuts
      > Running icon migration after restore
      > Running icon migration again for all users
      > Deduping shortcuts added from widget tray
      
      Bug: 20945600
      Change-Id: I3bb47545fdd9832510069026fbae8966d2311cc1
      5c97f51f
    • Hyunyoung Song's avatar
      Load PackageItemInfo in background thread to prevent ANR · 2bd3d7d1
      Hyunyoung Song authored
      - Decoupled widget model from widget view, and placed the
      creation to LauncherModel.
      - As a result packagemanager operation, iconcache retrieval is all done inside
      LauncherModel on background thread
      b/21311085
      b/21325319
      
      Change-Id: I294698527db58b89f3da558090a367530c058776
      2bd3d7d1
    • Sunny Goyal's avatar
      Do not trim folder title · a508e4f8
      Sunny Goyal authored
      Bug: 21297281
      Change-Id: I633780f8207aabc8362f016e6b5a6e720cee1b86
      a508e4f8
    • Sunny Goyal's avatar
      Breaking icon update task so that it doesn't block worker thread · 75b0f552
      Sunny Goyal authored
      Bug: 20945600
      Change-Id: Iaf516577898b51ad6e8a813d7f018ecad969c100
      75b0f552
  16. 19 May, 2015 2 commits
    • Hyunyoung Song's avatar
      Unify sorting between all apps and widget tray · 0b493c86
      Hyunyoung Song authored
      - selected locale names are shown before latin
      - case independent sorting
      - main app > enterprise app
      
      Future possible refactoring:
      - Move all the *ItemInfo data structures to model package
      - Rename the comparator based on NOT what data structure it supports
      but what functionality it supports (locale? case independent?
      main app > enterprise app?)
      
      b/21271658
      b/20339403
      
      Change-Id: I8a776467392e21d5014e85cd3f51931a3ef89724
      0b493c86
    • Sunny Goyal's avatar
      Moving LauncherAccessibilityDelegate to accessibility package · 83a8f042
      Sunny Goyal authored
      Change-Id: I510204a5a12abf2da2757f3e3f8b0e8869a6b04a
      83a8f042
  17. 18 May, 2015 2 commits
  18. 15 May, 2015 1 commit
  19. 12 May, 2015 1 commit
  20. 09 May, 2015 1 commit
  21. 07 May, 2015 1 commit
  22. 06 May, 2015 2 commits
  23. 05 May, 2015 2 commits
  24. 04 May, 2015 2 commits