diff options
author | Nick Pelly <npelly@google.com> | 2011-08-10 22:24:45 -0700 |
---|---|---|
committer | Nick Pelly <npelly@google.com> | 2011-08-10 22:53:24 -0700 |
commit | 77d0b56bfa6a4e4e1449c476a1141a7486f34ad9 (patch) | |
tree | c01e6dc362cae405f2243822c196f19aa31fe894 /res | |
parent | d1936808c5f37f97fdb876836194ecbfe1cdfff5 (diff) | |
download | packages_apps_nfc-77d0b56bfa6a4e4e1449c476a1141a7486f34ad9.zip packages_apps_nfc-77d0b56bfa6a4e4e1449c476a1141a7486f34ad9.tar.gz packages_apps_nfc-77d0b56bfa6a4e4e1449c476a1141a7486f34ad9.tar.bz2 |
Decouple P2P link management from P2P UX management.
The goal is to make it easier to track the state of the P2P transfer, and
to make it easier to fine-tune UX (sound, vibration, animation) for P2P
transfer.
NdefP2pManager -> P2pLinkManager
It now only handles LLCP and NDEF logic (and no UX). It has a state machine to
track the state of the LLCP link, send and receive. It does debouncing on the
LLCP link. Events are surfaced to P2pEventManager through the P2pEventListener
interface.
P2pEventManager
Handles all UX (sound, vibration, animation) and send confirmation.
The current implementation uses Rotation to confirm send, and
P2pAnimationActivity to animate the send.
Change-Id: Ie498219857afe69403e90f09c77f4d6d1b24ffeb
Diffstat (limited to 'res')
0 files changed, 0 insertions, 0 deletions