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

Commit 84264172 authored by Eduard Dumitrescul's avatar Eduard Dumitrescul
Browse files

Remove flag

The original fix didn't require the changes to be placed behind a flag.

Bug: 341879351
Test: manual, described in buganizer
Flag: EXEMPT BUGFIX
Change-Id: Ibe68ee5f4d960fd9dc1d5c8abf0802668c2ff293
parent e91b68ac
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -529,16 +529,6 @@ flag {
  bug: "435271558"
}

flag {
  name: "fix_hsum_bugreport_share_crash"
  namespace: "enterprise"
  description: "[HSUM][Framework Bug][DO] TestDPC crashes when sharing a bugreport requested from TestDPC"
  bug: "341879351"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
}

flag {
  name: "multi_user_management_device_provisioning"
  is_exported: true
+2 −7
Original line number Diff line number Diff line
@@ -9575,15 +9575,10 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
        synchronized (getLockObject()) {
            final Intent intent = new Intent(DeviceAdminReceiver.ACTION_BUGREPORT_SHARE);
            final int deviceOwnerUserId = mOwners.getDeviceOwnerUserId();
            final Uri bugreportUriForUser;
            if (Flags.fixHsumBugreportShareCrash()) {
            // Bugreports are collected by the shell, which runs as UserHandle.USER_SYSTEM.
                bugreportUriForUser = ContentProvider.createContentUriForUser(
            final Uri bugreportUriForUser = ContentProvider.createContentUriForUser(
                        bugreportUri, UserHandle.of(UserHandle.USER_SYSTEM));
            } else {
                bugreportUriForUser = bugreportUri;
            }
            intent.setComponent(mOwners.getDeviceOwnerComponent());
            intent.setDataAndType(bugreportUriForUser, RemoteBugreportManager.BUGREPORT_MIMETYPE);