From 78cea74881c054e3f150d4ebddd12ae0d58946e2 Mon Sep 17 00:00:00 2001 From: David Brazdil Date: Tue, 3 Apr 2018 11:15:18 +0100 Subject: [PATCH] Add more APIs to hidden API light greylist Bug: 64382372 Bug: 77289927 Bug: 77487374 Bug: 74430927 Test: make out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt Change-Id: I2a65babbef3ead001f37549c2c470b0e6c118ef3 --- config/hiddenapi-light-greylist.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/hiddenapi-light-greylist.txt b/config/hiddenapi-light-greylist.txt index 90308d7ae85e..6c08a2ab71ce 100644 --- a/config/hiddenapi-light-greylist.txt +++ b/config/hiddenapi-light-greylist.txt @@ -296,6 +296,7 @@ Landroid/app/job/IJobScheduler$Stub;->asInterface(Landroid/os/IBinder;)Landroid/ Landroid/app/job/IJobScheduler$Stub$Proxy;->(Landroid/os/IBinder;)V Landroid/app/LoadedApk;->getAssets()Landroid/content/res/AssetManager; Landroid/app/LoadedApk;->getClassLoader()Ljava/lang/ClassLoader; +Landroid/app/LoadedApk;->getCompatibilityInfo()Landroid/content/res/CompatibilityInfo; Landroid/app/LoadedApk;->getDataDirFile()Ljava/io/File; Landroid/app/LoadedApk;->getResources()Landroid/content/res/Resources; Landroid/app/LoadedApk;->mActivityThread:Landroid/app/ActivityThread; @@ -377,8 +378,10 @@ Landroid/app/Vr2dDisplayProperties$Builder;->()V Landroid/app/Vr2dDisplayProperties$Builder;->setEnabled(Z)Landroid/app/Vr2dDisplayProperties$Builder; Landroid/app/Vr2dDisplayProperties;->(III)V Landroid/app/VrManager;->getPersistentVrModeEnabled()Z +Landroid/app/VrManager;->mService:Landroid/service/vr/IVrManager; Landroid/app/VrManager;->registerVrStateCallback(Landroid/app/VrStateCallback;Landroid/os/Handler;)V Landroid/app/VrManager;->setVr2dDisplayProperties(Landroid/app/Vr2dDisplayProperties;)V +Landroid/app/VrManager;->unregisterVrStateCallback(Landroid/app/VrStateCallback;)V Landroid/app/WallpaperColors;->getColorHints()I Landroid/app/WallpaperManager;->getBitmap()Landroid/graphics/Bitmap; Landroid/app/WallpaperManager;->getBitmap(Z)Landroid/graphics/Bitmap; @@ -447,6 +450,7 @@ Landroid/content/ContentResolver;->releaseUnstableProvider(Landroid/content/ICon Landroid/content/ContentResolver;->unstableProviderDied(Landroid/content/IContentProvider;)V Landroid/content/ContentValues;->(Ljava/util/HashMap;)V Landroid/content/ContentValues;->mValues:Ljava/util/HashMap; +Landroid/content/Context;->getBasePackageName()Ljava/lang/String; Landroid/content/Context;->getSharedPrefsFile(Ljava/lang/String;)Ljava/io/File; Landroid/content/Context;->getThemeResId()I Landroid/content/Context;->sendBroadcastAsUser(Landroid/content/Intent;Landroid/os/UserHandle;Ljava/lang/String;I)V @@ -469,6 +473,7 @@ Landroid/content/IntentFilter;->mActions:Ljava/util/ArrayList; Landroid/content/Intent;->mExtras:Landroid/os/Bundle; Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/IBinder;)Landroid/content/Intent; Landroid/content/pm/ActivityInfo;->resizeMode:I +Landroid/content/pm/ActivityInfo;->supportsPictureInPicture()Z Landroid/content/pm/ApplicationInfo;->enabledSetting:I Landroid/content/pm/ApplicationInfo;->getBaseResourcePath()Ljava/lang/String; Landroid/content/pm/ApplicationInfo;->installLocation:I -- 2.11.0