summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/model
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-01-05 15:22:41 -0800
committerSunny Goyal <sunnygoyal@google.com>2017-01-11 13:06:50 -0800
commit3e9be43b6ea75c8b82b57aa58508a0c3e8e1d721 (patch)
treeb61ddf897843b437ea3776dbe151588ab2a663eb /src/com/android/launcher3/model
parent87f784c285fdeed9091a4de8b9b44db3eca677d8 (diff)
downloadandroid_packages_apps_Trebuchet-3e9be43b6ea75c8b82b57aa58508a0c3e8e1d721.tar.gz
android_packages_apps_Trebuchet-3e9be43b6ea75c8b82b57aa58508a0c3e8e1d721.tar.bz2
android_packages_apps_Trebuchet-3e9be43b6ea75c8b82b57aa58508a0c3e8e1d721.zip
No more LauncherActivityInfoCompat
Bug: 32745285 Change-Id: I00f13794d5dc0a2b1fe03ec74de36018f22eb386
Diffstat (limited to 'src/com/android/launcher3/model')
-rw-r--r--src/com/android/launcher3/model/LoaderCursor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher3/model/LoaderCursor.java b/src/com/android/launcher3/model/LoaderCursor.java
index 0dfb1c7ac..43e1bd611 100644
--- a/src/com/android/launcher3/model/LoaderCursor.java
+++ b/src/com/android/launcher3/model/LoaderCursor.java
@@ -21,6 +21,7 @@ import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.content.Intent.ShortcutIconResource;
+import android.content.pm.LauncherActivityInfo;
import android.database.Cursor;
import android.database.CursorWrapper;
import android.graphics.Bitmap;
@@ -39,7 +40,6 @@ import com.android.launcher3.LauncherSettings;
import com.android.launcher3.ShortcutInfo;
import com.android.launcher3.Utilities;
import com.android.launcher3.Workspace;
-import com.android.launcher3.compat.LauncherActivityInfoCompat;
import com.android.launcher3.compat.LauncherAppsCompat;
import com.android.launcher3.compat.UserManagerCompat;
import com.android.launcher3.config.FeatureFlags;
@@ -234,7 +234,7 @@ public class LoaderCursor extends CursorWrapper {
Intent newIntent = new Intent(Intent.ACTION_MAIN, null);
newIntent.addCategory(Intent.CATEGORY_LAUNCHER);
newIntent.setComponent(componentName);
- LauncherActivityInfoCompat lai = LauncherAppsCompat.getInstance(mContext)
+ LauncherActivityInfo lai = LauncherAppsCompat.getInstance(mContext)
.resolveActivity(newIntent, user);
if ((lai == null) && !allowMissingTarget) {
Log.d(TAG, "Missing activity found in getShortcutInfo: " + componentName);