Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85081a4f authored by joshmccloskey's avatar joshmccloskey
Browse files

Remove highlighting for work profile

Test: Manual.
Fixes: 137126517
Change-Id: Iefcbf498cc0805cd130981e522177a7c16b7adfc
parent f461d8dc
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -31,6 +31,13 @@ public class FaceProfileStatusPreferenceController extends FaceStatusPreferenceC
        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
    protected boolean isUserSupported() {
        return mProfileChallengeUserId != UserHandle.USER_NULL