From 03ac342884fe864593f451d1cfbe1ca4b0065a3c Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Thu, 3 Dec 2020 14:15:03 +0800 Subject: Add setImmersiveModeNotApplicable() in some activities. --- .../infinityforreddit/activities/EditMultiRedditActivity.java | 3 +++ .../infinityforreddit/activities/SelectedSubredditsActivity.java | 3 +++ 2 files changed, 6 insertions(+) (limited to 'app') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/EditMultiRedditActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/EditMultiRedditActivity.java index ab3ddfd3..e8171567 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/EditMultiRedditActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/EditMultiRedditActivity.java @@ -94,6 +94,9 @@ public class EditMultiRedditActivity extends BaseActivity { @Override protected void onCreate(Bundle savedInstanceState) { ((Infinity) getApplication()).getAppComponent().inject(this); + + setImmersiveModeNotApplicable(); + super.onCreate(savedInstanceState); setContentView(R.layout.activity_edit_multi_reddit); diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SelectedSubredditsActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SelectedSubredditsActivity.java index f6100535..3097538b 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SelectedSubredditsActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SelectedSubredditsActivity.java @@ -61,6 +61,9 @@ public class SelectedSubredditsActivity extends BaseActivity implements Activity @Override protected void onCreate(Bundle savedInstanceState) { ((Infinity) getApplication()).getAppComponent().inject(this); + + setImmersiveModeNotApplicable(); + super.onCreate(savedInstanceState); setContentView(R.layout.activity_selected_subreddits); -- cgit v1.2.3