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

Commit 1620457e authored by Jiyong Park's avatar Jiyong Park
Browse files

Remove @SystemApi annotation for an overriding method

Context.registerReceiverForAllUsers are already marked as @SystemApi.
The same method in ContextWrapper overriding it doesn't need to be
annotated as such. In fact, that API is even not recorded in
system-current.txt.

Bug: 144424011
Test: atest CtsSystemApiAnnotationTestCases
Change-Id: I60890104bf20a2c674edd91ec6b487cca1b4e37b
parent 7da35883
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -672,7 +672,6 @@ public class ContextWrapper extends Context {
    /** @hide */
    @Override
    @Nullable
    @SystemApi
    public Intent registerReceiverForAllUsers(@Nullable BroadcastReceiver receiver,
            @NonNull IntentFilter filter, @Nullable String broadcastPermission,
            @Nullable Handler scheduler) {