Loading packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java +8 −0 Original line number Diff line number Diff line Loading @@ -49,6 +49,7 @@ import android.os.IBinder; import android.os.Message; import android.os.RemoteException; import android.os.ServiceManager; import android.os.storage.StorageManager; import android.provider.Settings; import android.text.TextUtils; import android.util.Slog; Loading Loading @@ -199,6 +200,8 @@ public class TabletStatusBar extends StatusBar implements public Context getContext() { return mContext; } private StorageManager mStorageManager; protected void addPanelWindows() { final Context context = mContext; final Resources res = mContext.getResources(); Loading @@ -220,6 +223,11 @@ public class TabletStatusBar extends StatusBar implements mBluetoothController.addIconView( (ImageView)mNotificationPanel.findViewById(R.id.bluetooth)); // storage mStorageManager = (StorageManager) context.getSystemService(Context.STORAGE_SERVICE); mStorageManager.registerListener( new com.android.systemui.usb.StorageNotification(context)); // network icons: either a combo icon that switches between mobile and data, or distinct // mobile and data icons final ImageView comboRSSI = Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java +8 −0 Original line number Diff line number Diff line Loading @@ -49,6 +49,7 @@ import android.os.IBinder; import android.os.Message; import android.os.RemoteException; import android.os.ServiceManager; import android.os.storage.StorageManager; import android.provider.Settings; import android.text.TextUtils; import android.util.Slog; Loading Loading @@ -199,6 +200,8 @@ public class TabletStatusBar extends StatusBar implements public Context getContext() { return mContext; } private StorageManager mStorageManager; protected void addPanelWindows() { final Context context = mContext; final Resources res = mContext.getResources(); Loading @@ -220,6 +223,11 @@ public class TabletStatusBar extends StatusBar implements mBluetoothController.addIconView( (ImageView)mNotificationPanel.findViewById(R.id.bluetooth)); // storage mStorageManager = (StorageManager) context.getSystemService(Context.STORAGE_SERVICE); mStorageManager.registerListener( new com.android.systemui.usb.StorageNotification(context)); // network icons: either a combo icon that switches between mobile and data, or distinct // mobile and data icons final ImageView comboRSSI = Loading