diff options
author | Nick Pelly <npelly@google.com> | 2012-01-05 15:13:12 +1100 |
---|---|---|
committer | Nick Pelly <npelly@google.com> | 2012-01-25 13:18:00 -0800 |
commit | 391cfe2479eca2080c14d1832599ad51cafae918 (patch) | |
tree | 1f202fc227b0031f96ad74a23c9ce7ddf4170420 /res | |
parent | 1a037ff469a506d8918cac51d52c77ac789884f8 (diff) | |
download | packages_apps_nfc-391cfe2479eca2080c14d1832599ad51cafae918.zip packages_apps_nfc-391cfe2479eca2080c14d1832599ad51cafae918.tar.gz packages_apps_nfc-391cfe2479eca2080c14d1832599ad51cafae918.tar.bz2 |
Rewrite NDEF dispatch path. It was getting pretty messy.
The dispatch sequence is identical, but the hierarchy of functions has been
collapsed. The flow now is:
dipsatchTag() ->
tryOverrides() ->
*** NDEF override ***
*** TECH override ***
*** TAG override ***
tryNdef() ->
*** AAR to NDEF ***
*** AAR to application launch ***
*** AAR to market launch ***
*** regular NDEF ***
tryTech() ->
*** TECH ***
*** TAG ***
o Fix bug where cancelling a pending intent would disable further foreground dispatch.
o Fix bug where a foreground process dying would not cancel override
o Assume one NdefMessage per tag in implementation methods
Change-Id: Iaf7a0a83076e4f540a5e55c9e628490570116b01
Diffstat (limited to 'res')
0 files changed, 0 insertions, 0 deletions