Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_frameworks_base-old
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Farzin Kazemzadeh
platform_frameworks_base-old
Commits
a93b4fdf
Commit
a93b4fdf
authored
1 year ago
by
Ayush Sharma
Browse files
Options
Downloads
Patches
Plain Diff
Handle error connecting to KeychainService
Bug: 210537972 Test: NA Change-Id: If2f41aea48ac9284ad205debb878d633072431f4
parent
dc4d27df
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
+1
-1
1 addition, 1 deletion
...droid/server/devicepolicy/DevicePolicyManagerService.java
with
1 addition
and
1 deletion
services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
+
1
−
1
View file @
a93b4fdf
...
...
@@ -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;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment