diff options
| author | 2016-04-15 16:56:28 +0900 | |
|---|---|---|
| committer | 2016-04-18 11:29:03 +0900 | |
| commit | 627b42494d82eca4fd51abfc0a5d7f330862b881 (patch) | |
| tree | 9cd762051ffc2ed2cb9ccfc251666f3aeb3b2bee /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 2677b1957b444e2dae5737feee989109b811547c (diff) | |
Fixes fatal linter errors in android.net.metrics
This patch changes how Event classes are organized:
- Base IpConnectivityEvent class does not implement Parcelable because
it cannot be final (has children). It also becomes abstract because
it is not supposed to be instantiated and logged directly.
- All children classes becomes final because they are Parcelable.
- All constructors of all children classes become private, because they
are supposed to be instantiated with their associated logEvent()
methods.
- All instance fields of all children classes become public final.
Rational: if private, the ConnectivityMetrics app cannot read
their data.
Bug: 28204408
Change-Id: I1a4689c422230c6ed034307dec54a61daf8a6598
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions