Merge "Check when trust agents do not declare a settings activity." into qt-dev
am: 782e511f49
Change-Id: I1cdefb5ea5017ebf5e084421210841671356a751
This commit is contained in:
@@ -518,8 +518,11 @@ public class TrustManagerService extends SystemService {
|
|||||||
agentInfo = mActiveAgents.valueAt(index);
|
agentInfo = mActiveAgents.valueAt(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean directUnlock = resolveInfo.serviceInfo.directBootAware
|
boolean directUnlock = false;
|
||||||
&& agentInfo.settings.canUnlockProfile;
|
if (agentInfo.settings != null) {
|
||||||
|
directUnlock = resolveInfo.serviceInfo.directBootAware
|
||||||
|
&& agentInfo.settings.canUnlockProfile;
|
||||||
|
}
|
||||||
|
|
||||||
if (directUnlock) {
|
if (directUnlock) {
|
||||||
if (DEBUG) Slog.d(TAG, "refreshAgentList: trustagent " + name
|
if (DEBUG) Slog.d(TAG, "refreshAgentList: trustagent " + name
|
||||||
|
|||||||
Reference in New Issue
Block a user