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

Commit f99fbb33 authored by narinder Rana's avatar narinder Rana Committed by Romain Hunault
Browse files

hide notification icon area using program using config value

parent bbcc19a5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1351,6 +1351,10 @@
    <!-- De we do icon badges? Used to decide if there should be a disable option-->
    <bool name="config_notificationBadging">true</bool>

    <!-- De we do notification icon hide on status bar? true == hide, false == show -->
    <bool name="config_hide_notificationIcons">true</bool>


    <!-- Default value for LED off time when the battery is low on charge in miliseconds -->
    <integer name="config_notificationsBatteryLedOff">2875</integer>

+2 −1
Original line number Diff line number Diff line
@@ -178,7 +178,8 @@ public class CollapsedStatusBarFragment extends Fragment implements CommandQueue
        // Default to showing until we know otherwise.
        showNotificationIconArea(false);

        showHideNotificationIconArea(true);
        showHideNotificationIconArea(getContext().getResources().getBoolean(
                com.android.internal.R.bool.config_hide_notificationIcons));
    }

    public void showHideNotificationIconArea(boolean isHide){