Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only using AttributionSource for compile SDK 31 and above
We have tried to use Object to replace AttributionSource as type of second input parameter for noteProxyOpNoThrow(int, AttributeSource, String, bool) to make sure ShadowAppOpsManager can be loaded and used when compile SDK is less than 31. But changed method's siganture doesn't match origin method signature, and it will be used as shadow method. To fix this problem, this CL uses looseSignatures for ShadowAppOpsManager, and chagnes all input parameters' type to Object to meet looseSignatures' requirement. Signed-off-by: utzcoz <utzcoz@outlook.com>
- Loading branch information
Showing
3 changed files
with
25 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters