Skip to content
Snippets Groups Projects
Commit 9458a6a6 authored by Marvin Ramin's avatar Marvin Ramin
Browse files

Remove virtual_devices more_logs flag

Flag has been rolled out to next. Testing has concluded. The flag + the
flagged code can be removed.

Test: N/A
Bug: 297220822
Change-Id: I0cb0782cccd18d6d858b5971115ac53f4094ebed
parent 116ad772
No related branches found
No related tags found
No related merge requests found
......@@ -184,9 +184,6 @@ public final class VirtualDeviceManager {
int associationId,
@NonNull VirtualDeviceParams params) {
Objects.requireNonNull(params, "params must not be null");
if (Flags.moreLogs()) {
Log.i(TAG, "Creating VirtualDevice");
}
try {
return new VirtualDevice(mService, mContext, associationId, params);
} catch (RemoteException e) {
......
package: "android.companion.virtual.flags"
flag {
name: "more_logs"
namespace: "virtual_devices"
description: "More logs to test flags with"
bug: "291725823"
}
flag {
name: "enable_native_vdm"
namespace: "virtual_devices"
......
......@@ -355,14 +355,6 @@ public class VirtualDeviceManagerService extends SystemService {
@NonNull IVirtualDeviceSoundEffectListener soundEffectListener) {
createVirtualDevice_enforcePermission();
attributionSource.enforceCallingUid();
final long identity = Binder.clearCallingIdentity();
try {
if (Flags.moreLogs()) {
Slog.i(TAG, "Creating VirtualDevice");
}
} finally {
Binder.restoreCallingIdentity(identity);
}
final int callingUid = getCallingUid();
final String packageName = attributionSource.getPackageName();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment