commit | 1360c555a4e060be30a7a6a7916449441c1bf646 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Mon Jan 07 16:34:20 2013 -0800 |
committer | Martijn Coenen <maco@google.com> | Mon Jan 07 16:41:15 2013 -0800 |
tree | e1c91a7dcf881b89296a04af5e0ce9187ae2212c | |
parent | 0aa212e32ad0ef1333941e2c5228c7528da3c40f [diff] |
Don't IPC for every onPause() in NfcActivityManager. The NfcService now contains additional code to make sure that the registered NDEF callback corresponds to the package running in the foreground. This allows us to stop calling the NfcService on every onPause() to register the NDEF callback, as NfcService itself will now detect that the app is no longer in the foreground, and won't call the callback. Bug: 5199662 Change-Id: Ibd0d21f8c7b76346238305a6684967263cb7d7e0