Adding main thread binder tracing in development build.

> Unifying multiple binder tracing implementations
> Removing wallpaper customization check as it has been rolled out
  few years ago, this avoids additional RPC to check for wallpaper
> Removing RaceConditionReproducer as it is not used anywhere and
  is not integrated with this tracing anymore

Bug: 273718665
Test: Presubmit
Flag: N/A
Change-Id: I801af5d039a9d38d5d39e803723ec6da50a9d59f
This commit is contained in:
Sunny Goyal
2023-05-30 13:26:02 -07:00
parent c7953f6630
commit 3db98b1152
25 changed files with 280 additions and 1197 deletions
@@ -42,14 +42,7 @@ public class InstantAppResolver implements ResourceBasedOverride {
return false;
}
public boolean isInstantApp(Context context, String packageName) {
PackageManager packageManager = context.getPackageManager();
try {
return isInstantApp(packageManager.getPackageInfo(packageName, 0).applicationInfo);
} catch (PackageManager.NameNotFoundException e) {
Log.e("InstantAppResolver", "Failed to determine whether package is instant app "
+ packageName, e);
}
public boolean isInstantApp(String packageName, int userId) {
return false;
}
}