Add developer options check for launching Traceur MainActivity
Previously, it was possible for apps to launch the System Tracing
app even when developer options was not enabled.
This change introduces a check at activity start that will close
the activity if developer options are not enabled.
Test: Flashed phone with qt-qpr1-dev and verified that Traceur could
be launched from the Settings app and via the quick settings tile
Test: Verified that an app calling startActivity on the Traceur
MainActivity would fail if developer options were disabled.
1 file changed