Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
YouROK committed Jul 13, 2019
1 parent e5b3a1b commit a96bba2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@
<data android:pathPattern=".*..*..*..*..*..*..*..*..*..*..*..*..*..*..*.torrent.*" />
</intent-filter>
</activity>

<activity
android:name=".activitys.add.AddPermanent"
android:label="@string/add_play"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ class PlayActivity : AppCompatActivity() {
val addr = Preferences.getCurrentHost() + link
val pkg = Preferences.getPlayer()

firebaseAnalytics?.setUserProperty("play_torr", torr.toString())
val bundle = Bundle()
bundle.putString(FirebaseAnalytics.Param.SEARCH_TERM, torr.toString())
firebaseAnalytics?.logEvent(FirebaseAnalytics.Event.SEARCH, bundle)

val intent = Intent(Intent.ACTION_VIEW, Uri.parse(addr))
val mime = Mime.getMimeType(name)
Expand Down

0 comments on commit a96bba2

Please sign in to comment.