Fix capitalized variable UserData

The variable userData was inappropriately capitalized.

Test: compiles
Change-Id: I87913ce3b1de92bc09748321a95853fceec260f3
This commit is contained in:
Bookatz
2019-12-04 16:53:08 -08:00
committed by Adam Bookatz
parent 8a9a9adaeb
commit 0999959500

View File

@@ -2257,14 +2257,14 @@ public class UserManagerService extends IUserManager.Stub {
return mContext.getResources().getString(com.android.internal.R.string.owner_name);
}
private void scheduleWriteUser(UserData UserData) {
private void scheduleWriteUser(UserData userData) {
if (DBG) {
debug("scheduleWriteUser");
}
// No need to wrap it within a lock -- worst case, we'll just post the same message
// twice.
if (!mHandler.hasMessages(WRITE_USER_MSG, UserData)) {
Message msg = mHandler.obtainMessage(WRITE_USER_MSG, UserData);
if (!mHandler.hasMessages(WRITE_USER_MSG, userData)) {
Message msg = mHandler.obtainMessage(WRITE_USER_MSG, userData);
mHandler.sendMessageDelayed(msg, WRITE_USER_DELAY);
}
}