Add the possibility to disable the Testing Settings Menu
(secret code *#*#4636#*#*) on user builds.
Bug: 306338055
Test: atest TestingSettingsBroadcastReceiverTest
Flag: NA
No-Typo-Check: trivial
Change-Id: I451f094864bd9a0ad8086e9646e2d666ab2388dc
There were two CLs that conflicted causing
the functionality to break again. This CL switches
back to TestingSettingsBroadcastReceiver back to using
the secret code on TelephonyManager.
This is Ok because ag/10331474 moves AndroidManifest
to same flag.
Test: Brought up "Testing" activity using secret code
Test: Hit breakpoint in TestingSettingsBroadcastReceiver
within if block.
Bug: 149524255
Change-Id: I681d88d7f2f0f923850d33219a1ee56eedf87cad
Undoing change to move to updated SystemApi version of
secret code. This failed because the AndroidManifest
was not updated. Rolling it back to previous state
for now.
Bug: 149604099
Test: make, flash
Test: Moving code to previous behavior
Change-Id: I8f3f9f4ef5c64dd9fa74bb9393446a9a1340f26e
Its broken and isn't worth maintaining, instead port the few things
using it over to SettingsPreferenceActivity with wrapping blank
Activities like the rest of Settings.
Change-Id: Ic82f0dcb63ed9b4078f7da6a79c0c52f0130e8d1
Fixes: 28779941