Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 001277f6 authored by Ned Burns's avatar Ned Burns
Browse files

Add @CurrentTimeMillisLong to new API method

Addressing API council feedback

Test: None
Bug: 123223649
Change-Id: I797e293be1fbb552c54d010a379d8e87a201a57c
parent f27caf7d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package android.service.notification;

import android.annotation.CurrentTimeMillisLong;
import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.SdkConstant;
@@ -1675,6 +1676,7 @@ public abstract class NotificationListenerService extends Service {
         *
         * @return the time of the last alerting behavior, in milliseconds.
         */
        @CurrentTimeMillisLong
        public long getLastAudiblyAlertedMillis() {
            return mLastAudiblyAlertedMs;
        }