OSDN Git Service

[PT17.5] Revert to booleans for send/not send broadcast constants.
authorChalard Jean <jchalard@google.com>
Mon, 15 Oct 2018 05:27:15 +0000 (14:27 +0900)
committerChalard Jean <jchalard@google.com>
Mon, 11 Mar 2019 06:58:31 +0000 (15:58 +0900)
commit29f63aff0f03fa18b4bd9318948b26e404ad5d65
tree68676589a1675c56e6602194ab24e7d57b8240d0
parent8e8ed1dfc2314f77d9a356da491b936012f4425c
[PT17.5] Revert to booleans for send/not send broadcast constants.

In PT17, for security of the patch these two constants have been
switched from boolean to enum values. While this is nice for making
sure a patch is correct, it's also pretty wasteful. Now that it's
certain that the values of these fields don't matter, they can be
set to logical values (as opposed to reversed as it was the case
before PT17.

Test: runtest
Change-Id: I93a0780e23c2f658687be066dc16f27529baaa86
services/core/java/com/android/server/connectivity/PacManager.java
services/core/java/com/android/server/connectivity/ProxyTracker.java