From b52236e3a302cc81fc9044b75618d0a87ab78f42 Mon Sep 17 00:00:00 2001 From: Jared Duke Date: Fri, 20 Oct 2023 22:38:47 +0000 Subject: Remove LayoutInflater delegate support for compiled views This feature did not ship and is being removed. Remove the associated LayoutInflater delegate support. Bug: 158121974 Test: m Change-Id: I7bb9227cf03e9ef5bea795cbb7cc2f9c26f1808e --- bridge/src/android/view/LayoutInflater_Delegate.java | 11 ----------- .../src/com/android/tools/layoutlib/create/NativeConfig.java | 1 - 2 files changed, 12 deletions(-) diff --git a/bridge/src/android/view/LayoutInflater_Delegate.java b/bridge/src/android/view/LayoutInflater_Delegate.java index cb446e7610..51c413d47d 100644 --- a/bridge/src/android/view/LayoutInflater_Delegate.java +++ b/bridge/src/android/view/LayoutInflater_Delegate.java @@ -233,15 +233,4 @@ public class LayoutInflater_Delegate { LayoutInflater.consumeChildElements(parser); } - - @LayoutlibDelegate - /* package */ static void initPrecompiledViews(LayoutInflater thisInflater) { - initPrecompiledViews(thisInflater, false); - } - - @LayoutlibDelegate - /* package */ static void initPrecompiledViews(LayoutInflater thisInflater, - boolean enablePrecompiledViews) { - thisInflater.initPrecompiledViews_Original(enablePrecompiledViews); - } } diff --git a/common/src/com/android/tools/layoutlib/create/NativeConfig.java b/common/src/com/android/tools/layoutlib/create/NativeConfig.java index 8c954ce3dc..def9aef674 100644 --- a/common/src/com/android/tools/layoutlib/create/NativeConfig.java +++ b/common/src/com/android/tools/layoutlib/create/NativeConfig.java @@ -120,7 +120,6 @@ public class NativeConfig { "android.view.DisplayEventReceiver#nativeGetDisplayEventReceiverFinalizer", "android.view.DisplayEventReceiver#nativeInit", "android.view.HandlerActionQueue#postDelayed", - "android.view.LayoutInflater#initPrecompiledViews", "android.view.LayoutInflater#parseInclude", "android.view.LayoutInflater#rInflate", "android.view.MenuInflater#registerMenu", -- cgit v1.2.3