Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only using AttributionSource for compile sdk 31 and above #6884

Commits on Nov 24, 2021

  1. Bump AGP to 7.1.0-beta04

    Signed-off-by: utzcoz <utzcoz@outlook.com>
    utzcoz committed Nov 24, 2021
    Copy the full SHA
    155ef89 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2021

  1. 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>
    utzcoz committed Nov 27, 2021
    Copy the full SHA
    bb36cda View commit details
    Browse the repository at this point in the history
  2. Simply looseSignatures checking

    Signed-off-by: utzcoz <utzcoz@outlook.com>
    utzcoz committed Nov 27, 2021
    Copy the full SHA
    e54a4cc View commit details
    Browse the repository at this point in the history