aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-07-18 18:52:36 -0700
committerScott Jackson <daneren2005@gmail.com>2015-07-18 18:52:36 -0700
commit441ec41cf93ec70aafba98a3c669ca3b61fd0c45 (patch)
treea2796faf6f4177dc65c0d4b68cdd3ea493b6e634 /app
parenta12581051e8bce57c085a50082c47edbe5848036 (diff)
downloaddsub-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.java3
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);
}
});
}