Skip to content

Commit

Permalink
Remove scaling fp causing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
DHD2280 committed Apr 22, 2024
1 parent 89b04c0 commit f654e96
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -524,4 +524,7 @@ public static final class SoundPrefs {
public static final String CLOCK_TAG = "clock";
public static final String DATE_TAG = "date";

public static final String LATEST_VERSION_URL = "https://raw.githubusercontent.com/DHD2280/Oxygen-Customizer/stable/latestVersion.json";
public static final String LATEST_BETA_URL = "https://raw.githubusercontent.com/DHD2280/Oxygen-Customizer/beta/latestBeta.json";

}
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,10 @@ private void updateFingerprintIcon(XC_MethodHook.MethodHookParam param, boolean
setObjectField(param.thisObject, "mFadeInAnimDrawable", null);
setObjectField(param.thisObject, "mFadeOutAnimDrawable", null);
}
Drawable scaled = (Drawable) scaleDrawable(mContext, d.get(), mFpScale);
setObjectField(param.thisObject, "mImMobileDrawable", scaled);
//Drawable scaled = (Drawable) scaleDrawable(mContext, d.get(), mFpScale);
setObjectField(param.thisObject, "mImMobileDrawable", d.get());
if (mFpIcon != null) {
callMethod(mFpIcon, "setImageDrawable", d.get() == null ? null : scaled);
callMethod(mFpIcon, "setImageDrawable", d.get() == null ? null : d.get());
}
if (hideFingerprint && isStartMethod) {
param.setResult(null);
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/custom_preference_recyclerview.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
android:clipChildren="false"
android:clipToPadding="false"
android:nestedScrollingEnabled="false"
android:paddingHorizontal="12dp" />
android:paddingHorizontal="16dp" />

</LinearLayout>

Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/xml/lockscreen_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@
android:summary="@string/lockscreen_fp_icon_picker_summary"
app:iconSpaceReserved="false" />

<it.dhd.oxygencustomizer.customprefs.SliderPreference
<!-- <it.dhd.oxygencustomizer.customprefs.SliderPreference
android:key="lockscreen_fp_icon_scaling"
android:title="@string/lockscreen_fp_icon_scale"
app:defaultValue="1.0"
app:iconSpaceReserved="false"
app:maxVal="2.0"
app:minVal="0.5"
app:tickInterval=".1" />
app:tickInterval=".1" /> -->

</PreferenceCategory>

Expand Down

0 comments on commit f654e96

Please sign in to comment.