Skip to content

Commit 14f0670

Browse files
committed
Merge branch 'add-saving-data-on-view-switch' of https://github.com/gruszm/Calculator-Android into add-saving-data-on-view-switch
2 parents 81ec5ee + da0099b commit 14f0670

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@
1616
tools:targetApi="31">
1717
<activity
1818
android:name=".activities.AdvancedCalculatorActivity"
19-
android:exported="false"/>
19+
android:exported="false"
20+
android:configChanges="orientation|screenSize"/>
2021
<activity
2122
android:name=".activities.HomeActivity"
22-
android:exported="true">
23+
android:exported="true"
24+
android:configChanges="orientation|screenSize">
2325
<intent-filter>
2426
<action android:name="android.intent.action.MAIN"/>
2527

@@ -28,7 +30,8 @@
2830
</activity>
2931
<activity
3032
android:name=".activities.SimpleCalculatorActivity"
31-
android:exported="true">
33+
android:exported="false"
34+
android:configChanges="orientation|screenSize">
3235
</activity>
3336
</application>
3437

0 commit comments

Comments
 (0)