Include DisconnectCause Builder
As part of telecom mainline prep, the previously hidden DisconnectCause constructor (which includes the Telephony debug info) was promoted to a system API. From API feedback, a request was put forward to add a Builder to consolidate the construction of the DisconnectCause instance. This CL adds the Builder and reverts the previous changes to make the constructor an API. Instead, the Telephony reference has been resolved to use the builder pattern instead. The other constructors have been untouched sincce there are many references within Telecom, which would make the changes unnecessarily noisy. Those can be cleaned up for a separate refactor but they shouldn't block mainline prep work. Bug: 324414185 Bug: 311773409 Test: atest TelecomUnitTests, atest DataObjectUnitTests Change-Id: I784915cac286322c50f9e605ef457969f5a8cda4
Loading
Please register or sign in to comment