| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I5607abe5d28ef9682afa084651c50aa651655b60
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The LLCP stack is still using globals without
holding the concurrency lock. When turning the
screen off we were previously disabling the
NFCEE routing before disconnecting the active
target. The routing code would grab the lock
and then touch the globals, which the LLCP
was using illegally, causing a crash when the
LLCP triggered callbacks are delivered.
This change reorders the shutdown at screen
off to disconnect the remote target before
issuing the change to the NFCEE routing in
an attempt to stop the ongoing LLCP
transactions, thereby avoiding the crash.
Since the callbacks are asynchronous the
race is still there, but it's hit more like
10% of the time instead of 100% of the time.
Bug: 5366024
Change-Id: I31230166c1c5bf116195db350ac6605feb90e87f
|
| |
|
|
|
|
|
| |
Change-Id: I0ef8bdd1587d6eee6a08f4e617050f8fa0cbd72c
Signed-off-by: Nick Pelly <npelly@google.com>
|
|
|
|
|
|
|
| |
This should fix the -userdebug builds.
Change-Id: Icf027422d642588a29cb7d081836f4bd7c92881f
Signed-off-by: Nick Pelly <npelly@google.com>
|
|
Uses ServiceManager.addService() to register the service.
Uses BOOT_COMPLETE to start the service.
Uses sharedUserId com.android.nfc so that it has a fixed uid.
Uses android:persistant so that the process is not killed.
Change-Id: If4264baf5dc457ee0a3ad5788c5945e84173b1ea
Signed-off-by: Nick Pelly <npelly@google.com>
|