diff options
author | Mario Bertschler <bmario@google.com> | 2017-02-17 12:16:13 -0800 |
---|---|---|
committer | Mario Bertschler <bmario@google.com> | 2017-03-03 13:05:57 -0800 |
commit | 0fc6f684e730b0137900fe317f2c759c1b3909c7 (patch) | |
tree | 05b8a9aa9863127e6f9728c13a71968c9e5ab1c6 /src/com/android/launcher3/AppInfo.java | |
parent | 74480b7bca8451eaea64236cb4b4c8e31def6b9b (diff) | |
download | packages_apps_Trebuchet-0fc6f684e730b0137900fe317f2c759c1b3909c7.tar.gz packages_apps_Trebuchet-0fc6f684e730b0137900fe317f2c759c1b3909c7.tar.bz2 packages_apps_Trebuchet-0fc6f684e730b0137900fe317f2c759c1b3909c7.zip |
App discovery integration in All Apps search
This is the basis for app discovery integration while searching in all apps.
This does NOT include binding to the actual service and retrieving results,
but instead provides all the UI to show suggested instant apps and apps
from a store with star rating and pricing.
Change-Id: I1605b52848491acee4ac1d15c0112e6a768363f6
Diffstat (limited to 'src/com/android/launcher3/AppInfo.java')
-rw-r--r-- | src/com/android/launcher3/AppInfo.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/com/android/launcher3/AppInfo.java b/src/com/android/launcher3/AppInfo.java index 8bf49c27e..0ddde73c5 100644 --- a/src/com/android/launcher3/AppInfo.java +++ b/src/com/android/launcher3/AppInfo.java @@ -21,14 +21,11 @@ import android.content.Context; import android.content.Intent; import android.content.pm.LauncherActivityInfo; import android.os.UserHandle; -import android.util.Log; import com.android.launcher3.compat.UserManagerCompat; import com.android.launcher3.util.ComponentKey; import com.android.launcher3.util.PackageManagerHelper; -import java.util.ArrayList; - /** * Represents an app in AllAppsView. */ @@ -44,7 +41,7 @@ public class AppInfo extends ItemInfoWithIcon { /** * {@see ShortcutInfo#isDisabled} */ - int isDisabled = ShortcutInfo.DEFAULT; + public int isDisabled = ShortcutInfo.DEFAULT; public AppInfo() { itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_SHORTCUT; @@ -83,7 +80,6 @@ public class AppInfo extends ItemInfoWithIcon { title = Utilities.trim(info.title); intent = new Intent(info.intent); isDisabled = info.isDisabled; - iconBitmap = info.iconBitmap; } @Override |