From fbcc4f28e72703313df641da8fb35ccc780133ce Mon Sep 17 00:00:00 2001 From: hypnosis-i2p Date: Sat, 17 Feb 2018 23:55:30 +0800 Subject: [PATCH 1/3] removed design lib from deps - android --- android/AndroidManifest.xml | 65 ++++++++++++++----- android/build.gradle | 3 +- .../res/layout/activity_perms_explanation.xml | 27 ++++++++ android/res/values/strings.xml | 1 + .../src/org/purplei2p/i2pd/I2PDActivity.java | 3 +- .../i2pd/I2PDPermsAskerActivity.java | 35 ++++++---- .../i2pd/I2PDPermsExplanationActivity.java | 36 ++++++++++ 7 files changed, 136 insertions(+), 34 deletions(-) create mode 100644 android/res/layout/activity_perms_explanation.xml create mode 100644 android/src/org/purplei2p/i2pd/I2PDPermsExplanationActivity.java diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index df817b82..92a252d9 100755 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -1,26 +1,55 @@ - - - - - - - - - - - + package="org.purplei2p.i2pd" + android:installLocation="auto" + android:versionCode="1" + android:versionName="2.18.0"> + + + + + + + + + + + + + + + + + - - + + + + + + + - + + \ No newline at end of file diff --git a/android/build.gradle b/android/build.gradle index c270e809..8c730dc5 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -19,7 +19,6 @@ repositories { dependencies { compile 'com.android.support:support-v4:25.3.1' - compile 'com.android.support:design:25.3.1' } android { @@ -33,6 +32,7 @@ android { versionName "2.18.0" ndk { abiFilters 'armeabi-v7a' + //abiFilters 'x86' } } sourceSets { @@ -65,3 +65,4 @@ android { } } + diff --git a/android/res/layout/activity_perms_explanation.xml b/android/res/layout/activity_perms_explanation.xml new file mode 100644 index 00000000..1c9cce82 --- /dev/null +++ b/android/res/layout/activity_perms_explanation.xml @@ -0,0 +1,27 @@ + + + + +