* commit '33a5c80773b7b2913c92fec170787499a453d184': Revert "Disable fingerprint when remotely reset by DPM"
This commit is contained in:
@@ -611,7 +611,6 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener {
|
|||||||
|
|
||||||
private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() {
|
private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() {
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onReceive(Context context, Intent intent) {
|
public void onReceive(Context context, Intent intent) {
|
||||||
final String action = intent.getAction();
|
final String action = intent.getAction();
|
||||||
if (DEBUG) Log.d(TAG, "received broadcast " + action);
|
if (DEBUG) Log.d(TAG, "received broadcast " + action);
|
||||||
@@ -665,7 +664,6 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener {
|
|||||||
|
|
||||||
private final BroadcastReceiver mBroadcastAllReceiver = new BroadcastReceiver() {
|
private final BroadcastReceiver mBroadcastAllReceiver = new BroadcastReceiver() {
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onReceive(Context context, Intent intent) {
|
public void onReceive(Context context, Intent intent) {
|
||||||
final String action = intent.getAction();
|
final String action = intent.getAction();
|
||||||
if (AlarmManager.ACTION_NEXT_ALARM_CLOCK_CHANGED.equals(action)) {
|
if (AlarmManager.ACTION_NEXT_ALARM_CLOCK_CHANGED.equals(action)) {
|
||||||
@@ -791,7 +789,6 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener {
|
|||||||
return new SimData(state, slotId, subId);
|
return new SimData(state, slotId, subId);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "SimData{state=" + simState + ",slotId=" + slotId + ",subId=" + subId + "}";
|
return "SimData{state=" + simState + ",slotId=" + slotId + ",subId=" + subId + "}";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -579,14 +579,8 @@ public class TrustManagerService extends SystemService {
|
|||||||
private void clearUserHasAuthenticated(int userId) {
|
private void clearUserHasAuthenticated(int userId) {
|
||||||
if (userId == UserHandle.USER_ALL) {
|
if (userId == UserHandle.USER_ALL) {
|
||||||
mUserHasAuthenticated.clear();
|
mUserHasAuthenticated.clear();
|
||||||
synchronized (mUserHasAuthenticatedSinceBoot) {
|
|
||||||
mUserHasAuthenticatedSinceBoot.clear();
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
mUserHasAuthenticated.put(userId, false);
|
mUserHasAuthenticated.put(userId, false);
|
||||||
synchronized (mUserHasAuthenticatedSinceBoot) {
|
|
||||||
mUserHasAuthenticatedSinceBoot.put(userId, false);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user