Merge "Fix NPE in tethering startup"
This commit is contained in:
@@ -77,8 +77,8 @@ public class TetheringService extends Service {
|
|||||||
mLog.mark("onCreate");
|
mLog.mark("onCreate");
|
||||||
mDeps = getTetheringDependencies();
|
mDeps = getTetheringDependencies();
|
||||||
mContext = mDeps.getContext();
|
mContext = mDeps.getContext();
|
||||||
mTethering = makeTethering(mDeps);
|
|
||||||
mUserManager = (UserManager) mContext.getSystemService(Context.USER_SERVICE);
|
mUserManager = (UserManager) mContext.getSystemService(Context.USER_SERVICE);
|
||||||
|
mTethering = makeTethering(mDeps);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user