1 package com.android.systemui.statusbar.notification.stack 2 3 import android.annotation.IntDef 4 5 /** 6 * For now, declare the available notification buckets (sections) here so that other 7 * presentation code can decide what to do based on an entry's buckets 8 */ 9 @Retention(AnnotationRetention.SOURCE) 10 @IntDef( 11 prefix = ["BUCKET_"], 12 value = [ 13 BUCKET_UNKNOWN, BUCKET_MEDIA_CONTROLS, BUCKET_HEADS_UP, BUCKET_FOREGROUND_SERVICE, 14 BUCKET_PEOPLE, BUCKET_ALERTING, BUCKET_SILENT 15 ] 16 ) 17 annotation class PriorityBucket 18 19 const val BUCKET_UNKNOWN = 0 20 const val BUCKET_MEDIA_CONTROLS = 1 21 const val BUCKET_HEADS_UP = 2 22 const val BUCKET_FOREGROUND_SERVICE = 3 23 const val BUCKET_PEOPLE = 4 24 const val BUCKET_ALERTING = 5 25 const val BUCKET_SILENT = 6 26