diff options
author | Patrick Baumann <patb@google.com> | 2019-09-20 07:54:47 -0700 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-09-20 17:26:00 +0000 |
commit | e3c639620090e7404279342d16ca9da9d393f346 (patch) | |
tree | ff300453cd82ec3dcfa5ca9e8274440d8945260c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 046151be1158ca02ee24cc56c51149b728b7d10a (diff) |
Clears calling identity when calling isInstantApp
Prior to this change, we were calling the public isInstantApp method
without first clearing calling identity from grantEphemeralAccess. As a
result, when interactions across user boundaries took place, approved or
not, we would encounter this permission failure when simply setting a
state in the background.
Fixes: 141288362
Test: Work profile setup
Change-Id: I2cb8338c2a68bc9c4a61c075398d767980c504ed
(cherry picked from commit aa152c4742e6642913293c4d591780e3b66ba1c7)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions