Skip to content

Clean up andorid disableTor (DISABLE_TOR) build option.

As mentioned in #43438 (comment 3162976), we have a disableTor build option, which is only used by TorBootstrapStatus, and this only influences TorBootstrapStatus.isBootstrapping.

However, as far as I can tell, there is no guarantee that TorLauncherUtils.shouldStartAndOwnTor is synchronised with this disableTor build option, which means that TorProvider, TorConnect, TorSettings etc could be active in the background.

I'm guessing disableTor is some legacy option before TorProvider was constructed.

/cc @dan @clairehurst @pierov

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information