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

Commit c03720b8 authored by narinder Rana's avatar narinder Rana
Browse files

build Error fix : AlertDialog

parent ef5058cf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ import com.android.documentsui.prefs.ScopedAccessLocalPreferences;
import com.android.documentsui.queries.SearchHistoryManager;
import com.android.documentsui.roots.ProvidersCache;
import com.android.documentsui.theme.ThemeOverlayManager;
import android.support.v7.app.AppCompatDelegate;
//import android.support.v7.app.AppCompatDelegate;

public class DocumentsApplication extends Application {
    private static final String TAG = "DocumentsApplication";
@@ -94,7 +94,7 @@ public class DocumentsApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
      //  AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
        final ActivityManager am = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);
        final OverlayManager om = getSystemService(OverlayManager.class);
        final int memoryClassBytes = am.getMemoryClass() * 1024 * 1024;
+2 −0
Original line number Diff line number Diff line
@@ -39,6 +39,8 @@ import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.util.ArrayList;

import android.app.AlertDialog;

/**
 * Alert dialog for operation dialogs.
 */
+2 −0
Original line number Diff line number Diff line
@@ -37,6 +37,8 @@ import com.android.documentsui.base.Shared;

import com.google.android.material.dialog.MaterialAlertDialogBuilder;

import android.app.AlertDialog;

/**
 * Used to confirm with user that it's OK to overwrite an existing file.
 */