Remove highlighting for work profile
Test: Manual. Fixes: 137126517 Change-Id: Iefcbf498cc0805cd130981e522177a7c16b7adfc
This commit is contained in:
@@ -31,6 +31,13 @@ public class FaceProfileStatusPreferenceController extends FaceStatusPreferenceC
|
|||||||
super(context, KEY_FACE_SETTINGS);
|
super(context, KEY_FACE_SETTINGS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getAvailabilityStatus() {
|
||||||
|
// Make the profile unsearchable so the user preference controller gets highlighted
|
||||||
|
// when searched for.
|
||||||
|
return AVAILABLE_UNSEARCHABLE;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean isUserSupported() {
|
protected boolean isUserSupported() {
|
||||||
return mProfileChallengeUserId != UserHandle.USER_NULL
|
return mProfileChallengeUserId != UserHandle.USER_NULL
|
||||||
|
|||||||
Reference in New Issue
Block a user