public static boolean wasNotificationRecentlyClicked(){
  if (sInstance == null)   return false;
  long now=System.currentTimeMillis();
  return now - sInstance.mLastNotificationClickMs < 5 * 1000;
}

public static boolean wasNotificationRecentlyClicked ( ) { if ( sInstance == null ) return false ; long now = System . currentTimeMillis ( ) ; return now - sInstance . mLastNotificationClickMs < 5 * 1000 ; }
returns whether a notification has been clicked in the last 5 seconds . used for startup . bringtoforegroundreason uma histogram .
