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

Commit 8308655f authored by kaiyiz's avatar kaiyiz Committed by Xiaojing Zhang
Browse files

Settings: Fix Screen Color crash

Service Intent must be explicit.

CRs-Fixed: 725812

Change-Id: If926f5be122cda530bc9b8b70611cabc05151981
parent e3d73c0b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -172,7 +172,8 @@ public class ScreenColorSettings extends Activity {

    private void initPPService() {
        mPPServiceConn = new PPServiceConnection();
        Intent i = new Intent(IPPService.class.getName());
        Intent i = new Intent();
        i.setClass(this, IPPService.class);
        bindService(i, mPPServiceConn, Context.BIND_AUTO_CREATE);
    }