SUW: Drop SIM card tray illustration hint all together
* Hard to view on dark mode and it's redundant as
another SIM icon exists on the page. We can't really
have an "illustration" for a generic ROM as every
device is different and doesn't have SIM in the same
place.
Change-Id: I443360e5b75aded8645e83365cc64641e6c5638e
diff --git a/res/drawable-hdpi/sim.png b/res/drawable-hdpi/sim.png
deleted file mode 100755
index 58dade6..0000000
--- a/res/drawable-hdpi/sim.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-hdpi/sim_back.png b/res/drawable-hdpi/sim_back.png
deleted file mode 100755
index 889ebbe..0000000
--- a/res/drawable-hdpi/sim_back.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-hdpi/sim_side.png b/res/drawable-hdpi/sim_side.png
deleted file mode 100755
index 03b5363..0000000
--- a/res/drawable-hdpi/sim_side.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/sim.png b/res/drawable-mdpi/sim.png
deleted file mode 100755
index e771e05..0000000
--- a/res/drawable-mdpi/sim.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/sim_back.png b/res/drawable-mdpi/sim_back.png
deleted file mode 100755
index 027f71d..0000000
--- a/res/drawable-mdpi/sim_back.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/sim_side.png b/res/drawable-mdpi/sim_side.png
deleted file mode 100755
index 7353e7f..0000000
--- a/res/drawable-mdpi/sim_side.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xhdpi/sim.png b/res/drawable-xhdpi/sim.png
deleted file mode 100755
index e81dad8..0000000
--- a/res/drawable-xhdpi/sim.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xhdpi/sim_back.png b/res/drawable-xhdpi/sim_back.png
deleted file mode 100755
index 22a032c..0000000
--- a/res/drawable-xhdpi/sim_back.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xhdpi/sim_side.png b/res/drawable-xhdpi/sim_side.png
deleted file mode 100755
index 8cf1d31..0000000
--- a/res/drawable-xhdpi/sim_side.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xxhdpi/sim.png b/res/drawable-xxhdpi/sim.png
deleted file mode 100755
index 27b097a..0000000
--- a/res/drawable-xxhdpi/sim.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xxhdpi/sim_back.png b/res/drawable-xxhdpi/sim_back.png
deleted file mode 100755
index d6b7d8c..0000000
--- a/res/drawable-xxhdpi/sim_back.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xxhdpi/sim_side.png b/res/drawable-xxhdpi/sim_side.png
deleted file mode 100755
index 8f257f8..0000000
--- a/res/drawable-xxhdpi/sim_side.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xxxhdpi/sim.png b/res/drawable-xxxhdpi/sim.png
deleted file mode 100755
index ff425d2..0000000
--- a/res/drawable-xxxhdpi/sim.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xxxhdpi/sim_back.png b/res/drawable-xxxhdpi/sim_back.png
deleted file mode 100755
index eedd9d4..0000000
--- a/res/drawable-xxxhdpi/sim_back.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xxxhdpi/sim_side.png b/res/drawable-xxxhdpi/sim_side.png
deleted file mode 100755
index a3c5957..0000000
--- a/res/drawable-xxxhdpi/sim_side.png
+++ /dev/null
Binary files differ
diff --git a/res/layout-land/sim_missing_page.xml b/res/layout-land/sim_missing_page.xml
index 19eb253..dfc07aa 100644
--- a/res/layout-land/sim_missing_page.xml
+++ b/res/layout-land/sim_missing_page.xml
@@ -39,14 +39,6 @@
android:layout_height="match_parent"
style="@style/SudContentFrame">
- <ImageView
- android:id="@+id/sim_slot_image"
- android:layout_width="0px"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:scaleType="fitEnd"
- android:src="@drawable/sim" />
-
</LinearLayout>
</FrameLayout>
diff --git a/res/layout/sim_missing_page.xml b/res/layout/sim_missing_page.xml
index 2a28d99..274268d 100644
--- a/res/layout/sim_missing_page.xml
+++ b/res/layout/sim_missing_page.xml
@@ -39,14 +39,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
- <ImageView
- android:id="@+id/sim_slot_image"
- android:layout_width="match_parent"
- android:layout_height="0px"
- android:layout_weight="1"
- android:scaleType="fitEnd"
- android:src="@drawable/sim"/>
-
</LinearLayout>
</FrameLayout>
diff --git a/res/values/config.xml b/res/values/config.xml
index c9edc7e..d303f1a 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2013 The CyanogenMod Project
- 2021 The LineageOS Project
+ 2021-2022 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -17,9 +17,6 @@
-->
<resources>
<integer name="local_picker_items">3</integer>
- <!-- The type of sim image to display.
- 0=default sim image, 1=sim on side, 2=sim on back-->
- <integer name="sim_image_type">0</integer>
<bool name="check_custom_theme_by_default">true</bool>
<string name="wizard_script_uri" translatable="false">android.resource://org.lineageos.setupwizard/raw/wizard_script</string>
<string name="wizard_script_user_uri" translatable="false">android.resource://org.lineageos.setupwizard/raw/wizard_script_user</string>
diff --git a/src/org/lineageos/setupwizard/SimMissingActivity.java b/src/org/lineageos/setupwizard/SimMissingActivity.java
index 3092b57..f9a110e 100644
--- a/src/org/lineageos/setupwizard/SimMissingActivity.java
+++ b/src/org/lineageos/setupwizard/SimMissingActivity.java
@@ -28,10 +28,6 @@
public static final String TAG = SimMissingActivity.class.getSimpleName();
- private static final int SIM_DEFAULT = 0;
- private static final int SIM_SIDE = 1;
- private static final int SIM_BACK = 2;
-
private PhoneMonitor mPhoneMonitor;
@Override
@@ -42,20 +38,6 @@
if (!mPhoneMonitor.simMissing()) {
finishAction(RESULT_OK);
}
- final int simLocation = getResources().getInteger(
- R.integer.sim_image_type);
- ImageView simLogo = ((ImageView) findViewById(R.id.sim_slot_image));
- switch (simLocation) {
- case SIM_SIDE:
- simLogo.setImageResource(R.drawable.sim_side);
- break;
- case SIM_BACK:
- simLogo.setImageResource(R.drawable.sim_back);
- break;
- default:
- simLogo.setImageResource(R.drawable.sim);
- simLogo.setScaleType(ImageView.ScaleType.CENTER_INSIDE);
- }
}
@Override