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

Commit bf1b293e authored by Artur Satayev's avatar Artur Satayev
Browse files

Add @UnsupportedAppUsage annotations for max-p.

See go/UnsupportedAppUsage for more details.

These have already been greylisted, however due to bugs/omissions in the tooling have been kept in go/greylist-txt instead of being annotated in the code.

Exempt-From-Owner-Approval:: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@

Bug: 137350495
Test: m
Change-Id: Id598a2b419b2f8200f46f872378b3f2eef1f3d84
parent 0d21a3ab
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -26,6 +26,8 @@ import android.service.carrier.ICarrierMessagingService;

import com.android.internal.util.Preconditions;

import dalvik.annotation.compat.UnsupportedAppUsage;

/**
 * Provides basic structure for platform to connect to the carrier messaging service.
 * <p>
@@ -42,7 +44,12 @@ import com.android.internal.util.Preconditions;
 * CarrierMessagingService.
 * @hide
 */

public abstract class CarrierMessagingServiceManager {

    @UnsupportedAppUsage(maxTargetSdk = android.os.Build.VERSION_CODES.P)
    public CarrierMessagingServiceManager() {}

    // Populated by bindToCarrierMessagingService. bindToCarrierMessagingService must complete
    // prior to calling disposeConnection so that mCarrierMessagingServiceConnection is initialized.
    private volatile CarrierMessagingServiceConnection mCarrierMessagingServiceConnection;