Skip to content

Commit

Permalink
Hardcode search bar to always be coloured
Browse files Browse the repository at this point in the history
  • Loading branch information
amirzaidi committed May 19, 2019
1 parent c96d243 commit cad04d9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 62 deletions.
29 changes: 0 additions & 29 deletions res/drawable/ic_mic_shadow.xml

This file was deleted.

29 changes: 0 additions & 29 deletions res/drawable/ic_super_g_shadow.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.app.WallpaperInfo;
import android.app.WallpaperManager;
import android.content.ActivityNotFoundException;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
Expand Down Expand Up @@ -112,8 +110,7 @@ private void playQsbAnimation() {
}

private boolean isDefaultLiveWallpaper() {
WallpaperInfo wallpaperInfo = WallpaperManager.getInstance(getContext()).getWallpaperInfo();
return wallpaperInfo != null && wallpaperInfo.getComponent().flattenToString().equals(getContext().getString(R.string.default_live_wallpaper));
return true;
}

private void doOnClick() {
Expand Down

0 comments on commit cad04d9

Please sign in to comment.