diff options
author | Roshan Pius <rpius@google.com> | 2019-03-19 15:21:19 -0700 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2019-03-20 11:21:10 -0700 |
commit | fd2df9552233a78a9962a3e40465d15df1e0a821 (patch) | |
tree | d5d7214aa39afdfb46139851b624e76684e99fac /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | dbd26f3fb7324055d339969bf96de6c87da3ba9b (diff) |
WifiNetworkSuggestion: Change the polarity of priority
The current ordering of priority is hard to handle inside the wifi
stack because "-1" was unassigned priority and 0 is considered the
higheest priority level.
Reverse the polarity so it's much easier to compare network
suggestions with different priorities such that
priority1 > priority2 is always true. unassigned priority will always
be lesser than any assigned priority value.
Bug: 127644378
Test: Compiles
Change-Id: I74dacdb85838250c242257a80ebbe6046cef752f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions