Merge "Annotate single property listener from DeviceConfig as removed. Will remove entirely after all references (esp. Play Services) are cleaned up." into qt-dev
This commit is contained in:
@@ -5821,7 +5821,6 @@ package android.provider {
|
||||
|
||||
public final class DeviceConfig {
|
||||
method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static void addOnPropertiesChangedListener(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.provider.DeviceConfig.OnPropertiesChangedListener);
|
||||
method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static void addOnPropertyChangedListener(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.provider.DeviceConfig.OnPropertyChangedListener);
|
||||
method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static boolean getBoolean(@NonNull String, @NonNull String, boolean);
|
||||
method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static float getFloat(@NonNull String, @NonNull String, float);
|
||||
method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static int getInt(@NonNull String, @NonNull String, int);
|
||||
@@ -5829,7 +5828,6 @@ package android.provider {
|
||||
method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static String getProperty(@NonNull String, @NonNull String);
|
||||
method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static String getString(@NonNull String, @NonNull String, @Nullable String);
|
||||
method public static void removeOnPropertiesChangedListener(@NonNull android.provider.DeviceConfig.OnPropertiesChangedListener);
|
||||
method public static void removeOnPropertyChangedListener(@NonNull android.provider.DeviceConfig.OnPropertyChangedListener);
|
||||
method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static void resetToDefaults(int, @Nullable String);
|
||||
method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static boolean setProperty(@NonNull String, @NonNull String, @Nullable String, boolean);
|
||||
field public static final String NAMESPACE_ACTIVITY_MANAGER = "activity_manager";
|
||||
@@ -5862,10 +5860,6 @@ package android.provider {
|
||||
method public void onPropertiesChanged(@NonNull android.provider.DeviceConfig.Properties);
|
||||
}
|
||||
|
||||
public static interface DeviceConfig.OnPropertyChangedListener {
|
||||
method public void onPropertyChanged(@NonNull String, @NonNull String, @Nullable String);
|
||||
}
|
||||
|
||||
public static class DeviceConfig.Properties {
|
||||
method public boolean getBoolean(@NonNull String, boolean);
|
||||
method public float getFloat(@NonNull String, float);
|
||||
|
||||
@@ -125,6 +125,19 @@ package android.os {
|
||||
|
||||
}
|
||||
|
||||
package android.provider {
|
||||
|
||||
public final class DeviceConfig {
|
||||
method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static void addOnPropertyChangedListener(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.provider.DeviceConfig.OnPropertyChangedListener);
|
||||
method public static void removeOnPropertyChangedListener(@NonNull android.provider.DeviceConfig.OnPropertyChangedListener);
|
||||
}
|
||||
|
||||
public static interface DeviceConfig.OnPropertyChangedListener {
|
||||
method public void onPropertyChanged(@NonNull String, @NonNull String, @Nullable String);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.service.notification {
|
||||
|
||||
public abstract class NotificationListenerService extends android.app.Service {
|
||||
|
||||
@@ -2212,7 +2212,6 @@ package android.provider {
|
||||
|
||||
public final class DeviceConfig {
|
||||
method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static void addOnPropertiesChangedListener(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.provider.DeviceConfig.OnPropertiesChangedListener);
|
||||
method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static void addOnPropertyChangedListener(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.provider.DeviceConfig.OnPropertyChangedListener);
|
||||
method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static boolean getBoolean(@NonNull String, @NonNull String, boolean);
|
||||
method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static float getFloat(@NonNull String, @NonNull String, float);
|
||||
method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static int getInt(@NonNull String, @NonNull String, int);
|
||||
@@ -2220,7 +2219,6 @@ package android.provider {
|
||||
method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static String getProperty(@NonNull String, @NonNull String);
|
||||
method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static String getString(@NonNull String, @NonNull String, @Nullable String);
|
||||
method public static void removeOnPropertiesChangedListener(@NonNull android.provider.DeviceConfig.OnPropertiesChangedListener);
|
||||
method public static void removeOnPropertyChangedListener(@NonNull android.provider.DeviceConfig.OnPropertyChangedListener);
|
||||
method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static void resetToDefaults(int, @Nullable String);
|
||||
method @RequiresPermission(android.Manifest.permission.WRITE_DEVICE_CONFIG) public static boolean setProperty(@NonNull String, @NonNull String, @Nullable String, boolean);
|
||||
field public static final String NAMESPACE_AUTOFILL = "autofill";
|
||||
@@ -2234,10 +2232,6 @@ package android.provider {
|
||||
method public void onPropertiesChanged(@NonNull android.provider.DeviceConfig.Properties);
|
||||
}
|
||||
|
||||
public static interface DeviceConfig.OnPropertyChangedListener {
|
||||
method public void onPropertyChanged(@NonNull String, @NonNull String, @Nullable String);
|
||||
}
|
||||
|
||||
public static class DeviceConfig.Properties {
|
||||
method public boolean getBoolean(@NonNull String, boolean);
|
||||
method public float getFloat(@NonNull String, float);
|
||||
|
||||
@@ -1 +1,14 @@
|
||||
// Signature format: 2.0
|
||||
package android.provider {
|
||||
|
||||
public final class DeviceConfig {
|
||||
method @RequiresPermission("android.permission.READ_DEVICE_CONFIG") public static void addOnPropertyChangedListener(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.provider.DeviceConfig.OnPropertyChangedListener);
|
||||
method public static void removeOnPropertyChangedListener(@NonNull android.provider.DeviceConfig.OnPropertyChangedListener);
|
||||
}
|
||||
|
||||
public static interface DeviceConfig.OnPropertyChangedListener {
|
||||
method public void onPropertyChanged(@NonNull String, @NonNull String, @Nullable String);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -493,6 +493,7 @@ public final class DeviceConfig {
|
||||
* @param onPropertyChangedListener The listener to add.
|
||||
* @hide
|
||||
* @see #removeOnPropertyChangedListener(OnPropertyChangedListener)
|
||||
* @removed
|
||||
*/
|
||||
@SystemApi
|
||||
@TestApi
|
||||
@@ -569,6 +570,7 @@ public final class DeviceConfig {
|
||||
* @param onPropertyChangedListener The listener to remove.
|
||||
* @hide
|
||||
* @see #addOnPropertyChangedListener(String, Executor, OnPropertyChangedListener)
|
||||
* @removed
|
||||
*/
|
||||
@SystemApi
|
||||
@TestApi
|
||||
@@ -737,6 +739,7 @@ public final class DeviceConfig {
|
||||
* Override {@link #onPropertyChanged(String, String, String)} to handle callbacks for changes.
|
||||
*
|
||||
* @hide
|
||||
* @removed
|
||||
*/
|
||||
@SystemApi
|
||||
@TestApi
|
||||
|
||||
Reference in New Issue
Block a user