DO NOT MERGE Fix duplicate clear credential dialog

Moving initialization of the requested action to ensure it is only
is only executed once (on creation). This prevents duplicate
actions and/or dialogs from occurring when the activity intents
into another activity and then returns.

Bug: 169742691
Test: manual, CtsVerifier KeyChainTest (to test credential installation)
Change-Id: Ifdfe602dc982b2eb04d35551e8038f9716a8932d
(cherry picked from commit 3b4830a8ecab10eff4b34079507a36331d2ff730)
1 file changed
tree: 814eee13383c949a4c6728d626941225796a2ee7
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml
  6. PREUPLOAD.cfg