diff --git a/app/build.gradle b/app/build.gradle index 0c32004..61bdc69 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -66,10 +66,11 @@ dependencies { apkFlavorImplementation 'com.google.firebase:firebase-appindexing:19.2.0' apkFlavorImplementation 'com.google.android.gms:play-services-location:17.1.0' - implementation 'com.linkedin.dexmaker:dexmaker:2.25.0' implementation 'org.apache.commons:commons-lang3:3.0' + implementation "androidx.security:security-crypto:1.0.0" + implementation "androidx.security:security-identity-credential:1.0.0-alpha02" implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'com.google.android.material:material:1.3.0' testImplementation 'junit:junit:4.+' diff --git a/app/src/main/java/com/jens/automation2/XmlFileInterface.java b/app/src/main/java/com/jens/automation2/XmlFileInterface.java index 7d69f5a..e253e9f 100644 --- a/app/src/main/java/com/jens/automation2/XmlFileInterface.java +++ b/app/src/main/java/com/jens/automation2/XmlFileInterface.java @@ -93,7 +93,7 @@ public class XmlFileInterface { //start a tag called "root" serializer.startTag(null, "PointOfInterest"); - + //i indent code just to have a view similar to xml-tree serializer.startTag(null, "name"); serializer.text(PointOfInterest.getPointOfInterestCollection().get(i).getName()); @@ -1212,7 +1212,15 @@ public class XmlFileInterface { newAction.setParameter2(tag); } - } + + + androidx.security.crypto.MasterKey.Builder + + MasterKey mainKey = new MasterKey.Builder(context) + .setKeyScheme(MasterKey.KeyScheme.AES256_GCM) + .build(); + + } } else if(newAction.getAction().equals(Action_Enum.startOtherActivity)) // separator has been changed, convert in old files {