| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Also finish removing NFCEE permission, and fix a couple of style mistakes.
Change-Id: I4ec22469990de6661365c281db2e8cfd7ae413b0
|
|
|
|
|
|
|
|
|
|
|
| |
NFC service now has a build time array of package signatures and package names
that are allowed access to the NFCEE, removing the shared certificate
requirement.
See sample_nfcee_access.xml for the XML format.
Bug: 4515759
Change-Id: Ibf03e259137f2f4247ec5d31fb88b1090b013d32
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Change-Id: I771b97bc090ebce07eeb46807c8fb337be703513
|
|
|
|
|
|
| |
Seems like it won't make the cut.
Change-Id: Iac7aa00debfe0d8118b28e8651abc200ce41d8ef
|
|
|
|
|
|
|
|
|
| |
Clean up NFC service sound playing.
Cancel P2P tasks when the LLCP link is broken.
Bug: 4941390
Change-Id: I0710bc7dd9d09ed47a540cb4739890bcc3a4f905
|
|
|
|
|
|
|
|
| |
Use dropbox for ME profile.
Transiently turn on Bluetooth.
Change-Id: I81556a67872e7e0ac7c66c0376549adc5f0c168d
|
|
|
|
| |
Change-Id: I6a4fb18540b4841bc8c65089b1ae22b3a1a2fc96
|
|
|
|
| |
Change-Id: I531d8cb50a334a93f0e44f90cbab4ebc1f70d4b2
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| | |
Change-Id: Ie6d491b4bf1a735d4119f78f252aa14a95536149
|
|/
|
|
| |
Change-Id: Idebe263500839a0238fd5b0cf732e5ecc477698e
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
| |
Change-Id: I89243027b25a3904df0e50414b64387d172c181b
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Change-Id: I2223abf9690b541ce5ae18e7966b22f3a77f895e
Signed-off-by: Nick Pelly <npelly@google.com>
|
|
|
|
| |
Change-Id: Ia54094291726fa4fac152a49b1b182d73ff9958f
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
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>
|