aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Duke <jdduke@google.com>2023-10-20 22:38:47 +0000
committerJared Duke <jdduke@google.com>2023-10-20 22:38:47 +0000
commitb52236e3a302cc81fc9044b75618d0a87ab78f42 (patch)
tree384b252d4d4a00619018a97377b1b0160ad4c4e1
parent59b80ec44da77d5289d9662e2ce6cd8784770d1f (diff)
downloadlayoutlib-b52236e3a302cc81fc9044b75618d0a87ab78f42.tar.gz
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
-rw-r--r--bridge/src/android/view/LayoutInflater_Delegate.java11
-rw-r--r--common/src/com/android/tools/layoutlib/create/NativeConfig.java1
2 files changed, 0 insertions, 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",