Skip to content

Commit

Permalink
Revert "Disable hide icon in launcher after click on Huawei button"
Browse files Browse the repository at this point in the history
  • Loading branch information
WSTxda committed Aug 26, 2024
1 parent c07099d commit 0e4c0cf
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
import android.widget.TextView;

import androidx.annotation.StringRes;
import androidx.preference.PreferenceManager;
import androidx.webkit.WebSettingsCompat;
import androidx.webkit.WebViewClientCompat;
import androidx.webkit.WebViewFeature;
Expand Down Expand Up @@ -193,7 +192,6 @@ protected void onHuaweiButtonClicked() {
super.onHuaweiButtonClicked();
state++;
if (state == 1) {
PreferenceManager.getDefaultSharedPreferences(this).edit().putBoolean("pref_hide_launcher_icon", false).apply();
if (!isSpoofingEnabled(this)) {
LastCheckinInfo.clear(this);
setSpoofingEnabled(this, true);
Expand Down

0 comments on commit 0e4c0cf

Please sign in to comment.