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

Commit c53014cb authored by Yuncheol Heo's avatar Yuncheol Heo Committed by Android (Google) Code Review
Browse files

Merge "Gets the userId from Context for AccessibilityManager in ToastPresenter." into rvc-dev

parents ce6e7ba1 a3ad5576
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -27,7 +27,6 @@ import android.content.res.Resources;
import android.graphics.PixelFormat;
import android.os.IBinder;
import android.os.RemoteException;
import android.os.UserHandle;
import android.util.Log;
import android.view.Gravity;
import android.view.LayoutInflater;
@@ -90,7 +89,7 @@ public class ToastPresenter {
        //      context to it. This is problematic for multi-user because callers can pass a context
        //      created via Context.createContextAsUser().
        mAccessibilityManager = new AccessibilityManager(context, accessibilityManager,
                UserHandle.getCallingUserId());
                context.getUserId());

        mParams = createLayoutParams();
    }