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

Commit b189b04c authored by Sunny Shao's avatar Sunny Shao
Browse files

Add page id enum of dialog under Open by default page

- Add SettingsEnums.PROGRESS_DIALOG
- Add SettingsEnums.SUPPORTED_LINKS_DIALOG

Fixes: 260073786
Fixes: 260073725
Test: compilation
Change-Id: I060025c72a4c03dde1f9be5fa3215fceb98779cd
parent b9dc6ded
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package com.android.settings.applications.intentpicker;
import static android.content.pm.verify.domain.DomainVerificationUserState.DOMAIN_STATE_NONE;

import android.app.Dialog;
import android.app.settings.SettingsEnums;
import android.content.Context;
import android.content.DialogInterface;
import android.content.pm.verify.domain.DomainOwner;
@@ -113,7 +114,7 @@ public class ProgressDialogFragment extends InstrumentedDialogFragment {

    @Override
    public int getMetricsCategory() {
        return 0;
        return SettingsEnums.PROGRESS_DIALOG;
    }

    /**
+2 −1
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package com.android.settings.applications.intentpicker;

import android.app.Dialog;
import android.app.settings.SettingsEnums;
import android.content.Context;
import android.content.pm.PackageManager;
import android.content.pm.verify.domain.DomainVerificationManager;
@@ -73,7 +74,7 @@ public class SupportedLinksDialogFragment extends InstrumentedDialogFragment {

    @Override
    public int getMetricsCategory() {
        return 0;
        return SettingsEnums.SUPPORTED_LINKS_DIALOG;
    }

    /** Display the dialog. */