aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2019-09-15 05:16:52 +0530
committerHarsh Shandilya <msfjarvis@gmail.com>2019-09-15 05:16:59 +0530
commit77af0669ed1be83f68da4ade132d997652780f04 (patch)
treee9fecba038bfd56a5b51cdb9c0514ae563384136 /app/src/main
parent367e55de3cfb0821898c41413ecdb6d284763081 (diff)
Reformat
[skip travis] Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/AndroidManifest.xml55
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java1
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/git/GitAsyncTask.java1
3 files changed, 35 insertions, 22 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index ab55c835..e3bf13b9 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -1,26 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- package="com.zeapo.pwdstore"
- android:installLocation="auto">
+ xmlns:tools="http://schemas.android.com/tools"
+ package="com.zeapo.pwdstore"
+ android:installLocation="auto">
+
<uses-permission android:name="android.permission.INTERNET" />
- <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
- <uses-permission android:name="android.permission.BIND_ACCESSIBILITY_SERVICE"
- tools:ignore="ProtectedPermissions"/>
- <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+ <uses-permission
+ android:name="android.permission.BIND_ACCESSIBILITY_SERVICE"
+ tools:ignore="ProtectedPermissions" />
+ <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<application
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
- android:theme="@style/AppTheme"
android:supportsRtl="true"
+ android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
<activity
android:name=".PasswordStore"
- android:label="@string/app_name"
- android:configChanges="orientation|screenSize">
+ android:configChanges="orientation|screenSize"
+ android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
@@ -29,19 +31,25 @@
<activity
android:name=".git.GitActivity"
android:parentActivityName=".PasswordStore">
- <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.zeapo.pwdstore.PasswordStore" />
+ <meta-data
+ android:name="android.support.PARENT_ACTIVITY"
+ android:value="com.zeapo.pwdstore.PasswordStore" />
</activity>
<activity
android:name=".UserPreference"
android:parentActivityName=".PasswordStore">
- <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.zeapo.pwdstore.PasswordStore" />
+ <meta-data
+ android:name="android.support.PARENT_ACTIVITY"
+ android:value="com.zeapo.pwdstore.PasswordStore" />
</activity>
<activity
android:name=".SshKeyGen"
android:parentActivityName=".PasswordStore">
- <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.zeapo.pwdstore.PasswordStore" />
+ <meta-data
+ android:name="android.support.PARENT_ACTIVITY"
+ android:value="com.zeapo.pwdstore.PasswordStore" />
</activity>
<service
@@ -50,26 +58,33 @@
<intent-filter>
<action android:name="android.accessibilityservice.AccessibilityService" />
</intent-filter>
- <meta-data android:name="android.accessibilityservice" android:resource="@xml/autofill_config" />
+ <meta-data
+ android:name="android.accessibilityservice"
+ android:resource="@xml/autofill_config" />
</service>
<activity
android:name=".autofill.AutofillActivity"
- android:parentActivityName=".PasswordStore"
android:documentLaunchMode="intoExisting"
android:excludeFromRecents="true"
+ android:parentActivityName=".PasswordStore"
tools:ignore="UnusedAttribute">
- <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.zeapo.pwdstore.PasswordStore" />
+ <meta-data
+ android:name="android.support.PARENT_ACTIVITY"
+ android:value="com.zeapo.pwdstore.PasswordStore" />
</activity>
<activity
android:name=".autofill.AutofillPreferenceActivity"
android:parentActivityName=".PasswordStore">
- <meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.zeapo.pwdstore.PasswordStore" />
+ <meta-data
+ android:name="android.support.PARENT_ACTIVITY"
+ android:value="com.zeapo.pwdstore.PasswordStore" />
</activity>
- <activity android:name=".crypto.PgpActivity"
- android:parentActivityName=".PasswordStore"/>
+ <activity
+ android:name=".crypto.PgpActivity"
+ android:parentActivityName=".PasswordStore" />
<activity android:name=".SelectFolderActivity" />
</application>
diff --git a/app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java b/app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java
index 2a68b887..f2c54ab8 100644
--- a/app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java
+++ b/app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java
@@ -3,7 +3,6 @@ package com.zeapo.pwdstore;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
-import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
diff --git a/app/src/main/java/com/zeapo/pwdstore/git/GitAsyncTask.java b/app/src/main/java/com/zeapo/pwdstore/git/GitAsyncTask.java
index 97855bfc..0f0cf508 100644
--- a/app/src/main/java/com/zeapo/pwdstore/git/GitAsyncTask.java
+++ b/app/src/main/java/com/zeapo/pwdstore/git/GitAsyncTask.java
@@ -3,7 +3,6 @@ package com.zeapo.pwdstore.git;
import android.app.Activity;
import android.app.ProgressDialog;
import android.os.AsyncTask;
-import android.util.Log;
import com.zeapo.pwdstore.PasswordStore;
import com.zeapo.pwdstore.R;