Commit 56baa789 authored by rakam's avatar rakam

fixes saving bug

parent c709e106
......@@ -8,59 +8,59 @@
</facet>
<facet type="android" name="Android">
<configuration>
<option name="SELECTED_BUILD_VARIANT" value="p2222Debug" />
<option name="SELECTED_BUILD_VARIANT" value="p22222Debug" />
<option name="SELECTED_TEST_ARTIFACT" value="_android_test_" />
<option name="ASSEMBLE_TASK_NAME" value="assembleP2222Debug" />
<option name="COMPILE_JAVA_TASK_NAME" value="compileP2222DebugSources" />
<option name="ASSEMBLE_TEST_TASK_NAME" value="assembleP2222DebugTest" />
<option name="SOURCE_GEN_TASK_NAME" value="generateP2222DebugSources" />
<option name="TEST_SOURCE_GEN_TASK_NAME" value="generateP2222DebugTestSources" />
<option name="ASSEMBLE_TASK_NAME" value="assembleP22222Debug" />
<option name="COMPILE_JAVA_TASK_NAME" value="compileP22222DebugSources" />
<option name="ASSEMBLE_TEST_TASK_NAME" value="assembleP22222DebugTest" />
<option name="SOURCE_GEN_TASK_NAME" value="generateP22222DebugSources" />
<option name="TEST_SOURCE_GEN_TASK_NAME" value="generateP22222DebugTestSources" />
<option name="ALLOW_USER_CONFIGURATION" value="false" />
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" />
<option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/src/main/res;file://$MODULE_DIR$/src/p2222/res" />
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/src/main/res;file://$MODULE_DIR$/src/p22222/res" />
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/build/intermediates/classes/p2222/debug" />
<output-test url="file://$MODULE_DIR$/build/intermediates/classes/test/p2222/debug" />
<output url="file://$MODULE_DIR$/build/intermediates/classes/p22222/debug" />
<output-test url="file://$MODULE_DIR$/build/intermediates/classes/test/p22222/debug" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/p2222/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/p2222/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/p2222/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/p2222/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/p2222/debug" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/generated/p2222/debug" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/p2222Debug/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/p2222Debug/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/p2222Debug/assets" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/p2222Debug/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/p2222Debug/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/p2222Debug/jni" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/p2222Debug/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/test/p2222/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/test/p2222/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/test/p2222/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/test/p2222/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/test/p2222/debug" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/generated/test/p2222/debug" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/p2222/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/p2222/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/p2222/assets" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/p2222/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/p2222/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/p2222/jni" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/p2222/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestP2222/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestP2222/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestP2222/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestP2222/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestP2222/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestP2222/jni" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestP2222/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/p22222/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/p22222/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/p22222/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/p22222/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/p22222/debug" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/generated/p22222/debug" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/p22222Debug/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/p22222Debug/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/p22222Debug/assets" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/p22222Debug/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/p22222Debug/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/p22222Debug/jni" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/p22222Debug/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/test/p22222/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/test/p22222/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/test/p22222/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/test/p22222/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/test/p22222/debug" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/generated/test/p22222/debug" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/p22222/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/p22222/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/p22222/assets" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/p22222/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/p22222/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/p22222/jni" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/p22222/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestP22222/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestP22222/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestP22222/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestP22222/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestP22222/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestP22222/jni" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTestP22222/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/assets" type="java-resource" />
......
......@@ -20,7 +20,7 @@ public class AutomateDouble implements Automate {
public AutomateDouble(Context context, int service, boolean sideLeftA, int idMatch) {
this(context, service, sideLeftA, idMatch, false);
FileManager.createFile(context, 0, service, (sideLeftA ? 1 : 0), idMatch);
FileManager.createFile(context, 1, service, (sideLeftA ? 1 : 0), idMatch);
}
public AutomateDouble(Context context, int service, boolean sideLeftA, int idMatch, boolean isAlready) {
......
......@@ -20,7 +20,7 @@ public class AutomateDoublePro implements Automate {
public AutomateDoublePro(Context context, int service, boolean sideLeftA, int idMatch) {
this(context, service, sideLeftA, idMatch, false);
FileManager.createFile(context, 0, service, (sideLeftA ? 1 : 0), idMatch);
FileManager.createFile(context, 2, service, (sideLeftA ? 1 : 0), idMatch);
}
public AutomateDoublePro(Context context, int service, boolean sideLeftA, int idMatch, boolean isAlready) {
......
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">AceCream p22222</string>
<string name="app_name">Demo 2</string>
</resources>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment