Only show app action button if it is not instant app.
- for instant app, we are showing another set of buttons, and hence the regular app action buttons should be not be available. Change-Id: I53f2a10921451c281166e123671c088ab87b2b0d Fixes: 71919219 Test: make RunSettingsRoboTests
This commit is contained in:
@@ -93,7 +93,8 @@ public class AppActionButtonPreferenceController extends BasePreferenceControlle
|
||||
|
||||
@Override
|
||||
public int getAvailabilityStatus() {
|
||||
return AVAILABLE;
|
||||
return AppUtils.isInstant(mParent.getPackageInfo().applicationInfo)
|
||||
? DISABLED_FOR_USER : AVAILABLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user