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

Commit 4fcf2a08 authored by Raphael Kim's avatar Raphael Kim Committed by Automerger Merge Worker
Browse files

Merge "[CDM] Gate hidden test API behind a permission" into udc-dev am: f60a0fe0 am: 1720e6c9

parents 3c8e52c4 1720e6c9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1331,10 +1331,12 @@ public final class CompanionDeviceManager {

    /**
     * Enable or disable secure transport for testing. Defaults to enabled.
     * Should not be used outside of testing.
     *
     * @param enabled true to enable. false to disable.
     * @hide
     */
    @RequiresPermission(android.Manifest.permission.MANAGE_COMPANION_DEVICES)
    public void enableSecureTransport(boolean enabled) {
        try {
            mService.enableSecureTransport(enabled);