OSDN Git Service
(root)
/
android-x86
/
packages-apps-Settings.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1da7221
)
Fix build.
author
Jason Monk
<jmonk@google.com>
Thu, 21 Jan 2016 19:15:46 +0000
(14:15 -0500)
committer
Jason Monk
<jmonk@google.com>
Thu, 21 Jan 2016 19:15:46 +0000
(14:15 -0500)
Change-Id: I43201fc9bb989d3f490ba26cb93956878745e366
src/com/android/settings/ChooseLockGeneric.java
patch
|
blob
|
history
diff --git
a/src/com/android/settings/ChooseLockGeneric.java
b/src/com/android/settings/ChooseLockGeneric.java
index
56c53d3
..
1c34c85
100644
(file)
--- a/
src/com/android/settings/ChooseLockGeneric.java
+++ b/
src/com/android/settings/ChooseLockGeneric.java
@@
-316,7
+316,8
@@
public class ChooseLockGeneric extends SettingsActivity {
}
private String getKeyForCurrent() {
- final int credentialOwner = mUserManager.getCredentialOwnerProfile(mUserId);
+ final int credentialOwner = UserManager.get(getContext())
+ .getCredentialOwnerProfile(mUserId);
if (mLockPatternUtils.isLockScreenDisabled(credentialOwner)) {
return KEY_UNLOCK_SET_OFF;
}