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

Commit 2c14b863 authored by Nate Myren's avatar Nate Myren
Browse files

Revert^2 "Make Call.Details.getAssociatedUser @SystemApi"

7ad1cb3d
Bug: 408470449
FCRS_CODE : m9bpt008bwhwwo
Test: atest CallDetailsTest
Flag: com.android.server.telecom.flags.call_details_get_associated_user_api

Change-Id: I249b2e63319e4b887d1fefcc5dbd6db3bda3c5c3
parent 532d465a
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -238,6 +238,17 @@ java_aconfig_library {
    defaults: ["framework-minus-apex-aconfig-java-defaults"],
}

java_aconfig_library {
    name: "telecom_flags_core_java_aconfig_java_exported_lib",
    aconfig_declarations: "telecom_flags",
    mode: "exported",
    min_sdk_version: "30",
    defaults: ["framework-minus-apex-aconfig-java-defaults"],
    apex_available: [
        "com.android.permission",
    ],
}

// Telephony
java_aconfig_library {
    name: "telephony_flags_core_java_lib",
+1 −0
Original line number Diff line number Diff line
@@ -44095,6 +44095,7 @@ package android.telecom {
    method public boolean can(int);
    method public static String capabilitiesToString(int);
    method public android.telecom.PhoneAccountHandle getAccountHandle();
    method @FlaggedApi("com.android.server.telecom.flags.call_details_get_associated_user_api") @NonNull public android.os.UserHandle getAssociatedUser();
    method public int getCallCapabilities();
    method public int getCallDirection();
    method public int getCallProperties();
+2 −2
Original line number Diff line number Diff line
@@ -1137,9 +1137,9 @@ public final class Call {
         * Gets the user that originated the call
         * @return The user
         *
         * @hide
         */
        public UserHandle getAssociatedUser() {
        @FlaggedApi(Flags.FLAG_CALL_DETAILS_GET_ASSOCIATED_USER_API)
        public @NonNull UserHandle getAssociatedUser() {
            return mAssociatedUser;
        }