OSDN Git Service

On factory reset, wipe the stored account challenges
authorAndres Morales <anmorales@google.com>
Thu, 10 Jul 2014 23:10:43 +0000 (16:10 -0700)
committerAndres Morales <anmorales@google.com>
Fri, 18 Jul 2014 16:40:37 +0000 (16:40 +0000)
commit7ab8929cc6ecbd1ba14c0d6ecb393b31f9a6fcda
treed9b8fc7979e92c1085edfb4b65bcd91e142eea1d
parentd0a057ccc89f65f0971a2e7c42758b0fedf7c501
On factory reset, wipe the stored account challenges

Each time a user adds an account, a challenge gets
stored to the persistent data block service.

If a user factory resets *from Settings*, this is
considered a "secure wipe" and thus we must wipe
the account challenges as well.

No other factory reset mechanism must be permitted
to wipe this data.

Bug: 14288780
Change-Id: Ibe48ccae2d7b5f8d736717a27b7c4f44bed0fba7
src/com/android/settings/MasterClearConfirm.java