Merge "Update category for AccountDetailDashboardFragment."
This commit is contained in:
committed by
Android (Google) Code Review
commit
1a1c3dd240
@@ -81,15 +81,6 @@ public class UserAndAccountDashboardFragment extends DashboardFragment {
|
||||
return controllers;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean displayTile(Tile tile) {
|
||||
final Bundle metadata = tile.metaData;
|
||||
if (metadata != null) {
|
||||
return metadata.getString(METADATA_IA_ACCOUNT) == null;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
private static class SummaryProvider implements SummaryLoader.SummaryProvider {
|
||||
|
||||
private final Context mContext;
|
||||
|
@@ -76,7 +76,7 @@ public class DashboardFragmentRegistry {
|
||||
PARENT_TO_CATEGORY_KEY_MAP.put(SecuritySettings.class.getName(),
|
||||
CategoryKey.CATEGORY_SECURITY);
|
||||
PARENT_TO_CATEGORY_KEY_MAP.put(AccountDetailDashboardFragment.class.getName(),
|
||||
CategoryKey.CATEGORY_ACCOUNT);
|
||||
CategoryKey.CATEGORY_ACCOUNT_DETAIL);
|
||||
PARENT_TO_CATEGORY_KEY_MAP.put(UserAndAccountDashboardFragment.class.getName(),
|
||||
CategoryKey.CATEGORY_ACCOUNT);
|
||||
PARENT_TO_CATEGORY_KEY_MAP.put(
|
||||
|
Reference in New Issue
Block a user