OSDN Git Service

Fix crash in developer settings when backup is not available
authorAlex Vakulenko <avakulenko@google.com>
Sat, 26 Aug 2017 00:44:36 +0000 (17:44 -0700)
committerAlex Vakulenko <avakulenko@google.com>
Sat, 26 Aug 2017 01:10:43 +0000 (01:10 +0000)
commit070b31216aa2a2031f70e485ceac3440b079929f
tree3f8c81f2b14c7723426f44f1a6c11295a9a746c3
parent77bd8c3a739d5780c2c68b015922258183ae2cc8
Fix crash in developer settings when backup is not available

When backup feature is disabled, Developer Settings dialog does
not come up due to a crash.

Disable Backup Password option in the preference screen.

Bug: 64725174
Test: Developer settings dialog comes up and Backup password is
      disabled on Polaris

Change-Id: I4f4546c4e97d2e5128ec65c0532691d9799b4c8f
src/com/android/settings/development/DevelopmentSettings.java