mirror of
https://github.com/revanced/revanced-patches
synced 2025-02-14 20:16:50 +01:00
fix: move dummy classes to dummy
module (#162)
This commit is contained in:
parent
3c3aa27dc5
commit
f3cad8b13a
@ -1,20 +0,0 @@
|
||||
package android.support.constraint;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
/**
|
||||
* "CompileOnly" class
|
||||
* because android.support.constraint.ConstraintLayout is deprecated
|
||||
* in favour of androidx.constraintlayout.widget.ConstraintLayout.
|
||||
*
|
||||
* This class will not be included and "replaced" by the real package's class.
|
||||
*/
|
||||
public class ConstraintLayout extends ViewGroup {
|
||||
public ConstraintLayout(Context context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onLayout(boolean changed, int l, int t, int r, int b) { }
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
package com.bytedance.ies.ugc.aweme.commercialize.compliance.personalization;
|
||||
|
||||
import android.app.Activity;
|
||||
|
||||
//Dummy class
|
||||
public class AdPersonalizationActivity extends Activity { }
|
@ -1,5 +0,0 @@
|
||||
package com.google.android.apps.youtube.app.application;
|
||||
|
||||
//dummy class
|
||||
public class Shell_HomeActivity {
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
package com.google.android.apps.youtube.app.ui;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
public class SlimMetadataScrollableButtonContainerLayout extends ViewGroup {
|
||||
|
||||
public SlimMetadataScrollableButtonContainerLayout(Context context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
public SlimMetadataScrollableButtonContainerLayout(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
}
|
||||
|
||||
public SlimMetadataScrollableButtonContainerLayout(Context context, AttributeSet attrs, int defStyleAttr) {
|
||||
super(context, attrs, defStyleAttr);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onLayout(boolean b, int i, int i1, int i2, int i3) {
|
||||
|
||||
}
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
package com.google.android.libraries.social.licenses;
|
||||
|
||||
import android.app.Activity;
|
||||
|
||||
// Dummy class
|
||||
public final class LicenseActivity extends Activity { }
|
||||
|
@ -1,18 +0,0 @@
|
||||
package com.ss.android.ugc.aweme.feed.model;
|
||||
|
||||
//Dummy class
|
||||
public class Aweme {
|
||||
public boolean isAd() {
|
||||
return true;
|
||||
}
|
||||
public boolean isLive() {
|
||||
return true;
|
||||
}
|
||||
public boolean isLiveReplay() {
|
||||
return true;
|
||||
}
|
||||
public boolean isWithPromotionalMusic() {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
package com.ss.android.ugc.aweme.feed.model;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
//Dummy class
|
||||
public class FeedItemList {
|
||||
public List<Aweme> items;
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
package com.ss.android.ugc.aweme.splash;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.app.Activity;
|
||||
|
||||
//Dummy class
|
||||
@SuppressLint("CustomSplashScreen")
|
||||
public class SplashActivity extends Activity {
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user