From 9c57b6d2614dd52ee1951302d1f48fd8012c5a4c Mon Sep 17 00:00:00 2001 From: Page Asgardius Date: Sun, 4 Sep 2022 16:48:43 -0700 Subject: [PATCH] remove placeholder credentials --- .../asgardius/page/s3manager/MainActivity.java | 15 --------------- app/src/main/res/layout/activity_account_add.xml | 8 -------- app/src/main/res/layout/activity_main.xml | 2 +- app/src/main/res/values/strings.xml | 4 ---- 4 files changed, 1 insertion(+), 28 deletions(-) diff --git a/app/src/main/java/asgardius/page/s3manager/MainActivity.java b/app/src/main/java/asgardius/page/s3manager/MainActivity.java index a94bf09..dac9de2 100644 --- a/app/src/main/java/asgardius/page/s3manager/MainActivity.java +++ b/app/src/main/java/asgardius/page/s3manager/MainActivity.java @@ -134,7 +134,6 @@ public class MainActivity extends AppCompatActivity { @Override public void onClick(View view) { //buttonaction - testaccount(); } }); } @@ -156,18 +155,4 @@ public class MainActivity extends AppCompatActivity { } - private void testaccount() { - MyDbHelper dbHelper = new MyDbHelper(this); - SQLiteDatabase db = dbHelper.getWritableDatabase(); - if (db != null) { - // Database Queries - try { - db.execSQL("INSERT INTO account VALUES (\"test account\", \""+getResources().getString(R.string.endpoint_url)+"\", \""+getString(R.string.access_key)+"\", \""+getResources().getString(R.string.secret_key)+"\")"); - System.out.println("Insert OK"); - } catch (Exception e) { - System.out.println("Insert error"); - } - } - } - } \ No newline at end of file diff --git a/app/src/main/res/layout/activity_account_add.xml b/app/src/main/res/layout/activity_account_add.xml index a7fd48a..258fd91 100644 --- a/app/src/main/res/layout/activity_account_add.xml +++ b/app/src/main/res/layout/activity_account_add.xml @@ -17,8 +17,6 @@ android:hint="@string/accountadd_alias" android:importantForAutofill="no" android:inputType="text" - android:textColorHighlight="#ff7eff15" - android:textColorHint="#ffff25e6" app:layout_constraintTop_toTopOf="parent" tools:ignore="MissingConstraints" /> @@ -33,8 +31,6 @@ android:hint="@string/accountadd_endpoint" android:importantForAutofill="no" android:inputType="textUri" - android:textColorHighlight="#ff7eff15" - android:textColorHint="#ffff25e6" app:layout_constraintTop_toTopOf="parent" tools:ignore="MissingConstraints" /> @@ -49,8 +45,6 @@ android:focusable="true" android:hint="@string/accountadd_username" android:inputType="textNoSuggestions" - android:textColorHighlight="#ff7eff15" - android:textColorHint="#ffff25e6" app:layout_constraintTop_toTopOf="parent" tools:ignore="MissingConstraints" /> @@ -65,8 +59,6 @@ android:focusable="true" android:hint="@string/accountadd_password" android:inputType="textPassword" - android:textColorHighlight="#ff7eff15" - android:textColorHint="#ffff25e6" app:layout_constraintTop_toTopOf="parent" tools:ignore="MissingConstraints" /> diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 389b688..aa99d5e 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -38,7 +38,7 @@ android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="1" - android:text="@string/explorer_test_button" + android:text="@string/dummy_button" tools:ignore="MissingConstraints" /> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 512bd76..8525e03 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,10 +1,6 @@ Asgardius S3 Manager VideoPlayer - - https://object.asgardius.company - asgardius - DTMp5kftamr49Ke7 Please choose an account Add Account Account Alias