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

Commit 3ed624fb authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix TetheredClient callback fail in InProcessTethering"

parents 79ce2903 de20bb0e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2104,7 +2104,7 @@ public class Tethering {
    }

    private boolean hasCallingPermission(@NonNull String permission) {
        return mContext.checkCallingPermission(permission) == PERMISSION_GRANTED;
        return mContext.checkCallingOrSelfPermission(permission) == PERMISSION_GRANTED;
    }

    /** Unregister tethering event callback */