From bbc73d57a71912469932237e23af6e8c9d43dbdc Mon Sep 17 00:00:00 2001 From: arshanaqdi Date: Fri, 1 Mar 2019 03:35:03 +0330 Subject: [PATCH] fix unresolved reference --- library/src/main/AndroidManifest.xml | 2 +- .../reactor/engine/EngineController.kt | 6 +- .../dfmabbas/reactor/engine/EngineModel.kt | 6 +- .../com/dfmabbas/reactor/handler/Reactor.kt | 1 - .../com/dfmabbas/reactor/helper/AESHelper.kt | 6 +- sample/src/main/AndroidManifest.xml | 18 +- .../drawable-v24/ic_launcher_foreground.xml | 46 +-- .../res/drawable/ic_launcher_background.xml | 334 +++++++++--------- .../res/mipmap-anydpi-v26/ic_launcher.xml | 4 +- .../mipmap-anydpi-v26/ic_launcher_round.xml | 4 +- 10 files changed, 216 insertions(+), 211 deletions(-) diff --git a/library/src/main/AndroidManifest.xml b/library/src/main/AndroidManifest.xml index f3c239e..361fd56 100644 --- a/library/src/main/AndroidManifest.xml +++ b/library/src/main/AndroidManifest.xml @@ -1 +1 @@ - + diff --git a/library/src/main/java/com/dfmabbas/reactor/engine/EngineController.kt b/library/src/main/java/com/dfmabbas/reactor/engine/EngineController.kt index afd08b9..c32e2de 100644 --- a/library/src/main/java/com/dfmabbas/reactor/engine/EngineController.kt +++ b/library/src/main/java/com/dfmabbas/reactor/engine/EngineController.kt @@ -3,8 +3,10 @@ package com.dfmabbas.reactor.engine import android.content.Context import java.io.Serializable -internal class EngineController(private val appContext: Context, - private val scope: String) { +internal class EngineController( + private val appContext: Context, + private val scope: String +) { private val model = EngineModel(appContext, scope) diff --git a/library/src/main/java/com/dfmabbas/reactor/engine/EngineModel.kt b/library/src/main/java/com/dfmabbas/reactor/engine/EngineModel.kt index 2731141..47073d0 100644 --- a/library/src/main/java/com/dfmabbas/reactor/engine/EngineModel.kt +++ b/library/src/main/java/com/dfmabbas/reactor/engine/EngineModel.kt @@ -6,8 +6,10 @@ import java.io.File import java.io.FileInputStream import java.io.FileOutputStream -internal class EngineModel(private val appContext: Context, - private val scope: String) { +internal class EngineModel( + private val appContext: Context, + private val scope: String +) { private val path = appContext.getPath() private val firstDataJson = "{is:true}" diff --git a/library/src/main/java/com/dfmabbas/reactor/handler/Reactor.kt b/library/src/main/java/com/dfmabbas/reactor/handler/Reactor.kt index c1a2650..abaab78 100644 --- a/library/src/main/java/com/dfmabbas/reactor/handler/Reactor.kt +++ b/library/src/main/java/com/dfmabbas/reactor/handler/Reactor.kt @@ -3,7 +3,6 @@ package com.dfmabbas.reactor.handler import android.content.Context import com.dfmabbas.reactor.helper.SerializationHelper import com.dfmabbas.reactor.security.SecurityController -import kotlinx.coroutines.* import java.io.Serializable class Reactor @JvmOverloads constructor( diff --git a/library/src/main/java/com/dfmabbas/reactor/helper/AESHelper.kt b/library/src/main/java/com/dfmabbas/reactor/helper/AESHelper.kt index bdbff9a..f0e2b31 100644 --- a/library/src/main/java/com/dfmabbas/reactor/helper/AESHelper.kt +++ b/library/src/main/java/com/dfmabbas/reactor/helper/AESHelper.kt @@ -75,8 +75,10 @@ class AESHelper { } private fun bytesToHex(bytes: ByteArray): String { - val hexArray = charArrayOf('0', '1', '2', '3', '4', '5', '6', - '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F') + val hexArray = charArrayOf( + '0', '1', '2', '3', '4', '5', '6', + '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' + ) val hexChars = CharArray(bytes.size * 2) var v: Int for (j in bytes.indices) { diff --git a/sample/src/main/AndroidManifest.xml b/sample/src/main/AndroidManifest.xml index 104842c..af2de42 100644 --- a/sample/src/main/AndroidManifest.xml +++ b/sample/src/main/AndroidManifest.xml @@ -1,19 +1,19 @@ + package="com.dfmabbas.sample"> + android:allowBackup="true" + android:icon="@mipmap/ic_launcher" + android:label="@string/app_name" + android:roundIcon="@mipmap/ic_launcher_round" + android:supportsRtl="true" + android:theme="@style/AppTheme"> - + - + diff --git a/sample/src/main/res/drawable-v24/ic_launcher_foreground.xml b/sample/src/main/res/drawable-v24/ic_launcher_foreground.xml index 1f6bb29..5768f2e 100644 --- a/sample/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ b/sample/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -1,34 +1,34 @@ + xmlns:aapt="http://schemas.android.com/aapt" + android:width="108dp" + android:height="108dp" + android:viewportWidth="108" + android:viewportHeight="108"> + android:fillType="evenOdd" + android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z" + android:strokeWidth="1" + android:strokeColor="#00000000"> + android:endX="78.5885" + android:endY="90.9159" + android:startX="48.7653" + android:startY="61.0927" + android:type="linear"> + android:color="#44000000" + android:offset="0.0"/> + android:color="#00000000" + android:offset="1.0"/> + android:fillColor="#FFFFFF" + android:fillType="nonZero" + android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z" + android:strokeWidth="1" + android:strokeColor="#00000000"/> diff --git a/sample/src/main/res/drawable/ic_launcher_background.xml b/sample/src/main/res/drawable/ic_launcher_background.xml index a339898..8d774e9 100644 --- a/sample/src/main/res/drawable/ic_launcher_background.xml +++ b/sample/src/main/res/drawable/ic_launcher_background.xml @@ -1,170 +1,170 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:width="108dp" + android:height="108dp" + android:viewportWidth="108" + android:viewportHeight="108"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sample/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/sample/src/main/res/mipmap-anydpi-v26/ic_launcher.xml index eca70cf..bbd3e02 100644 --- a/sample/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/sample/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -1,5 +1,5 @@ - - + + \ No newline at end of file diff --git a/sample/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/sample/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml index eca70cf..bbd3e02 100644 --- a/sample/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/sample/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -1,5 +1,5 @@ - - + + \ No newline at end of file