OSDN Git Service

Remove animation from account detail page.
authorDoris Ling <dling@google.com>
Thu, 29 Jun 2017 21:46:09 +0000 (14:46 -0700)
committerDoris Ling <dling@google.com>
Thu, 29 Jun 2017 21:46:09 +0000 (14:46 -0700)
Set the preference comparison callback to null for the account detail
fragment so that there won't be animation when the we insert the dynamic
tiles.

Change-Id: I35c9fcda500e58d0a18f6ad4ef6f0651166fd70a
Fix: 62365204
Test: visual

src/com/android/settings/accounts/AccountDetailDashboardFragment.java

index a74b896..b1455bf 100644 (file)
@@ -58,6 +58,7 @@ public class AccountDetailDashboardFragment extends DashboardFragment {
     @Override
     public void onCreate(Bundle icicle) {
         super.onCreate(icicle);
+        getPreferenceManager().setPreferenceComparisonCallback(null);
         Bundle args = getArguments();
         final Activity activity = getActivity();
         UserHandle userHandle = Utils.getSecureTargetUser(activity.getActivityToken(),