summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/usb
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2011-11-17 17:59:43 -0800
committerAdam Powell <adamp@google.com>2011-11-17 18:01:07 -0800
commitc992087d09363d61f68af2f24342003b97ba48be (patch)
tree039904949fca7b11c6c1abc1fe000dada37a3125 /packages/SystemUI/src/com/android/systemui/usb
parentde8c5ec88982b836b2c50d4f685f4e05b29bdd0d (diff)
downloadframeworks_base-c992087d09363d61f68af2f24342003b97ba48be.zip
frameworks_base-c992087d09363d61f68af2f24342003b97ba48be.tar.gz
frameworks_base-c992087d09363d61f68af2f24342003b97ba48be.tar.bz2
Fix bug 5614962 - Constant spinning wheel in USB Mass Storage screen (UX)
Disable the window-level progress spinner; another is already shown while connecting. Use the correct Settings icon for SystemUI. Specify the activity title for the USB mass storage screen in the manifest to avoid title flashing during startup. Change-Id: Ic57af56bf1661a5eaa91fff77471dc8447340d16
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/usb')
-rw-r--r--packages/SystemUI/src/com/android/systemui/usb/UsbStorageActivity.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/usb/UsbStorageActivity.java b/packages/SystemUI/src/com/android/systemui/usb/UsbStorageActivity.java
index 43dfb96..e61ef8a 100644
--- a/packages/SystemUI/src/com/android/systemui/usb/UsbStorageActivity.java
+++ b/packages/SystemUI/src/com/android/systemui/usb/UsbStorageActivity.java
@@ -114,16 +114,11 @@ public class UsbStorageActivity extends Activity
thr.start();
mAsyncStorageHandler = new Handler(thr.getLooper());
- requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
- setProgressBarIndeterminateVisibility(true);
-
getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
if (Environment.isExternalStorageRemovable()) {
getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
}
- setTitle(getString(com.android.internal.R.string.usb_storage_activity_title));
-
setContentView(com.android.internal.R.layout.usb_storage_activity);
mIcon = (ImageView) findViewById(com.android.internal.R.id.icon);