Skip to content

Android P 适配问题 #62

@mzlogin

Description

@mzlogin
NOTE: appcompat.sh is still under development. It can report
API uses that do not execute at runtime, and reflection uses
that do not exist. It can also miss on reflection uses.
#1: Reflection light greylist Landroid/animation/LayoutTransition;->cancel use(s):
       Landroid/support/transition/ViewGroupUtilsApi14;->cancelLayoutTransition(Landroid/animation/LayoutTransition;)V

#2: Reflection light greylist Landroid/app/ActivityManagerNative;->getDefault use(s):
       Lcom/tencent/bugly/crashreport/common/info/b;->q()I

#3: Reflection light greylist Landroid/app/ActivityThread;->mAllApplications use(s):
       Lcom/tencent/bugly/beta/tinker/TinkerPatchReflectApplication;->onCreate()V
       Lcom/tencent/bugly/beta/tinker/TinkerPatchReflectApplication;->onCreate()V
       Lcom/tencent/bugly/beta/tinker/TinkerPatchReflectApplication;->onCreate()V

#4: Reflection light greylist Landroid/app/ActivityThread;->mInitialApplication use(s):
       Lcom/tencent/bugly/beta/tinker/TinkerPatchReflectApplication;->onCreate()V

#5: Reflection light greylist Landroid/app/Application;->mLoadedApk use(s):
       Lcom/tencent/bugly/beta/tinker/TinkerPatchReflectApplication;->onCreate()V

#6: Reflection light greylist Landroid/app/LoadedApk;->mApplication use(s):
       Lcom/tencent/bugly/beta/tinker/TinkerPatchReflectApplication;->onCreate()V

#7: Reflection light greylist Landroid/content/res/Resources;->mResourcesImpl use(s):
       Landroid/support/v7/app/ResourcesFlusher;->flushNougats(Landroid/content/res/Resources;)Z

#8: Reflection light greylist Landroid/graphics/FontFamily;->abortCreation use(s):
       Landroid/support/v4/graphics/TypefaceCompatApi26Impl;-><clinit>()V

#9: Reflection light greylist Landroid/graphics/FontFamily;->addFontFromAssetManager use(s):
       Landroid/support/v4/graphics/TypefaceCompatApi26Impl;-><clinit>()V

#10: Reflection light greylist Landroid/graphics/FontFamily;->addFontFromBuffer use(s):
       Landroid/support/v4/graphics/TypefaceCompatApi26Impl;-><clinit>()V

#11: Reflection light greylist Landroid/graphics/FontFamily;->freeze use(s):
       Landroid/support/v4/graphics/TypefaceCompatApi26Impl;-><clinit>()V

#12: Reflection light greylist Landroid/graphics/Typeface;->createFromFamiliesWithDefault use(s):
       Landroid/support/v4/graphics/TypefaceCompatApi24Impl;-><clinit>()V
       Landroid/support/v4/graphics/TypefaceCompatApi26Impl;-><clinit>()V

#13: Reflection dark greylist Landroid/graphics/drawable/Drawable;->getOpticalInsets use(s):
       Landroid/support/v7/widget/DrawableUtils;->getOpticalBounds(Landroid/graphics/drawable/Drawable;)Landroid/graphics/Rect;

#14: Reflection light greylist Landroid/graphics/drawable/Drawable;->isProjected use(s):
       Landroid/support/v4/graphics/drawable/WrappedDrawableApi21;->findAndCacheIsProjectedDrawableMethod()V

#15: Reflection light greylist Landroid/media/AudioAttributes;->toLegacyStreamType use(s):
       Landroid/support/v4/media/AudioAttributesCompatApi21;->toLegacyStreamType(Landroid/support/v4/media/AudioAttributesCompatApi21$Wrapper;)I

#16: Reflection light greylist Landroid/media/session/MediaSession;->getCallingPackage use(s):
       Landroid/support/v4/media/session/MediaSessionCompatApi24;->getCallingPackage(Ljava/lang/Object;)Ljava/lang/String;

#17: Reflection light greylist Landroid/os/Bundle;->getIBinder use(s):
       Landroid/support/v4/app/BundleCompat$BundleCompatBaseImpl;->getBinder(Landroid/os/Bundle;Ljava/lang/String;)Landroid/os/IBinder;

#18: Reflection light greylist Landroid/os/Bundle;->putIBinder use(s):
       Landroid/support/v4/app/BundleCompat$BundleCompatBaseImpl;->putBinder(Landroid/os/Bundle;Ljava/lang/String;Landroid/os/IBinder;)V

#19: Reflection light greylist Landroid/service/media/MediaBrowserService$Result;->mFlags use(s):
       Landroid/support/v4/media/MediaBrowserServiceCompatApi26;-><clinit>()V

#20: Reflection light greylist Landroid/view/LayoutInflater;->mFactory2 use(s):
       Landroid/support/v4/view/LayoutInflaterCompat;->forceSetFactory2(Landroid/view/LayoutInflater;Landroid/view/LayoutInflater$Factory2;)V

#21: Reflection light greylist Landroid/view/View;->computeFitSystemWindows use(s):
       Landroid/support/v7/widget/ViewUtils;-><clinit>()V

#22: Reflection light greylist Landroid/view/View;->getTransitionAlpha use(s):
       Landroid/support/transition/ViewUtilsApi19;->fetchGetTransitionAlphaMethod()V

#23: Reflection light greylist Landroid/view/View;->mAccessibilityDelegate use(s):
       Landroid/support/v4/view/ViewCompat$ViewCompatBaseImpl;->hasAccessibilityDelegate(Landroid/view/View;)Z

#24: Reflection light greylist Landroid/view/View;->mMinHeight use(s):
       Landroid/support/v4/view/ViewCompat$ViewCompatBaseImpl;->getMinimumHeight(Landroid/view/View;)I

#25: Reflection light greylist Landroid/view/View;->mMinWidth use(s):
       Landroid/support/v4/view/ViewCompat$ViewCompatBaseImpl;->getMinimumWidth(Landroid/view/View;)I

#26: Reflection light greylist Landroid/view/View;->mRecreateDisplayList use(s):
       Landroid/support/v4/widget/SlidingPaneLayout$SlidingPanelLayoutImplJB;-><init>()V

#27: Reflection light greylist Landroid/view/View;->mViewFlags use(s):
       Landroid/support/transition/ViewUtils;->fetchViewFlagsField()V

#28: Reflection light greylist Landroid/view/View;->setAnimationMatrix use(s):
       Landroid/support/transition/ViewUtilsApi21;->fetchSetAnimationMatrix()V

#29: Reflection light greylist Landroid/view/View;->setLeftTopRightBottom use(s):
       Landroid/support/transition/ViewUtilsApi22;->fetchSetLeftTopRightBottomMethod()V

#30: Reflection light greylist Landroid/view/View;->setTransitionAlpha use(s):
       Landroid/support/transition/ViewUtilsApi19;->fetchSetTransitionAlphaMethod()V

#31: Reflection light greylist Landroid/view/View;->transformMatrixToGlobal use(s):
       Landroid/support/transition/ViewUtilsApi21;->fetchTransformMatrixToGlobalMethod()V

#32: Reflection light greylist Landroid/view/View;->transformMatrixToLocal use(s):
       Landroid/support/transition/ViewUtilsApi21;->fetchTransformMatrixToLocalMethod()V

#33: Reflection light greylist Landroid/view/ViewGroup;->suppressLayout use(s):
       Landroid/support/transition/ViewGroupUtilsApi18;->fetchSuppressLayoutMethod()V

#34: Reflection light greylist Landroid/view/animation/Animation;->mListener use(s):
       Landroid/support/v4/app/FragmentManagerImpl;->getAnimationListener(Landroid/view/animation/Animation;)Landroid/view/animation/Animation$AnimationListener;

#35: Reflection light greylist Landroid/widget/AbsListView;->mIsChildViewEnabled use(s):
       Landroid/support/v7/widget/DropDownListView;-><init>(Landroid/content/Context;Z)V

#36: Reflection light greylist Landroid/widget/AutoCompleteTextView;->doAfterTextChanged use(s):
       Landroid/support/v7/widget/SearchView$AutoCompleteTextViewReflector;-><init>()V

#37: Reflection light greylist Landroid/widget/AutoCompleteTextView;->doBeforeTextChanged use(s):
       Landroid/support/v7/widget/SearchView$AutoCompleteTextViewReflector;-><init>()V

#38: Reflection light greylist Landroid/widget/AutoCompleteTextView;->ensureImeVisible use(s):
       Landroid/support/v7/widget/SearchView$AutoCompleteTextViewReflector;-><init>()V

#39: Reflection light greylist Landroid/widget/CompoundButton;->mButtonDrawable use(s):
       Landroid/support/v4/widget/CompoundButtonCompat$CompoundButtonCompatBaseImpl;->getButtonDrawable(Landroid/widget/CompoundButton;)Landroid/graphics/drawable/Drawable;

#40: Reflection light greylist Landroid/widget/ImageView;->animateTransform use(s):
       Landroid/support/transition/ImageViewUtilsApi21;->fetchAnimateTransformMethod()V

#41: Reflection light greylist Landroid/widget/PopupWindow;->mOverlapAnchor use(s):
       Landroid/support/v4/widget/PopupWindowCompat$PopupWindowCompatApi21Impl;-><clinit>()V

#42: Reflection light greylist Landroid/widget/PopupWindow;->setClipToScreenEnabled use(s):
       Landroid/support/v7/widget/ListPopupWindow;-><clinit>()V

#43: Reflection light greylist Landroid/widget/PopupWindow;->setEpicenterBounds use(s):
       Landroid/support/v7/widget/ListPopupWindow;-><clinit>()V

#44: Reflection light greylist Landroid/widget/PopupWindow;->setTouchModal use(s):
       Landroid/support/v7/widget/MenuPopupWindow;-><clinit>()V

#45: Reflection light greylist Landroid/widget/TextView;->getHorizontallyScrolling use(s):
       Landroid/support/v7/widget/AppCompatTextViewAutoSizeHelper;->autoSizeText()V

#46: Reflection light greylist Landroid/widget/TextView;->getLayoutAlignment use(s):
       Landroid/support/v7/widget/AppCompatTextViewAutoSizeHelper;->suggestedSizeFitsInSpace(ILandroid/graphics/RectF;)Z

#47: Reflection light greylist Landroid/widget/TextView;->getTextDirectionHeuristic use(s):
       Landroid/support/v7/widget/AppCompatTextViewAutoSizeHelper;->createStaticLayoutForMeasuring(Ljava/lang/CharSequence;Landroid/text/Layout$Alignment;II)Landroid/text/StaticLayout;

#48: Reflection light greylist Landroid/widget/TextView;->mMaxMode use(s):
       Landroid/support/v4/widget/TextViewCompat$TextViewCompatBaseImpl;->getMaxLines(Landroid/widget/TextView;)I

#49: Reflection light greylist Landroid/widget/TextView;->mMaximum use(s):
       Landroid/support/v4/widget/TextViewCompat$TextViewCompatBaseImpl;->getMaxLines(Landroid/widget/TextView;)I
       Landroid/support/v4/widget/TextViewCompat$TextViewCompatBaseImpl;->getMaxLines(Landroid/widget/TextView;)I

#50: Reflection dark greylist Landroid/widget/TextView;->mMinMode use(s):
       Landroid/support/v4/widget/TextViewCompat$TextViewCompatBaseImpl;->getMinLines(Landroid/widget/TextView;)I

#51: Reflection light greylist Landroid/widget/TextView;->mMinimum use(s):
       Landroid/support/v4/widget/TextViewCompat$TextViewCompatBaseImpl;->getMinLines(Landroid/widget/TextView;)I
       Landroid/support/v4/widget/TextViewCompat$TextViewCompatBaseImpl;->getMinLines(Landroid/widget/TextView;)I

#52: Reflection light greylist Landroid/widget/TextView;->nullLayouts use(s):
       Landroid/support/v7/widget/AppCompatTextViewAutoSizeHelper;->setRawTextSize(F)V

#53: Reflection light greylist Ljava/lang/reflect/AccessibleObject;->override use(s):
       Lcom/google/gson/internal/reflect/UnsafeReflectionAccessor;->getOverrideField()Ljava/lang/reflect/Field;

#54: Reflection light greylist Lsun/misc/Unsafe;->theUnsafe use(s):
       Lcom/google/gson/internal/UnsafeAllocator;->create()Lcom/google/gson/internal/UnsafeAllocator;

54 hidden API(s) used: 0 linked against, 54 through reflection
       0 in blacklist
       2 in dark greylist
       52 in light greylist
To run an analysis that can give more reflection accesses,
but could include false positives, pass the --imprecise flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions