am 0a970cae
: Merge "Send app restrictions broadcast to stopped apps as well" into jb-mr2-dev
* commit '0a970caed489fc10078eaad6796ee06832323bde': Send app restrictions broadcast to stopped apps as well
This commit is contained in:
@@ -425,6 +425,7 @@ public class AppRestrictionsFragment extends SettingsPreferenceFragment implemen
|
|||||||
intent.setPackage(packageName);
|
intent.setPackage(packageName);
|
||||||
intent.putParcelableArrayListExtra(Intent.EXTRA_RESTRICTIONS,
|
intent.putParcelableArrayListExtra(Intent.EXTRA_RESTRICTIONS,
|
||||||
new ArrayList<RestrictionEntry>(oldEntries));
|
new ArrayList<RestrictionEntry>(oldEntries));
|
||||||
|
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
|
||||||
getActivity().sendOrderedBroadcast(intent, null,
|
getActivity().sendOrderedBroadcast(intent, null,
|
||||||
new RestrictionsResultReceiver(packageName, preference),
|
new RestrictionsResultReceiver(packageName, preference),
|
||||||
null, Activity.RESULT_OK, null, null);
|
null, Activity.RESULT_OK, null, null);
|
||||||
|
Reference in New Issue
Block a user