commit | 364ed4dda42882b600dce48319881ff58464fced | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Fri Jul 26 13:37:56 2013 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Tue Jul 30 16:23:50 2013 -0700 |
tree | 660d07bfdbec697d8c1404309aafb5ab42cf7a35 | |
parent | cb9accefb19ba6ae6fd449dc9ab62e972b51335c [diff] |
PreferenceActivity Fragment security Provides a way for PreferenceActivities to verify that they aren't being launched with Fragments not meant to be attached to them. Default implementation will fail verification for apps built with KLP. This will not affect apps built for earlier targets. Also, make sure that the class being instantiated is a Fragment and not some random class. Bug: 9901133 Change-Id: I564cd5168eabcadd7594ea8011e2081ebebfe063