Skip to content

Commit 35e38dd

Browse files
We have updated and renamed the "launch to adjacent screen" module/app so is now "launch to adjacent widnow" (#1)
1 parent f0f5746 commit 35e38dd

27 files changed

Lines changed: 9 additions & 11 deletions

File tree

launch-to-adjacent-screen/src/main/res/values/strings.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.
File renamed without changes.

launch-to-adjacent-screen/src/main/AndroidManifest.xml renamed to launch-to-adjacent-window/src/main/AndroidManifest.xml

File renamed without changes.

launch-to-adjacent-screen/src/main/java/com/microsoft/foldables/intent/MainActivity.kt renamed to launch-to-adjacent-window/src/main/java/com/microsoft/foldables/intent/MainActivity.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ class MainActivity : AppCompatActivity() {
1010
super.onCreate(savedInstanceState)
1111
setContentView(R.layout.activity_main)
1212

13-
open_activity_in_adjacent_screen.setOnClickListener { openActivityInAdjacentScreen() }
13+
open_activity_in_adjacent_screen.setOnClickListener { openActivityInAdjacentWindow() }
1414
}
1515

16-
private fun openActivityInAdjacentScreen() {
16+
private fun openActivityInAdjacentWindow() {
1717
val intent = Intent(this, SecondActivity::class.java)
1818
intent.addFlags(
19-
Intent.FLAG_ACTIVITY_MULTIPLE_TASK or
19+
Intent.FLAG_ACTIVITY_LAUNCH_ADJACENT or
2020
Intent.FLAG_ACTIVITY_NEW_TASK
2121
)
2222
startActivity(intent)

launch-to-adjacent-screen/src/main/java/com/microsoft/foldables/intent/SecondActivity.kt renamed to launch-to-adjacent-window/src/main/java/com/microsoft/foldables/intent/SecondActivity.kt

File renamed without changes.

launch-to-adjacent-screen/src/main/res/drawable-v24/ic_launcher_foreground.xml renamed to launch-to-adjacent-window/src/main/res/drawable-v24/ic_launcher_foreground.xml

File renamed without changes.

launch-to-adjacent-screen/src/main/res/drawable/ic_launcher_background.xml renamed to launch-to-adjacent-window/src/main/res/drawable/ic_launcher_background.xml

File renamed without changes.

launch-to-adjacent-screen/src/main/res/layout/activity_main.xml renamed to launch-to-adjacent-window/src/main/res/layout/activity_main.xml

File renamed without changes.

0 commit comments

Comments
 (0)