diff options
author | Yigit Boyar <yboyar@google.com> | 2018-03-06 17:43:18 -0800 |
---|---|---|
committer | Yigit Boyar <yboyar@google.com> | 2018-03-06 17:43:18 -0800 |
commit | 364086ea46aa5fdb044b5d71d038f373c54aa48c (patch) | |
tree | 37a3ae997b5e253a8cfe98ca2ae7cd9321c553ab /compiler/src/main/java/android/databinding | |
parent | 16fe00c7f39a77d4caf8f00d54225b90666415c2 (diff) | |
download | data-binding-364086ea46aa5fdb044b5d71d038f373c54aa48c.tar.gz |
Hacky solution to clean lazy mapping
From the early days of data binding,we have an easy way to add properties
to java objects w/o adding them the complexity of codegen.
It is causing problems now since they are static and kept foreever.
This CL just adds a hack to clean them up afterwards.
Bug: 68339615
Test: n/a
Change-Id: Ibf79d9cfb53dbc19f0ed590f492a0db60a3f5703
Diffstat (limited to 'compiler/src/main/java/android/databinding')
-rw-r--r-- | compiler/src/main/java/android/databinding/tool/Context.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/src/main/java/android/databinding/tool/Context.kt b/compiler/src/main/java/android/databinding/tool/Context.kt index 23d9f2a4..8691a880 100644 --- a/compiler/src/main/java/android/databinding/tool/Context.kt +++ b/compiler/src/main/java/android/databinding/tool/Context.kt @@ -16,6 +16,7 @@ package android.databinding.tool +import android.databinding.tool.ext.cleanLazyProps import android.databinding.tool.reflection.ModelAnalyzer import android.databinding.tool.reflection.SdkUtil import android.databinding.tool.reflection.TypeUtil @@ -83,5 +84,6 @@ object Context { typeUtil = null sdkUtil = null L.setClient(null) + cleanLazyProps() } } |