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

Commit 8aa976b6 authored by Michal Karpinski's avatar Michal Karpinski Committed by Android (Google) Code Review
Browse files

Merge "Remove legacy DeviceLogging methods from DPM" into nyc-dev

parents 6266d8c9 3bce4bfa
Loading
Loading
Loading
Loading
+0 −32
Original line number Diff line number Diff line
@@ -5829,14 +5829,6 @@ public class DevicePolicyManager {
        }
    }

    /**
     * Temporary // STOPSHIP TODO(mkarpinski): remove those once change to TestDPC is pushed
     * @hide
     */
    public void setDeviceLoggingEnabled(@NonNull ComponentName admin, boolean enabled) {
        setSecurityLoggingEnabled(admin, enabled);
    }

    /**
     * Return whether security logging is enabled or not by the device owner.
     *
@@ -5855,14 +5847,6 @@ public class DevicePolicyManager {
        }
    }

    /**
     * Temporary // STOPSHIP TODO(mkarpinski): remove those once change to TestDPC is pushed
     * @hide
     */
    public boolean getDeviceLoggingEnabled(@NonNull ComponentName admin) {
        return isSecurityLoggingEnabled(admin);
    }

    /**
     * Called by device owner to retrieve all new security logging entries since the last call to
     * this API after device boots.
@@ -5892,14 +5876,6 @@ public class DevicePolicyManager {
        }
    }

    /**
     * Temporary // STOPSHIP TODO(mkarpinski): remove those once change to TestDPC is pushed
     * @hide
     */
    public List<SecurityEvent> retrieveDeviceLogs(@NonNull ComponentName admin) {
        return retrieveSecurityLogs(admin);
    }

    /**
     * Called by the system to obtain a {@link DevicePolicyManager} whose calls act on the parent
     * profile.
@@ -5940,14 +5916,6 @@ public class DevicePolicyManager {
        }
    }

    /**
     * Temporary // STOPSHIP TODO(mkarpinski): remove those once change to TestDPC is pushed
     * @hide
     */
    public List<SecurityEvent> retrievePreviousDeviceLogs(@NonNull ComponentName admin) {
        return retrievePreRebootSecurityLogs(admin);
    }

    /**
     * Called by a profile owner of a managed profile to set the color used for customization. This
     * color is used as background color of the confirm credentials screen for that user. The