Skip to content

Commit

Permalink
update notices
Browse files Browse the repository at this point in the history
  • Loading branch information
cinit committed Dec 22, 2021
1 parent c55776e commit 971ee37
Showing 1 changed file with 22 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import cc.ioctl.nfcdevicehost.databinding.ItemLicenseNoticeBinding
import de.psdev.licensesdialog.LicensesDialog
import de.psdev.licensesdialog.licenses.ApacheSoftwareLicense20
import de.psdev.licensesdialog.licenses.BSD3ClauseLicense
import de.psdev.licensesdialog.licenses.MITLicense
import de.psdev.licensesdialog.model.Notice
import de.psdev.licensesdialog.model.Notices
import io.noties.markwon.Markwon
Expand Down Expand Up @@ -49,9 +50,9 @@ class LicenseNoticeDialogFragment : BaseBottomSheetDialogFragment() {
private val notices: Notices = Notices().also {
it.addNotice(
Notice(
"Markwon",
"https://github.com/noties/Markwon",
"Copyright 2017 Dimitry Ivanov ([email protected])",
"nfcandroid_nfc_hidlimpl",
"https://github.com/NXPNFCProject/nfcandroid_nfc_hidlimpl",
"Copyright 2020-2021 NXP",
ApacheSoftwareLicense20()
)
)
Expand All @@ -64,9 +65,18 @@ class LicenseNoticeDialogFragment : BaseBottomSheetDialogFragment() {
)
it.addNotice(
Notice(
"nfcandroid_nfc_hidlimpl",
"https://github.com/NXPNFCProject/nfcandroid_nfc_hidlimpl",
"Copyright 2020-2021 NXP",
"xHook", "https://github.com/iqiyi/xHook",
"Copyright (c) 2018-present, iQIYI, Inc. All rights reserved.\n\n" +
"Most source code in xhook are MIT licensed. " +
"Some other source code have BSD-style licenses.",
MITLicense()
)
)
it.addNotice(
Notice(
"libsu",
"https://github.com/topjohnwu/libsu",
"Copyright 2021 John \"topjohnwu\" Wu",
ApacheSoftwareLicense20()
)
)
Expand All @@ -80,17 +90,17 @@ class LicenseNoticeDialogFragment : BaseBottomSheetDialogFragment() {
)
it.addNotice(
Notice(
"libsu",
"https://github.com/topjohnwu/libsu",
"Copyright 2021 John \"topjohnwu\" Wu",
"Xposed",
"https://github.com/rovo89/XposedBridge",
"Copyright 2013 rovo89, Tungstwenty",
ApacheSoftwareLicense20()
)
)
it.addNotice(
Notice(
"Xposed",
"https://github.com/rovo89/XposedBridge",
"Copyright 2013 rovo89, Tungstwenty",
"Markwon",
"https://github.com/noties/Markwon",
"Copyright 2017 Dimitry Ivanov ([email protected])",
ApacheSoftwareLicense20()
)
)
Expand Down

0 comments on commit 971ee37

Please sign in to comment.