Permalink
Browse files

Update membar a bit more often

Using the FAB clear-all was not updating the membar at all and thus giving
us false readings. At one point on the OP3T it said I had less than 1GB of
ram with no open apps. This fixes that issue.

Change-Id: Ic56e19dbba17f48f0c9d77112e259cd48c7d0a75
  • Loading branch information...
Mazda-- authored and xlxfoxxlx committed May 29, 2017
1 parent 6f47165 commit 0c786803919000db34a145d7d8e6be217da284b5
Showing with 2 additions and 0 deletions.
  1. +2 −0 packages/SystemUI/src/com/android/systemui/recents/views/RecentsView.java
@@ -335,6 +335,7 @@ public void showEmptyView(int msgResId) {
@Override
public void onClick(View view) {
EventBus.getDefault().send(new ToggleRecentsEvent());
updateMemoryStatus();
}
});
}
@@ -389,6 +390,7 @@ protected void onAttachedToWindow() {
mClearRecents.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
EventBus.getDefault().send(new DismissAllTaskViewsEvent());
updateMemoryStatus();
}
});

0 comments on commit 0c78680

Please sign in to comment.