- 18 Oct, 2011 1 commit
-
-
Martijn Coenen authored
Instead of launching NFC into existing tasks, always launch into a clean task that is owned and controlled by the NFC process. Bug: 5122560 Change-Id: Iea6022bb754bcc46e7ab3adb1b9ccc7fe20797e3
-
- 17 Oct, 2011 1 commit
-
-
Jeff Hamilton authored
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
-
- 01 Sep, 2011 1 commit
-
-
Martijn Coenen authored
- Only hw-accelerate when we have the resources for it; - Disallow status bar interaction; - Remove background; - On failure, gradually scale back up; - On receive, slide out to the right. TODO: - OpenGL fireflies Change-Id: I1deae65f24f40a226c8a575130ca22b72ff9e05e
-
- 16 Aug, 2011 1 commit
-
-
Martijn Coenen authored
This fixes the "black flashes" when starting/finishing the NFC animation activity. TODO: - The status bar is "animated in" still, causing a brief white rectangle where the status bar is. Change-Id: Id99f3ecfe8695edcb6c02caa611731fa6e58a560
-
- 10 Aug, 2011 1 commit
-
-
Martijn Coenen authored
- Start activity instead of window overlay; - Implement "the real twist": need to twist back to share; - Implement receive animation (slide out); - General cleanup. Change-Id: I3f6a015c2a73f309892a8c5c3b1ea1b133b54d42
-
- 08 Aug, 2011 1 commit
-
-
Martijn Coenen authored
Change-Id: I771b97bc090ebce07eeb46807c8fb337be703513
-
- 01 Aug, 2011 1 commit
-
-
Nick Pelly authored
Seems like it won't make the cut. Change-Id: Iac7aa00debfe0d8118b28e8651abc200ce41d8ef
-
- 26 Jul, 2011 1 commit
-
-
Jeff Hamilton authored
Clean up NFC service sound playing. Cancel P2P tasks when the LLCP link is broken. Bug: 4941390 Change-Id: I0710bc7dd9d09ed47a540cb4739890bcc3a4f905
-
- 20 Jul, 2011 1 commit
-
-
Ben Dodson authored
Use dropbox for ME profile. Transiently turn on Bluetooth. Change-Id: I81556a67872e7e0ac7c66c0376549adc5f0c168d
-
- 27 Jun, 2011 1 commit
-
-
Martijn Coenen authored
Change-Id: I6a4fb18540b4841bc8c65089b1ae22b3a1a2fc96
-
- 16 Jun, 2011 1 commit
-
-
Ben Dodson authored
Change-Id: I531d8cb50a334a93f0e44f90cbab4ebc1f70d4b2
-
- 31 May, 2011 1 commit
-
-
Martijn Coenen authored
Backs up all NFC shared preferences. Note this only works when doing a full system restore. Doing just a runtime restore won't trigger the NFC service to restart and reload the setting. Bug: 3139537 Change-Id: I40d3e5c5cd39482a292e634a941af6093f639ece
-
- 01 Apr, 2011 2 commits
-
-
Jason parks authored
Change-Id: Ie6d491b4bf1a735d4119f78f252aa14a95536149
-
Jeff Hamilton authored
Change-Id: Idebe263500839a0238fd5b0cf732e5ecc477698e
-
- 26 Mar, 2011 1 commit
-
-
Jeff Hamilton authored
It controls permissions for NFCEE administration and is checked based on the signature of Nfc.apk and the caller. The NFCEE admin permission checking is currently set to check the stock NFC permission. Change-Id: I164511d8f6850034ca0fc1f6f7f75c5ef212fbc2
-
- 25 Mar, 2011 1 commit
-
-
Jeff Hamilton authored
Change-Id: I89243027b25a3904df0e50414b64387d172c181b
-
- 25 Jan, 2011 1 commit
-
-
Jeff Hamilton authored
The pattern matching wasn't sufficient with the move to identifying technologies with their class names so now we use a custom dispatching mechanism. Change-Id: I3e6379d454458bbb65730ade32cdaa1680c5e339
-
- 20 Jan, 2011 1 commit
-
-
Nick Pelly authored
The home screen and other system apps call stopAppSwitches() to prevent malicious applications from starting their activity again when the user exits. The startActivity() call is delayed by 4 seconds. We can override this in NFC service because we are a system service, using resumeAppSwitches(). If a tag comes into the field we really want to show it immediately. It feels really laggy otherwise. Change-Id: I5394647f352e3f49f821b5346cd4c9af103137ca
-
- 04 Nov, 2010 1 commit
-
-
Nick Pelly authored
Change-Id: I2223abf9690b541ce5ae18e7966b22f3a77f895e Signed-off-by:
Nick Pelly <npelly@google.com>
-
- 25 Oct, 2010 1 commit
-
-
Jeff Hamilton authored
Change-Id: Ia54094291726fa4fac152a49b1b182d73ff9958f
-
- 23 Oct, 2010 1 commit
-
-
Nick Pelly authored
- starting at app onCreate() is about 6 seconds before BOOT_COMPLETE - enable hardware immediately, but do not send any intents until BOOT_COMPLETE (using mBootComplete to guard). - add mutex's around some fields that needed it The fields that are still not thread-safe were non-trivial to fix. Change-Id: Id1c2bf535610ac594a33d84fe9a32d01d698a321 Signed-off-by:
Nick Pelly <npelly@google.com>
-
- 21 Oct, 2010 1 commit
-
-
Nick Pelly authored
Move all NFC settings into shared preferences in NFC service. Service / Binder / BroadcastReceiver cleanup. Re-enable receivers for internal intents. misc cleanup. Change-Id: I73480faea496f6bede2dfdb6fc682c7e84360326 Signed-off-by:
Nick Pelly <npelly@google.com>
-
- 18 Oct, 2010 1 commit
-
-
Nick Pelly authored
Requires no permissions: - Viewing UID, type of discovered tags and cards. - Viewing the NDEF message contents of NDEF formatted tags and cards. Requires android.permission.NFC - Get/Set the local tag "MyTag" - Creating or using a RawTagConnection (transceive()) - Creating or using a NdefTagConnection (write()/read()) Change-Id: I31f2336a81a7151063969f9019da9aaf08092d65 Signed-off-by:
Nick Pelly <npelly@google.com>
-
- 15 Oct, 2010 1 commit
-
-
Nick Pelly authored
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>
-
- 14 Oct, 2010 1 commit
-
-
Nick Pelly authored
NFC application contains the NFC service code that implements NFC API and talks to NFC hardware. This is the first cut at moving NFC service code out of frameworks/base into application service. Android.mk are renamed to Android.mk.hide at this commit because it does not work yet. Signed-off-by:
Nick Pelly <npelly@google.com>
-