Remove all backwards compatibility nonsense

This also allows full obfuscation
This commit is contained in:
topjohnwu
2018-12-08 03:54:00 -05:00
parent a54eaf5371
commit c91f809eba
20 changed files with 188 additions and 717 deletions

View File

@@ -36,12 +36,11 @@ public class GeneralReceiver extends BroadcastReceiver {
case "request":
Intent i = new Intent(mm, Data.classMap.get(SuRequestActivity.class))
.putExtra("socket", intent.getStringExtra("socket"))
.putExtra("version", 2)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
mm.startActivity(i);
break;
case "log":
SuConnector.handleLogs(intent, 2);
SuConnector.handleLogs(intent);
break;
case "notify":
SuConnector.handleNotify(intent);