mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
Setting FLAG_ACTIVITY_SINGLE_TOP for notification intents fixes
display problems with GamesList in dual-pane mode, I think because it prevents stacked activities. Need to figure out if it introduces problems elsewhere.
This commit is contained in:
parent
9cfed0be8b
commit
a7013f3ede
1 changed files with 1 additions and 1 deletions
|
@ -2503,7 +2503,7 @@ public class GamesListDelegate extends ListDelegateBase
|
||||||
{
|
{
|
||||||
Intent intent = new Intent( context, MainActivity.class );
|
Intent intent = new Intent( context, MainActivity.class );
|
||||||
intent.setFlags( Intent.FLAG_ACTIVITY_CLEAR_TOP
|
intent.setFlags( Intent.FLAG_ACTIVITY_CLEAR_TOP
|
||||||
| Intent.FLAG_ACTIVITY_NEW_TASK );
|
| Intent.FLAG_ACTIVITY_SINGLE_TOP );
|
||||||
return intent;
|
return intent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue