diff options
author | Nathan Harold <nharold@google.com> | 2018-07-30 16:10:50 -0700 |
---|---|---|
committer | Nathan Harold <nharold@google.com> | 2018-08-09 23:26:01 +0000 |
commit | 65c4b15d42b562b8eb46bb72b865faf1db2464c7 (patch) | |
tree | d4332631fde360172ce7a4ae8ef48b819756d880 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 9257722c5c091bf8c98a343401f0ff27e50fe29f (diff) |
Merge CellInfo TYPE Enums
CellIdentity and CellInfo had redundant enums to
designate the structure type. This CL merges the
better-formatted enums from CellIdentity to
CellInfo, removing the set from CellIdentity.
For cases where the structure type must be determined
at runtime based on a CellInfo record, (where
polymorphic behavior isn't/shouldn't be supported),
this provides a consistent mechanism for determining
the type without using RTTI.
In addition, this CL fixes two other minor issues:
1) The constructor for CellInfoWcdma() provided the
wrong parcel type to the parent class.
2) The TYPE_TDSCDMA had a typo in CellInfo and was
written as TYPE_TDCDMA.
Bug: 112003199
Bug: 67711865
Test: runtest frameworks-telephony
Change-Id: I5ca3c2de1433dfcef264e1273a658d1a0fe864b6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions