mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 898044 - Remove unnecessary null check from GeckoApp.onSaveInstanceState. r=kats
This commit is contained in:
parent
31db87e927
commit
30a6de4f30
@ -489,9 +489,6 @@ abstract public class GeckoApp
|
||||
protected void onSaveInstanceState(Bundle outState) {
|
||||
super.onSaveInstanceState(outState);
|
||||
|
||||
if (outState == null)
|
||||
outState = new Bundle();
|
||||
|
||||
outState.putBoolean(SAVED_STATE_IN_BACKGROUND, isApplicationInBackground());
|
||||
outState.putString(SAVED_STATE_PRIVATE_SESSION, mPrivateBrowsingSession);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user