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

Commit 598b6927 authored by Sihua Ma's avatar Sihua Ma
Browse files

Increasing visibility of function getUserFlagOpLocked

Change the function visibility scope from 'private' to 'protected' for use in IconCache.java

Bug: 226132413
Test: N/A
Change-Id: Icef3b03a959fb52e4a703d2e75d3ee1b7710592c
parent 135ad32d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -311,7 +311,7 @@ public abstract class BaseIconCache {
        return mDefaultIcon.withFlags(getUserFlagOpLocked(user));
    }

    private FlagOp getUserFlagOpLocked(UserHandle user) {
    protected FlagOp getUserFlagOpLocked(UserHandle user) {
        int key = user.hashCode();
        int index;
        if ((index = mUserFlagOpMap.indexOfKey(key)) >= 0) {