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

Commit 08f9d3bf authored by Mark Harman's avatar Mark Harman Committed by Mohammed Althaf T
Browse files

Remove more unnecessary calls.

parent bc943243
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -339,8 +339,7 @@ public class MainActivity extends AppCompatActivity {

        // hack to rule out phones unlikely to have 4K video, so no point even offering the option!
        // both S5 and Note 3 have 128MB standard and 512MB large heap (tested via Samsung RTL), as does Galaxy K Zoom
        // also added the check for having 128MB standard heap, to support modded LG G2, which has 128MB standard, 256MB large - see https://sourceforge.net/p/opencamera/tickets/9/
        if( activityManager.getMemoryClass() >= 128 || activityManager.getLargeMemoryClass() >= 512 ) {
        if( activityManager.getLargeMemoryClass() >= 512 ) {
            supports_force_video_4k = true;
        }
        if( MyDebug.LOG )