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

Skip to content
Commit 1882a02f authored by Jorge Ruesga's avatar Jorge Ruesga Committed by Steve Kondik
Browse files

base: start nfc service prior to systemui

Since registration of NfcService as a manager service happens in the first run of the Nfc app,
and since the SystemUi makes use of this manager service through the NfcTile, NfcManager
can lead into a null reference for the NfcAdapter because the NfcService isn't registered
when the SystemUi starts (this condition depends on the device speed to bring up the call
to the apps).
This change adds a noop service that allow to be called by SystemServer before start the
systemui and ensure that NfcService is available before apps start using NfcManager.

Depends on: http://review.cyanogenmod.org/#/c/108684/
Additional info: http://review.cyanogenmod.org/#/c/108411



TICKET: CYNGNOS-848
Change-Id: Iea84c672762a62946e5708396d8d3b56166eaee8
Signed-off-by: default avatarJorge Ruesga <jorge@ruesga.com>
parent f826b24a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment