diff --git a/app/src/main/java/org/purplei2p/i2pd/SettingsActivity.java b/app/src/main/java/org/purplei2p/i2pd/SettingsActivity.java index c75520b..3348502 100644 --- a/app/src/main/java/org/purplei2p/i2pd/SettingsActivity.java +++ b/app/src/main/java/org/purplei2p/i2pd/SettingsActivity.java @@ -28,7 +28,7 @@ public class SettingsActivity extends Activity { public static String onBootFileName="/onBoot"; // just file, empty, if exist the do autostart, if not then no. //https://gist.github.com/chandruark/3165a5ee3452f2b9ec7736cf1b4c5ea6 - private void addAutoStartupswitch() { + private void addAutoStartupSwitch() { try { Intent intent = new Intent(); @@ -97,7 +97,7 @@ public class SettingsActivity extends Activity { if (isChecked) { if (!onBoot.exists()) { requestPermission(); - addAutoStartupswitch(); + addAutoStartupSwitch(); try { if (!onBoot.createNewFile()) Log.d(TAG, "Cant create new wile on: "+onBoot.getAbsolutePath()); diff --git a/app/src/main/res/values/preferences_i2pd_options.xml b/app/src/main/res/values/preferences_i2pd_options.xml new file mode 100644 index 0000000..facfd90 --- /dev/null +++ b/app/src/main/res/values/preferences_i2pd_options.xml @@ -0,0 +1,17 @@ + + + + L + O + P + X + + + + none + error + warn + info + debug + + \ No newline at end of file diff --git a/app/src/main/res/xml/preferences_i2pd.xml b/app/src/main/res/xml/preferences_i2pd.xml new file mode 100644 index 0000000..50aeade --- /dev/null +++ b/app/src/main/res/xml/preferences_i2pd.xml @@ -0,0 +1,193 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file