Commit Graph

10334 Commits

Author SHA1 Message Date
Sunny Goyal 416541cc0e Adding a few null checks.
1) During migration, if launcher2 has deleted user data,
migration oes not happen
  2) If Launcher3 does not has bind widget permission,
QSB would be null.

Bug: 18388507
Change-Id: Ief81f6f77ce154e7b3ecd4b77caf24239401e738
2014-11-14 12:36:13 -08:00
Sunny Goyal 1f68c7c85b am 06910a88: Fixing NullPointer Exception when user is deleted.
* commit '06910a88445c46fb95c9ad5ff83793e37b6af692':
  Fixing NullPointer Exception when user is deleted.
2014-11-14 19:08:50 +00:00
Sunny Goyal 06910a8844 Fixing NullPointer Exception when user is deleted.
Bug: 18388507
Change-Id: I4176ea37a019c2a862e6b2875cc6b03ec9118571
2014-11-14 10:15:05 -08:00
Sunny Goyal a15f891001 am e0f58d73: Adding shortcuts corresponding to ManagedUsers automatically.
* commit 'e0f58d73646871497596fb8f7321d407e7565c28':
  Adding shortcuts corresponding to ManagedUsers automatically.
2014-11-12 22:36:26 +00:00
Sunny Goyal e0f58d7364 Adding shortcuts corresponding to ManagedUsers automatically.
Bug: 16188104
Change-Id: Ic07578dd187263f59f3c431cbb78dea90d0c24f4
2014-11-12 12:23:35 -08:00
Sunny Goyal db19e3fcb1 am b155bbb3: Merge "Using the default search widget in Launcher3" into ub-now-queens
* commit 'b155bbb375c6bfed14f79def122d69c7659434f7':
  Using the default search widget in Launcher3
2014-11-12 18:03:49 +00:00
Sunny Goyal b155bbb375 Merge "Using the default search widget in Launcher3" into ub-now-queens 2014-11-12 18:00:23 +00:00
Sunny Goyal a72683009e am bdc2b5f9: Merge "Removing some duplicate methods" into ub-now-queens
* commit 'bdc2b5f963a93bddade98daaf2a329c976b199e0':
  Removing some duplicate methods
2014-11-12 10:53:01 +00:00
Sunny Goyal 4bbf419bf9 Removing some duplicate methods
Change-Id: I8a1295ab74890984e8d8508aaa18fd79ac2a032d
2014-11-11 12:24:13 -08:00
Sunny Goyal 594d76dc66 Using the default search widget in Launcher3
> Removing all logic related to search and voice overlays
from Launcher3
> Using the widget provided by global search provider on the
homescreen
> Removing VoiceButtonProxy, as it is not being used anymore

Change-Id: Ie8b09b44f7213c8fa11bce685914442e4884295d
2014-11-11 10:17:56 -08:00
Sunny Goyal 91078bb93a am 8dfe2da6: Adding some spacing between overview panel items
* commit '8dfe2da6985d38f23fd3426101574c093f509907':
  Adding some spacing between overview panel items
2014-11-07 21:27:21 +00:00
Sunny Goyal 8dfe2da698 Adding some spacing between overview panel items
Bug: 18293488
Change-Id: I8731c4d2ad34571a4a3a21b03a5fbae0ba66332f
2014-11-07 12:55:48 -08:00
Sunny Goyal ac9ed8c9e5 am b1b201c9: Merge "Using a proxy call for isAttachedToWindow for pre 19 devices" into ub-now-queens
* commit 'b1b201c9af7a53b9ceedb4873b541f85619e6850':
  Using a proxy call for isAttachedToWindow for pre 19 devices
2014-11-07 01:58:32 +00:00
Sunny Goyal 067725c015 am 2e740944: Merge "Clearing some android list errors/warnings." into ub-now-queens
* commit '2e740944ed8660b8f28177172482f90d3afb7dcf':
  Clearing some android list errors/warnings.
2014-11-07 01:58:31 +00:00
Sunny Goyal 398a11855f am 026f622c: Merge "Removing InstallWidgetReceiver related obsolete code." into ub-now-queens
* commit '026f622cc73aa5157106502683e78d2b874f0b61':
  Removing InstallWidgetReceiver related obsolete code.
2014-11-07 01:57:38 +00:00
Sunny Goyal b1b201c9af Merge "Using a proxy call for isAttachedToWindow for pre 19 devices" into ub-now-queens 2014-11-05 23:23:59 +00:00
Sunny Goyal fafca5299e Using a proxy call for isAttachedToWindow for pre 19 devices
Bug: 17423114
Change-Id: I6f0cc306b7fcc8087b4e4fc92bb8796d51a989d6
2014-11-05 15:20:20 -08:00
Sunny Goyal 2e740944ed Merge "Clearing some android list errors/warnings." into ub-now-queens 2014-11-05 23:13:08 +00:00
Sunny Goyal 026f622cc7 Merge "Removing InstallWidgetReceiver related obsolete code." into ub-now-queens 2014-11-05 18:58:16 +00:00
Sunny Goyal 03a2cf1183 Removing InstallWidgetReceiver related obsolete code.
Change-Id: I61700b363f8af6434e750bcb5323e0ad4e5bf011
2014-11-05 10:34:43 -08:00
Sunny Goyal 4595870a98 am 45634bf8: Merge "Moving methods which update internal sets on a separate thread" into ub-now-queens
* commit '45634bf8fb5c9c59217795a620c4a36aced89a03':
  Moving methods which update internal sets on a separate thread
2014-11-03 20:14:24 +00:00
Sunny Goyal 45634bf8fb Merge "Moving methods which update internal sets on a separate thread" into ub-now-queens 2014-11-03 20:11:05 +00:00
Sunny Goyal b9f261fd3a Clearing some android list errors/warnings.
Change-Id: I2f1f991e61f9e41644ee9943f5a1a15971cca6c1
2014-11-03 11:39:27 -08:00
Adam Cohen 14254b82f0 am c3e12c73: Overlay shouldn\'t show up above Intro screen
* commit 'c3e12c733ea1bac942454237b897d5a321c01072':
  Overlay shouldn't show up above Intro screen
2014-10-31 23:42:04 +00:00
Adam Cohen c3e12c733e Overlay shouldn't show up above Intro screen
bug: 18173340
Change-Id: Icf738a55398023ab6bad5cced05b25e053dec0a2
2014-10-31 16:34:42 -07:00
Adam Cohen e6dfe7b1de am 3f9c971e: Adding a couple memory optimizations to Launcher
* commit '3f9c971e761222dc9fb4e5866f81c5f7a3348992':
  Adding a couple memory optimizations to Launcher
2014-10-31 20:39:35 +00:00
Adam Cohen 3f9c971e76 Adding a couple memory optimizations to Launcher
-> Always dispose of widget page views when leaving the activity.
   These pages hold onto many bitmaps.
-> Clear database cache when leaving the activity.

Bug: 17967108
Change-Id: I10ebaaed14e7cd86f09a9afcabd73043705f21b8
2014-10-31 12:15:09 -07:00
Sunny Goyal d90e938db0 Moving methods which update internal sets on a separate thread
Bug: 18152117
Change-Id: I5fccd203b5fe65e79dcc5aead6cb1cb6c3b622fe
2014-10-30 10:32:20 -07:00
Sunny Goyal 955f14c451 am 5fd733db: Failing restore, if we have an item outside screen bounds
* commit '5fd733dbaeff3f07fff98f24947b2e1ab89eff7d':
  Failing restore, if we have an item outside screen bounds
2014-10-29 23:18:27 +00:00
Sunny Goyal 5fd733dbae Failing restore, if we have an item outside screen bounds
Bug: 17552590
Change-Id: I2d25847fd05d9579bc29ccbfa62e34809d4855d1
2014-10-29 10:52:54 -07:00
Sunny Goyal c389fccee2 am 00105805: Merge "Updating backup restore logic" into ub-now-queens
* commit '001058054a6957769e39c12c6bec636c85df6385':
  Updating backup restore logic
2014-10-29 17:35:26 +00:00
Sunny Goyal 001058054a Merge "Updating backup restore logic" into ub-now-queens 2014-10-29 17:19:24 +00:00
Adam Cohen e3b4d795ec am bc927f9c: Make sure DragLayer layout params are of the correct type
* commit 'bc927f9c24001e250622ca9a2547ee5b65baef58':
  Make sure DragLayer layout params are of the correct type
2014-10-28 23:24:26 +00:00
Adam Cohen bc927f9c24 Make sure DragLayer layout params are of the correct type
bug 18141419

Change-Id: I50695a62cf9e1f25c054ac2c7197cd056d54cfae
2014-10-28 16:16:46 -07:00
Sunny Goyal 33d4438976 Updating backup restore logic
> 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
2014-10-28 09:27:10 -07:00
Sunny Goyal 91db0610be am 09ae4aef: Merge "Loading internal default layout if partner layout fails to load" into ub-now-queens
* commit '09ae4aef52b4486b97ecc77feeb64307bcbd3993':
  Loading internal default layout if partner layout fails to load
2014-10-28 05:11:46 +00:00
Adam Cohen eb4a8106ad am 8c4ca927: Fix edge case where LauncherOverlay scroll woudln\'t be reset
* commit '8c4ca9277dcb92cb965a1e58eef59ad9868ae44e':
  Fix edge case where LauncherOverlay scroll woudln't be reset
2014-10-28 05:11:43 +00:00
Sunny Goyal 9d219685c5 Loading internal default layout if partner layout fails to load
Bug: 18033885
Change-Id: I8399d0107cc3570c0e03d833601abf2cd194b3d3
2014-10-27 16:28:44 -07:00
Adam Cohen 8c4ca9277d Fix edge case where LauncherOverlay scroll woudln't be reset
-> If the Workspace has a single page and the user goes from overscrolling
   in one direction, and then the other, the LauncherOverlay scroll wouldn't
   be set to 0 until the scrolling settled

Change-Id: I29ee9abdfa023ae3599d1590cdaebf457e2220fa
2014-10-24 17:42:33 -07:00
Adam Cohen c99d74704d am be25822f: Add InsettableFrameLayout layout params to easily ignore insets
* commit 'be25822f7677f376f9687e6a66cfa54739c40700':
  Add InsettableFrameLayout layout params to easily ignore insets
2014-10-25 00:35:38 +00:00
Adam Cohen acb3d68403 am 0fb5ce20: Tweaking close AllApps / Widgets on KK and below
* commit '0fb5ce20d7ae49f63628f88a1a238d6e2247dfe9':
  Tweaking close AllApps / Widgets on KK and below
2014-10-24 23:49:36 +00:00
Adam Cohen be25822f76 Add InsettableFrameLayout layout params to easily ignore insets
Change-Id: I117fc34627e24ea5f909c3c87e9c2dbca46babb6
2014-10-24 16:46:19 -07:00
Adam Cohen 0fb5ce20d7 Tweaking close AllApps / Widgets on KK and below
Bug: 17956862

Change-Id: I83b8973b7e98c1c3660221ac65dcb9ca8b4c84fd
2014-10-24 14:15:35 -07:00
Adam Cohen 9220b912d8 am ac36ed6d: Merge "Was seeing some duplicated icons in the migration flow" into ub-now-queens
* commit 'ac36ed6d5a08b508b3c610cc06a19799da2deb55':
  Was seeing some duplicated icons in the migration flow
2014-10-24 21:14:49 +00:00
Adam Cohen 4f0f57fef7 am 32e34b84: Merge "Allow LauncherOverlay to access and manage insets" into ub-now-queens
* commit '32e34b840576a6857e6ccd308ba9ef1d18f649fe':
  Allow LauncherOverlay to access and manage insets
2014-10-24 21:14:48 +00:00
Sunny Goyal eec7759ce4 am d8cec094: Disabling restore for below L devices
* commit 'd8cec0945e1d2790e68ca76362aa6ff9c5f8e370':
  Disabling restore for below L devices
2014-10-24 21:14:48 +00:00
Adam Cohen ac36ed6d5a Merge "Was seeing some duplicated icons in the migration flow" into ub-now-queens 2014-10-24 19:52:49 +00:00
Adam Cohen a33f11e20a Was seeing some duplicated icons in the migration flow
-> The only delta between the two icons was slightly different flags
-> No need to consider flags for the purposes of duplication

Change-Id: I161f6ad6023d829e5ebbb15f1a9fbc9306795d80
2014-10-24 12:44:20 -07:00
Adam Cohen 32e34b8405 Merge "Allow LauncherOverlay to access and manage insets" into ub-now-queens 2014-10-24 19:05:15 +00:00
Adam Cohen a6d0492e5f Allow LauncherOverlay to access and manage insets
Change-Id: Ib9faf37eb22ad2a0b18c076978ec9f2fd8864c0c
2014-10-24 11:47:30 -07:00