diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2020-06-30 10:51:18 +0900 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2020-06-30 20:11:12 +0900 |
commit | 1acc0030a4655e31565a2307c8ccc550ed4c574b (patch) | |
tree | df8150ca1baa7520ec5cf6dc5c75f369fcc01c1c /src/android/net/util/NetworkStackUtils.java | |
parent | b8ac953af4ffc4a82fdc9a58f76fd96756c3cf49 (diff) |
Use FLAG_IMMUTABLE on NetworkStackNotifier intents
FLAG_UPDATE_CURRENT was not helpful because:
- For the venue info notification, the only extra is the Network, and
the intent uses the network handle as identifier; meaning that two
matching intents would already have the same extra.
- The ACTION_WIFI_SETTINGS intent does not have any extra, so there is
nothing to update.
Bug: 157475111
Test: atest NetworkStackTests; manual: connected to captive portals and
used notifications
Change-Id: Ifd9e6ff04f2d574f3e28d612c8ea6215a209069e
Diffstat (limited to 'src/android/net/util/NetworkStackUtils.java')
0 files changed, 0 insertions, 0 deletions