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

Commit 365063f1 authored by Jason Monk's avatar Jason Monk
Browse files

Fix crash in plugin settings

Test: Open plugin settings
Change-Id: I4c21505b95661d278f3129527df14dbfa3fbc271
Fixes: 37625271
parent 41bf42a1
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -22,9 +22,6 @@
        android:sharedUserId="android.uid.systemui"
        coreApp="true">

    <protected-broadcast android:name="com.android.systemui.action.PLUGIN_CHANGED" />


    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+0 −4
Original line number Diff line number Diff line
@@ -155,10 +155,6 @@ public class PluginInstanceManager<T extends Plugin> {
                new ComponentName(info.mPackage, info.mClass),
                PackageManager.COMPONENT_ENABLED_STATE_DISABLED,
                PackageManager.DONT_KILL_APP);
        final String pkg = info.mPackage;
        final Intent intent = new Intent(PluginManager.PLUGIN_CHANGED,
                pkg != null ? Uri.fromParts("package", pkg, null) : null);
        mContext.sendBroadcast(intent);
    }

    public <T> boolean dependsOn(Plugin p, Class<T> cls) {