Merge "Sharesheet - Hide direct share area for low ram devices" into qt-dev
am: fcc4d76a97
Change-Id: I1e2d8680afa856ee1f310d292eeb52ccb7826f8f
This commit is contained in:
@@ -2533,7 +2533,7 @@ public class ChooserActivity extends ResolverActivity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public int getServiceTargetCount() {
|
public int getServiceTargetCount() {
|
||||||
if (isSendAction(getTargetIntent())) {
|
if (isSendAction(getTargetIntent()) && !ActivityManager.isLowRamDeviceStatic()) {
|
||||||
return Math.min(mServiceTargets.size(), MAX_SERVICE_TARGETS);
|
return Math.min(mServiceTargets.size(), MAX_SERVICE_TARGETS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user