commit | 01fcc95c063c6291152d4cb3c153075585c3ab30 | [log] [tgz] |
---|---|---|
author | Azhara Assanova <azharaa@google.com> | Fri Mar 08 17:37:38 2024 +0000 |
committer | Azhara Assanova <azharaa@google.com> | Fri Mar 08 18:52:46 2024 +0000 |
tree | 3f2dab20778725bf2b8044eb401439f481fb0b56 | |
parent | 3da334ca49c14a36699fe6e850ad3d851afb3636 [diff] |
Correct nullability annotation in onActivityResult() The intent argument inside Activity#onActivityResult should be @Nullable instead of @NonNull. That is because apps can set the result via Activity#setResult(int resultCode), which leads to a null result intent. Bug: 293467489 Test: m and flash Change-Id: I962c477cde556803277483d58423292d4f70e0c3