Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
packages_apps_Nfc
Commits
2b4dc11f
Commit
2b4dc11f
authored
12 years ago
by
Martijn Coenen
Browse files
Options
Download
Email Patches
Plain Diff
Check for proper SE open return values on wipe.
Bug: 9227578 Change-Id: Iff9e9512ac4d8e25a287ce40fba7c2717b4419fa
parent
2f61bcad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/com/android/nfc/NfcService.java
src/com/android/nfc/NfcService.java
+2
-2
No files found.
src/com/android/nfc/NfcService.java
View file @
2b4dc11f
...
...
@@ -748,7 +748,7 @@ public class NfcService implements DeviceHostListener {
try
{
Log
.
i
(
TAG
,
"Executing SE wipe"
);
handle
=
doOpenSecureElementConnection
();
if
(
handle
==
0
)
{
if
(
handle
<
0
)
{
Log
.
w
(
TAG
,
"Could not open the secure element"
);
return
;
}
...
...
@@ -772,7 +772,7 @@ public class NfcService implements DeviceHostListener {
mDeviceHost
.
resetTimeouts
();
}
}
finally
{
if
(
handle
!
=
0
)
{
if
(
handle
>
=
0
)
{
doDisconnect
(
handle
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment