Loading src/com/android/settings/applications/credentials/CredentialManagerPreferenceController.java +6 −1 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import static androidx.lifecycle.Lifecycle.Event.ON_CREATE; import android.app.Activity; import android.app.Dialog; import android.content.ActivityNotFoundException; import android.content.ComponentName; import android.content.ContentResolver; import android.content.Context; Loading Loading @@ -656,7 +657,11 @@ public class CredentialManagerPreferenceController extends BasePreferenceControl CombinedProviderInfo.createSettingsActivityIntent( mContext, packageName, settingsActivity, getUser()); if (settingsIntent != null) { try { mContext.startActivity(settingsIntent); } catch (ActivityNotFoundException e) { Log.e(TAG, "Failed to open settings activity", e); } } } }); Loading src/com/android/settings/applications/credentials/DefaultCombinedPreferenceController.java +7 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.settings.applications.credentials; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.credentials.CredentialManager; Loading @@ -26,6 +27,7 @@ import android.provider.Settings; import android.service.autofill.AutofillService; import android.service.autofill.AutofillServiceInfo; import android.view.autofill.AutofillManager; import android.util.Slog; import androidx.annotation.Nullable; import androidx.annotation.NonNull; Loading Loading @@ -132,7 +134,11 @@ public class DefaultCombinedPreferenceController extends DefaultAppPreferenceCon new PrimaryProviderPreference.Delegate() { public void onOpenButtonClicked() { if (settingsActivityIntent != null) { try { startActivity(settingsActivityIntent); } catch (ActivityNotFoundException e) { Slog.e(TAG, "Failed to open settings activity", e); } } } Loading Loading
src/com/android/settings/applications/credentials/CredentialManagerPreferenceController.java +6 −1 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import static androidx.lifecycle.Lifecycle.Event.ON_CREATE; import android.app.Activity; import android.app.Dialog; import android.content.ActivityNotFoundException; import android.content.ComponentName; import android.content.ContentResolver; import android.content.Context; Loading Loading @@ -656,7 +657,11 @@ public class CredentialManagerPreferenceController extends BasePreferenceControl CombinedProviderInfo.createSettingsActivityIntent( mContext, packageName, settingsActivity, getUser()); if (settingsIntent != null) { try { mContext.startActivity(settingsIntent); } catch (ActivityNotFoundException e) { Log.e(TAG, "Failed to open settings activity", e); } } } }); Loading
src/com/android/settings/applications/credentials/DefaultCombinedPreferenceController.java +7 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.settings.applications.credentials; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.credentials.CredentialManager; Loading @@ -26,6 +27,7 @@ import android.provider.Settings; import android.service.autofill.AutofillService; import android.service.autofill.AutofillServiceInfo; import android.view.autofill.AutofillManager; import android.util.Slog; import androidx.annotation.Nullable; import androidx.annotation.NonNull; Loading Loading @@ -132,7 +134,11 @@ public class DefaultCombinedPreferenceController extends DefaultAppPreferenceCon new PrimaryProviderPreference.Delegate() { public void onOpenButtonClicked() { if (settingsActivityIntent != null) { try { startActivity(settingsActivityIntent); } catch (ActivityNotFoundException e) { Slog.e(TAG, "Failed to open settings activity", e); } } } Loading