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

Unverified Commit 19738d11 authored by Michael W's avatar Michael W Committed by Michael Bestas
Browse files

SystemUI: Make battery clickable again

Change-Id: I66751353944b4cf8a5b5827c3ce53129ec84f1e7
parent c9bb2d32
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -324,6 +324,11 @@ constructor(
            v.pivotY = v.height.toFloat() / 2
            v.pivotY = v.height.toFloat() / 2
        }
        }
        clock.setOnClickListener { launchClockActivity() }
        clock.setOnClickListener { launchClockActivity() }
        batteryIcon.setOnClickListener {
            activityStarter.postStartActivityDismissingKeyguard(
                Intent(Intent.ACTION_POWER_USAGE_SUMMARY), 0
            )
        }


        dumpManager.registerDumpable(this)
        dumpManager.registerDumpable(this)
        configurationController.addCallback(configurationControllerListener)
        configurationController.addCallback(configurationControllerListener)