summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/com/android/dialer/filterednumber/ManageBlockedNumbersActivity.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/android/dialer/filterednumber/ManageBlockedNumbersActivity.java b/src/com/android/dialer/filterednumber/ManageBlockedNumbersActivity.java
index 581ff98b5..f785cf77a 100644
--- a/src/com/android/dialer/filterednumber/ManageBlockedNumbersActivity.java
+++ b/src/com/android/dialer/filterednumber/ManageBlockedNumbersActivity.java
@@ -49,7 +49,10 @@ public class ManageBlockedNumbersActivity extends AppCompatActivity
super.onCreate(savedInstanceState);
setContentView(R.layout.blocked_numbers_activity);
- showManagementUi();
+ // If savedInstanceState != null, the Activity will automatically restore the last fragment.
+ if (savedInstanceState == null) {
+ showManagementUi();
+ }
}
public void showManagementUi() {