summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Julia Reynolds <juliacr@google.com> 2016-06-20 16:40:29 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-06-20 16:40:31 +0000
commit2d5c95f5b93bdfd34232bc3dac23644848c90d8f (patch)
tree94d339a224933f4cc82a216cf6c163faf6a5ed83
parent5ae42bb661ce46bcc43f1be35b2e7465b4be5343 (diff)
parent370bca66e79ebc0bc11916e00c3fe72a5c222eb6 (diff)
Merge "Don't reference variables before they are assigned." into nyc-dev
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
index 542b25859036..9e0812ee2de0 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
@@ -1100,6 +1100,7 @@ public abstract class BaseStatusBar extends SystemUI implements
settingsButton.setVisibility(View.GONE);
}
+ guts.bindImportance(pmUser, sbn, row, mNotificationData.getImportance(sbn.getKey()));
row.findViewById(R.id.done).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
@@ -1120,7 +1121,6 @@ public abstract class BaseStatusBar extends SystemUI implements
}
}
});
- guts.bindImportance(pmUser, sbn, row, mNotificationData.getImportance(sbn.getKey()));
}
private void saveImportanceCloseControls(StatusBarNotification sbn,