summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorChalard Jean <jchalard@google.com>2020-05-08 01:33:13 +0000
committerChalard Jean <jchalard@google.com>2020-05-21 05:09:15 +0000
commitfe5e23f8a4e827da5e586848121a8bf0b7f4f130 (patch)
treefa4135ee571dd5fa7aee13e28e531749599f0636 /tools/aapt2/java/JavaClassGenerator.cpp
parent92d678d8ad4ad579b039b15e1b56dea5ed39c9ad (diff)
Fix a bug where a spurious capabilities callback is sent.
When a VPN connects and it has any underlying network (which means almost always, because it will take the default network if it doesn't declare any), it has default capabilities and will only take the capabilities of its underlying network as part of an update happening after making the network available but before the rematch can take place. This in turn causes the capabilities callback sent as part of the rematch to be spuriously sent. Test: FrameworksNetTests. Also tested together with a followup that adds tests with drive-by coverage for this. Bug: 150570873 Original-Change: https://android-review.googlesource.com/1305393 Merged-In: Id7d8bba486bada1a7ba5b0f152d2aa02e407f249 Change-Id: Id7d8bba486bada1a7ba5b0f152d2aa02e407f249
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions