Fixing small issue with widget divider showing in Phone UI and Shop text showing in other languages.
- Removing some unused assets
Change-Id: I40dec108b35ed4fcc769405446664e8180cb6d41
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java
index 7d2c741..bda5591 100644
--- a/src/com/android/launcher2/Launcher.java
+++ b/src/com/android/launcher2/Launcher.java
@@ -2846,7 +2846,7 @@
}
/**
- * Sets the app market icon (shown when all apps is visible on x-large screens)
+ * Sets the app market icon
*/
private void updateAppMarketIcon() {
final View marketButton = findViewById(R.id.market_button);
@@ -2859,6 +2859,11 @@
sAppMarketIcon = updateTextButtonWithIconFromExternalActivity(
R.id.market_button, activityName, R.drawable.app_market_generic);
marketButton.setVisibility(View.VISIBLE);
+
+ // Remove the shop icon text in the Phone UI
+ if (!LauncherApplication.isScreenLarge()) {
+ ((TextView) marketButton).setText("");
+ }
} else {
// We should hide and disable the view so that we don't try and restore the visibility
// of it when we swap between drag & normal states from IconDropTarget subclasses.