Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes: un-used resources using the Android studio tool 1/2 #19788

Merged
merged 15 commits into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
24.0
-----
* [*] Filter media types when sharing files to the editor [https://github.com/wordpress-mobile/WordPress-Android/pull/19754]
* [**] [internal] Removes unused resources and code [https://github.com/wordpress-mobile/WordPress-Android/pull/19788]

23.9
-----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,6 @@ private void navigateMySite() {

waitForElementToBeDisplayedWithoutFailure(R.id.recycler_view);

if (isElementDisplayed(R.id.tooltip_message)) {
clickOn(R.id.tooltip_message);
}

takeScreenshot("4-keep-tabs-on-your-site");
}

Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package org.wordpress.android.ui.jetpack.common.viewholders
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.constraintlayout.widget.ConstraintLayout.LayoutParams
import androidx.viewbinding.ViewBinding
import com.google.android.material.button.MaterialButton
import org.wordpress.android.R
Expand All @@ -13,7 +13,6 @@ import org.wordpress.android.ui.jetpack.common.JetpackListItemState
import org.wordpress.android.ui.jetpack.common.JetpackListItemState.ActionButtonState
import org.wordpress.android.ui.utils.UiHelpers
import org.wordpress.android.util.extensions.setVisible
import org.wordpress.android.widgets.FlowLayout.LayoutParams

sealed class JetpackButtonViewHolder<T : ViewBinding>(
parent: ViewGroup,
Expand Down Expand Up @@ -61,9 +60,9 @@ sealed class JetpackButtonViewHolder<T : ViewBinding>(
with(root) {
setVisible(isVisible)
layoutParams = if (isVisible) {
ConstraintLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)
LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)
} else {
ConstraintLayout.LayoutParams(0, 0)
LayoutParams(0, 0)
}
}
}
Expand Down

This file was deleted.

This file was deleted.

144 changes: 0 additions & 144 deletions WordPress/src/main/java/org/wordpress/android/widgets/FlowLayout.java

This file was deleted.

This file was deleted.

Loading
Loading