Sunny Goyal
f795f7a8f8
Revert "Configuration of workspace through app restrictions"
...
This reverts commit 2a27d9f709 .
The change should go in ub-launcher3-burnaby
Change-Id: Ib405972434ad4e409d49a5b4850ddefcf3cbd589
2015-03-26 17:55:44 +00:00
Andrei Kapishnikov
2a27d9f709
Configuration of workspace through app restrictions
...
For more details see: https://docs.google.com/document/d/19fresMENpmW3Xb5avNowWzN_o4Q27TZy9J_dsiMEDBE
Change-Id: Ifec039750aabafbcbc9d928640ac140e588affc8
2015-03-23 10:44:51 -04:00
Nick Kralevich
ce0117dc59
fix build
...
Bug: 18040469
Change-Id: I24db4d3f4b7ee10ecf5a2c65035ce112271539fb
2015-01-30 14:24:47 -08:00
Nick Kralevich
6c5b4a9420
fix build
...
Bug: 18040469
Change-Id: I2938c7b950470eeacfb20391f109ae44d95060c7
2015-01-30 14:24:40 -08:00
Adam Cohen
0250945759
Avoid db exception on L and above
...
Bug 18554839
Change-Id: I43f391b7cc376f697ce7b5b363e8be3aa85814b5
2014-12-04 10:35:52 -08:00
Sunny Goyal
f204877999
Fixing wrong package check when adding shortcuts
...
Bug: 18571789,18535867
Change-Id: I2544fa634879846d812b00f8649520400f66d29e
2014-12-03 22:32:46 +05:30
Adam Cohen
5c18b80ed9
Ensure that FirstFrameAnimatorHelper doesn't set play time when animation is complete
...
Bug: 18567716
Change-Id: I656e869b8553d650916c2abe6dc83282c8b6fd65
2014-12-02 15:40:19 -08:00
Winson Chung
1c96028f41
Merge "Ignoring specific db exception to workaround Bug. 18554839." into ub-now-queens
2014-12-02 00:30:46 +00:00
Winson Chung
5f05913f71
Ignoring specific db exception to workaround Bug. 18554839.
...
Change-Id: I80f2dd62297eea671f2d129ae22263e72e506ae4
2014-12-01 15:06:47 -08:00
Chris Wren
b02e611d15
Don't try to create an app state instance during restore.
...
Added a static utility function to get the DeviceProfile instead.
Bug: 18504164
Change-Id: Ia510a84f1c195e58acf3bf4d1f6a42c739fdd413
2014-11-24 16:57:54 -05:00
Sunny Goyal
2a66bbf3f0
Disabling auto addition of managed profile shortcuts
...
Bug: 16188104
Change-Id: Ib6464c22140df6d60112eb35f5983718b3db6288
2014-11-20 17:02:24 -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
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
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
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
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
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
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
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
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
ef728d4292
Refactoring LauncherBackupHelper.java
...
> Moving a bunch of variables to Global level to make it easier
to maintain state.
Change-Id: I9ded313bd4f673f45c61556b8c66607dc78a5ae9
2014-10-23 10:46:14 -07:00
Sunny Goyal
24e0fc1221
Merge "Deleting workspace items from db which have an invalid placement" into ub-now-queens
2014-10-23 16:53:44 +00:00
Sunny Goyal
09c7fc7144
Merge "Removing AccessibleTabView and some other dead code." into ub-now-queens
2014-10-23 16:52:30 +00:00
Adam Cohen
24e18aea81
Merge "First pass of the Launcher Overlay interface / impl" into ub-now-queens
2014-10-23 00:41:58 +00:00