chore: Separate extensions by app (#3905)
This commit is contained in:
17
extensions/tiktok/stub/build.gradle.kts
Normal file
17
extensions/tiktok/stub/build.gradle.kts
Normal file
@ -0,0 +1,17 @@
|
||||
plugins {
|
||||
id(libs.plugins.android.library.get().pluginId)
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "app.revanced.extension"
|
||||
compileSdk = 33
|
||||
|
||||
defaultConfig {
|
||||
minSdk = 24
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
}
|
1
extensions/tiktok/stub/src/main/AndroidManifest.xml
Normal file
1
extensions/tiktok/stub/src/main/AndroidManifest.xml
Normal file
@ -0,0 +1 @@
|
||||
<manifest/>
|
@ -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,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;
|
||||
}
|
Reference in New Issue
Block a user