瀏覽代碼

1.修改直播间屏幕常亮

王鹏鹏 2 年之前
父節點
當前提交
eaf69da94a
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      livebroadcast/src/main/AndroidManifest.xml
  2. 1 0
      livebroadcast/src/main/manifest/AndroidManifest.xml

+ 1 - 0
livebroadcast/src/main/AndroidManifest.xml

@@ -29,6 +29,7 @@
         <activity
             android:name=".activity.detail.LiveBroadcastActivity"
             android:configChanges="keyboardHidden|orientation|screenSize"
+            android:keepScreenOn="true"
             android:screenOrientation="landscape"
             android:windowSoftInputMode="adjustPan" />
         <activity

+ 1 - 0
livebroadcast/src/main/manifest/AndroidManifest.xml

@@ -30,6 +30,7 @@
         <activity
             android:name=".activity.detail.LiveBroadcastActivity"
             android:configChanges="keyboardHidden|orientation|screenSize"
+            android:keepScreenOn="true"
             android:screenOrientation="landscape"
             android:windowSoftInputMode="adjustPan" />
         <activity