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

Commit eafbcef5 authored by Joshua Mccloskey's avatar Joshua Mccloskey
Browse files

Set package name for learn more action

Test: Verified correct activit is launched from settings info button.
Bug: 193577587
Change-Id: If691b7d494b4fb43a4224385bf08787bd17d1d35
parent 92145ddf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -64,9 +64,9 @@ public class BiometricActionDisabledByAdminController extends BaseActionDisabled
        return (dialog, which) -> {
            Log.d(TAG, "Positive button clicked, component: " + enforcedAdmin.component);
            final Intent intent = new Intent(ACTION_LEARN_MORE)
                    .setComponent(enforcedAdmin.component)
                    .putExtra(EXTRA_SETTING_KEY, EXTRA_SETTING_VALUE)
                    .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                    .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
                    .setPackage(enforcedAdmin.component.getPackageName());
            context.startActivity(intent);
        };
    }