commit | e1b7ab1abe797cf71d9bb5bf65977882fb82529a | [log] [tgz] |
---|---|---|
author | Jordan Liu <jminjie@google.com> | Mon Dec 09 13:45:07 2019 -0800 |
committer | Jordan Liu <jminjie@google.com> | Mon Dec 09 15:45:21 2019 -0800 |
tree | f081ee472d52596c109ab28230a0e4ab5c28bb9b | |
parent | e7a0c16b550df94d6c110f13443747db4de87ba1 [diff] |
Do not modify passed in intent If the caller wanted to use that intent object after passing it to this method, it would be mutated in an unexpected way. Instead we create a copy of the intent and broadcast that. Bug: 144108192 Test: atest com.android.internal.telephony.CellBroadcastIntentsTest Change-Id: I89e08b4a50beeb49410521baa9d449b2dc28ecd3