summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-05-23 14:38:58 -0700
committerWinson Chung <winsonc@google.com>2011-05-23 14:40:01 -0700
commit4c5ac591f4c88203749a051cc9b7bce92e90abee (patch)
tree02d746458ccaefe2ce6f7cd4f3c5f2033442c0be
parent7d7207f6bca8584c28c8b0b6586f262e543f2d68 (diff)
downloadandroid_packages_apps_Trebuchet-4c5ac591f4c88203749a051cc9b7bce92e90abee.tar.gz
android_packages_apps_Trebuchet-4c5ac591f4c88203749a051cc9b7bce92e90abee.tar.bz2
android_packages_apps_Trebuchet-4c5ac591f4c88203749a051cc9b7bce92e90abee.zip
Disabling market button in Phone UI pending final design, updating hdpi generic market icon.
Change-Id: I19a0d15d011a47651cf8cd5cd8209bd16272d50f
-rw-r--r--res/drawable-hdpi/app_market_generic.pngbin924 -> 3891 bytes
-rw-r--r--src/com/android/launcher2/Launcher.java2
2 files changed, 1 insertions, 1 deletions
diff --git a/res/drawable-hdpi/app_market_generic.png b/res/drawable-hdpi/app_market_generic.png
index 2a2381f3c..117453c20 100644
--- a/res/drawable-hdpi/app_market_generic.png
+++ b/res/drawable-hdpi/app_market_generic.png
Binary files differ
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java
index 9dfed6945..4569eac90 100644
--- a/src/com/android/launcher2/Launcher.java
+++ b/src/com/android/launcher2/Launcher.java
@@ -3211,7 +3211,7 @@ public final class Launcher extends Activity
// Find the app market activity by resolving an intent.
// (If multiple app markets are installed, it will return the ResolverActivity.)
ComponentName activityName = intent.resolveActivity(getPackageManager());
- if (activityName != null) {
+ if (activityName != null && LauncherApplication.isScreenLarge()) {
mAppMarketIntent = intent;
sAppMarketIcon = updateTextButtonWithIconFromExternalActivity(
R.id.market_button, activityName, R.drawable.app_market_generic);