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

Commit 6e532003 authored by Abhishek Nigam's avatar Abhishek Nigam
Browse files

Update LSFK Request log

* Fix typo in LSKF request log
* Replace String.format to TextUtils as per Build Recommendation (6x performant)

Bug: 332602497

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