History log of /packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6a2c77856f1cfa402363cfbb04b5718b431bbc6e 02-Sep-2014 Jason Monk <jmonk@google.com> Add sdk version guard to UserManager use

Also switch call to getUserRestrictions to support back to JBMR2
with one call.

Bug: 17300500
Change-Id: I1205730e517c6670f6359a0d448458cae6e8a8d4
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
fe9da818cde4d8be9903ad6ff42c7248ad54d822 05-Aug-2014 Adam Cohen <adamcohen@google.com> Fix for issue 16736964

Change-Id: If150db98346fe10f62fc1160309b66d7a19e9022
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
950a467b180c78d3ce3bbe7b4a227a13d28b2536 15-Jul-2014 Jason Monk <jmonk@google.com> Don't show uninstall icon when user restricted

When the user can't uninstall apps from settings, also don't show
the icon to let them do it from here.

Change-Id: I3b203711630a4ff0ba4a5928667c9f09f9479aeb
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
651077bdd603bb182be039925fd17bdf0da15016 30-Jun-2014 Sunny Goyal <sunnygoyal@google.com> Adding app widget restore support in Launcher3 for android L

When the app is restored, it displays placeholders for all pending widgets.
These placeholders can be moved and removed similar to a widget (size is fixed
to what defined in backup). Once the system notifies the launcher of the new
widget ids, the place holders are replaced with actual widgets.

issue: 10779035

Change-Id: I68cbe4da01e9ca2978cb4471a7c645d2aa592055
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
d31df54073fbd80a9db9d277dde8c0e7421ffa14 30-Jun-2014 Kenny Guy <kennyguy@google.com> Include user handle for uninstall intents.

Add support for uninstalling apps from other profiles.

Bug: 14127299

Change-Id: I1a3724a45c95cf93b958d23a57829efcedfc4291
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
ed13187a745866483139e2878037e1f8427ce567 30-Apr-2014 Kenny Guy <kennyguy@google.com> Launcher3 multi-profile support

Use LauncherApps API and badging APIs instead of PackageManager.
With compatability layer that uses PackageManager pre L.

Adds support to show apps from current user and any managed profiles.

Background: Managed profiles are user sandboxes that are visible from
the primary user and can be launched as if they are a part of this user.
A launcher should now be capable of listing apps from this user as well
as related profiles of this user.

Launching of activities is now via the LauncherApps interface, to allow
for cross-profile app launching. Only activities with category LAUNCHER
can be added as a shortcut on the workspace for a managed profile.

Widgets and non-application shortcuts are only supported for the
current profile. Widgets from the managed profile are not available.

Change-Id: I5f396b1bf7f91ad91a5710ea4a0fd14573972eb9
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
16f3ea870aac47292cd6cbe1a4b4343173097aa9 10-Jan-2014 Nilesh Agrawal <nileshagrawal@google.com> Allow DISABLE_ALL_APPS to be set using a system property.

- Moving the property to LauncherAppState
- The property is only read on dogfood builds.

The property can be set using setprop or /data/local.prop

Change-Id: I14c7354efb12edb93f97e81687a6f920cc634e9a
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
dff0bfeb901e767ca9b57f9b8051c7fd077626e9 18-Dec-2013 Nilesh Agrawal <nileshagrawal@google.com> Do not allow duplicate shortcuts when ALL_APPS is disabled.

When DISABLE_ALL_APPS is true, we want to have only one shortcut for each activityexposed via the Application's manifest.
We ignore INSTALL_SHORTCUT broadcasts which have launch intents with ACTION_MAIN and CATEGORY_LAUNCHER.
Applications can still create shortcuts pointing to an already exposed component if they provide data or extras in the intent.

Change-Id: I0b05283ea6c522d197e0262c2997f7298e08740b
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
3ed4a4dd3dc77295579e8eaece294c30cf6831ef 03-Dec-2013 Michael Jurka <mikejurka@google.com> am 10a8935e: Merge "Use AsyncTasks instead of creating new threads" into jb-ub-now-jolly-elf

* commit '10a8935ef1fc8f073e276fddc85bf66513050c81':
Use AsyncTasks instead of creating new threads
1eeb3fc9d874d98dfb43883d17efb4202d83d88a 25-Nov-2013 Mathew Inwood <mathewi@google.com> Generalize support for 'App Info', 'Uninstall' and 'Delete'

This allows other DragSource's to allow this behaviour, instead of it being
tied to specific source types.

Change-Id: I06b7c39b1b34a0ae141245bcc13b6a0873a4c0fd
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
4346746ef37413168a5cbec46bb6db8f96b0123a 14-Nov-2013 Michael Jurka <mikejurka@google.com> Use AsyncTasks instead of creating new threads

Change-Id: If166869dfbeb84d4dee2203f5b98a22b9d20719d
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
addcba65e94a11af24028b792cd1a8e02d563938 10-Oct-2013 Michael Jurka <mikejurka@google.com> Change drop target to "uninstall" when in All Apps

Bug: 10909250
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
e01af631dc98fa3e97b01b4d3ac135cf7ca5917e 26-Sep-2013 Winson Chung <winsonc@google.com> Hiding delete for AppsCustomize widgets. (Bug 10884035)

Change-Id: I8bb4e94b34a627fc32f42cd9c22480b8fa45a651
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
c05d313e5adf67f29a4fa2a08f44ff9f53b3d6e4 16-Sep-2013 Michael Jurka <mikejurka@google.com> Merge "Solve fling-to-delete bug" into jb-ub-now-indigo-rose
5e7af5d790d54a7c2ec85e29b75a741962846b0f 14-Sep-2013 Michael Jurka <mikejurka@google.com> Fix issue with deleting in-app shortcuts

Also, don't show remove target for system apps
when dragging from All Apps

Bug: 10414133
Bug: 10635796
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
b605102cfd360d9f5d0f003aaf7839b5ebd176df 14-Sep-2013 Michael Jurka <mikejurka@google.com> Solve fling-to-delete bug

Delete target didn't hide after a fling because
onDragEnd was being called twice
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
ed3d4df1f5e9042742293e172c89b8cf273e969a 12-Sep-2013 Michael Jurka <mikejurka@google.com> Allow deleting folders and from all apps

Bug: 10635796
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
9bd4d28163e3872de9c9019528cbb570f504fe05 05-Sep-2013 Michael Jurka <mikejurka@google.com> If All Apps is reinstated, allowing removing items from Workspace
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
eadbfc564d84aaf1d800da3d0d6edf6312f89648 04-Sep-2013 Michael Jurka <mikejurka@google.com> Move wallpapers to external activity

Also renaming Launcher's ApplicationInfo to
AppInfo since ApplicationInfo is already a
framework class

Change-Id: Ib3e91d2ba4ace458d790a26c0ce850870fd3f146
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
f3007589e346df224d357b389069adfeb266545e 21-Aug-2013 Michael Jurka <mikejurka@google.com> Add logging for Folder drag issues

Drags out of Folders are getting lost, adding
debug code to see if the uninstall logic is
causing that

Also, fixing one potential cause of the issue

Change-Id: I0b6a91268571c2a9394e0d6f19fb9d324b427b51
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
24715c751513ea2b24058b8d1a1e5263f5c31607 09-Jul-2013 Michael Jurka <mikejurka@google.com> Small code formatting changes
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
1e2f465f46ded990ea30516cdb7f0fcf3280411f 09-Jul-2013 Michael Jurka <mikejurka@google.com> Implement ability to uninstall shortcuts from workspace

Change-Id: I14ca94ea719825c4de19ab85d67537155098d50c
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
e4f9891f01bdc10d8f96e4e2429e2f4d0558238b 25-Jun-2013 Daniel Sandler <dsandler@android.com> Lazily instantiate LauncherAppState.

The application context for LauncherAppState is supplied by
the application whenever it starts; don't ask for an
instance before that.

Change-Id: I1ca8ea04238a357a682f79250f08813ead7ae532
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
7c4c5108295db764ba091cc0ffd7af335a166449 15-Jun-2013 Adam Cohen <adamcohen@google.com> HACK: Fixing major persistence regression associated with extra screen to the left

-> Also adding ability to delete shortcuts.

Change-Id: I263baf813eae9089f11288494d575a99f0e859c3
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
cc8befac3550c81d04ea206c170adae36c9a6c93 11-Jun-2013 Daniel Sandler <dsandler@android.com> Move LauncherApplication's state and code to LauncherAppState.

This removes Launcher's static data and other state out of
the Application object. Now LauncherApplication (extends
Application) exists only to instantiate LauncherAppState.

Change-Id: I4e323bd78b77536b92054105536a55c0c2c19ba8
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
947dc5431981e40ffc8d687604f7777d35915034 07-Jun-2013 Adam Cohen <adamcohen@google.com> HACK: Getting rid of all apps button / all apps from AppsCustomizePagedView

Change-Id: I74e4a53e9486237ad246ebdfa9e97c6ed9475b58
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java
325dc23624160689e59fbac708cf6f222b20d025 06-Jun-2013 Daniel Sandler <dsandler@android.com> Launcher2 is now Launcher3.

Changes include
- moving from com.android.launcher{,2} to
com.android.launcher3
- removing wallpapers
- new temporary icon

Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
/packages/apps/Launcher3/src/com/android/launcher3/DeleteDropTarget.java