Lines Matching refs:Builder
21 * We use a Singleton for a global copy of the NotificationCompat.Builder to update active
27 * to get *ALL* the information and pass it to the builder. We get all the information from a Mock
31 * you to store a reference to the original builder. The benefit is you only need the new/updated
37 * to update, retain the Builder as option 2 outlines.
39 * IMPORTANT NOTE 2: If the global Notification Builder is lost because the process is killed, you
40 * should have a way to recreate the Notification Builder from a persistent state. (We do this as
45 private static NotificationCompat.Builder sGlobalNotificationCompatBuilder = null;
48 * Empty constructor - We don't initialize builder because we rely on a null state to let us
53 public static void setNotificationCompatBuilderInstance (NotificationCompat.Builder builder) {
54 sGlobalNotificationCompatBuilder = builder;
57 public static NotificationCompat.Builder getNotificationCompatBuilderInstance(){