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

Commit 3348312d authored by Mayank Garg's avatar Mayank Garg Committed by android-build-merger
Browse files

Car user switching dialog taking more than 3 seconds am: 3629c607

am: b38ca0ad

Change-Id: I7e075de565860e4c34b21c24d08bdfdc923206cd
parents 526acdc9 b38ca0ad
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@ import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.android.internal.R;


@@ -65,7 +66,9 @@ final class CarUserSwitchingDialog extends UserSwitchingDialog {
        setCancelable(false);
        Resources res = getContext().getResources();
        // Custom view due to alignment and font size requirements
        getContext().setTheme(R.style.Theme_DeviceDefault_Light_Dialog_Alert_UserSwitchingDialog);
        // TODO (b/145021634): disabled because it's delaying user switch by 3 seconds
        // getContext()
        // .setTheme(R.style.Theme_DeviceDefault_Light_Dialog_Alert_UserSwitchingDialog);
        View view = LayoutInflater.from(getContext()).inflate(
                R.layout.car_user_switching_dialog,
                null);