Created
November 6, 2016 05:45
-
-
Save heruoxin/907dcc00a6a195703ff1c5065efc7ae8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Intent i = new Intent("com.catchingnow.icebox.FREEZE_APP") | |
.putExtra("broadcast_action", 0) // 0 冻结,1 解冻,2 解冻并运行 | |
.putExtra("broadcast_package_name_set", {}); // String Array, action 为运行时,size 必须为 1,其余无限制 | |
context.sendBroadcast(i); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment