Commit Graph
8014 Commits
Author SHA1 Message Date
Adam Cohen 2d783ce2f4 Fix pre sdk-18 compatibility (crash in dispatchDraw)
issue 13801679

Change-Id: I25b997179fd8eb7cdec6fc48d81533fb1c3094ce
2014-04-07 14:12:54 -07:00
Adam Cohen d3a4e420f8 Attempt to fix crash on workspace drag and drop on certain JB devices
issue 13801679

Change-Id: I4769220ddeab566a869050b20d6064809c70bc19
2014-04-04 16:53:02 -07:00
Adam Cohen eaabe7c89a Merge "Cleanup orphaned workspace items on db upgrade" into ub-now-mister-ugly 2014-04-04 20:42:10 +00:00
Adam Cohen 8f006edba2 Prevent exception in production when icons collide during bind
-> We only need to throw an exception for dogfooders so we can
   track the issue
-> Worst case, an icon is ignored, does not warrant a crash.

issue 12106766

Change-Id: I054a849eb3d65762dc5e1bf699c76655f687c3e8
2014-04-03 18:14:30 -07:00
Adam Cohen 119285e755 Cleanup orphaned workspace items on db upgrade
-> Any workspace item whose screen id is not present in the
   screens table is removed from the database. This is
   intended to restore database consistency.

issue 13741729

Change-Id: I9a04b4165f1d85541025fcf48ddf2ad9e39ae94e
2014-04-02 17:04:41 -07:00
Baligh Uddin cc95d18d6d Import translations. DO NOT MERGE
Change-Id: If301cb07c8b50249a8e657c2ebe6d0f86f613b26
Auto-generated-cl: translation import
2014-04-02 12:34:32 -07:00
Chris Wren 7f83b22835 Merge "update strings for welcome back" into ub-now-mister-ugly 2014-04-02 02:28:11 +00:00
Adam Cohen dcb173d0e3 Make sure the workspace screens don't get updated while workspace is loading
-> Found another path that could lead to the same issue
   [add shortcut with config activity to an existing folder,
   when config activity launches, kill launcher, configure
   shortcut. observe crash and data loss].
-> Plugged up above, and a couple other potential holes
-> Initial fix probably took care of the main issue

Issue 12523285

Change-Id: I29db9da4af4a8bf22047eb46bd49354447d04b8d
2014-04-01 14:31:51 -07:00
Chris Wren c6e7d9e917 update strings for welcome back
Bug: 13531041
Change-Id: Iabcb40df50850bd91b9ec972b407e4267960e4b9
2014-04-01 16:14:00 -04:00
Adam Cohen 8440e7ce17 Merge "Increase delay before dismissing intro screen (issue 13691305)" into ub-now-mister-ugly 2014-03-31 15:10:34 +00:00
Adam Cohen 2252adea26 Increase delay before dismissing intro screen (issue 13691305)
Change-Id: I0b81d61b922278e0e72c3055086010612687c7d9
2014-03-28 15:29:07 -07:00
Adam Cohen 4a9423d6dd Add method to determine if first run activity has been shown (issue 13680732)
Change-Id: Ia0da4148fd0365c6ae9c3a5a4cff7118959f6382
2014-03-28 14:51:17 -07:00
Selim Cinek 314425602a Fixed crash when setting wallpaper with built in rotation
If an image had a built-in rotation, a crash could occur,
when setting it. An example was a panorama image which had
a rotation of 90 degrees.

Change-Id: Iede8226dac3a40f08d39a69162eb388e6aba97ec
Bug: 13507421
2014-03-27 20:35:19 +01:00
Selim Cinek 7c989e90e8 Fixed wallpaper bug where wrong size was taken when cropping
When cropping, the selected area of the image was incorrectly
cropped to the size of the view instead of the size of the image

Bug: 13617446
Change-Id: I0b40711c04f3d3b5929e7bb037d6cf21d4bb5bcb
2014-03-24 14:13:20 +01:00
Jason Monk 4dfbe82910 Merge "Fix missing stack trace on checkItemInfoLocked call" into ub-now-mister-ugly 2014-03-21 20:09:54 +00:00
Adam Cohen 36a6288545 Merge "Adding in-activity intro screen (issue 12905636)" into ub-now-mister-ugly 2014-03-20 22:34:11 +00:00
Jason Monk 8e19cf22a4 Fix missing stack trace on checkItemInfoLocked call
Just put this change into Launcher2, now adding to Launcher3

The call to checkItemInfoLocked from addItemToDatabase was missing a stack
trace so that if the check failed, the stack trace did not contain what
triggered the add.

Change-Id: Ia2e2aae20b16d4adadfe1da53b49e93073fab55c
2014-03-20 15:06:57 -04:00
Adam Cohen 432609a246 Adding in-activity intro screen (issue 12905636)
Change-Id: Ifb016ca6e5052fd91535b98a39f78569200955a8
2014-03-20 11:48:22 -07:00
Baligh Uddin febf1b9c39 Merge "Import translations. DO NOT MERGE" into ub-now-mister-ugly 2014-03-20 18:44:53 +00:00
Baligh Uddin 75fd8bd4d3 Import translations. DO NOT MERGE
Change-Id: Ie0317b94dd08597383b981fa196391728baa0b09
Auto-generated-cl: translation import
2014-03-19 14:00:18 -07:00
Adrian Roos fa4c799a9b Fix concurrent drawable usage resulting in native crash
One of widget preview drawables was drawn concurrently from a thread pool,
causing a native Skia crash.

Bug: 12525890
Change-Id: I2dea7b86ba8b32237f40feff225657dcb2b0061b
2014-03-19 16:29:30 +01:00
Adrian Roos 5d2704fbb0 Clean up dead, ugly and wrong code in icon and widget preview loading
Removed and fixed serveral instances of dead code and small
bugs that grew in the widget preloading logic, discovered
while chasing a bug.

Bug: 12525890
Change-Id: I22e03eccecc07b73388cfd3c8462d947601c6e54
2014-03-19 16:27:35 +01:00
Mohammadinamul Sheik e769d1681e Merge "Add onClickPagedViewIcon to the Launcher." into ub-now-mister-ugly 2014-03-18 20:30:52 +00:00
Mohammadinamul Sheik 3b1a54a206 Add onClickPagedViewIcon to the Launcher.
Change-Id: I34505ee5c9a6fe6ddd1a9f3134829fe0481e8bc0
2014-03-18 11:28:19 -07:00
Anjali Koppal ef3784cf69 Merge "Add LauncherProviderChangeListener" into ub-now-mister-ugly 2014-03-17 23:47:21 +00:00
Anjali Koppal af63581cb6 Merge "Add Launcher.onDragStarted" into ub-now-mister-ugly 2014-03-17 23:22:58 +00:00
Anjali Koppal 8c10ce7f82 Merge "Make all fields of ItemInfo public." into ub-now-mister-ugly 2014-03-17 23:13:57 +00:00
Anjali Koppal 67e7cae5ad Add LauncherProviderChangeListener
Change-Id: I2333a157c488cd048a860982cc675ed9cec626ae
2014-03-17 15:13:01 -07:00
Anjali Koppal e3e646e1f0 Make all fields of ItemInfo public.
Change-Id: Iaf99aa125634a467616eedd0888a0affa08d79bd
2014-03-17 15:08:41 -07:00
Anjali Koppal 62d18edcc7 Add Launcher.onDragStarted
Change-Id: Iac59685211905580460d0a0a16d9c7f00c61fac9
2014-03-17 15:06:41 -07:00
Geoff Mendal 6ab691b69e am f57c1564: (-s ours) Import translations. DO NOT MERGE
* commit 'f57c1564b53eab486a5ac006ac5be2a9e1e33cc8':
  Import translations. DO NOT MERGE
2014-03-17 13:44:43 -07:00
Geoff Mendal f2e81836dc Import translations. DO NOT MERGE
Change-Id: I6bcf984e6fdb29a2a3b6f449e27bf2da2b7d95b3
Auto-generated-cl: translation import
2014-03-17 13:23:36 -07:00
Geoff Mendal f57c1564b5 Import translations. DO NOT MERGE
Change-Id: I861674b0b1872d2b7117aa38fef99c29b04730a1
Auto-generated-cl: translation import
2014-03-17 13:23:14 -07:00
Selim Cinek e04e8b2a14 Fixed a crash when an image with an odd width/height was selected
Due to an internal rounding in the renderer, the calculations
for the cropping area could be slightly offset, getting out
of the image boundaries. I sanitized the rect by ensuring they
are inside the image.

Bug: 12174629
Change-Id: I5e08c83fe3e9cd48254fa6c8ba9cef77ab8a51a6
2014-03-14 18:27:23 +01:00
Chris Wren 04960cd2e5 Merge "also backup icon assets for shortcuts." into ub-now-mister-ugly 2014-03-13 20:20:01 +00:00
Baligh Uddin 5f179e6eaf am 441874b1: (-s ours) Import translations. DO NOT MERGE
* commit '441874b19d79db51ea3488983f13b6e11b0cf796':
  Import translations. DO NOT MERGE
2014-03-13 09:47:59 -07:00
Baligh Uddin f0bea657e9 Merge "Import translations. DO NOT MERGE" into ub-now-mister-ugly 2014-03-13 16:45:09 +00:00
Chris Wren 5160e96698 also backup icon assets for shortcuts.
Bug: 13449249
Change-Id: I8c5a9e907f668e105c2786b80f0c8e62bd5f8344
2014-03-13 11:41:59 -04:00
Anjali Koppal 5ad4484df3 Add a setter/getter for Launcher.mAllAppsButton.
Also, handle clicks on the all apps button by using onClick() method in
Launcher instead of directly calling onClickAllAppsButton in Hotseat.java

Bug 12553852
Change-Id: I261c27d3e964bbb1f52c2ab610997defd99a59bd
2014-03-12 18:22:55 -07:00
Anjali Koppal fc4787f7be Merge "Make FolderIcon.getFolder() public and add Folder.getContent()." into ub-now-mister-ugly 2014-03-13 00:21:52 +00:00
Baligh Uddin 5902be0b67 Import translations. DO NOT MERGE
Change-Id: Ie89bb39579db28c38425b05d1fa62cbcbf77696f
Auto-generated-cl: translation import
2014-03-12 12:44:33 -07:00
Baligh Uddin 441874b19d Import translations. DO NOT MERGE
Change-Id: I49d96e762bcf0c738d44b46faf5e8db20d005db5
Auto-generated-cl: translation import
2014-03-12 12:44:12 -07:00
Chris Wren 42c725fe68 enable launcher restore by default
shortcuts are wroking, widgets are todo

Bug: 10778992
Change-Id: I938b6d6ba5b68769628337955a17badaece1433f
2014-03-11 14:36:00 -04:00
Chris Wren 76336cfcd6 Merge "update promise icon status" into ub-now-mister-ugly 2014-03-11 17:48:42 +00:00
Chris Wren aeff7ea434 update promise icon status
also fix a crash in LauncherModel.DEBUG_LOADERS

Bug: 10778992
Change-Id: Iafc28c1e0c2f2a1283783a7ce27e181634b62993
2014-03-11 13:41:05 -04:00
Anjali Koppal f05545fcc2 Make FolderIcon.getFolder() public and add Folder.getContent().
Change-Id: I21ad8b8178acbde2759cd2dfcd015d91e00b7505
2014-03-10 19:18:43 -07:00
Jason Monk 9364986c83 Merge "Add support for uri favorites and resolve groups" into ub-now-mister-ugly 2014-03-10 18:29:38 +00:00
Dan Sandler bfbd52a5e6 am eac828e0: Merge "Don\'t lose icons when migrating from different-sized hotseats." into ub-now-lunchbox
* commit 'eac828e0fec7085d0d6b670d578eaaf36ae2e3ca':
  Don't lose icons when migrating from different-sized hotseats.
2014-03-07 13:09:03 -08:00
Dan Sandler eac828e0fe Merge "Don't lose icons when migrating from different-sized hotseats." into ub-now-lunchbox 2014-03-07 20:15:17 +00:00
Jason Monk 41314973b4 Add support for uri favorites and resolve groups
Adds support for new types in default_workspace xml files.

Adds support to favorite that attempts to resolve an intent specified
by URI. If a logical choice can be found from the resolve, it adds the
shortcut.

Adds support for a resolve, which contains several favorites and attempts
to add the shortcuts until one is successful.

Bug: 10547358
Change-Id: Ia30341e77e7d4a0bd4a4f4e6a3d9ce2a48a46237
2014-03-07 13:35:34 -05:00