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

Commit a93b4fdf authored by Ayush Sharma's avatar Ayush Sharma
Browse files

Handle error connecting to KeychainService

Bug: 210537972
Test: NA
Change-Id: If2f41aea48ac9284ad205debb878d633072431f4
parent dc4d27df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6471,7 +6471,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
                         KeyChain.bindAsUser(mContext, userHandle)) {
                IKeyChainService keyChain = keyChainConnection.getService();
                return keyChain.setGrant(granteeUid, alias, hasGrant);
            } catch (RemoteException e) {
            } catch (RemoteException | AssertionError e) {
                Slogf.e(LOG_TAG, "Setting grant for package.", e);
                return false;
            }