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

Commit 38ed4e7f authored by Matt Pape's avatar Matt Pape
Browse files

Remove DeviceConfig.Telephony interface from System API.

Per API council feedback, we are making changes to include only the
namespace in the system API defined in DeviceConfig.java. Strings which
define property names should be defined in code local to the feature
instead.

Bug: 126411407
Test: atest FrameworksCoreTests:DeviceConfigTest

Change-Id: I8d5b1f2dab84a1fe1f645cad508bebbc86f2c9c5
parent f54473a8
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -5888,6 +5888,7 @@ package android.provider {
    field public static final String NAMESPACE_SCHEDULER = "scheduler";
    field public static final String NAMESPACE_STORAGE = "storage";
    field public static final String NAMESPACE_SYSTEMUI = "systemui";
    field public static final String NAMESPACE_TELEPHONY = "telephony";
    field public static final String NAMESPACE_TEXTCLASSIFIER = "textclassifier";
  }
@@ -5915,13 +5916,6 @@ package android.provider {
    method @Nullable public String getString(@NonNull String, @Nullable String);
  }
  public static interface DeviceConfig.Telephony {
    field public static final String NAMESPACE = "telephony";
    field public static final String RAMPING_RINGER_DURATION = "ramping_ringer_duration";
    field public static final String RAMPING_RINGER_ENABLED = "ramping_ringer_enabled";
    field public static final String RAMPING_RINGER_VIBRATION_DURATION = "ramping_ringer_vibration_duration";
  }
  public final class DocumentsContract {
    method public static boolean isManageMode(@NonNull android.net.Uri);
    method @NonNull public static android.net.Uri setManageMode(@NonNull android.net.Uri);
+8 −1
Original line number Diff line number Diff line
@@ -240,6 +240,14 @@ public final class DeviceConfig {
    @SystemApi
    public static final String NAMESPACE_SYSTEMUI = "systemui";

    /**
     * Telephony related properties.
     *
     * @hide
     */
    @SystemApi
    public static final String NAMESPACE_TELEPHONY = "telephony";

    /**
     * Namespace for TextClassifier related features.
     *
@@ -285,7 +293,6 @@ public final class DeviceConfig {
     *
     * @hide
     */
    @SystemApi
    public interface Telephony {
        String NAMESPACE = "telephony";
        /**