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

Commit c624e7d1 authored by Jiyong Park's avatar Jiyong Park Committed by Meng Wang
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
Merged-In: I60890104bf20a2c674edd91ec6b487cca1b4e37b
Change-Id: I60890104bf20a2c674edd91ec6b487cca1b4e37b
parent 9e590914
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -665,7 +665,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) {