Fix NetworkOnMainThreadException in KeyStoreTest

A quick fix for KeyStoreTest.

Commit 1b6a2f56cf25fcbd0e2311be58d8577565622cf3 moved some
code around causing the static initializer of the test to
access the network, which is forbidden in CTS tests.

Change-Id: I8addfa8f3b0d801cb90b9f9bb7d2707c4fc3f62f
1 file changed