Skip to content

Commit 8c54182

Browse files
adampAndroid (Google) Code Review
authored andcommitted
Merge "Fix bug 5614962 - Constant spinning wheel in USB Mass Storage screen (UX)" into ics-mr1
2 parents 70bded0 + c992087 commit 8c54182

File tree

5 files changed

+2
-6
lines changed

5 files changed

+2
-6
lines changed

packages/SystemUI/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@
6767

6868

6969
<activity android:name=".usb.UsbStorageActivity"
70-
android:excludeFromRecents="true">
70+
android:label="@*android:string/usb_storage_activity_title"
71+
android:excludeFromRecents="true">
7172
</activity>
7273
<activity android:name="com.android.internal.app.ExternalMediaFormatActivity"
7374
android:theme="@*android:style/Theme.Dialog.Alert"
-202 Bytes
Loading
-57 Bytes
Loading
-785 Bytes
Loading

packages/SystemUI/src/com/android/systemui/usb/UsbStorageActivity.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,16 +114,11 @@ protected void onCreate(Bundle savedInstanceState) {
114114
thr.start();
115115
mAsyncStorageHandler = new Handler(thr.getLooper());
116116

117-
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
118-
setProgressBarIndeterminateVisibility(true);
119-
120117
getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
121118
if (Environment.isExternalStorageRemovable()) {
122119
getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
123120
}
124121

125-
setTitle(getString(com.android.internal.R.string.usb_storage_activity_title));
126-
127122
setContentView(com.android.internal.R.layout.usb_storage_activity);
128123

129124
mIcon = (ImageView) findViewById(com.android.internal.R.id.icon);

0 commit comments

Comments
 (0)