diff options
author | John Spurlock <jspurlock@google.com> | 2013-06-12 12:41:00 -0400 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2013-06-12 14:50:47 -0400 |
commit | de84f0e77ea2bf713d15c290264059a413c2486a (patch) | |
tree | 34515d739545ab771ddf32f83d4b75bf38648a0d /packages/SystemUI/src/com/android/systemui/usb | |
parent | 43cfbed80ca8fc7f7f7f99c08d7a8f4aa20b6f85 (diff) | |
download | frameworks_base-de84f0e77ea2bf713d15c290264059a413c2486a.zip frameworks_base-de84f0e77ea2bf713d15c290264059a413c2486a.tar.gz frameworks_base-de84f0e77ea2bf713d15c290264059a413c2486a.tar.bz2 |
Organize the imports in systemui.
To follow android conventions, more importantly to remove the
unused.
Change-Id: I75881718e84360a579a3b02c26489ad250bc9227
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/usb')
4 files changed, 12 insertions, 24 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/usb/UsbAccessoryUriActivity.java b/packages/SystemUI/src/com/android/systemui/usb/UsbAccessoryUriActivity.java index ff06630..b5f98ad 100644 --- a/packages/SystemUI/src/com/android/systemui/usb/UsbAccessoryUriActivity.java +++ b/packages/SystemUI/src/com/android/systemui/usb/UsbAccessoryUriActivity.java @@ -16,22 +16,19 @@ package com.android.systemui.usb; -import android.app.Activity; import android.app.AlertDialog; import android.content.ActivityNotFoundException; -import android.content.Context; import android.content.DialogInterface; import android.content.Intent; -import android.net.Uri; import android.hardware.usb.UsbAccessory; import android.hardware.usb.UsbManager; +import android.net.Uri; import android.os.Bundle; import android.os.UserHandle; import android.util.Log; import com.android.internal.app.AlertActivity; import com.android.internal.app.AlertController; - import com.android.systemui.R; /** diff --git a/packages/SystemUI/src/com/android/systemui/usb/UsbDebuggingActivity.java b/packages/SystemUI/src/com/android/systemui/usb/UsbDebuggingActivity.java index 2c25236..7abfc88 100644 --- a/packages/SystemUI/src/com/android/systemui/usb/UsbDebuggingActivity.java +++ b/packages/SystemUI/src/com/android/systemui/usb/UsbDebuggingActivity.java @@ -23,9 +23,7 @@ import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; -import android.graphics.Typeface; import android.hardware.usb.IUsbManager; -import android.hardware.usb.UsbDevice; import android.hardware.usb.UsbManager; import android.os.Bundle; import android.os.IBinder; @@ -35,12 +33,9 @@ import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.widget.CheckBox; -import android.widget.LinearLayout; -import android.widget.TextView; import com.android.internal.app.AlertActivity; import com.android.internal.app.AlertController; - import com.android.systemui.R; public class UsbDebuggingActivity extends AlertActivity diff --git a/packages/SystemUI/src/com/android/systemui/usb/UsbPermissionActivity.java b/packages/SystemUI/src/com/android/systemui/usb/UsbPermissionActivity.java index 6e88d0d..1e69fc5 100644 --- a/packages/SystemUI/src/com/android/systemui/usb/UsbPermissionActivity.java +++ b/packages/SystemUI/src/com/android/systemui/usb/UsbPermissionActivity.java @@ -16,7 +16,6 @@ package com.android.systemui.usb; -import android.app.Activity; import android.app.AlertDialog; import android.app.PendingIntent; import android.content.Context; @@ -25,8 +24,8 @@ import android.content.Intent; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.hardware.usb.IUsbManager; -import android.hardware.usb.UsbDevice; import android.hardware.usb.UsbAccessory; +import android.hardware.usb.UsbDevice; import android.hardware.usb.UsbManager; import android.os.Bundle; import android.os.IBinder; @@ -42,7 +41,6 @@ import android.widget.TextView; import com.android.internal.app.AlertActivity; import com.android.internal.app.AlertController; - import com.android.systemui.R; public class UsbPermissionActivity extends AlertActivity diff --git a/packages/SystemUI/src/com/android/systemui/usb/UsbStorageActivity.java b/packages/SystemUI/src/com/android/systemui/usb/UsbStorageActivity.java index e61ef8a..65315f3 100644 --- a/packages/SystemUI/src/com/android/systemui/usb/UsbStorageActivity.java +++ b/packages/SystemUI/src/com/android/systemui/usb/UsbStorageActivity.java @@ -16,7 +16,6 @@ package com.android.systemui.usb; -import com.android.internal.R; import android.app.Activity; import android.app.ActivityManager; import android.app.AlertDialog; @@ -24,31 +23,30 @@ import android.app.Dialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; +import android.content.DialogInterface.OnCancelListener; import android.content.Intent; import android.content.IntentFilter; -import android.content.DialogInterface.OnCancelListener; import android.content.pm.ApplicationInfo; -import android.content.pm.PackageManager; -import android.content.pm.PackageManager.NameNotFoundException; import android.hardware.usb.UsbManager; import android.os.Bundle; import android.os.Environment; import android.os.Handler; import android.os.HandlerThread; import android.os.IBinder; -import android.os.storage.IMountService; -import android.os.storage.StorageManager; -import android.os.storage.StorageEventListener; import android.os.RemoteException; import android.os.ServiceManager; -import android.widget.ImageView; +import android.os.storage.IMountService; +import android.os.storage.StorageEventListener; +import android.os.storage.StorageManager; +import android.util.Log; +import android.view.View; +import android.view.WindowManager; import android.widget.Button; +import android.widget.ImageView; import android.widget.ProgressBar; import android.widget.TextView; -import android.view.View; -import android.view.Window; -import android.view.WindowManager; -import android.util.Log; + +import com.android.internal.R; import java.util.List; |