Add validity check for developer options

Enable the developer options module if not already enabled when
necessary. Add log statements to help debug the root cause.

This change is to ensure no one stays blocked on not having access to
developer options while adding some additional logs to understand how
this inconsistent state is acheived.

Bug: 137797266
Test: manual, robolectric
Change-Id: Idbc1a421c22625fb3424239052eb669c7a0f8ff4
3 files changed
tree: 1e98d99dff05fea12a26286c462ce6a81f3fc60e
  1. res/
  2. src/
  3. tests/
  4. Android.bp
  5. AndroidManifest.xml
  6. PREUPLOAD.cfg