chore: Merge integrations
This commit is contained in:
2
extensions/shared/stub/src/main/AndroidManifest.xml
Normal file
2
extensions/shared/stub/src/main/AndroidManifest.xml
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest />
|
@ -0,0 +1,20 @@
|
||||
package android.support.constraint;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
/**
|
||||
* "CompileOnly" class
|
||||
* because android.support.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) { }
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package android.support.v7.widget;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.View;
|
||||
|
||||
public class RecyclerView extends View {
|
||||
|
||||
public RecyclerView(Context context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
public View getChildAt(@SuppressWarnings("unused") final int index) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public int getChildCount() {
|
||||
return 0;
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
package com.bytedance.ies.ugc.aweme.commercialize.compliance.personalization;
|
||||
|
||||
import android.app.Activity;
|
||||
|
||||
//Dummy class
|
||||
public class AdPersonalizationActivity extends Activity { }
|
@ -0,0 +1,25 @@
|
||||
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) {
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package com.google.android.libraries.youtube.rendering.ui.pivotbar;
|
||||
|
||||
import android.content.Context;
|
||||
import android.widget.HorizontalScrollView;
|
||||
|
||||
public class PivotBar extends HorizontalScrollView {
|
||||
public PivotBar(Context context) {
|
||||
super(context);
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
package com.google.protos.youtube.api.innertube;
|
||||
|
||||
public class InnertubeContext$ClientInfo {
|
||||
public int r;
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
package com.laurencedawson.reddit_sync.ui.activities;
|
||||
|
||||
import android.app.Activity;
|
||||
|
||||
public class WebViewActivity extends Activity {
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package com.reddit.domain.model;
|
||||
|
||||
public class ILink {
|
||||
public boolean getPromoted() {
|
||||
throw new UnsupportedOperationException("Stub");
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
package com.rubenmayayo.reddit.ui.activities;
|
||||
|
||||
import android.app.Activity;
|
||||
|
||||
public class WebViewActivity extends Activity {
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package com.ss.android.ugc.aweme.feed.model;
|
||||
|
||||
//Dummy class
|
||||
public class Aweme {
|
||||
public boolean isAd() {
|
||||
throw new UnsupportedOperationException("Stub");
|
||||
}
|
||||
|
||||
public boolean isLive() {
|
||||
throw new UnsupportedOperationException("Stub");
|
||||
}
|
||||
|
||||
public boolean isLiveReplay() {
|
||||
throw new UnsupportedOperationException("Stub");
|
||||
}
|
||||
|
||||
public boolean isWithPromotionalMusic() {
|
||||
throw new UnsupportedOperationException("Stub");
|
||||
}
|
||||
|
||||
public boolean getIsTikTokStory() {
|
||||
throw new UnsupportedOperationException("Stub");
|
||||
}
|
||||
|
||||
public boolean isImage() {
|
||||
throw new UnsupportedOperationException("Stub");
|
||||
}
|
||||
|
||||
public boolean isPhotoMode() {
|
||||
throw new UnsupportedOperationException("Stub");
|
||||
}
|
||||
|
||||
public AwemeStatistics getStatistics() {
|
||||
throw new UnsupportedOperationException("Stub");
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package com.ss.android.ugc.aweme.feed.model;
|
||||
|
||||
public class AwemeStatistics {
|
||||
public long getPlayCount() {
|
||||
throw new UnsupportedOperationException("Stub");
|
||||
}
|
||||
public long getDiggCount() {
|
||||
throw new UnsupportedOperationException("Stub");
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package com.ss.android.ugc.aweme.feed.model;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
//Dummy class
|
||||
public class FeedItemList {
|
||||
public List<Aweme> items;
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package com.tumblr.rumblr.model;
|
||||
|
||||
public class TimelineObject<T extends Timelineable> {
|
||||
public final T getData() {
|
||||
throw new UnsupportedOperationException("Stub");
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
package com.tumblr.rumblr.model;
|
||||
|
||||
public enum TimelineObjectType {
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
package com.tumblr.rumblr.model;
|
||||
|
||||
public interface Timelineable {
|
||||
TimelineObjectType getTimelineObjectType();
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package org.chromium.net;
|
||||
|
||||
public abstract class UrlRequest {
|
||||
public abstract class Builder {
|
||||
public abstract Builder addHeader(String name, String value);
|
||||
public abstract UrlRequest build();
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.chromium.net;
|
||||
|
||||
//dummy class
|
||||
public abstract class UrlResponseInfo {
|
||||
|
||||
public abstract String getUrl();
|
||||
|
||||
public abstract int getHttpStatusCode();
|
||||
|
||||
// Add additional existing methods, if needed.
|
||||
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package org.chromium.net.impl;
|
||||
|
||||
import org.chromium.net.UrlRequest;
|
||||
|
||||
public abstract class CronetUrlRequest extends UrlRequest {
|
||||
|
||||
/**
|
||||
* Method is added by patch.
|
||||
*/
|
||||
public abstract String getHookedUrl();
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package tv.twitch.android.feature.settings.menu;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
// Dummy
|
||||
public final class SettingsMenuGroup {
|
||||
public SettingsMenuGroup(List<Object> settingsMenuItems) {
|
||||
throw new UnsupportedOperationException("Stub");
|
||||
}
|
||||
|
||||
public List<Object> getSettingsMenuItems() {
|
||||
throw new UnsupportedOperationException("Stub");
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
package tv.twitch.android.settings;
|
||||
|
||||
import android.app.Activity;
|
||||
|
||||
public class SettingsActivity extends Activity {}
|
@ -0,0 +1,9 @@
|
||||
package tv.twitch.android.shared.chat.util;
|
||||
|
||||
import android.text.style.ClickableSpan;
|
||||
import android.view.View;
|
||||
|
||||
public final class ClickableUsernameSpan extends ClickableSpan {
|
||||
@Override
|
||||
public void onClick(View widget) {}
|
||||
}
|
Reference in New Issue
Block a user