添加分屏测试功能支持多窗口MainActivity
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Mon Apr 27 18:32:35 CST 2026
|
||||
#Mon Apr 27 19:22:37 CST 2026
|
||||
stageCount=20
|
||||
libraryProject=libappbase
|
||||
baseVersion=15.15
|
||||
publishVersion=15.15.19
|
||||
buildCount=17
|
||||
buildCount=26
|
||||
baseBetaVersion=15.15.20
|
||||
|
||||
@@ -59,6 +59,7 @@ public class LogActivity extends Activity {
|
||||
*/
|
||||
public static void startLogActivity(Context context, boolean newTask) {
|
||||
Intent intent = new Intent(context, LogActivity.class);
|
||||
intent.setFlags(0);
|
||||
|
||||
if (newTask) {
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
@@ -70,6 +71,7 @@ public class LogActivity extends Activity {
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
|
||||
|
||||
Rect bounds = new Rect();
|
||||
if (context instanceof Activity) {
|
||||
Activity activity = (Activity) context;
|
||||
|
||||
Reference in New Issue
Block a user