You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Add beta update channel
This commit is contained in:
@@ -14,8 +14,9 @@ import java.util.Date;
|
||||
|
||||
public class SuReceiver extends BroadcastReceiver {
|
||||
|
||||
private static final int NO_NOTIFICATION = 0;
|
||||
private static final int TOAST = 1;
|
||||
public static final int NO_NOTIFICATION = 0;
|
||||
public static final int TOAST = 1;
|
||||
|
||||
private static final int NOTIFY_NORMAL_LOG = 0;
|
||||
private static final int NOTIFY_USER_TOASTS = 1;
|
||||
private static final int NOTIFY_USER_TO_OWNER = 2;
|
||||
|
||||
@@ -30,10 +30,11 @@ import butterknife.ButterKnife;
|
||||
|
||||
public class SuRequestActivity extends Activity {
|
||||
|
||||
public static final int PROMPT = 0;
|
||||
public static final int AUTO_DENY = 1;
|
||||
public static final int AUTO_ALLOW = 2;
|
||||
|
||||
private static final int[] timeoutList = {0, -1, 10, 20, 30, 60};
|
||||
private static final int PROMPT = 0;
|
||||
private static final int AUTO_DENY = 1;
|
||||
private static final int AUTO_ALLOW = 2;
|
||||
|
||||
@BindView(R.id.su_popup) LinearLayout suPopup;
|
||||
@BindView(R.id.timeout) Spinner timeout;
|
||||
|
||||
Reference in New Issue
Block a user