Get Tile#intent through getter
Bug: 77600770 Test: robotests Change-Id: I17d3556f833e6a9610fe34f382534bd90bb0499f
This commit is contained in:
@@ -723,7 +723,8 @@ public class SettingsActivity extends SettingsBaseActivity
|
||||
for (DashboardCategory category : categories) {
|
||||
final int tileCount = category.getTilesCount();
|
||||
for (int i = 0; i < tileCount; i++) {
|
||||
final ComponentName component = category.getTile(i).intent.getComponent();
|
||||
final ComponentName component = category.getTile(i)
|
||||
.getIntent().getComponent();
|
||||
final String name = component.getClassName();
|
||||
final boolean isEnabledForRestricted = ArrayUtils.contains(
|
||||
SettingsGateway.SETTINGS_FOR_RESTRICTED, name);
|
||||
|
Reference in New Issue
Block a user