Appease the monkey gods.
Bug: 6443925 Change-Id: Ia36a154d63763d7a3f826a80a5d1ae678b94208e
This commit is contained in:
@@ -761,6 +761,8 @@ public class ManageApplications extends Fragment implements
|
|||||||
void updateStorageUsage() {
|
void updateStorageUsage() {
|
||||||
// Fragment view not yet created?
|
// Fragment view not yet created?
|
||||||
if (mRootView == null) return;
|
if (mRootView == null) return;
|
||||||
|
// Make sure a callback didn't come at an inopportune time.
|
||||||
|
if (getActivity() == null) return;
|
||||||
|
|
||||||
if (mCurView == VIEW_RUNNING) {
|
if (mCurView == VIEW_RUNNING) {
|
||||||
return;
|
return;
|
||||||
@@ -942,8 +944,6 @@ public class ManageApplications extends Fragment implements
|
|||||||
@Override
|
@Override
|
||||||
public void onServiceConnected(ComponentName name, IBinder service) {
|
public void onServiceConnected(ComponentName name, IBinder service) {
|
||||||
mContainerService = IMediaContainerService.Stub.asInterface(service);
|
mContainerService = IMediaContainerService.Stub.asInterface(service);
|
||||||
// Make sure this callback didn't come at an inopportune time.
|
|
||||||
if (getActivity() == null) return;
|
|
||||||
updateStorageUsage();
|
updateStorageUsage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user