Remove framework-connectivity-annotations library
This library can be removed because the annotations are no longer used out of module. @RestrictBackgroundStatus and @MultipathPreference are defined in connectivity mainline module. Annotate these in non-updatable platform is not going to be manageable long term. For example, if the module gets updated and the annotation gets more values then it's a problem in non-updatable platform. So, it should not have IntDef cross module boundaries. Ignore-AOSP-First: AOSP doesn't include this change yet Bug: 183972925 Test: build Change-Id: I63f1fde73c4ffdaff9fda914e33cbb5a110ba64e
This commit is contained in:
@@ -27,7 +27,7 @@ import android.annotation.Nullable;
|
||||
import android.annotation.SystemApi;
|
||||
import android.content.ContentResolver;
|
||||
import android.content.Context;
|
||||
import android.net.ConnectivityAnnotations.MultipathPreference;
|
||||
import android.net.ConnectivityManager.MultipathPreference;
|
||||
import android.os.Process;
|
||||
import android.os.UserHandle;
|
||||
import android.provider.Settings;
|
||||
|
||||
Reference in New Issue
Block a user