Add 'subscription' to special URLs map. Fix PIP restore for onNewIntent.

This commit is contained in:
Akinwale Ariwodola 2020-05-24 18:46:47 +01:00
parent 2c98ed2d8d
commit 6840997793

View file

@ -528,6 +528,7 @@ public class MainActivity extends AppCompatActivity implements SdkStatusListener
specialRouteFragmentClassMap.put("following", FollowingFragment.class);
specialRouteFragmentClassMap.put("rewards", RewardsFragment.class);
specialRouteFragmentClassMap.put("settings", SettingsFragment.class);
specialRouteFragmentClassMap.put("subscription", FollowingFragment.class);
specialRouteFragmentClassMap.put("subscriptions", FollowingFragment.class);
specialRouteFragmentClassMap.put("wallet", WalletFragment.class);
specialRouteFragmentClassMap.put("discover", FollowingFragment.class);
@ -2384,6 +2385,9 @@ public class MainActivity extends AppCompatActivity implements SdkStatusListener
// pass
}
}
inPictureInPictureMode = false;
renderFullMode();
}
}
}