Merge changes I1aabef01,I8dbd0f83
* changes: SystemServer: Move MountService startup before NotificationManagerService StorageManager: Check for a null MountService
This commit is contained in:
@@ -254,6 +254,10 @@ public class StorageManager
|
||||
*/
|
||||
public StorageManager(Looper tgtLooper) throws RemoteException {
|
||||
mMountService = IMountService.Stub.asInterface(ServiceManager.getService("mount"));
|
||||
if (mMountService == null) {
|
||||
Log.e(TAG, "Unable to connect to mount service! - is it running yet?");
|
||||
return;
|
||||
}
|
||||
mTgtLooper = tgtLooper;
|
||||
mBinderListener = new MountServiceBinderListener();
|
||||
mMountService.registerListener(mBinderListener);
|
||||
|
||||
Reference in New Issue
Block a user