Merge "Fix crash in plugin settings" into oc-dev

am: 133eb460bd

Change-Id: I60b8fb3a05b46fef7375dd9dddafc5137f0624b0
This commit is contained in:
Jason Monk
2017-04-25 17:03:59 +00:00
committed by android-build-merger
2 changed files with 0 additions and 7 deletions

View File

@@ -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" />

View File

@@ -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) {