pull/171/head
FongMi 2 years ago
parent b9d0810bee
commit 7f1fde9fbd
  1. 1
      app/src/leanback/AndroidManifest.xml
  2. 1
      app/src/main/java/com/fongmi/android/tv/api/LiveConfig.java

@ -105,6 +105,7 @@
android:name=".ui.activity.LiveActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:exported="true"
android:launchMode="singleTop"
android:screenOrientation="sensorLandscape"
android:theme="@style/AppTheme.Live" />

@ -232,6 +232,7 @@ public class LiveConfig {
this.home.setActivated(true);
config.home(home.getName()).update();
for (Live item : getLives()) item.setActivated(home);
if (App.activity() != null && App.activity() instanceof LiveActivity) return;
if (check) if (home.isBoot() || Setting.isBootLive()) App.post(this::bootLive);
}
}

Loading…
Cancel
Save