diff options
author | Nathan Harold <nharold@google.com> | 2020-04-24 18:34:33 -0700 |
---|---|---|
committer | Nathan Harold <nharold@google.com> | 2020-04-30 16:26:47 -0700 |
commit | 9ced05a8b0ccfc6a3ac13c3202e1954313abaafb (patch) | |
tree | c569e4f187f6716b42b0f541b3b4bf03014b3421 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | e69e5b0c9cf8b2cbc4ed4b262e04cea22ff8620a (diff) |
Update GlobalCellId during Un-parceling
The Global Cell-ID is constructed from other
fields in each CellIdentity.
Currently, it is not stored during parceling.
Thus, after a CellId is parceled and unparceled
this value is being lost.
Do a quick fix to update the global Cell ID during
unparceling. A longer-term fix is to resolve the
layering violations that create the situation where
the global Cell ID is defined in the base class
but manipulated in the derived classes.
Fixes a broken unit test.
Bug: 154955167
Test: atest ServiceStateTrackerTest#testRatRatchet
Merged-In: I5c58322ebcec8886405e25e09754c7f154187efe
Change-Id: I5c58322ebcec8886405e25e09754c7f154187efe
(cherry picked from commit 3f7dfb823912ec0406260c0da5a8ace13e6f7287)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions