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
3ca2b3f9
Commit
3ca2b3f9
authored
14 years ago
by
Jeff Hamilton
Browse files
Options
Download
Email Patches
Plain Diff
Don't show the same activity multiple times.
Bug: 3398076 Change-Id: Ib1a0ac03299f713b00bc93de2e8bb7a3b531711c
parent
e260fc52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/com/android/nfc/NfcService.java
src/com/android/nfc/NfcService.java
+4
-1
No files found.
src/com/android/nfc/NfcService.java
View file @
3ca2b3f9
...
...
@@ -2742,7 +2742,10 @@ public class NfcService extends Application {
for
(
ComponentInfo
info
:
registered
)
{
// Don't allow wild card matching
if
(
filterMatch
(
tagTechs
,
info
.
techs
))
{
matches
.
add
(
info
.
resolveInfo
);
// Add the activity as a match if it's not already in the list
if
(!
matches
.
contains
(
info
.
resolveInfo
))
{
matches
.
add
(
info
.
resolveInfo
);
}
}
}
...
...
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