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

Commit 9a5e90ba authored by Abhishek Nigam's avatar Abhishek Nigam
Browse files

Log requesting package and result for requestLSKF

Bug: 325122891
Change-Id: I78faa31aa457ac5fe33b8dcfd848620d851d09f6
parent 116560a4
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -1438,8 +1438,11 @@ public class RecoverySystem {
     * @throws IOException if the recovery system service could not be contacted
     * @throws IOException if the recovery system service could not be contacted
     */
     */
    private boolean requestLskf(String packageName, IntentSender sender) throws IOException {
    private boolean requestLskf(String packageName, IntentSender sender) throws IOException {
        Log.i(TAG, String.format("<%s> is requesting LSFK", packageName));
        try {
        try {
            return mService.requestLskf(packageName, sender);
            boolean validRequest = mService.requestLskf(packageName, sender);
            Log.i(TAG, String.format("LSKF Request isValid = %b", validRequest));
            return validRequest;
        } catch (RemoteException | SecurityException e) {
        } catch (RemoteException | SecurityException e) {
            throw new IOException("could not request LSKF capture", e);
            throw new IOException("could not request LSKF capture", e);
        }
        }