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

Commit cf6d2d0e authored by Mark Harman's avatar Mark Harman
Browse files

No longer force max brightness by default for new installs.

parent 08db5043
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -84,6 +84,7 @@ UPDATED Double tapping will now cancel focus and metering area.
UPDATED Allow some more dialogs to run while still showing camera preview.
UPDATED Support longer exposure time (0.5s) on Samsung Galaxy S devices.
UPDATED OnePlus devices on Android 14+ now default to Camera2 API for new installs.
UPDATED No longer force max brightness by default for new installs.
UPDATED Removed "dim on-screen virtual navigation buttons" option for "Immersive mode" (this is now
        deprecated on Android, and few devices support it anymore).
UPDATED Changed shutter sound on Samsung devices with Camera2 API (workaround for Samsung specific
+1 −1
Original line number Diff line number Diff line
@@ -4136,7 +4136,7 @@ public class MainActivity extends AppCompatActivity implements PreferenceFragmen
        // done here rather than onCreate, so that changing it in preferences takes effect without restarting app
        SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this);
        final WindowManager.LayoutParams layout = getWindow().getAttributes();
        if( force_max || sharedPreferences.getBoolean(PreferenceKeys.MaxBrightnessPreferenceKey, true) ) {
        if( force_max || sharedPreferences.getBoolean(PreferenceKeys.MaxBrightnessPreferenceKey, false) ) {
            layout.screenBrightness = WindowManager.LayoutParams.BRIGHTNESS_OVERRIDE_FULL;
        }
        else {
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@
        android:key="preference_max_brightness"
        android:title="@string/preference_max_brightness"
        android:summary="@string/preference_max_brightness_summary"
        android:defaultValue="true"
        android:defaultValue="false"
        />

</PreferenceScreen>