Fixed
Status Update
Comments
se...@google.com <se...@google.com> #2
Thanks, we're looking into it.
au...@google.com <au...@google.com> #3
jn...@google.com <jn...@google.com>
al...@google.com <al...@google.com> #4
I find the idea of protected being an anti pattern to be rather surprising and probably a mistake. Anyway this can be made internal...
ap...@google.com <ap...@google.com> #5
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 0dc04546607a19d39b3d547b1e008c3020a36c3d
Author: Alex Clarke <alexclarke@google.com>
Date: Tue Nov 24 10:24:13 2020
Make ObservableWatchData's constructor internal
Bug: 173802666
Test: Presubmit
Relnote: ObservableWatchData's constructor is now internal.
Change-Id: I301215475e08c10a8cb97095638b235d664bcfcb
M wear/wear-watchface/api/current.txt
M wear/wear-watchface/api/public_plus_experimental_current.txt
M wear/wear-watchface/api/restricted_current.txt
M wear/wear-watchface/src/main/java/androidx/wear/watchface/ObservableWatchData.kt
https://android-review.googlesource.com/1508337
Branch: androidx-master-dev
commit 0dc04546607a19d39b3d547b1e008c3020a36c3d
Author: Alex Clarke <alexclarke@google.com>
Date: Tue Nov 24 10:24:13 2020
Make ObservableWatchData's constructor internal
Bug: 173802666
Test: Presubmit
Relnote: ObservableWatchData's constructor is now internal.
Change-Id: I301215475e08c10a8cb97095638b235d664bcfcb
M wear/wear-watchface/api/current.txt
M wear/wear-watchface/api/public_plus_experimental_current.txt
M wear/wear-watchface/api/restricted_current.txt
M wear/wear-watchface/src/main/java/androidx/wear/watchface/ObservableWatchData.kt
Description
ObservableWatchData has a protected constructor, that is anti-pattern (s.android.com/api-guidelines##public-fields), additionally, it has internal property, that leaks through the protected constructor. Please address this.