Sunny Goyal
a2cc624e75
Changing DB upgrade path to use swith case statement.
...
> This allows to cancel the whole upgrade path if any one step fails
and reset the DB
Change-Id: I645b74af8afcd21dda0d619691a5fb3dbf1a04c0
2015-01-21 11:05:00 -08:00
Sunny Goyal
5736ed319d
Merge "Removing usage of reflection." into ub-launcher3-master
2015-01-21 01:13:27 +00:00
Sunny Goyal
d009101232
Removing usage of reflection.
...
> Updated launcher.java with the new APIs
> Removed unused method in BitmapUtils
Change-Id: I24804d2cd7d9fc45040532e8324672f5ea6fc110
2015-01-20 15:56:23 -08:00
Sunny Goyal
c46bfef5df
Removing support library dependency
...
> Removed FolderAutoScrollHelper as folders are currently not scrollable
Change-Id: I261f43a665b742697e3224e1e9852ccc526badcd
2015-01-20 11:49:12 -08:00
Sunny Goyal
c1b7c2ecbd
Simplifying loadScreenDB to load the screen IDs in sorted order
...
Change-Id: I5551b5c12cdc2b0e304a06d2e8edbe81e124a55c
2015-01-20 11:46:46 -08:00
Sunny Goyal
808ba3dd1b
Merge "Adding accessibility controls" into ub-launcher3-almonte
...
automerge: 54cdef7
* commit '54cdef77dbb958a853387957c303e1b872489b00':
Adding accessibility controls
2015-01-20 19:39:44 +00:00
Sunny Goyal
295a17aabb
Merge "Avoiding writing the Metadata in the backup if nothing was changed in the backup" into ub-launcher3-almonte
...
automerge: 2d26480
* commit '2d264802754e78a98ab1a52c39aa4ceef75b32ae':
Avoiding writing the Metadata in the backup if nothing was changed in the backup
2015-01-20 19:39:40 +00:00
Sunny Goyal
4e6cca03cf
Adding a rank column for itemInfo
...
automerge: 08f7261
* commit '08f7261d11a53ae4b330ad4fa897b8519de3d750':
Adding a rank column for itemInfo
2015-01-20 19:39:34 +00:00
Sunny Goyal
54cdef77db
Merge "Adding accessibility controls" into ub-launcher3-almonte
2015-01-17 01:58:01 +00:00
Sunny Goyal
71b5c0b988
Adding accessibility controls
...
> Adding 'Remove' option to workspace items
> Adding 'Add to workspace' to all apps and widget list items, which
adds the item to the first available space, giving preference to
the current workspace screen
> Adding 'App info' and 'Uninstall' options to appropriate items
Bug: 18482913
Change-Id: Ifab7423af2d9ba502b5a2771b37bb5436b3df937
2015-01-16 17:40:41 -08:00
Sunny Goyal
e6b63a3d73
Launcher crashes on widget bind permission prompt
...
Change-Id: If09feb357e1604e5ee1a66305b022674f466833e
2015-01-16 16:14:29 -08:00
Sunny Goyal
c0ee675f69
Avoiding writing the Metadata in the backup if nothing was changed in the backup
...
Change-Id: I4608ab5511b01f0d0018596d68e4341635649f73
2015-01-16 14:11:12 -08:00
Sunny Goyal
08f7261d11
Adding a rank column for itemInfo
...
> Rank is used to determine position of an item
in a folder.
Bug: 18590192
Change-Id: I2826a7c570b4cc58e719d685f17a24ec6133804f
2015-01-13 22:19:56 +00:00
Sunny Goyal
e87e6abc36
Removing dead code from Launcher provider
...
> Removing DB upgrade logic for versions before 12. Launcher3
was forked off Launcher2 when DB version was already 12, so, there
can never be a lower version of the DB.
> Removing logic for auto import of launcher2 DB. This flow had
been permanently disabled by a flag, and we show a confirmation
prompt/cling before migration
Change-Id: I2ac2f21fefc41ee247164566a088927263b09459
2015-01-05 12:48:11 -08:00
Brian Parfett
1bc1ae6714
Updating version codes from L to LOLLIPOP
...
This is required so Launcher3 can compile within IntelliJ.
Change-Id: I99a98a6d2326a8f8b0f0320430de9b555ea430c6
Bugs: b/18720914
2014-12-12 12:30:00 -08:00
Adam Cohen
30914ad14d
Merge "Supporting custom widgets provided by launcher" into ub-now-master
2014-12-06 00:22:43 +00:00
Adam Cohen
5940042d39
Supporting custom widgets provided by launcher
...
-> This change provides integration for widgets provided by
the launcher package which can run arbitrary code.
Change-Id: I6052da5c4afed7ee72e3b44d045b9c46f2d84c42
2014-12-05 16:18:41 -08:00
Adam Cohen
396628876d
am 02509457: Avoid db exception on L and above
...
* commit '0250945759f7ac58aab912448d62dc108b1770c5':
Avoid db exception on L and above
2014-12-04 18:43:49 +00: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
ded38dfd28
am f2048779: Fixing wrong package check when adding shortcuts
...
* commit 'f2048779990bfd3c20b52149f5e8ab208bf2502a':
Fixing wrong package check when adding shortcuts
2014-12-04 15:15:44 +00: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
4a5898753b
am 5c18b80e: Ensure that FirstFrameAnimatorHelper doesn\'t set play time when animation is complete
...
* commit '5c18b80ed9aaa57b27b56667e3699fd76bcce8ed':
Ensure that FirstFrameAnimatorHelper doesn't set play time when animation is complete
2014-12-02 23:55:48 +00:00
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
653af821ea
am 1c96028f: Merge "Ignoring specific db exception to workaround Bug. 18554839." into ub-now-queens
...
* commit '1c96028f414f904b90c1a180a537021a6a3eceff':
Ignoring specific db exception to workaround Bug. 18554839.
2014-12-02 00:35:51 +00: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
c080912591
am b02e611d: Don\'t try to create an app state instance during restore.
...
* commit 'b02e611d15bd6fbb05814adaa804dd68181c556c':
Don't try to create an app state instance during restore.
2014-11-25 15:12:13 +00: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
e64b0dfcd0
am 3da888d1: Merge "Disabling auto addition of managed profile shortcuts" into ub-now-queens
...
* commit '3da888d17c020b39ba36dbc99b681bf3339d269f':
Disabling auto addition of managed profile shortcuts
2014-11-21 02:19:26 +00: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
8f6f256ac1
am c8f4e1bc: Fix a couple regressions from resetting AppsCustomizeTabHost
...
* commit 'c8f4e1bc88401cad3cc5e439cd08450974d99d81':
Fix a couple regressions from resetting AppsCustomizeTabHost
2014-11-20 14:45:11 +00: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
295543d9f2
am 08072c05: Prevent multiple workspace state animators from being started
...
* commit '08072c05bf9c760acff653545a795a0fae4bd917':
Prevent multiple workspace state animators from being started
2014-11-19 19:20:24 +00: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
a2cfddbd17
am 7c39e238: Merge "Clearing DB before restore starts." into ub-now-queens
...
* commit '7c39e2380f3406f897b2f0abffcb8267d2212482':
Clearing DB before restore starts.
2014-11-19 00:39:22 +00:00
Adam Cohen
ee7dd76bbb
am c7cd2cb2: Add callback which got missed in refactor
...
* commit 'c7cd2cb28f0d08dd47c79007794fc37036210b6a':
Add callback which got missed in refactor
2014-11-18 23:34:06 +00: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
6318a0bdbf
am 416541cc: 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.
...
* commit '416541cc0e03ccd919d5669f0d06ef42a3b7ff21':
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.
2014-11-14 21:21:23 +00: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
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