Merge "Fixed enhanced for loop."
This commit is contained in:
committed by
Android (Google) Code Review
commit
30e44f1cda
@@ -1285,7 +1285,7 @@ public class Notification implements Parcelable
|
||||
ArrayList<RemoteInput> dataOnlyInputs = new ArrayList<>();
|
||||
RemoteInput[] previousDataInputs =
|
||||
(RemoteInput[]) mExtras.getParcelableArray(EXTRA_DATA_ONLY_INPUTS);
|
||||
if (previousDataInputs == null) {
|
||||
if (previousDataInputs != null) {
|
||||
for (RemoteInput input : previousDataInputs) {
|
||||
dataOnlyInputs.add(input);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user