summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add watchdog to applyRouting().Martijn Coenen2012-05-311-46/+53
| | | | | | | | | | | | | We've seen some devices hang in doSelectSecureElement, probably waiting for a response from the HW. Root cause is unknown, may be due to a different access pattern of Wallet or OTAProxy. Until we can reproduce better and find the root cause, watchdog this method. Added advantage is that we can have the relevant context in the logs when the crash occurs. Bug: 6585958 Change-Id: Ic797ea479869a68173fcd42049cc4ba8d009d2e0
* Import translations. DO NOT MERGEEric Fischer2012-05-3115-93/+47
| | | | Change-Id: Iacfcfce47cf89d41e130f9623b053f4a0a096ebf
* Import translations. DO NOT MERGEEric Fischer2012-05-3017-184/+92
| | | | Change-Id: I045766c671dc36b48b09fb0af7e98a1e76e58f88
* Import translations. DO NOT MERGEEric Fischer2012-05-2948-97/+145
| | | | Change-Id: I2c744437a1b73b6b3492bbbc1d8cbbf96accba8c
* Merge "Use new handover intent actions." into jb-devMartijn Coenen2012-05-252-18/+26
|\
| * Use new handover intent actions.Martijn Coenen2012-05-252-18/+26
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Fall back to NDEF push if handover SNEP get fails." into jb-devMartijn Coenen2012-05-254-5/+79
|\ \ | |/
| * Fall back to NDEF push if handover SNEP get fails.Martijn Coenen2012-05-254-5/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Import translations. DO NOT MERGEEric Fischer2012-05-2548-629/+713
|/ | | | Change-Id: Id4aa85e6401a2bd21b8b45d78fdd1017b4d1b843
* Show time in NFC handover notifications.Martijn Coenen2012-05-221-4/+0
| | | | | | | | | | | 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
* Fix some strings.Martijn Coenen2012-05-221-4/+4
| | | | Change-Id: I94103a7318cc72dc4c48aa59e942e3a4ae92a743
* Bluetooth Beam: generate unique filenames.Martijn Coenen2012-05-181-2/+15
| | | | | | | | | | | 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
* Don't use NPP for connection handover.Martijn Coenen2012-05-181-1/+5
| | | | | | | Handover will only work with SNEP; if SNEP fails, don't try with NPP. Change-Id: Ib92c90cb588b99e177fa1c70b89753ef8d0e16ea
* Merge "Close NFCEE when NFC is being shut down." into jb-devMartijn Coenen2012-05-171-1/+9
|\
| * Close NFCEE when NFC is being shut down.Martijn Coenen2012-05-171-1/+9
| | | | | | | | | | Bug: 6501921 Change-Id: Ib76fd3a436632ddad0da7c73f7972018990f37c0
* | Merge "Allow cancelling of Bluetooth Beam transfers." into jb-devMartijn Coenen2012-05-175-30/+111
|\ \ | |/
| * Allow cancelling of Bluetooth Beam transfers.Martijn Coenen2012-05-165-30/+111
| | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Eliminate obsolete flag." into jb-devCraig Mautner2012-05-171-1/+0
|\ \
| * | Eliminate obsolete flag.Craig Mautner2012-05-171-1/+0
| | | | | | | | | | | | | | | | | | The FLAG_KEEP_SURFACE_WHILE_ANIMATING has been removed. Change-Id: Ia9623fb1fd5a124145bbb827acfb77767b05f636
* | | Merge "Bluetooth Beam handover: deal with multi-file transfers." into jb-devMartijn Coenen2012-05-164-66/+288
|\ \ \ | |/ / |/| / | |/
| * Bluetooth Beam handover: deal with multi-file transfers.Martijn Coenen2012-05-154-66/+288
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Import translations. DO NOT MERGEEric Fischer2012-05-1511-330/+165
| | | | | | | | Change-Id: Ic2e75ecc2fa54d8c92adb4798d84e9c3d19f83b6
* | Import translations. DO NOT MERGEEric Fischer2012-05-1417-510/+255
|/ | | | Change-Id: I708d501c8816ad9613b1625725f9da3d530cadd8
* Import translations. DO NOT MERGEEric Fischer2012-05-1148-2/+1442
| | | | Change-Id: I6209e0962febfa0ec06adebc46d435a249f51f72
* UI confirmation for pairing a BT device through NFC.Martijn Coenen2012-05-104-5/+90
| | | | | | | | 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
* Bluetooth Beam bug fixes, UX and i18n.Martijn Coenen2012-05-106-113/+307
| | | | | | | | | | - 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
* Call right Bluetooth enable API.Martijn Coenen2012-04-261-1/+1
| | | | Change-Id: Iff926bce1d3b00fe301195b6e3d341631c58fe29
* Merge "Latest changes for Bluetooth Beam."Martijn Coenen2012-04-244-39/+390
|\
| * Latest changes for Bluetooth Beam.Martijn Coenen2012-04-204-39/+390
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Fix to avoid a semaphore issue during the SE opendanieltomas2012-04-201-4/+25
| | | | | | | | | | | | | | This fix is handling a new semaphore dedicated to the SE Notification to avoid the semaphore desynchronisation. Change-Id: I2e735247897a88eaddafcee0edbf3e5a89e18155
* | Added shared prefs for SE wired modeSunil Jogi2012-04-205-17/+70
| | | | | | | | | | | | | | | | | | 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 methodSunil Jogi2012-04-201-2/+5
| | | | | | | | | | | | | | Updated disable method so it can be used for phone shutdown and also can retain the state of NFC Adapter. Change-Id: I216e68b1d08d3e6d97cb82ad13cd3366c480d757
* | Added delay before NFC system recoverySunil Jogi2012-04-202-0/+2
|/ | | | | | | Added delay before NFC system recovery if SE is in wired mode to complete possible pending transaction. Change-Id: I74f04e6d66342b94184083141c5d62341bdf209b
* Import translations. DO NOT MERGEEric Fischer2012-04-161-1/+1
| | | | Change-Id: Iebd5151bca71a1d3e13492d2a43b2571dea12cac
* Merge "Import translations. DO NOT MERGE"Eric Fischer2012-04-131-1/+1
|\
| * Import translations. DO NOT MERGEEric Fischer2012-04-131-1/+1
| | | | | | | | Change-Id: Ie30e2fa88f9f4ffaa4570ae9f51221b6b4f8b25e
* | Support for the new Uri[] Beam push API.Martijn Coenen2012-04-123-36/+57
|/ | | | | | Support multiple URIs, move query for the mime type to NFC service. Change-Id: Ib055efca843b41f6d29cda7d67b23f4b9946113c
* Fix backup key for Nfc.Martijn Coenen2012-04-061-1/+1
| | | | | | This became invalid when we changed back to com.android.nfc. Change-Id: I503223bd7b7ae0ac7409d94708cd0819a92b9b06
* Force bluetooth OPP to handle ACTION_SEND.Martijn Coenen2012-04-051-1/+2
| | | | Change-Id: Ib9520b53d699a79d9a7c09cdb3eb27c4e001d7fd
* Add support for making Mifare Classic readonly.Martijn Coenen2012-04-053-7/+19
| | | | Change-Id: I7572274dd74d8f9c3f0c80bdccf3d30707c91c3f
* First cut at Bluetooth BeamNick Pelly2012-04-045-11/+208
| | | | Change-Id: I616fd57b7822d703280ec960b84cf8c5ced6719d
* Merge "Support for querying extended length APDU support."Martijn Coenen2012-04-043-0/+12
|\
| * Support for querying extended length APDU support.Martijn Coenen2012-04-023-0/+12
| | | | | | | | | | Bug: 5813943 Change-Id: I1274e3c47203e30cedefb57049738f97122de4b1
* | Merge "Allow applications to disable default Beam behavior."Martijn Coenen2012-04-041-13/+43
|\ \
| * | Allow applications to disable default Beam behavior.Martijn Coenen2012-04-041-13/+43
| |/ | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Remote debug logging info."Nick Pelly2012-04-031-1/+1
|\ \ | |/ |/|
| * Remote debug logging info.Nick Pelly2012-04-031-1/+1
| | | | | | | | Change-Id: I384990772c2c457207ba3116ace12e7d7b2c71b4
* | Merge "Let connect() fail with an I/O exception if tag has left the field."Martijn Coenen2012-03-301-0/+4
|\ \
| * | Let connect() fail with an I/O exception if tag has left the field.Martijn Coenen2012-03-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Remove permissions check from the TagService."Martijn Coenen2012-03-301-24/+2
|\ \ \ | |/ /