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

Commit 8505e098 authored by Jiyong Park's avatar Jiyong Park
Browse files

Remove @SystemApi annotation from private or package-private members

Some private or package-private members have been marked as @SystemApi,
which do not make sense as they aren't accessible to apps due to the
access modifier. Having annotation on such members hasn't been harmful,
but will soon trigger CTS failures when we do the exact match for
SystemAPIs; a runtime entity annotated as @SystemApi have to exist in
the documented API (e.g. system-current.txt). So, removing the bogus
annotations.

Bug: 67891551
Test: m -j does not require m update-system-api
Change-Id: I0083475ef5435cf9a582c2ce1be469c92328fe69
parent ea713a38
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -707,7 +707,6 @@ public class BackupManager {
     * redirects them into main-thread actions.  This serializes the backup
     * progress callbacks nicely within the usual main-thread lifecycle pattern.
     */
    @SystemApi
    private class BackupObserverWrapper extends IBackupObserver.Stub {
        final Handler mHandler;
        final BackupObserver mObserver;
+0 −1
Original line number Diff line number Diff line
@@ -187,7 +187,6 @@ public class HdmiTimerRecordSources {
     * Base class for time-related information.
     * @hide
     */
    @SystemApi
    /* package */ static class TimeUnit {
        /* package */ final int mHour;
        /* package */ final int mMinute;
+0 −3
Original line number Diff line number Diff line
@@ -18,8 +18,6 @@ package android.view;

import static android.view.Display.DEFAULT_DISPLAY;

import android.annotation.SystemApi;

/**
 * Constants for interfacing with WindowManagerService and WindowManagerPolicyInternal.
 * @hide
@@ -62,7 +60,6 @@ public interface WindowManagerPolicyConstants {
     * Set to {@code true} when intent was invoked from pressing the home key.
     * @hide
     */
    @SystemApi
    String EXTRA_FROM_HOME_KEY = "android.intent.extra.FROM_HOME_KEY";

    // TODO: move this to a more appropriate place.