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

Commit 05cba994 authored by Chen Xu's avatar Chen Xu
Browse files

replace hidden Context APIs

Bug: 137202333
Test: Build & Unit test
Change-Id: I1c0e364949aa6b518c126224097774066e089a17
parent 3a5492c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -191,7 +191,7 @@ public final class SmsApplication {
     * @return
     */
    private static int getIncomingUserId(Context context) {
        int contextUserId = context.getUserId();
        int contextUserId = UserHandle.myUserId();
        final int callingUid = Binder.getCallingUid();
        if (DEBUG_MULTIUSER) {
            Log.i(LOG_TAG, "getIncomingUserHandle caller=" + callingUid + ", myuid="