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