diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-07-18 18:52:36 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-07-18 18:52:36 -0700 |
commit | 441ec41cf93ec70aafba98a3c669ca3b61fd0c45 (patch) | |
tree | a2796faf6f4177dc65c0d4b68cdd3ea493b6e634 /app | |
parent | a12581051e8bce57c085a50082c47edbe5848036 (diff) | |
download | dsub-441ec41cf93ec70aafba98a3c669ca3b61fd0c45.tar.gz dsub-441ec41cf93ec70aafba98a3c669ca3b61fd0c45.tar.bz2 dsub-441ec41cf93ec70aafba98a3c669ca3b61fd0c45.zip |
Fix ActionMode removing translucent status bars
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/adapter/SectionAdapter.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/adapter/SectionAdapter.java b/app/src/main/java/github/daneren2005/dsub/adapter/SectionAdapter.java index 629585b0..93c55985 100644 --- a/app/src/main/java/github/daneren2005/dsub/adapter/SectionAdapter.java +++ b/app/src/main/java/github/daneren2005/dsub/adapter/SectionAdapter.java @@ -407,6 +407,9 @@ public abstract class SectionAdapter<T> extends RecyclerView.Adapter<UpdateViewH currentActionMode = null; selected.clear(); notifyDataSetChanged(); + + Window window = ((SubsonicFragmentActivity) context).getWindow(); + window.addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS); } }); } |