Merge pull request #396 from okcaptain/release

update
pull/398/head
okcaptain 2 years ago committed by GitHub
commit 7cec976ea6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      app/build.gradle
  2. 28
      app/src/leanback/AndroidManifest.xml
  3. 2
      app/src/leanback/java/com/fongmi/android/tv/ui/activity/SettingActivity.java
  4. 2
      app/src/mobile/java/com/fongmi/android/tv/ui/fragment/SettingFragment.java

@ -10,8 +10,8 @@ android {
applicationId "com.fongmi.android.tv"
minSdk 21
targetSdk 28
versionCode 232
versionName "0412"
versionCode 233
versionName "2.3.3"
javaCompileOptions {
annotationProcessorOptions {
arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]

@ -30,7 +30,7 @@
<activity
android:name=".ui.activity.HomeActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden|navigation|orientation"
android:exported="true"
android:screenOrientation="sensorLandscape">
<intent-filter>
@ -87,7 +87,7 @@
<activity
android:name=".ui.activity.CastActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden|navigation|orientation"
android:exported="true"
android:launchMode="singleTop"
android:screenOrientation="sensorLandscape">
@ -99,12 +99,12 @@
<activity
android:name=".ui.activity.VodActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden|navigation|orientation"
android:screenOrientation="sensorLandscape" />
<activity
android:name=".ui.activity.LiveActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden|navigation|orientation"
android:exported="true"
android:launchMode="singleTop"
android:screenOrientation="sensorLandscape"
@ -112,53 +112,53 @@
<activity
android:name=".ui.activity.VideoActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden|navigation|orientation"
android:screenOrientation="sensorLandscape" />
<activity
android:name=".ui.activity.HistoryActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden|navigation|orientation"
android:screenOrientation="sensorLandscape" />
<activity
android:name=".ui.activity.KeepActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden|navigation|orientation"
android:screenOrientation="sensorLandscape" />
<activity
android:name=".ui.activity.PushActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden|navigation|orientation"
android:screenOrientation="sensorLandscape" />
<activity
android:name=".ui.activity.SearchActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden|navigation|orientation"
android:screenOrientation="sensorLandscape"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".ui.activity.CollectActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden|navigation|orientation"
android:screenOrientation="sensorLandscape" />
<activity
android:name=".ui.activity.SettingActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden|navigation|orientation"
android:screenOrientation="sensorLandscape" />
<activity
android:name=".ui.activity.SettingPlayerActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden|navigation|orientation"
android:screenOrientation="sensorLandscape" />
<activity
android:name=".ui.activity.SettingDanmuActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden|navigation|orientation"
android:screenOrientation="sensorLandscape" />
<activity
android:name=".ui.activity.SettingCustomActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:configChanges="screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden|navigation|orientation"
android:screenOrientation="sensorLandscape" />
<service

@ -346,7 +346,7 @@ public class SettingActivity extends BaseActivity implements ConfigCallback, Sit
public void success() {
setCacheText();
Config config = VodConfig.get().getConfig().json("").save();
if (!config.isEmpty()) setConfig();
if (!config.isEmpty()) setConfig(config);
}
});
return true;

@ -352,7 +352,7 @@ public class SettingFragment extends BaseFragment implements ConfigCallback, Sit
public void success() {
setCacheText();
Config config = VodConfig.get().getConfig().json("").save();
if (!config.isEmpty()) setConfig();
if (!config.isEmpty()) setConfig(config);
}
});
return true;

Loading…
Cancel
Save