OSDN Git Service

Fix problem where rotating the device doesn't launch TrustAgent pref
authorJim Miller <jaggies@google.com>
Sat, 6 Sep 2014 01:48:18 +0000 (18:48 -0700)
committerJim Miller <jaggies@google.com>
Sun, 7 Sep 2014 21:30:38 +0000 (14:30 -0700)
commit250b9bee685de8f4060dd410f0894c22de1909cf
treef2059b5e2adf271053b452cb3bfbc0203e4614b6
parentfd3a3d79290799ec80c3bc9cfe965280428a8077
Fix problem where rotating the device doesn't launch TrustAgent pref

This fixes a bug where the TrustAgent intent was being lost when
the device configurtion changes. It used to depend on a view that
gets recreated.  Instead, we persist the actual launch intent
which works across activity restarts.

Fixes bug 17040470

Change-Id: Ia1c93867254cfdc27683a767cf41fe74dbb97db0
src/com/android/settings/SecuritySettings.java