Merge "Sharesheet - Hide direct share area for low ram devices" into qt-dev
am: fcc4d76a97
Change-Id: Ia4622b13fcb9befbf34932b86c247dc3057323a5
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