OSDN Git Service

Hide "Wipe eUICC" option when it isn't useful.
authorJeff Davidson <jpd@google.com>
Sat, 20 May 2017 00:03:32 +0000 (17:03 -0700)
committerJeff Davidson <jpd@google.com>
Wed, 24 May 2017 23:20:58 +0000 (16:20 -0700)
commitf1c13fa82037c879ae0e3c6d1e0d69fa620e69e7
tree237eaa48c181e58e1cd4d316ff8f0e10557a0e31
parent47a7d102c634d9fff2045681e64c7efb83b5abb5
Hide "Wipe eUICC" option when it isn't useful.

If a user never downloaded a profile onto their eUICC, there's no
reason to offer the wipe option, and it would only cause confusion.
But show the option nonetheless if developer options are enabled.

Bug: 38460669
Test: TreeHugger / Unit test / Manual verification
Change-Id: I51fb7b9e75c4f9a46ee0b24e64bddfafcbd48b14
src/com/android/settings/MasterClear.java
tests/robotests/src/com/android/settings/MasterClearTest.java