Skip to content

Commit

Permalink
Remove portrait orientation check
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmud0808 committed Jan 26, 2024
1 parent 276d948 commit 671d806
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.net.Uri;
import android.os.Handler;
import android.os.Looper;
Expand Down Expand Up @@ -82,8 +81,7 @@ public void run() {
// Update fabricated colors on wallpaper change
if (Intent.ACTION_WALLPAPER_CHANGED.equals(intent.getAction()) ||
(Intent.ACTION_CONFIGURATION_CHANGED.equals(intent.getAction()) &&
lastOrientation == currentOrientation &&
currentOrientation == Configuration.ORIENTATION_PORTRAIT)
lastOrientation == currentOrientation)
) {
validateRootAndUpdateColors(context, new MethodInterface() {
@Override
Expand Down

0 comments on commit 671d806

Please sign in to comment.