Commit Graph

150 Commits

Author SHA1 Message Date
Adam Cohen 3d50932a93 Fixing ConcurrentModificationException (issue 6619380)
Change-Id: I49d293a79a463d129e829f823d6b213f3d5ffcf4
2012-06-06 15:00:45 -07:00
Adam Cohen 06dff35763 Fixing issue where widgets could be inflated in wrong orientation (issue 6584646)
Change-Id: I24ea7f59345e8f62daf36c13cb43e1ab0180e805
2012-06-04 12:18:04 -07:00
Michael Jurka 9ad005639e Fix issue where Google Voice shortcuts would disappear
Bug: 6449123

Change-Id: I1d8c314ec954caf332d10be927d16ee45f325df8
2012-05-14 12:28:54 -07:00
Winson Chung 98e030be2a Fixing comment.
Change-Id: Iee4009746aa4e517aa9537fa3cf63949a8fffd25
2012-05-07 16:01:16 -07:00
Winson Chung 7fb9481d09 Merge "Further preventing drags while loading is in progress. (Bug 6276881)" into jb-dev 2012-05-07 15:58:50 -07:00
Winson Chung be365165ed Try and resolve the package name from the intent directly falling back to the resolved component name if it fails. (Bug 6452306)
Change-Id: Ifb2187fb845f807f30df966bf298ffde1b779b46
2012-05-07 11:11:52 -07:00
Winson Chung 36a62fe917 Further preventing drags while loading is in progress. (Bug 6276881)
Change-Id: I3fc9ad4cd3d71a8eba4e3bcc0a1b6346c59fbee5
2012-05-06 19:06:30 -07:00
Winson Chung 452b4db5ce Fixing NPE in LauncherModel (Bug 6449627)
Change-Id: I6e0040465e6bf9f65ad7c05af1f7ef7cf948a355
2012-05-06 16:52:17 -07:00
Winson Chung 2efec4e29f Fixing issue where items that were not yet added were not removed from the db. (Bug 6428418)
Change-Id: I8f76af1ccaa2bc5053f3e1f6606202310855aaae
2012-05-04 10:23:38 -07:00
Adam Cohen 2f093b6ad1 Fix widget resizes that shouldn't (issue 6380435)
Change-Id: Ia1da2df16ca184e6f451775597fa33ee38df6122
2012-04-30 18:59:53 -07:00
Winson Chung da954bb599 Merge "Fixing issue where shortcuts and widgets were not being removed when the package was uninstalled (Bug 2657997, Bug 6335843)" into jb-dev 2012-04-30 10:22:37 -07:00
Winson Chung 11a4937fbf Fixing issue where shortcuts and widgets were not being removed when the package was uninstalled (Bug 2657997, Bug 6335843)
- Also fixes issue if we are dragging a shortcut/widget and it is removed.
- Also exposes App Info for shortcuts and widgets

Change-Id: I3bd5056f50f20e8b277dde6456df26eac815bcde
2012-04-27 15:15:11 -07:00
Michael Jurka 968795679b Set FLAG_ACTIVITY_RESET_TASK_IF_NEEDED for all app shortcuts
Change-Id: I3a5cc205c24b1ec33f428e8d341a995e864f6a1d
2012-04-27 15:09:37 -07:00
Michael Jurka b85f8a44b5 Postpone loading default favorites
- postpone until Launcher activity is created
- gives setup wizard time to set flags before
we load the default workspace
2012-04-25 16:14:16 -07:00
Michael Jurka 3a9fcedbcd Fix warnings and remove dead code
Change-Id: I574d823fedf4b752c3df5a72599b390f708823ac
2012-04-13 14:52:51 -07:00
Adam Cohen bebf042666 Widget resizing can now displace items
Change-Id: I005c9aebf64b2d01debe59f86a208075d19476ea
2012-04-12 11:25:34 -07:00
Winson Chung f75547babb Merge "Changing order of binding to prevent errant flashing while loading workspace." 2012-04-04 10:03:39 -07:00
Winson Chung db8a8944ed Changing order of binding to prevent errant flashing while loading workspace.
Change-Id: I75eb39600d1cd28980fd0365affb2c6e5f7162c1
2012-04-03 14:09:13 -07:00
Winson Chung c208ff9c5d Adding workaround for issue where icon labels on workspace were loaded differently than those in AllApps. (Bug 5250760)
Change-Id: I9b6fc848befa1bcda84e97ccc9787faf5bda7a5f
2012-03-30 11:01:01 -07:00
Winson Chung f0c6ae0e35 Adding animation post-installing a shortcut.
Change-Id: I63bb3b713fab28a43e61333dd331dbf2d211faa7
2012-03-23 11:17:25 -07:00
Andrew Flynn 0dca1ec414 New small/large screen division for Launcher.
Previously the dp division between the two was set at 600dp
(7" tablets). This has now been bumped up to 720dp
(10" tablets).

Change-Id: I1f0419e504fc3bb606156c1cf6fbe03956274184
2012-02-29 17:30:37 -08:00
Michael Jurka 05bf644e37 Fix memory leak in Launcher
Leak happened when a stack view was on the
workspace and then workspace forced a rebind of
its items (for example, when an app was installed)

Bug # 5629171
2011-11-30 20:30:17 -08:00
Michael Jurka 92f3d46cf3 Clean up unused code and import declarations
Change-Id: If36fd2d99a51b07290b13f697b3ea08d31feb023
2011-11-28 10:51:22 -08:00
Adam Cohen d919882006 Prevent the creation of Shorcuts with null intents (issue 5629292)
Change-Id: I54fbad2d4af27c6d8fc0d79c33e890298a3db4dc
2011-11-22 16:51:26 -08:00
Adam Cohen 00fcb49a4c Ensuring disabled apps don't appear in workspace (issue: 5557311)
Change-Id: I4a016b200945779f6e73b9c9d1c2a13c2b0fdef9
2011-11-07 11:13:19 -08:00
Reena Lee 99a73f31b7 Updated bug fix for Launcher reloading on mcc update.
Store the previousConfig's mcc value only instead of configuration object.
The mPreviousConfig object was a reference to the same object ResourceManager
was using, which can change by the time LauncherModel gets the intent for
ACTION_CONFIGURATION_CHANGED.
This was causing Launcher to not reload all apps as the currentConfig and previousConfig always matched.

Bug 5040470

Change-Id: Ie7102cc233177e05cb0e0e2ae4240309c16ebf66
2011-10-24 17:37:11 -07:00
Reena Lee 93f824ac2f Listen for ACTION_CONFIGURATION_CHANGED for an mcc change to reload AllApps
Bug 5040470

Reload all apps in Launcher on ACTION_CONFIGURATION_CHANGED
if the config change was due to an mcc change. App icon labels
such as Gmail/GoogleMail may have mcc-based resources so must be
reloaded if the mcc has changed.

Change-Id: I02e48f9cebb73950cc563a902df850ae0db0a98f
2011-10-17 14:25:33 -07:00
Adam Cohen 16d7ffc5d5 Adding some dump() logging regarding deleted widgets
Change-Id: Ia11cc27267d06d57e0e16bfabe3b5076481058e5
2011-10-05 17:51:48 -07:00
Winson Chung e61e93e56f Reverting change to load workspace items in reverse order. (5290651)
Change-Id: I6bc5e4ccac12a5a1098721eccb0d6ccede699b42
2011-09-12 11:00:15 -07:00
Winson Chung 3994035966 Merge "Bug Fixing" 2011-09-08 17:27:13 -07:00
Winson Chung 7ed3774638 Bug Fixing
- Setting loader thread priority to default after loading to help rotation time (5264039, more work to be done here potentially)
- Fixing regression in missing background gradient for hotseat
- Removing the old cupcake gallery item bg, new bg assets coming soon (5160311)
- Defering showing the AppsCustomize tab bar until we request layout to help a little with the flashing

Change-Id: I8c4981435f684363be951696986b7ab1b71956eb
2011-09-08 15:48:58 -07:00
Michael Jurka 79e580225e Merge "Cleaning up LauncherModel" 2011-09-07 16:59:40 -07:00
Michael Jurka c9d95c5897 Cleaning up LauncherModel
- performing all DB operations immediately if called from worker thread (a previous change that did this in updateItemInDatabase fixed an outstanding bug)
- centralizing logic to do database updates
- removing old logging code

Change-Id: Idc7bfef3921828ff7c5492b8e996c0a07e1ec508
2011-09-07 16:59:07 -07:00
Winson Chung 36f9736cd3 Loading the workspace favourites in reverse order to work around duplicate issue. (5208427)
Change-Id: I87dee7a9aab345740f51d8168c6b073a93e20652
2011-09-07 11:22:04 -07:00
Winson Chung e05b381c55 Merge "Prevent accessing LauncherModel data structures on main thread. (5220358)" 2011-09-03 12:07:56 -07:00
Winson Chung 603bcb91a0 Prevent accessing LauncherModel data structures on main thread. (5220358)
Change-Id: Ib9de96abb0ab13ef63b9c594f6982368fd1b614f
2011-09-02 17:07:46 -07:00
Winson Chung 6ba2a1b6e7 Fixing incorrect test of occupied state for items in the hotseat. (5208427)
Change-Id: Iee78e6be21389314210ef3c60c557a78b43f8021
2011-09-02 16:22:51 -07:00
Michael Jurka 83df188ce0 Execute update operations immediately if on right thread
- Potential fix to bug 5205131

Change-Id: Iae302f81e4c8f5c07dc4363b3bb9ef298a33faf4
2011-08-31 20:59:26 -07:00
Michael Jurka b60fd0eafb Tagging where ItemInfos are created for debug purposes
Change-Id: Iad3ed8ef4f81f4990c027ab46fd25b03b089babb
2011-08-29 14:23:30 -07:00
Michael Jurka ec9788e681 Fix crash when package list is updated
bug# 5224498

Change-Id: I8953589c21e97fee3f5c3b95fb4a46beb39562b3
2011-08-29 11:24:45 -07:00
Winson Chung c22a54d426 Tweaking the logging in the fail case, adding additional cases for where the db icon cache should be updated. (5205131)
Change-Id: If5bf8d959ba9af40dbe8c13e6ed352a345e1679a
2011-08-25 13:53:35 -07:00
Adam Cohen 536f7db06c Merge "Adding null check to prevent crash when factory resetting device. (5214968)" 2011-08-25 13:14:04 -07:00
Winson Chung cfdf7ee64d Adding null check to prevent crash when factory resetting device. (5214968)
Change-Id: I514a17bdf097c6df17cacbe6d3aa59d427bc713b
2011-08-25 11:38:56 -07:00
Winson Chung b1094bd963 Updating db icon cache when item id cache gets updated. (5205131)
- Also adding additional debugging information

Change-Id: If3372753fb20fecfa97e7d6ba7f72484ab437795
2011-08-24 16:17:03 -07:00
Winson Chung cbf7c4d50c Hiding search bar buttons when qsb is disabled. (5187969, 5201453)
Change-Id: I23cbfac5c1a8f96eb8158fd30a1fb335b044d49c
2011-08-23 14:58:00 -07:00
Winson Chung 30a22f32b0 Merge "Fixing label cache issue due to different ResolveInfos being returned in different parts of loading, saves 1-10% on AllApps load. (5042022)" 2011-08-19 10:20:26 -07:00
Winson Chung aac01e1073 Deferring testing of loaded icons against db icons, saves between 15-30% on workspace load. (5042022)
Change-Id: I016248f6779851390df1bf0a23199d0aecc032d1
2011-08-18 12:18:47 -07:00
Winson Chung 5308f24d4b Fixing label cache issue due to different ResolveInfos being returned in different parts of loading, saves 1-10% on AllApps load. (5042022)
Change-Id: I17166bd6a50858ff76c475688fff9a9eaeba6010
2011-08-18 12:15:28 -07:00
Michael Jurka c57b7a8233 Adding a progress bar while All Apps is loading
- also, removing some unused imports

Change-Id: Icf46beb9fa9d89bc06cba33c148ceb7d668cd402
2011-08-09 22:36:01 -07:00
Winson Chung f30ad5f1bf Making hotseat a fiver.
Change-Id: I18737692a115f8fd77c6feb3062f4bfeca3506ae
2011-08-08 14:05:51 -07:00