Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

Merge PR #70: launcher: optional Solar Hijri (Shamsi) date

Gathin239810b2966a2e
diff --cc launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java
index 56e547eec,b9d4188d5..78ce0d9b5
--- a/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java
+++ b/launcher/app/src/main/java/com/gathin/tvhome/MainActivity.java
@@@ -67,13 -66,11 +67,15 @@@ public class MainActivity extends Activ
private int ambientColor;
private boolean heroShown;
private TextView greeting;
+ private View btnInputs;
private TextView btnWifi;
+ private TextView shamsiDate;
+ private boolean shamsi;
private SpringAnimation springX, springY;
private float glassTargetX, glassTargetY;
+ // How far the grid has scrolled the glass. springY works without it, in grid content space, so a
+ // scroll moves the glass in lockstep with its tile instead of becoming a moving spring target.
+ private float glassScrollShift;
private boolean glassShown;
// Static so they survive the activity being destroyed while another app is open (low-memory TVs,
// or Developer options → "Don't keep activities"); they only reset when the process dies.