diff options
| author | 2024-10-11 20:40:51 +0000 | |
|---|---|---|
| committer | 2024-10-16 20:26:01 +0000 | |
| commit | 9e7859d7fce88430e4c9205046704b0bd9906628 (patch) | |
| tree | 410764a69a8012ae549f10b2ca13a9f30c6a2a7b /libs/androidfw/StringPool.cpp | |
| parent | 3363b51da75dbec3e35eadb52250758a459da6ae (diff) | |
Rename delegate to delegateNode
`SwipeToSceneRootNode` extends `DelegatingNode`, which contains an
internal variable named `delegate`. Rename this variable in the child
class.
This CL is motivated by fixes for missing kotlin xrefs in f/b/packages/SystemUI.
Android uses kotlinc < 2, while the google3 indexer ues kotlinc > 2.
Versions > 2 are more strict about changing the access privilege of
variables in child classes. At ToT, we get the following compilation
error during kotlinc in google3 indexer.
```
cannot weaken access privilege 'internal' for 'delegate' in 'DelegatingNode'
```
Test: m PlatformComposeSceneTransitionLayout # builds fine
Test: XREF_CORPUS=googleplex-android.googlesource.com/platform/superproject/main//main m out/soong/.intermediates/frameworks/base/packages/SystemUI/compose/scene/PlatformComposeSceneTransitionLayout/android_common/kotlin/PlatformComposeSceneTransitionLayout.kzip
Test: Ran the kotlin indexer locally on this kzip file using go/kythe-git-local-run#indexing-to-local-xrefs-server
Bug: 372675133
Flag: EXEMPT refactor
Change-Id: I081cb36cfe6cb8098ead6a3d48c43b05dfb210e9
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions