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

Commit 169126bf authored by John Spurlock's avatar John Spurlock
Browse files

Revert workaround for network limit dialog.

Restore the window type now that it no longer crashes.

This reverts https://googleplex-android-review.git.corp.google.com/#/c/527371/

Bug:17102499
Change-Id: Ifb93a959a693b5925712ae82192c80790b6aefb1
parent 3eccbc27
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ import android.os.Bundle;
import android.os.RemoteException;
import android.os.ServiceManager;
import android.util.Log;
import android.view.WindowManager;

import com.android.systemui.R;

@@ -62,6 +63,7 @@ public class NetworkOverLimitActivity extends Activity {
                });

        final Dialog dialog = builder.create();
        dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
        dialog.setOnDismissListener(new DialogInterface.OnDismissListener() {
            public void onDismiss(DialogInterface dialog) {
                finish();