mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 19:22:14 -05:00
Lint changes
Deleting lint-report gen files Adding lint output files to gitignore
This commit is contained in:
parent
0e33fd2392
commit
e00436b409
4
.gitignore
vendored
4
.gitignore
vendored
@ -31,3 +31,7 @@ pom.xml.*
|
|||||||
|
|
||||||
#OS Specific
|
#OS Specific
|
||||||
[Tt]humbs.db
|
[Tt]humbs.db
|
||||||
|
|
||||||
|
#Lint output
|
||||||
|
OpenPGP-Keychain/lint-report.html
|
||||||
|
OpenPGP-Keychain/lint-report_files/*
|
||||||
|
@ -57,5 +57,7 @@ android {
|
|||||||
// Do not abort build if lint finds errors
|
// Do not abort build if lint finds errors
|
||||||
lintOptions {
|
lintOptions {
|
||||||
abortOnError false
|
abortOnError false
|
||||||
|
htmlReport true
|
||||||
|
htmlOutput file("lint-report.html")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -30,6 +30,7 @@ import org.sufficientlysecure.keychain.R;
|
|||||||
import org.sufficientlysecure.keychain.pgp.PgpKeyHelper;
|
import org.sufficientlysecure.keychain.pgp.PgpKeyHelper;
|
||||||
import org.sufficientlysecure.keychain.util.Choice;
|
import org.sufficientlysecure.keychain.util.Choice;
|
||||||
|
|
||||||
|
import android.annotation.TargetApi;
|
||||||
import android.app.DatePickerDialog;
|
import android.app.DatePickerDialog;
|
||||||
import android.app.Dialog;
|
import android.app.Dialog;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
@ -110,6 +111,7 @@ public class KeyEditor extends LinearLayout implements Editor, OnClickListener {
|
|||||||
setExpiryDate(null);
|
setExpiryDate(null);
|
||||||
|
|
||||||
mExpiryDateButton.setOnClickListener(new OnClickListener() {
|
mExpiryDateButton.setOnClickListener(new OnClickListener() {
|
||||||
|
@TargetApi(11)
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
GregorianCalendar date = mExpiryDate;
|
GregorianCalendar date = mExpiryDate;
|
||||||
if (date == null) {
|
if (date == null) {
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:id="@+id/actionbar_cancel"
|
android:id="@+id/actionbar_cancel"
|
||||||
style="@style/Widget.AppCompat.ActionButton"
|
style="@style/Widget.AppCompat.ActionButton"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
@ -33,4 +33,4 @@
|
|||||||
style="@style/Widget.AppCompat.Light.ActionBar.TabText"
|
style="@style/Widget.AppCompat.Light.ActionBar.TabText"
|
||||||
android:text="Cancel (set in-code!)" />
|
android:text="Cancel (set in-code!)" />
|
||||||
|
|
||||||
</FrameLayout>
|
</merge>
|
@ -14,7 +14,7 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:id="@+id/actionbar_done"
|
android:id="@+id/actionbar_done"
|
||||||
style="@style/Widget.AppCompat.ActionButton"
|
style="@style/Widget.AppCompat.ActionButton"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
@ -33,4 +33,4 @@
|
|||||||
style="@style/Widget.AppCompat.Light.ActionBar.TabText"
|
style="@style/Widget.AppCompat.Light.ActionBar.TabText"
|
||||||
android:text="Done (set in-code!)" />
|
android:text="Done (set in-code!)" />
|
||||||
|
|
||||||
</FrameLayout>
|
</merge>
|
@ -5,17 +5,12 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
<LinearLayout
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:fillViewport="true"
|
android:fillViewport="true"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<ScrollView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:fillViewport="true">
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@ -73,7 +68,6 @@
|
|||||||
android:layout_gravity="left"
|
android:layout_gravity="left"
|
||||||
android:text="@string/label_main_user_id"
|
android:text="@string/label_main_user_id"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
android:layout_alignTop="@+id/linearLayout"
|
|
||||||
android:layout_toRightOf="@+id/relativeLayout" />
|
android:layout_toRightOf="@+id/relativeLayout" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -206,7 +200,6 @@
|
|||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<include layout="@layout/drawer_list" />
|
<include layout="@layout/drawer_list" />
|
||||||
|
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
android:layout_width="240dp"
|
android:layout_width="240dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_gravity="start"
|
android:layout_gravity="start"
|
||||||
android:background="#fff"
|
|
||||||
android:choiceMode="singleChoice"
|
android:choiceMode="singleChoice"
|
||||||
android:divider="@color/bg_gray"
|
android:divider="@color/bg_gray"
|
||||||
android:dividerHeight="1dp" />
|
android:dividerHeight="1dp" />
|
||||||
|
@ -71,7 +71,8 @@
|
|||||||
android:id="@+id/comment"
|
android:id="@+id/comment"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1" />
|
android:layout_weight="1"
|
||||||
|
android:inputType="text"/>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
</TableLayout>
|
</TableLayout>
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/server"
|
android:id="@+id/server"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="0dip"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:inputType="textUri" />
|
android:inputType="textUri" />
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
android:orientation="horizontal" >
|
android:orientation="horizontal" >
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dip"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="6sp"
|
android:layout_marginBottom="6sp"
|
||||||
android:layout_marginLeft="16sp"
|
android:layout_marginLeft="16sp"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_key_list_secret_create"
|
android:id="@+id/menu_key_list_secret_create"
|
||||||
app:showAsAction="always|withText"
|
app:showAsAction="ifRoom|withText"
|
||||||
android:title="@string/menu_create_key" />
|
android:title="@string/menu_create_key" />
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_key_list_secret_create_expert"
|
android:id="@+id/menu_key_list_secret_create_expert"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<item
|
<item
|
||||||
android:id="@+id/menu_key_view_share"
|
android:id="@+id/menu_key_view_share"
|
||||||
android:icon="@drawable/ic_action_share"
|
android:icon="@drawable/ic_action_share"
|
||||||
app:showAsAction="always"
|
app:showAsAction="ifRoom"
|
||||||
android:title="@string/menu_share">
|
android:title="@string/menu_share">
|
||||||
<menu>
|
<menu>
|
||||||
<item
|
<item
|
||||||
|
@ -356,7 +356,7 @@
|
|||||||
<string name="api_select_pub_keys_missing_text">Für diese Benutzer-IDs wurden keine öffentlichen Schlüssel gefunden:</string>
|
<string name="api_select_pub_keys_missing_text">Für diese Benutzer-IDs wurden keine öffentlichen Schlüssel gefunden:</string>
|
||||||
<string name="api_select_pub_keys_dublicates_text">Für diese Benutzer-IDs existieren mehrere öffentliche Schlüssel:</string>
|
<string name="api_select_pub_keys_dublicates_text">Für diese Benutzer-IDs existieren mehrere öffentliche Schlüssel:</string>
|
||||||
<string name="api_select_pub_keys_text">Bitte die Liste der Empfänger überprüfen!</string>
|
<string name="api_select_pub_keys_text">Bitte die Liste der Empfänger überprüfen!</string>
|
||||||
<string name="api_error_wrong_signature">Signaturüberprüfung fehlgeschlagen! Haben Sie diese App von einer anderen Quelle installiert? Wenn Sie eine Attacke ausschliessen können, sollten Sie die Registrierung der App in OpenKeychain widerrufen und die App erneut registrieren.</string>
|
<string name="api_error_wrong_signature">Signaturüberprüfung fehlgeschlagen! Haben Sie diese App von einer anderen Quelle installiert? Wenn Sie eine Attacke ausschließen können, sollten Sie die Registrierung der App in OpenKeychain widerrufen und die App erneut registrieren.</string>
|
||||||
<!--Share-->
|
<!--Share-->
|
||||||
<string name="share_qr_code_dialog_title">Über QR Code teilen</string>
|
<string name="share_qr_code_dialog_title">Über QR Code teilen</string>
|
||||||
<string name="share_qr_code_dialog_start">Mit \'Weiter\' durch alle QR-Codes gehen und diese nacheinander scannen.</string>
|
<string name="share_qr_code_dialog_start">Mit \'Weiter\' durch alle QR-Codes gehen und diese nacheinander scannen.</string>
|
||||||
|
@ -302,8 +302,8 @@
|
|||||||
</plurals>
|
</plurals>
|
||||||
|
|
||||||
<!-- progress dialogs, usually ending in '…' -->
|
<!-- progress dialogs, usually ending in '…' -->
|
||||||
<string name="progress_done">done.</string>
|
<string name="progress_done">Done.</string>
|
||||||
<string name="progress_cancel">cancel</string>
|
<string name="progress_cancel">Cancel</string>
|
||||||
<string name="progress_saving">saving…</string>
|
<string name="progress_saving">saving…</string>
|
||||||
<string name="progress_importing">importing…</string>
|
<string name="progress_importing">importing…</string>
|
||||||
<string name="progress_exporting">exporting…</string>
|
<string name="progress_exporting">exporting…</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user