mirror of
https://github.com/TimeCrafters/FreightFrenzy.git
synced 2025-12-15 14:02:34 +00:00
Compare commits
1 Commits
b668cd97e3
...
add_tacnet
| Author | SHA1 | Date | |
|---|---|---|---|
| f888e683ef |
@@ -49,6 +49,8 @@ import android.preference.PreferenceManager;
|
|||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
import androidx.annotation.StringRes;
|
import androidx.annotation.StringRes;
|
||||||
|
import androidx.core.content.ContextCompat;
|
||||||
|
|
||||||
import android.view.Menu;
|
import android.view.Menu;
|
||||||
import android.view.MenuItem;
|
import android.view.MenuItem;
|
||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
@@ -410,6 +412,12 @@ public class FtcRobotControllerActivity extends Activity
|
|||||||
checkPreferredChannel();
|
checkPreferredChannel();
|
||||||
|
|
||||||
AnnotatedHooksClassFilter.getInstance().callOnCreateMethods(this);
|
AnnotatedHooksClassFilter.getInstance().callOnCreateMethods(this);
|
||||||
|
|
||||||
|
/* REV CONTROL HUB APPEARS TO PREVENT ANY APP NOT ON ITS WHITELIST FROM USING ON_BOOT_COMPLETED RECEIVERS */
|
||||||
|
/* USING THIS HACK DUE TO THAT... */
|
||||||
|
Intent tacnetIntent = new Intent("org.timecrafters.TimeCraftersConfigurationTool.tacnet.ACTION_START_SERVER");
|
||||||
|
tacnetIntent.setPackage("org.timecrafters.TimeCraftersConfigurationTool");
|
||||||
|
ContextCompat.startForegroundService(context, tacnetIntent);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected UpdateUI createUpdateUI() {
|
protected UpdateUI createUpdateUI() {
|
||||||
|
|||||||
Reference in New Issue
Block a user