| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* commit '62a8997361a059183f2547365a6055db3d45e9c9':
Use new handover intent actions.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use the new handover intent actions that allow us
to select any mime-type.
Also, add unique filename counter before extension
instead of after it.
Bug: 6561169
Change-Id: I04b83460099b42ba6220d7eb4dcff7a095022304
|
|\ \
| |/
| |
| |
| |
| |
| | |
fails." into jb-dev
* commit 'abf67e1baa0a4b313d9338e69261db47c33725be':
Fall back to NDEF push if handover SNEP get fails.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This allows applications to be able to set both
a Uri (for handover) and an NDEF message, which
will only be sent if the handover request does
not work (as will be the case on pre-J devices).
Also, show a toast if the remote device does
not support connection handover.
Bug: 6561174
Change-Id: I9ffdcfdf0cded319fbb4ab646ae1da5382fcb74a
|
|\ \
| |/
| |
| |
| | |
* commit '7d44aa52f36e8b0a08fcbb7fdf3af207cd54a97b':
Show time in NFC handover notifications.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Notification sorting is coupled to the time associated
with the notifications, and there's no way to hide the
time in the notification without setting the time to zero.
Since we prefer a proper sorting over hiding the time,
just show the time again.
Change-Id: I3188a80f8d7b7fcac54ffa790df58faa53241557
|
|\ \
| |/
| |
| |
| | |
* commit 'beb7b1b4b95b1762b507eb2a9c6380e24c8b7a62':
Bluetooth Beam: generate unique filenames.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When moving files to beam/, make sure the destination
file is unique.
Also, give the transfer a little more time to be initiated;
OPP can take quite some time to startup, especially with
debug logging.
Change-Id: I304c297587e3ad2f339438201bb0b53152084af4
|
|\ \
| |/
| |
| |
| | |
* commit '91ebf1e2e815034504265f1f7472780bcbd30123':
Don't use NPP for connection handover.
|
| |
| |
| |
| |
| |
| |
| | |
Handover will only work with SNEP; if SNEP fails,
don't try with NPP.
Change-Id: Ib92c90cb588b99e177fa1c70b89753ef8d0e16ea
|
|\ \
| |/
| |
| |
| |
| |
| | |
into jb-dev
* commit 'e769540a26900bb809c210c976eaca3ac6cf2605':
Close NFCEE when NFC is being shut down.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 6501921
Change-Id: Ib76fd3a436632ddad0da7c73f7972018990f37c0
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
transfers." into jb-dev
* commit '0b61093016daae3df331e1a6780757254c06859a':
Allow cancelling of Bluetooth Beam transfers.
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add an action to the notification entry that allows
cancelling Beam transfers.
Also, each transfer now has a generic timer that
marks the transfer as failed, in case no updates
happen on the transfer at all for 10 seconds.
Change-Id: I9670e4e782e5c1b846a07f7e490a2f317a45fb70
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'c9f617a9c99f579e753a09387629f3ddac8e9ca7':
Eliminate obsolete flag.
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | | |
The FLAG_KEEP_SURFACE_WHILE_ANIMATING has been removed.
Change-Id: Ia9623fb1fd5a124145bbb827acfb77767b05f636
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
multi-file transfers." into jb-dev
* commit '8baa9162ad3593b248fb6801b8feb30ad581467b':
Bluetooth Beam handover: deal with multi-file transfers.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A handover transfer object no longer represents a single file,
but all the files associated with the handover. This association
is based on the source address of the transfer and a timer;
if a new file transfer from the same source is started within
this timer, it is considered to be part of the same handover
transfer.
Received files are stored in beam/. If multiple files are
transferred, they are stored in their own subdirectory of beam.
We now use the mediaScanner for mime-types that the
platform can deal with by default. The advantage of this
is that the mediaScanner can already gather meta-data for
these files, and (platform) apps can query for and populate
views with such data.
3rd party applications can also query the mediaScanner
for meta-data on the received files.
A handover transfer object has a single notification
associated with it; upon launching the notification,
a single ACTION_VIEW intent is launched. If multiple files
were transferred as part of this handover, ACTION_VIEW is
launched on the first file in the set.
Change-Id: I00c23e58736f6dbe96726a1ec56fbc8c984a215d
|
|\ \
| |/
|/|
| | |
Change-Id: I6d9df6e420cb4047f06848d4c0d94d30a6cc575a
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Don't initiate sendUi in Nfc if we are in appliance mode. This saves 20MB of
memory.
Bug: 6470917
TESTED = runs on Tungsten.
Change-Id: I41df65a67cd0f3af3e73469c1679d707c98cc3f8
|
| |
| |
| |
| |
| |
| | |
nfc confirmation ui.
Change-Id: Iebad3ee6a40341b963ecf118f8d46f08b6478a25
|
| |
| |
| |
| |
| |
| |
| |
| | |
If we find a BT device to pair through NFC and we haven't
seen it device before, request confirmation before pairing it.
Bug: 6092058
Change-Id: I34fc638fbdb152a48e90644f9a34cc1a0b942de2
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Implemented handover select with carrier power state
- Delay OPP send if remote carrier is activating
- I18n for all handover components
- Cleanup old handover transfers
Bug: 6411485
Change-Id: I84aac3a7c7e703a1fcb423b6016cd9fa3d33d9b1
|
| |
| |
| |
| | |
Change-Id: Iff926bce1d3b00fe301195b6e3d341631c58fe29
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Receive transfer notifications and status info from Bluetooth, to show
progress using Notifications.
- Added power manager, to keep track of BT power state, and turn BT off
if possible.
TODO:
- UI for failed operations (ie transfer failed, Bluetooth enable failed).
- Cleanup of transfer list
- Make sure BT doesn't connect to other peripherals or isn't connectable.
Change-Id: I31450f589bbaeb72ee8c450c5019f00f0190b7aa
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When SE is in wired mode shared prefs sets the se_wired to true,
when SE is no more in wired mode shared prefs sets se_wired to
false. Default value for se_wired is false. se_wired shared pref
is set during the NFC initialization.
Change-Id: I9a3565c23035802895c8e99c671483c808312e0e
|
|/ /
| |
| |
| |
| |
| |
| | |
Updated disable method so it can be used for phone shutdown and
also can retain the state of NFC Adapter.
Change-Id: I216e68b1d08d3e6d97cb82ad13cd3366c480d757
|
| |
| |
| |
| |
| |
| | |
Support multiple URIs, move query for the mime type to NFC service.
Change-Id: Ib055efca843b41f6d29cda7d67b23f4b9946113c
|
| |
| |
| |
| | |
Change-Id: Ib9520b53d699a79d9a7c09cdb3eb27c4e001d7fd
|
| |
| |
| |
| | |
Change-Id: I7572274dd74d8f9c3f0c80bdccf3d30707c91c3f
|
| |
| |
| |
| | |
Change-Id: I616fd57b7822d703280ec960b84cf8c5ced6719d
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 5813943
Change-Id: I1274e3c47203e30cedefb57049738f97122de4b1
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
By adding a meta-data entry to the application section of
the applications manifest:
<meta-data android:name="android.nfc.disable_beam_default"
android:value="true" />
Bug: 6257668
Change-Id: I73c27d8c642acd85f678fb42b4379f6bc21189b9
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Because connect() can sometimes be implemented without any I/O,
(usually between transitions to/from the NDEF technology),
it does not always notice when a tag has left the field. Since
we promise in the API docs that it does, fix it by checking
(cached) presence.
Change-Id: Ie6ad1b5dec3621051e395d3be0d0e09615e53ebc
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This will allow apps to call getNfcAdapter() and check if NFC
is enabled without having the NFC permission.
Added a permission check inside the TagService methods itself,
and removed obsolete method.
Bug: 5928657
Change-Id: I27c510ab7c3cbbda8e58e486100ede83312ce0dd
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 6135087
Change-Id: Ib2161c6125b6592db8ca2d89a1959e20f54455eb
|
|\ \ \ \
| | |/ /
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Was only used for one call into the service, and it wasn't even correct
in that case.
Change-Id: I6c7d9d137783fde9341e119402e6823776c711b7
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ibec1e2adb13a1f60bad1a573c9bf1f93d5cd4bc6
|
|\ \ \ \ \ |
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This means we make an IPC callback during Beam for static NDEF, instead
of an IPC every time the static NDEF changes. This results in less IPC,
and the latency increase during Beam is not measurable.
This fixes a bug where a crashed application still leaves its
static NDEF message inside NFC service.
Bug: 5199662
Change-Id: Id4879356b2b2b0d65ce3183d7a1bda9cde455f2c
|