Merge "Revert "settings: Make use of ACTION_NETWORK_PROVIDER_SETTINGS"" into main

This commit is contained in:
David Jacobo
2024-05-28 19:38:10 +00:00
committed by Android (Google) Code Review
2 changed files with 6 additions and 2 deletions

View File

@@ -43,7 +43,6 @@ import android.net.ConnectivityManager;
import android.net.Uri;
import android.net.wifi.WifiManager;
import android.os.UserManager;
import android.provider.Settings;
import android.telephony.SubscriptionManager;
import android.telephony.TelephonyManager;
@@ -391,7 +390,7 @@ public class ProviderModelSliceTest {
}
private PendingIntent getPrimaryAction() {
final Intent intent = new Intent(Settings.ACTION_NETWORK_PROVIDER_SETTINGS)
final Intent intent = new Intent("android.settings.NETWORK_PROVIDER_SETTINGS")
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
return PendingIntent.getActivity(mContext, 0 /* requestCode */,
intent, PendingIntent.FLAG_IMMUTABLE /* flags */);