Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 653658526
  • Loading branch information
jscott1989 authored and pfmaggi committed Sep 9, 2024
1 parent 2a54179 commit 841be9c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
xmlns:tools="http://schemas.android.com/tools"
package="com.afwsamples.testdpc"
tools:ignore="MissingClass"
android:versionCode="9011"
android:versionName="9.0.11">
android:versionCode="9012"
android:versionName="9.0.12">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="34"/>

<uses-permission android:name="android.permission.GET_ACCOUNTS" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
public class EsimControlFragment extends BaseSearchablePolicyPreferenceFragment
implements Preference.OnPreferenceClickListener, Preference.OnPreferenceChangeListener {
private static final String TAG = EsimControlFragment.class.getSimpleName();
private static final String DOWNLOADE_ESIM = "download_esim";
private static final String DOWNLOAD_ESIM = "download_esim";
private static final String DELETE_ESIM = "delete_esim";
private static final String GET_MANAGED_ESIM = "get_managed_esim";
private static final String ACTION_DOWNLOAD_ESIM = "com.afwsamples.testdpc.esim_download";
Expand Down Expand Up @@ -150,7 +150,7 @@ public void onReceive(Context context, Intent intent) {
public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
addPreferencesFromResource(R.xml.esim_control_preferences);

mDownloadEsimPreference = (DpcPreference) findPreference(DOWNLOADE_ESIM);
mDownloadEsimPreference = (DpcPreference) findPreference(DOWNLOAD_ESIM);
mDownloadEsimPreference.setOnPreferenceClickListener(this);

mDeleteEsimPreference = (DpcPreference) findPreference(DELETE_ESIM);
Expand All @@ -175,7 +175,7 @@ public boolean onPreferenceClick(Preference preference) {
String key = preference.getKey();

switch (key) {
case DOWNLOADE_ESIM:
case DOWNLOAD_ESIM:
showDownloadEsimUi();
return true;
case DELETE_ESIM:
Expand Down Expand Up @@ -299,7 +299,7 @@ private void deleteEsim(int subId) {
PendingIntent.getBroadcast(
getActivity(),
0,
new Intent(),
new Intent(ACTION_DELETE_ESIM),
PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE);
mEuiccManager.deleteSubscription(subId, pi);

Expand Down

0 comments on commit 841be9c

Please sign in to comment.