Skip to content

Commit dd2fe4e

Browse files
author
davidgraeff
committed
Prevent android animation between activity changes II
1 parent e0115b4 commit dd2fe4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/oly/netpowerctrl/service/ShortcutExecutionActivity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ protected void onCreate(final Bundle savedInstanceState)
4040

4141
if (extra.getBoolean("show_mainwindow")) {
4242
Intent mainIt = new Intent(this, NetpowerctrlActivity.class);
43+
mainIt.setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
4344
startActivity(mainIt);
4445
}
4546
finish();

0 commit comments

Comments
 (0)