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
1 file changed
tree: a1ef1d8a29330c06554f592537176b960e5124aa
  1. res/
  2. src/
  3. tests/
  4. Android.bp
  5. AndroidManifest.xml
  6. OWNERS
  7. PREUPLOAD.cfg