Revert "ScoredNetworkNominator: Use getActiveScorerPackage() instead of settings"

This reverts commit 920e7b46fc1edd318f4c61623c5832a5ed83c67c.

Uses the @hide Settings.Global key: "use_open_wifi_package" to get this status instead.

Bug: 151160317
Test: atest com.android.server.wifi
Test: Manually verified that scored nominator is disabled when "Connect
to open networks" is toggled in Wifi preferences.

Change-Id: Iafd62e592a681327c98b976f9e8b016bb6eba512
3 files changed
tree: 33583a1ebbbce8b73c1f28d669ac597bcccf149e
  1. apex/
  2. service/
  3. PREUPLOAD.cfg