Skip to content

Commit

Permalink
cmsdk: Clear calling identity when resetAll is called.
Browse files Browse the repository at this point in the history
Change-Id: Id39eb18165d12a792c141dc44840a122d509dece
  • Loading branch information
Adnan Begovic committed Jul 14, 2015
1 parent f9ec3a4 commit c9295fb
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -159,8 +159,10 @@ private void initialize(boolean skipFile) {

@Override
public void resetAll() {
long token = clearCallingIdentity();
enforceChangePermissions();
initialize(true);
restoreCallingIdentity(token);
}

@Override
Expand Down

0 comments on commit c9295fb

Please sign in to comment.