Loading packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java +8 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,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.Pair; Loading Loading @@ -203,6 +204,8 @@ public class TabletStatusBar extends BaseStatusBar implements public Context getContext() { return mContext; } private StorageManager mStorageManager; private Runnable mShowSearchPanel = new Runnable() { public void run() { showSearchPanel(); Loading Loading @@ -295,6 +298,11 @@ public class TabletStatusBar extends BaseStatusBar 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 mobileRSSI = Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java +8 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,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.Pair; Loading Loading @@ -203,6 +204,8 @@ public class TabletStatusBar extends BaseStatusBar implements public Context getContext() { return mContext; } private StorageManager mStorageManager; private Runnable mShowSearchPanel = new Runnable() { public void run() { showSearchPanel(); Loading Loading @@ -295,6 +298,11 @@ public class TabletStatusBar extends BaseStatusBar 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 mobileRSSI = Loading