Commit Graph

8826 Commits

Author SHA1 Message Date
Adam Cohen c254da26a6 Updating default page indicator asset
Change-Id: If1be59c8c6590125c2347ba2928f61522f15f959
2014-11-20 15:34:03 -08:00
Adam Cohen c8f4e1bc88 Fix a couple regressions from resetting AppsCustomizeTabHost
Bug 18409435
Bug 18358080

Change-Id: I07a071342b5c5e062ab2bb562b672d93ba0d5c2e
2014-11-19 16:24:12 -08:00
Adam Cohen 08072c05bf Prevent multiple workspace state animators from being started
-> Probably an issue with the way we're wrapping ViewPropertyAnimator
   which can lead to us acting like it's valid to have multiple
   instances of a VPA. In reality I think this is very problematic.
-> For now, we can just make sure the previous animation is canceled
   if it hasn't yet completed.

Bug 18428886

Change-Id: I097eec08ec68ed098e68866fb5eda72734c51b00
2014-11-18 18:18:26 -08:00
Adam Cohen 7c39e2380f Merge "Clearing DB before restore starts." into ub-now-queens 2014-11-18 20:05:08 +00:00
Sunny Goyal cf30da59e1 Clearing DB before restore starts.
Bug: 18362052
Change-Id: Ic4faf04db2f76c0c434907f1c41c8b708283eeb7
2014-11-18 11:38:01 -08:00
Adam Cohen c7cd2cb28f Add callback which got missed in refactor
Bug 18418855

Change-Id: Ia3a1cec76721bbbc118dd7389b5e960802a64b88
2014-11-17 23:02:52 -08:00
Geoff Mendal 0e974b4d44 Import translations. DO NOT MERGE
Change-Id: I79e98ec8bcc48f2c49e648e769fb1ff4d2f993d9
Auto-generated-cl: translation import
2014-11-17 10:27:36 -08:00
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 06910a8844 Fixing NullPointer Exception when user is deleted.
Bug: 18388507
Change-Id: I4176ea37a019c2a862e6b2875cc6b03ec9118571
2014-11-14 10:15:05 -08: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 b155bbb375 Merge "Using the default search widget in Launcher3" into ub-now-queens 2014-11-12 18:00:23 +00:00
Sunny Goyal bdc2b5f963 Merge "Removing some duplicate methods" into ub-now-queens 2014-11-11 22:55:06 +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 be7939c960 Proguard changing methods required for click feedback aniamtion
Bug: 18323452
Change-Id: Iac6d75a3c46c3a4c2a74af43bd1fca738235c2d5
2014-11-10 16:02:38 -08: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 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
Adam Cohen 7e585dc71f Merge "Updating page indicator assets" into ub-now-queens 2014-11-04 00:24:39 +00:00
Adam Cohen 4e43a64ec5 Updating page indicator assets
Bug: 17318376
Change-Id: I4e73bf4892575bbb31f28d2cf1a4e476f8895dfa
2014-11-03 16:15:27 -08: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 96d2cc235d Fix folder hint text color. Likely a regression from upgrading the Activity theme
Bug: 18204650
Change-Id: I5e23df5f4f8f1f8ca7a22c8a62797e77c9a4a9e1
2014-10-31 17:17:25 -07: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 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 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 001058054a Merge "Updating backup restore logic" into ub-now-queens 2014-10-29 17:19:24 +00:00
Sunny Goyal f659c985e6 Merge "Fixing insets of launcher clings" into ub-now-queens 2014-10-28 23:37:11 +00:00
Sunny Goyal 75f8adf06c Fixing insets of launcher clings
Change-Id: Idbf46680f96086c93d667c26dc9ed214eeaf835e
2014-10-28 16:30:34 -07: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 09ae4aef52 Merge "Loading internal default layout if partner layout fails to load" into ub-now-queens 2014-10-28 00:15:42 +00:00
Sunny Goyal bb4ae1d26a Merge "Removing landscape string overrides" into ub-now-queens 2014-10-27 23:29:51 +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
Geoff Mendal e790dfdc4f Merge "Import translations. DO NOT MERGE" into ub-now-queens 2014-10-27 18:20:20 +00:00
Geoff Mendal 457ebaf51d Import translations. DO NOT MERGE
Change-Id: Iff6f42e2460ae8c08dda9170361be3f010f32b48
Auto-generated-cl: translation import
2014-10-27 11:07:51 -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 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 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
Sunny Goyal d8cec0945e Disabling restore for below L devices
Change-Id: I262f52e88421637e0d50c048f6d53c6b5754da4e
2014-10-23 20:04:59 -07:00
Sunny Goyal 4a080dcadd Merge "Some resource fixes for drop target" into ub-now-queens 2014-10-23 20:29:06 +00:00
Sunny Goyal 0e375f947b Some resource fixes for drop target
> Making it singleline with ellipsis everywhere
> Decreasing the text size on smaller devices
> Decreasing char limit for various labels

Bug: 17563793
Bug: 17938450
Change-Id: I8ad1a156de0601d07419b2cc6418389bc2e24a4e
2014-10-23 11:41:34 -07:00