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

Unverified Commit 0a065445 authored by Joey Rizzoli's avatar Joey Rizzoli Committed by Michael Bestas
Browse files

Tuner: allow power notif controls to be launched externally



Change-Id: I8a9e1a2080640938c99125ab04986dfc99e004bf
Signed-off-by: default avatarJoey Rizzoli <joey@cyanogenmoditalia.it>
parent 7d7d3f22
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -46,6 +46,20 @@
            </intent-filter>
        </activity-alias>

        <activity-alias
            android:name=".tuner.TunerActivity"
            android:targetActivity=".tuner.TunerActivity"
            android:icon="@drawable/tuner"
            android:theme="@style/TunerSettings"
            android:label="@string/tuner_full_importance_settings"
            android:process=":tuner"
            android:exported="true">
            <intent-filter>
                <action android:name="com.android.settings.action.POWER_NOTIF_CONTROLS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity-alias>

        <activity
            android:name=".cm.LockscreenShortcutsActivity"
            android:icon="@drawable/tuner"
+2 −0
Original line number Diff line number Diff line
@@ -44,6 +44,8 @@ public class TunerActivity extends SettingsDrawerActivity implements
                fragment = new DemoModeFragment();
            } else if ("com.android.settings.action.NAV_BAR_TUNER".equals(action)) {
                fragment = new NavBarTuner();
            } else if ("com.android.settings.action.POWER_NOTIF_CONTROLS".equals(action)) {
                fragment = new PowerNotificationControlsFragment();
            } else {
                fragment = new TunerFragment();
            }