summaryrefslogtreecommitdiffstats
path: root/core/java/android/service
diff options
context:
space:
mode:
authorGriff Hazen <griff@google.com>2014-09-05 20:04:09 -0700
committerGriff Hazen <griff@google.com>2014-09-05 20:04:09 -0700
commite9aac5f44d7bf8c4a523773e57c30fd8340850eb (patch)
tree55705bc1e3aa4272cbf937be712c5b13c9835555 /core/java/android/service
parentc6bd32e94fae8dc2c394058bc840d239c3b5189b (diff)
downloadframeworks_base-e9aac5f44d7bf8c4a523773e57c30fd8340850eb.zip
frameworks_base-e9aac5f44d7bf8c4a523773e57c30fd8340850eb.tar.gz
frameworks_base-e9aac5f44d7bf8c4a523773e57c30fd8340850eb.tar.bz2
Remove reference to StatusBarNotification after the value is accessed.
StatusBarNotificationHolder values are fetched exactly once. Bug: 15426276 Bug: 16575857 Change-Id: I3d11aba717d17426d31e7b1a07560f6b7e79c4ec
Diffstat (limited to 'core/java/android/service')
-rw-r--r--core/java/android/service/notification/IStatusBarNotificationHolder.aidl1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/service/notification/IStatusBarNotificationHolder.aidl b/core/java/android/service/notification/IStatusBarNotificationHolder.aidl
index fd6b59e..c25cdb2 100644
--- a/core/java/android/service/notification/IStatusBarNotificationHolder.aidl
+++ b/core/java/android/service/notification/IStatusBarNotificationHolder.aidl
@@ -20,5 +20,6 @@ import android.service.notification.StatusBarNotification;
/** @hide */
interface IStatusBarNotificationHolder {
+ /** Fetch the held StatusBarNotification. This method should only be called once per Holder */
StatusBarNotification get();
}