[2/2] frameworks/base: Add Captive Detection toggle

Change-Id: I4b7127780e7c6e106dc8017b9ba3c03816acaa2b

Patchset: 1
https://gerrit.omnirom.org/#/c/5359/