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

Commit 56d39d1e authored by Nick Pelly's avatar Nick Pelly Committed by Android Git Automerger
Browse files

am b73203ab: Merge "Make sure service handles are live before passing to other...

am b73203ab: Merge "Make sure service handles are live before passing to other objects." into gingerbread

* commit 'b73203ab':
  Make sure service handles are live before passing to other objects.
parents 512cd2ec b73203ab
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -317,6 +317,7 @@ public final class NfcAdapter {
     * @hide
     */
    public INfcAdapter getService() {
        isEnabled();  // NOP call to recover sService if it is stale
        return sService;
    }

@@ -325,6 +326,7 @@ public final class NfcAdapter {
     * @hide
     */
    public INfcTag getTagService() {
        isEnabled();  // NOP call to recover sTagService if it is stale
        return sTagService;
    }