mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Only hide UI if ScreenLock is enabled
This commit is contained in:
committed by
B. Petersen
parent
60fde960ce
commit
d649f74a6e
@@ -49,7 +49,9 @@ public abstract class BaseActionBarActivity extends AppCompatActivity {
|
||||
|
||||
@Override
|
||||
protected void onStop() {
|
||||
findViewById(android.R.id.content).setVisibility(View.GONE);
|
||||
if (ScreenLockUtil.isScreenLockEnabled(this)) {
|
||||
findViewById(android.R.id.content).setVisibility(View.GONE);
|
||||
}
|
||||
super.onStop();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user