Loading
replace hasBaseUserRestriction with getProfileParent
In support of the Telecom platform's mainline module cleanup, this commit replaces a call to the hidden API `hasBaseUserRestriction`. This approach provides full functional equivalence while aligning with platform policy to eliminate dependencies on hidden APIs. Flag: com.android.server.telecom.flags.resolve_hidden_dependencies_two Fixes: 308491827 Test: existing unit tests + CTS Change-Id: I87263f80a187996c3b4c53ca13b89fcad9bd0ca5