Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 773f59fe authored by Sayantan Roychowdhury's avatar Sayantan Roychowdhury
Browse files

more miscellaneous lint warning fixes

parent 114f5bd4
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -77,7 +77,6 @@ class HomeChildRVAdapter(
    }

    override fun onBindViewHolder(holder: ViewHolder, position: Int) {
        val view = holder.itemView
        val homeApp = getItem(position)
        val shimmerDrawable = ShimmerDrawable().apply { setShimmer(shimmer) }

+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ import androidx.preference.PreferenceViewHolder
 */
class LongPressPreference : Preference {

    private var longClickListener: View.OnLongClickListener = View.OnLongClickListener { v -> true }
    private var longClickListener: View.OnLongClickListener = View.OnLongClickListener { true }

    constructor(context: Context, attrs: AttributeSet, defStyle: Int) : super(
        context,
+0 −1
Original line number Diff line number Diff line
@@ -108,7 +108,6 @@ class UpdatesWorker @AssistedInject constructor(
            /*
             * If user in UNAVAILABLE, don't do anything.
             */
            resultStatus = ResultStatus.OK
            Timber.w("User is not available! User is required during update!")
            return
        }