Merge "Fix bug 5614962 - Constant spinning wheel in USB Mass Storage screen (UX)" into ics-mr1
This commit is contained in:
@ -67,7 +67,8 @@
|
||||
|
||||
|
||||
<activity android:name=".usb.UsbStorageActivity"
|
||||
android:excludeFromRecents="true">
|
||||
android:label="@*android:string/usb_storage_activity_title"
|
||||
android:excludeFromRecents="true">
|
||||
</activity>
|
||||
<activity android:name="com.android.internal.app.ExternalMediaFormatActivity"
|
||||
android:theme="@*android:style/Theme.Dialog.Alert"
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 11 KiB |
@ -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);
|
||||
|
Reference in New Issue
Block a user