Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fcc4d76a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Sharesheet - Hide direct share area for low ram devices" into qt-dev

parents 6c88570f 6e88b510
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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);
            }
            }