GleeStream 第2版
This commit is contained in:
parent
10f25f99a7
commit
66ef205346
BIN
.gradle/8.11.1/checksums/checksums.lock
Normal file
BIN
.gradle/8.11.1/checksums/checksums.lock
Normal file
Binary file not shown.
BIN
.gradle/8.11.1/checksums/md5-checksums.bin
Normal file
BIN
.gradle/8.11.1/checksums/md5-checksums.bin
Normal file
Binary file not shown.
BIN
.gradle/8.11.1/checksums/sha1-checksums.bin
Normal file
BIN
.gradle/8.11.1/checksums/sha1-checksums.bin
Normal file
Binary file not shown.
BIN
.gradle/8.11.1/executionHistory/executionHistory.bin
Normal file
BIN
.gradle/8.11.1/executionHistory/executionHistory.bin
Normal file
Binary file not shown.
BIN
.gradle/8.11.1/executionHistory/executionHistory.lock
Normal file
BIN
.gradle/8.11.1/executionHistory/executionHistory.lock
Normal file
Binary file not shown.
BIN
.gradle/8.11.1/fileChanges/last-build.bin
Normal file
BIN
.gradle/8.11.1/fileChanges/last-build.bin
Normal file
Binary file not shown.
BIN
.gradle/8.11.1/fileHashes/fileHashes.bin
Normal file
BIN
.gradle/8.11.1/fileHashes/fileHashes.bin
Normal file
Binary file not shown.
BIN
.gradle/8.11.1/fileHashes/fileHashes.lock
Normal file
BIN
.gradle/8.11.1/fileHashes/fileHashes.lock
Normal file
Binary file not shown.
BIN
.gradle/8.11.1/fileHashes/resourceHashesCache.bin
Normal file
BIN
.gradle/8.11.1/fileHashes/resourceHashesCache.bin
Normal file
Binary file not shown.
0
.gradle/8.11.1/gc.properties
Normal file
0
.gradle/8.11.1/gc.properties
Normal file
BIN
.gradle/8.2/checksums/checksums.lock
Normal file
BIN
.gradle/8.2/checksums/checksums.lock
Normal file
Binary file not shown.
BIN
.gradle/8.2/checksums/md5-checksums.bin
Normal file
BIN
.gradle/8.2/checksums/md5-checksums.bin
Normal file
Binary file not shown.
BIN
.gradle/8.2/checksums/sha1-checksums.bin
Normal file
BIN
.gradle/8.2/checksums/sha1-checksums.bin
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,783 @@
|
||||
package org.gradle.accessors.dm;
|
||||
|
||||
import org.gradle.api.NonNullApi;
|
||||
import org.gradle.api.artifacts.MinimalExternalModuleDependency;
|
||||
import org.gradle.plugin.use.PluginDependency;
|
||||
import org.gradle.api.artifacts.ExternalModuleDependencyBundle;
|
||||
import org.gradle.api.artifacts.MutableVersionConstraint;
|
||||
import org.gradle.api.provider.Provider;
|
||||
import org.gradle.api.model.ObjectFactory;
|
||||
import org.gradle.api.provider.ProviderFactory;
|
||||
import org.gradle.api.internal.catalog.AbstractExternalDependencyFactory;
|
||||
import org.gradle.api.internal.catalog.DefaultVersionCatalog;
|
||||
import java.util.Map;
|
||||
import org.gradle.api.internal.attributes.ImmutableAttributesFactory;
|
||||
import org.gradle.api.internal.artifacts.dsl.CapabilityNotationParser;
|
||||
import javax.inject.Inject;
|
||||
|
||||
/**
|
||||
* A catalog of dependencies accessible via the `libs` extension.
|
||||
*/
|
||||
@NonNullApi
|
||||
public class LibrariesForLibs extends AbstractExternalDependencyFactory {
|
||||
|
||||
private final AbstractExternalDependencyFactory owner = this;
|
||||
private final AdapterLibraryAccessors laccForAdapterLibraryAccessors = new AdapterLibraryAccessors(owner);
|
||||
private final ConverterLibraryAccessors laccForConverterLibraryAccessors = new ConverterLibraryAccessors(owner);
|
||||
private final EspressoLibraryAccessors laccForEspressoLibraryAccessors = new EspressoLibraryAccessors(owner);
|
||||
private final ExtLibraryAccessors laccForExtLibraryAccessors = new ExtLibraryAccessors(owner);
|
||||
private final LifecycleLibraryAccessors laccForLifecycleLibraryAccessors = new LifecycleLibraryAccessors(owner);
|
||||
private final VersionAccessors vaccForVersionAccessors = new VersionAccessors(providers, config);
|
||||
private final BundleAccessors baccForBundleAccessors = new BundleAccessors(objects, providers, config, attributesFactory, capabilityNotationParser);
|
||||
private final PluginAccessors paccForPluginAccessors = new PluginAccessors(providers, config);
|
||||
|
||||
@Inject
|
||||
public LibrariesForLibs(DefaultVersionCatalog config, ProviderFactory providers, ObjectFactory objects, ImmutableAttributesFactory attributesFactory, CapabilityNotationParser capabilityNotationParser) {
|
||||
super(config, providers, objects, attributesFactory, capabilityNotationParser);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for adjustandroid (com.adjust.sdk:adjust-android)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getAdjustandroid() {
|
||||
return create("adjustandroid");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for adjustweb (com.adjust.sdk:adjust-android-webbridge)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getAdjustweb() {
|
||||
return create("adjustweb");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for appcompat (androidx.appcompat:appcompat)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getAppcompat() {
|
||||
return create("appcompat");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for avloadingView (io.github.maitrungduc1410:AVLoadingIndicatorView)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getAvloadingView() {
|
||||
return create("avloadingView");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for banner (io.github.youth5201314:banner)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getBanner() {
|
||||
return create("banner");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for baseRecyclerAdapter (io.github.cymchad:BaseRecyclerViewAdapterHelper4)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getBaseRecyclerAdapter() {
|
||||
return create("baseRecyclerAdapter");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for billing (com.android.billingclient:billing)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getBilling() {
|
||||
return create("billing");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for constraintlayout (androidx.constraintlayout:constraintlayout)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getConstraintlayout() {
|
||||
return create("constraintlayout");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for eventbut (org.greenrobot:eventbus)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getEventbut() {
|
||||
return create("eventbut");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for facebooksdk (com.facebook.android:facebook-android-sdk)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getFacebooksdk() {
|
||||
return create("facebooksdk");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for glide (com.github.bumptech.glide:glide)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getGlide() {
|
||||
return create("glide");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for junit (junit:junit)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getJunit() {
|
||||
return create("junit");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for kotlinjdk8 (org.jetbrains.kotlin:kotlin-stdlib-jdk8)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getKotlinjdk8() {
|
||||
return create("kotlinjdk8");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for material (com.google.android.material:material)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getMaterial() {
|
||||
return create("material");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for media3exoplayer (androidx.media3:media3-exoplayer)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getMedia3exoplayer() {
|
||||
return create("media3exoplayer");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for media3exoplayerdash (androidx.media3:media3-exoplayer-dash)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getMedia3exoplayerdash() {
|
||||
return create("media3exoplayerdash");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for media3exoplayerhls (androidx.media3:media3-exoplayer-hls)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getMedia3exoplayerhls() {
|
||||
return create("media3exoplayerhls");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for media3ui (androidx.media3:media3-ui)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getMedia3ui() {
|
||||
return create("media3ui");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for okhttplog (com.squareup.okhttp3:logging-interceptor)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getOkhttplog() {
|
||||
return create("okhttplog");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for recyclerview (androidx.recyclerview:recyclerview)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getRecyclerview() {
|
||||
return create("recyclerview");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for refreshfooter (io.github.scwang90:refresh-footer-classics)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getRefreshfooter() {
|
||||
return create("refreshfooter");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for refreshheader (io.github.scwang90:refresh-header-material)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getRefreshheader() {
|
||||
return create("refreshheader");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for refreshlayout (io.github.scwang90:refresh-layout-kernel)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getRefreshlayout() {
|
||||
return create("refreshlayout");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for retrofit (com.squareup.retrofit2:retrofit)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getRetrofit() {
|
||||
return create("retrofit");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for rxandroid (io.reactivex.rxjava2:rxandroid)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getRxandroid() {
|
||||
return create("rxandroid");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for rxjava (io.reactivex.rxjava2:rxjava)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getRxjava() {
|
||||
return create("rxjava");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for splashscreen (androidx.core:core-splashscreen)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getSplashscreen() {
|
||||
return create("splashscreen");
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of libraries at adapter
|
||||
*/
|
||||
public AdapterLibraryAccessors getAdapter() {
|
||||
return laccForAdapterLibraryAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of libraries at converter
|
||||
*/
|
||||
public ConverterLibraryAccessors getConverter() {
|
||||
return laccForConverterLibraryAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of libraries at espresso
|
||||
*/
|
||||
public EspressoLibraryAccessors getEspresso() {
|
||||
return laccForEspressoLibraryAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of libraries at ext
|
||||
*/
|
||||
public ExtLibraryAccessors getExt() {
|
||||
return laccForExtLibraryAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of libraries at lifecycle
|
||||
*/
|
||||
public LifecycleLibraryAccessors getLifecycle() {
|
||||
return laccForLifecycleLibraryAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of versions at versions
|
||||
*/
|
||||
public VersionAccessors getVersions() {
|
||||
return vaccForVersionAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of bundles at bundles
|
||||
*/
|
||||
public BundleAccessors getBundles() {
|
||||
return baccForBundleAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of plugins at plugins
|
||||
*/
|
||||
public PluginAccessors getPlugins() {
|
||||
return paccForPluginAccessors;
|
||||
}
|
||||
|
||||
public static class AdapterLibraryAccessors extends SubDependencyFactory {
|
||||
|
||||
public AdapterLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for rxjava2 (com.squareup.retrofit2:adapter-rxjava2)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getRxjava2() {
|
||||
return create("adapter.rxjava2");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class ConverterLibraryAccessors extends SubDependencyFactory {
|
||||
|
||||
public ConverterLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for gson (com.squareup.retrofit2:converter-gson)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getGson() {
|
||||
return create("converter.gson");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for scalars (com.squareup.retrofit2:converter-scalars)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getScalars() {
|
||||
return create("converter.scalars");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class EspressoLibraryAccessors extends SubDependencyFactory {
|
||||
|
||||
public EspressoLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for core (androidx.test.espresso:espresso-core)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getCore() {
|
||||
return create("espresso.core");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class ExtLibraryAccessors extends SubDependencyFactory {
|
||||
|
||||
public ExtLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for junit (androidx.test.ext:junit)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getJunit() {
|
||||
return create("ext.junit");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class LifecycleLibraryAccessors extends SubDependencyFactory implements DependencyNotationSupplier {
|
||||
private final LifecycleLivedataLibraryAccessors laccForLifecycleLivedataLibraryAccessors = new LifecycleLivedataLibraryAccessors(owner);
|
||||
private final LifecycleViewmodelLibraryAccessors laccForLifecycleViewmodelLibraryAccessors = new LifecycleViewmodelLibraryAccessors(owner);
|
||||
|
||||
public LifecycleLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for lifecycle (android.arch.lifecycle:extensions:lifecycle)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> asProvider() {
|
||||
return create("lifecycle");
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of libraries at lifecycle.livedata
|
||||
*/
|
||||
public LifecycleLivedataLibraryAccessors getLivedata() {
|
||||
return laccForLifecycleLivedataLibraryAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of libraries at lifecycle.viewmodel
|
||||
*/
|
||||
public LifecycleViewmodelLibraryAccessors getViewmodel() {
|
||||
return laccForLifecycleViewmodelLibraryAccessors;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class LifecycleLivedataLibraryAccessors extends SubDependencyFactory {
|
||||
|
||||
public LifecycleLivedataLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for ktx (androidx.lifecycle:lifecycle-livedata-ktx)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getKtx() {
|
||||
return create("lifecycle.livedata.ktx");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class LifecycleViewmodelLibraryAccessors extends SubDependencyFactory {
|
||||
|
||||
public LifecycleViewmodelLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for ktx (androidx.lifecycle:lifecycle-viewmodel-ktx)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<MinimalExternalModuleDependency> getKtx() {
|
||||
return create("lifecycle.viewmodel.ktx");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class VersionAccessors extends VersionFactory {
|
||||
|
||||
private final AdapterVersionAccessors vaccForAdapterVersionAccessors = new AdapterVersionAccessors(providers, config);
|
||||
private final ConverterVersionAccessors vaccForConverterVersionAccessors = new ConverterVersionAccessors(providers, config);
|
||||
private final OkhttpVersionAccessors vaccForOkhttpVersionAccessors = new OkhttpVersionAccessors(providers, config);
|
||||
private final RefreshVersionAccessors vaccForRefreshVersionAccessors = new RefreshVersionAccessors(providers, config);
|
||||
public VersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: adjust (5.0.0)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getAdjust() { return getVersion("adjust"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: agp (8.9.2)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getAgp() { return getVersion("agp"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: appcompat (1.6.1)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getAppcompat() { return getVersion("appcompat"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: avloadingindicatorview (2.1.4)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getAvloadingindicatorview() { return getVersion("avloadingindicatorview"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: banner (2.2.3)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getBanner() { return getVersion("banner"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: baseRecyclerViewAdapter (4.1.4)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getBaseRecyclerViewAdapter() { return getVersion("baseRecyclerViewAdapter"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: billing (7.1.1)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getBilling() { return getVersion("billing"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: constraintlayout (2.1.4)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getConstraintlayout() { return getVersion("constraintlayout"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: espressoCore (3.5.1)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getEspressoCore() { return getVersion("espressoCore"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: eventbus (3.3.1)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getEventbus() { return getVersion("eventbus"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: facebook (18.0.2)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getFacebook() { return getVersion("facebook"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: glide (4.13.1)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getGlide() { return getVersion("glide"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: junit (4.13.2)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getJunit() { return getVersion("junit"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: junitVersion (1.1.5)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getJunitVersion() { return getVersion("junitVersion"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: kotlinjdk8 (1.9.20)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getKotlinjdk8() { return getVersion("kotlinjdk8"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: lifecycle (1.1.1)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getLifecycle() { return getVersion("lifecycle"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: lifecycleLivedataKtx (2.6.1)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getLifecycleLivedataKtx() { return getVersion("lifecycleLivedataKtx"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: lifecycleViewmodelKtx (2.6.1)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getLifecycleViewmodelKtx() { return getVersion("lifecycleViewmodelKtx"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: material (1.10.0)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getMaterial() { return getVersion("material"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: media3 (1.4.0)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getMedia3() { return getVersion("media3"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: recyclerview (1.3.2)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getRecyclerview() { return getVersion("recyclerview"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: retrofit (2.5.0)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getRetrofit() { return getVersion("retrofit"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: rxandroid (2.0.2)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getRxandroid() { return getVersion("rxandroid"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: rxjava (2.1.16)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getRxjava() { return getVersion("rxjava"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: splashscreen (1.0.1)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getSplashscreen() { return getVersion("splashscreen"); }
|
||||
|
||||
/**
|
||||
* Returns the group of versions at versions.adapter
|
||||
*/
|
||||
public AdapterVersionAccessors getAdapter() {
|
||||
return vaccForAdapterVersionAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of versions at versions.converter
|
||||
*/
|
||||
public ConverterVersionAccessors getConverter() {
|
||||
return vaccForConverterVersionAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of versions at versions.okhttp
|
||||
*/
|
||||
public OkhttpVersionAccessors getOkhttp() {
|
||||
return vaccForOkhttpVersionAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of versions at versions.refresh
|
||||
*/
|
||||
public RefreshVersionAccessors getRefresh() {
|
||||
return vaccForRefreshVersionAccessors;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class AdapterVersionAccessors extends VersionFactory {
|
||||
|
||||
public AdapterVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: adapter.rxjava2 (2.4.0)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getRxjava2() { return getVersion("adapter.rxjava2"); }
|
||||
|
||||
}
|
||||
|
||||
public static class ConverterVersionAccessors extends VersionFactory {
|
||||
|
||||
public ConverterVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: converter.gson (2.4.0)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getGson() { return getVersion("converter.gson"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: converter.scalars (2.3.0)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getScalars() { return getVersion("converter.scalars"); }
|
||||
|
||||
}
|
||||
|
||||
public static class OkhttpVersionAccessors extends VersionFactory {
|
||||
|
||||
public OkhttpVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: okhttp.logging (4.12.0)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getLogging() { return getVersion("okhttp.logging"); }
|
||||
|
||||
}
|
||||
|
||||
public static class RefreshVersionAccessors extends VersionFactory {
|
||||
|
||||
public RefreshVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: refresh.footer (3.0.0-alpha)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getFooter() { return getVersion("refresh.footer"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: refresh.header (3.0.0-alpha)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getHeader() { return getVersion("refresh.header"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: refresh.layout (3.0.0-alpha)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getLayout() { return getVersion("refresh.layout"); }
|
||||
|
||||
}
|
||||
|
||||
public static class BundleAccessors extends BundleFactory {
|
||||
|
||||
public BundleAccessors(ObjectFactory objects, ProviderFactory providers, DefaultVersionCatalog config, ImmutableAttributesFactory attributesFactory, CapabilityNotationParser capabilityNotationParser) { super(objects, providers, config, attributesFactory, capabilityNotationParser); }
|
||||
|
||||
}
|
||||
|
||||
public static class PluginAccessors extends PluginFactory {
|
||||
private final AndroidPluginAccessors paccForAndroidPluginAccessors = new AndroidPluginAccessors(providers, config);
|
||||
|
||||
public PluginAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); }
|
||||
|
||||
/**
|
||||
* Returns the group of plugins at plugins.android
|
||||
*/
|
||||
public AndroidPluginAccessors getAndroid() {
|
||||
return paccForAndroidPluginAccessors;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class AndroidPluginAccessors extends PluginFactory {
|
||||
|
||||
public AndroidPluginAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); }
|
||||
|
||||
/**
|
||||
* Creates a plugin provider for android.application to the plugin id 'com.android.application'
|
||||
* This plugin was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<PluginDependency> getApplication() { return createPlugin("android.application"); }
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,944 @@
|
||||
package org.gradle.accessors.dm;
|
||||
|
||||
import org.gradle.api.NonNullApi;
|
||||
import org.gradle.api.artifacts.MinimalExternalModuleDependency;
|
||||
import org.gradle.plugin.use.PluginDependency;
|
||||
import org.gradle.api.artifacts.ExternalModuleDependencyBundle;
|
||||
import org.gradle.api.artifacts.MutableVersionConstraint;
|
||||
import org.gradle.api.provider.Provider;
|
||||
import org.gradle.api.model.ObjectFactory;
|
||||
import org.gradle.api.provider.ProviderFactory;
|
||||
import org.gradle.api.internal.catalog.AbstractExternalDependencyFactory;
|
||||
import org.gradle.api.internal.catalog.DefaultVersionCatalog;
|
||||
import java.util.Map;
|
||||
import org.gradle.api.internal.attributes.ImmutableAttributesFactory;
|
||||
import org.gradle.api.internal.artifacts.dsl.CapabilityNotationParser;
|
||||
import javax.inject.Inject;
|
||||
|
||||
/**
|
||||
* A catalog of dependencies accessible via the `libs` extension.
|
||||
*/
|
||||
@NonNullApi
|
||||
public class LibrariesForLibsInPluginsBlock extends AbstractExternalDependencyFactory {
|
||||
|
||||
private final AbstractExternalDependencyFactory owner = this;
|
||||
private final AdapterLibraryAccessors laccForAdapterLibraryAccessors = new AdapterLibraryAccessors(owner);
|
||||
private final ConverterLibraryAccessors laccForConverterLibraryAccessors = new ConverterLibraryAccessors(owner);
|
||||
private final EspressoLibraryAccessors laccForEspressoLibraryAccessors = new EspressoLibraryAccessors(owner);
|
||||
private final ExtLibraryAccessors laccForExtLibraryAccessors = new ExtLibraryAccessors(owner);
|
||||
private final LifecycleLibraryAccessors laccForLifecycleLibraryAccessors = new LifecycleLibraryAccessors(owner);
|
||||
private final VersionAccessors vaccForVersionAccessors = new VersionAccessors(providers, config);
|
||||
private final BundleAccessors baccForBundleAccessors = new BundleAccessors(objects, providers, config, attributesFactory, capabilityNotationParser);
|
||||
private final PluginAccessors paccForPluginAccessors = new PluginAccessors(providers, config);
|
||||
|
||||
@Inject
|
||||
public LibrariesForLibsInPluginsBlock(DefaultVersionCatalog config, ProviderFactory providers, ObjectFactory objects, ImmutableAttributesFactory attributesFactory, CapabilityNotationParser capabilityNotationParser) {
|
||||
super(config, providers, objects, attributesFactory, capabilityNotationParser);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for adjustandroid (com.adjust.sdk:adjust-android)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getAdjustandroid() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("adjustandroid");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for adjustweb (com.adjust.sdk:adjust-android-webbridge)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getAdjustweb() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("adjustweb");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for appcompat (androidx.appcompat:appcompat)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getAppcompat() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("appcompat");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for avloadingView (io.github.maitrungduc1410:AVLoadingIndicatorView)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getAvloadingView() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("avloadingView");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for banner (io.github.youth5201314:banner)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getBanner() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("banner");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for baseRecyclerAdapter (io.github.cymchad:BaseRecyclerViewAdapterHelper4)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getBaseRecyclerAdapter() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("baseRecyclerAdapter");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for billing (com.android.billingclient:billing)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getBilling() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("billing");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for constraintlayout (androidx.constraintlayout:constraintlayout)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getConstraintlayout() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("constraintlayout");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for eventbut (org.greenrobot:eventbus)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getEventbut() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("eventbut");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for facebooksdk (com.facebook.android:facebook-android-sdk)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getFacebooksdk() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("facebooksdk");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for glide (com.github.bumptech.glide:glide)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getGlide() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("glide");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for junit (junit:junit)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getJunit() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("junit");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for kotlinjdk8 (org.jetbrains.kotlin:kotlin-stdlib-jdk8)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getKotlinjdk8() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("kotlinjdk8");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for material (com.google.android.material:material)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getMaterial() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("material");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for media3exoplayer (androidx.media3:media3-exoplayer)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getMedia3exoplayer() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("media3exoplayer");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for media3exoplayerdash (androidx.media3:media3-exoplayer-dash)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getMedia3exoplayerdash() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("media3exoplayerdash");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for media3exoplayerhls (androidx.media3:media3-exoplayer-hls)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getMedia3exoplayerhls() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("media3exoplayerhls");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for media3ui (androidx.media3:media3-ui)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getMedia3ui() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("media3ui");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for okhttplog (com.squareup.okhttp3:logging-interceptor)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getOkhttplog() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("okhttplog");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for recyclerview (androidx.recyclerview:recyclerview)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getRecyclerview() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("recyclerview");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for refreshfooter (io.github.scwang90:refresh-footer-classics)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getRefreshfooter() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("refreshfooter");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for refreshheader (io.github.scwang90:refresh-header-material)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getRefreshheader() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("refreshheader");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for refreshlayout (io.github.scwang90:refresh-layout-kernel)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getRefreshlayout() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("refreshlayout");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for retrofit (com.squareup.retrofit2:retrofit)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getRetrofit() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("retrofit");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for rxandroid (io.reactivex.rxjava2:rxandroid)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getRxandroid() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("rxandroid");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for rxjava (io.reactivex.rxjava2:rxjava)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getRxjava() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("rxjava");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for splashscreen (androidx.core:core-splashscreen)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getSplashscreen() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("splashscreen");
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of libraries at adapter
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public AdapterLibraryAccessors getAdapter() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return laccForAdapterLibraryAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of libraries at converter
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public ConverterLibraryAccessors getConverter() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return laccForConverterLibraryAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of libraries at espresso
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public EspressoLibraryAccessors getEspresso() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return laccForEspressoLibraryAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of libraries at ext
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public ExtLibraryAccessors getExt() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return laccForExtLibraryAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of libraries at lifecycle
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public LifecycleLibraryAccessors getLifecycle() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return laccForLifecycleLibraryAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of versions at versions
|
||||
*/
|
||||
public VersionAccessors getVersions() {
|
||||
return vaccForVersionAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of bundles at bundles
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public BundleAccessors getBundles() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return baccForBundleAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of plugins at plugins
|
||||
*/
|
||||
public PluginAccessors getPlugins() {
|
||||
return paccForPluginAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public static class AdapterLibraryAccessors extends SubDependencyFactory {
|
||||
|
||||
public AdapterLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for rxjava2 (com.squareup.retrofit2:adapter-rxjava2)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getRxjava2() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("adapter.rxjava2");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public static class ConverterLibraryAccessors extends SubDependencyFactory {
|
||||
|
||||
public ConverterLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for gson (com.squareup.retrofit2:converter-gson)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getGson() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("converter.gson");
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for scalars (com.squareup.retrofit2:converter-scalars)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getScalars() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("converter.scalars");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public static class EspressoLibraryAccessors extends SubDependencyFactory {
|
||||
|
||||
public EspressoLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for core (androidx.test.espresso:espresso-core)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getCore() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("espresso.core");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public static class ExtLibraryAccessors extends SubDependencyFactory {
|
||||
|
||||
public ExtLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for junit (androidx.test.ext:junit)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getJunit() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("ext.junit");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public static class LifecycleLibraryAccessors extends SubDependencyFactory implements DependencyNotationSupplier {
|
||||
private final LifecycleLivedataLibraryAccessors laccForLifecycleLivedataLibraryAccessors = new LifecycleLivedataLibraryAccessors(owner);
|
||||
private final LifecycleViewmodelLibraryAccessors laccForLifecycleViewmodelLibraryAccessors = new LifecycleViewmodelLibraryAccessors(owner);
|
||||
|
||||
public LifecycleLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for lifecycle (android.arch.lifecycle:extensions:lifecycle)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> asProvider() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("lifecycle");
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of libraries at lifecycle.livedata
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public LifecycleLivedataLibraryAccessors getLivedata() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return laccForLifecycleLivedataLibraryAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of libraries at lifecycle.viewmodel
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public LifecycleViewmodelLibraryAccessors getViewmodel() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return laccForLifecycleViewmodelLibraryAccessors;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public static class LifecycleLivedataLibraryAccessors extends SubDependencyFactory {
|
||||
|
||||
public LifecycleLivedataLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for ktx (androidx.lifecycle:lifecycle-livedata-ktx)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getKtx() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("lifecycle.livedata.ktx");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public static class LifecycleViewmodelLibraryAccessors extends SubDependencyFactory {
|
||||
|
||||
public LifecycleViewmodelLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }
|
||||
|
||||
/**
|
||||
* Creates a dependency provider for ktx (androidx.lifecycle:lifecycle-viewmodel-ktx)
|
||||
* This dependency was declared in catalog libs.versions.toml
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public Provider<MinimalExternalModuleDependency> getKtx() {
|
||||
org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser();
|
||||
return create("lifecycle.viewmodel.ktx");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class VersionAccessors extends VersionFactory {
|
||||
|
||||
private final AdapterVersionAccessors vaccForAdapterVersionAccessors = new AdapterVersionAccessors(providers, config);
|
||||
private final ConverterVersionAccessors vaccForConverterVersionAccessors = new ConverterVersionAccessors(providers, config);
|
||||
private final OkhttpVersionAccessors vaccForOkhttpVersionAccessors = new OkhttpVersionAccessors(providers, config);
|
||||
private final RefreshVersionAccessors vaccForRefreshVersionAccessors = new RefreshVersionAccessors(providers, config);
|
||||
public VersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: adjust (5.0.0)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getAdjust() { return getVersion("adjust"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: agp (8.9.2)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getAgp() { return getVersion("agp"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: appcompat (1.6.1)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getAppcompat() { return getVersion("appcompat"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: avloadingindicatorview (2.1.4)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getAvloadingindicatorview() { return getVersion("avloadingindicatorview"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: banner (2.2.3)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getBanner() { return getVersion("banner"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: baseRecyclerViewAdapter (4.1.4)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getBaseRecyclerViewAdapter() { return getVersion("baseRecyclerViewAdapter"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: billing (7.1.1)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getBilling() { return getVersion("billing"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: constraintlayout (2.1.4)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getConstraintlayout() { return getVersion("constraintlayout"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: espressoCore (3.5.1)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getEspressoCore() { return getVersion("espressoCore"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: eventbus (3.3.1)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getEventbus() { return getVersion("eventbus"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: facebook (18.0.2)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getFacebook() { return getVersion("facebook"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: glide (4.13.1)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getGlide() { return getVersion("glide"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: junit (4.13.2)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getJunit() { return getVersion("junit"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: junitVersion (1.1.5)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getJunitVersion() { return getVersion("junitVersion"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: kotlinjdk8 (1.9.20)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getKotlinjdk8() { return getVersion("kotlinjdk8"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: lifecycle (1.1.1)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getLifecycle() { return getVersion("lifecycle"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: lifecycleLivedataKtx (2.6.1)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getLifecycleLivedataKtx() { return getVersion("lifecycleLivedataKtx"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: lifecycleViewmodelKtx (2.6.1)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getLifecycleViewmodelKtx() { return getVersion("lifecycleViewmodelKtx"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: material (1.10.0)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getMaterial() { return getVersion("material"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: media3 (1.4.0)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getMedia3() { return getVersion("media3"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: recyclerview (1.3.2)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getRecyclerview() { return getVersion("recyclerview"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: retrofit (2.5.0)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getRetrofit() { return getVersion("retrofit"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: rxandroid (2.0.2)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getRxandroid() { return getVersion("rxandroid"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: rxjava (2.1.16)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getRxjava() { return getVersion("rxjava"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: splashscreen (1.0.1)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getSplashscreen() { return getVersion("splashscreen"); }
|
||||
|
||||
/**
|
||||
* Returns the group of versions at versions.adapter
|
||||
*/
|
||||
public AdapterVersionAccessors getAdapter() {
|
||||
return vaccForAdapterVersionAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of versions at versions.converter
|
||||
*/
|
||||
public ConverterVersionAccessors getConverter() {
|
||||
return vaccForConverterVersionAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of versions at versions.okhttp
|
||||
*/
|
||||
public OkhttpVersionAccessors getOkhttp() {
|
||||
return vaccForOkhttpVersionAccessors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the group of versions at versions.refresh
|
||||
*/
|
||||
public RefreshVersionAccessors getRefresh() {
|
||||
return vaccForRefreshVersionAccessors;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class AdapterVersionAccessors extends VersionFactory {
|
||||
|
||||
public AdapterVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: adapter.rxjava2 (2.4.0)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getRxjava2() { return getVersion("adapter.rxjava2"); }
|
||||
|
||||
}
|
||||
|
||||
public static class ConverterVersionAccessors extends VersionFactory {
|
||||
|
||||
public ConverterVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: converter.gson (2.4.0)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getGson() { return getVersion("converter.gson"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: converter.scalars (2.3.0)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getScalars() { return getVersion("converter.scalars"); }
|
||||
|
||||
}
|
||||
|
||||
public static class OkhttpVersionAccessors extends VersionFactory {
|
||||
|
||||
public OkhttpVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: okhttp.logging (4.12.0)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getLogging() { return getVersion("okhttp.logging"); }
|
||||
|
||||
}
|
||||
|
||||
public static class RefreshVersionAccessors extends VersionFactory {
|
||||
|
||||
public RefreshVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: refresh.footer (3.0.0-alpha)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getFooter() { return getVersion("refresh.footer"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: refresh.header (3.0.0-alpha)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getHeader() { return getVersion("refresh.header"); }
|
||||
|
||||
/**
|
||||
* Returns the version associated to this alias: refresh.layout (3.0.0-alpha)
|
||||
* If the version is a rich version and that its not expressible as a
|
||||
* single version string, then an empty string is returned.
|
||||
* This version was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<String> getLayout() { return getVersion("refresh.layout"); }
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Will be removed in Gradle 9.0.
|
||||
*/
|
||||
@Deprecated
|
||||
public static class BundleAccessors extends BundleFactory {
|
||||
|
||||
public BundleAccessors(ObjectFactory objects, ProviderFactory providers, DefaultVersionCatalog config, ImmutableAttributesFactory attributesFactory, CapabilityNotationParser capabilityNotationParser) { super(objects, providers, config, attributesFactory, capabilityNotationParser); }
|
||||
|
||||
}
|
||||
|
||||
public static class PluginAccessors extends PluginFactory {
|
||||
private final AndroidPluginAccessors paccForAndroidPluginAccessors = new AndroidPluginAccessors(providers, config);
|
||||
|
||||
public PluginAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); }
|
||||
|
||||
/**
|
||||
* Returns the group of plugins at plugins.android
|
||||
*/
|
||||
public AndroidPluginAccessors getAndroid() {
|
||||
return paccForAndroidPluginAccessors;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class AndroidPluginAccessors extends PluginFactory {
|
||||
|
||||
public AndroidPluginAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); }
|
||||
|
||||
/**
|
||||
* Creates a plugin provider for android.application to the plugin id 'com.android.application'
|
||||
* This plugin was declared in catalog libs.versions.toml
|
||||
*/
|
||||
public Provider<PluginDependency> getApplication() { return createPlugin("android.application"); }
|
||||
|
||||
}
|
||||
|
||||
}
|
BIN
.gradle/8.2/dependencies-accessors/dependencies-accessors.lock
Normal file
BIN
.gradle/8.2/dependencies-accessors/dependencies-accessors.lock
Normal file
Binary file not shown.
BIN
.gradle/8.2/dependencies-accessors/executionHistory.bin
Normal file
BIN
.gradle/8.2/dependencies-accessors/executionHistory.bin
Normal file
Binary file not shown.
0
.gradle/8.2/dependencies-accessors/gc.properties
Normal file
0
.gradle/8.2/dependencies-accessors/gc.properties
Normal file
BIN
.gradle/8.2/executionHistory/executionHistory.bin
Normal file
BIN
.gradle/8.2/executionHistory/executionHistory.bin
Normal file
Binary file not shown.
BIN
.gradle/8.2/executionHistory/executionHistory.lock
Normal file
BIN
.gradle/8.2/executionHistory/executionHistory.lock
Normal file
Binary file not shown.
BIN
.gradle/8.2/fileChanges/last-build.bin
Normal file
BIN
.gradle/8.2/fileChanges/last-build.bin
Normal file
Binary file not shown.
BIN
.gradle/8.2/fileHashes/fileHashes.bin
Normal file
BIN
.gradle/8.2/fileHashes/fileHashes.bin
Normal file
Binary file not shown.
BIN
.gradle/8.2/fileHashes/fileHashes.lock
Normal file
BIN
.gradle/8.2/fileHashes/fileHashes.lock
Normal file
Binary file not shown.
BIN
.gradle/8.2/fileHashes/resourceHashesCache.bin
Normal file
BIN
.gradle/8.2/fileHashes/resourceHashesCache.bin
Normal file
Binary file not shown.
0
.gradle/8.2/gc.properties
Normal file
0
.gradle/8.2/gc.properties
Normal file
BIN
.gradle/buildOutputCleanup/buildOutputCleanup.lock
Normal file
BIN
.gradle/buildOutputCleanup/buildOutputCleanup.lock
Normal file
Binary file not shown.
2
.gradle/buildOutputCleanup/cache.properties
Normal file
2
.gradle/buildOutputCleanup/cache.properties
Normal file
@ -0,0 +1,2 @@
|
||||
#Wed Apr 30 13:30:32 CST 2025
|
||||
gradle.version=8.2
|
BIN
.gradle/buildOutputCleanup/outputFiles.bin
Normal file
BIN
.gradle/buildOutputCleanup/outputFiles.bin
Normal file
Binary file not shown.
2
.gradle/config.properties
Normal file
2
.gradle/config.properties
Normal file
@ -0,0 +1,2 @@
|
||||
#Fri Apr 18 08:58:07 CST 2025
|
||||
java.home=F\:\\Android Studio\\jbr
|
BIN
.gradle/file-system.probe
Normal file
BIN
.gradle/file-system.probe
Normal file
Binary file not shown.
0
.gradle/vcs-1/gc.properties
Normal file
0
.gradle/vcs-1/gc.properties
Normal file
BIN
.gradle/workspace-id.txt
Normal file
BIN
.gradle/workspace-id.txt
Normal file
Binary file not shown.
BIN
.gradle/workspace-id.txt.lock
Normal file
BIN
.gradle/workspace-id.txt.lock
Normal file
Binary file not shown.
1
.idea/.name
generated
Normal file
1
.idea/.name
generated
Normal file
@ -0,0 +1 @@
|
||||
GleeStream
|
9
.idea/GleeStream2.iml
generated
Normal file
9
.idea/GleeStream2.iml
generated
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
304
.idea/assetWizardSettings.xml
generated
Normal file
304
.idea/assetWizardSettings.xml
generated
Normal file
@ -0,0 +1,304 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="WizardSettings">
|
||||
<option name="children">
|
||||
<map>
|
||||
<entry key="imageWizard">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="children">
|
||||
<map>
|
||||
<entry key="imageAssetPanel">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="children">
|
||||
<map>
|
||||
<entry key="actionbar">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="children">
|
||||
<map>
|
||||
<entry key="clipArt">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="color" value="000000" />
|
||||
<entry key="imagePath" value="C:\Users\Administrator\AppData\Local\Temp\ic_android_black_24dp.xml" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="text">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="color" value="000000" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="textAsset">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="color" value="000000" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="launcher">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="children">
|
||||
<map>
|
||||
<entry key="backgroundImage">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="imagePath" value="E:\APP图标.png" />
|
||||
<entry key="scalingPercent" value="69" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="foregroundClipArt">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="imagePath" value="C:\Users\Administrator\AppData\Local\Temp\ic_android_black_24dp.xml" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="foregroundImage">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="color" value="000000" />
|
||||
<entry key="imagePath" value="E:\APP图标.png" />
|
||||
<entry key="scalingPercent" value="69" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="foregroundText">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="color" value="000000" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="foregroundTextAsset">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="color" value="000000" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="launcherLegacy">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="children">
|
||||
<map>
|
||||
<entry key="clipArt">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="color" value="000000" />
|
||||
<entry key="imagePath" value="C:\Users\Administrator\AppData\Local\Temp\ic_android_black_24dp.xml" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="text">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="color" value="000000" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="textAsset">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="color" value="000000" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="notification">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="children">
|
||||
<map>
|
||||
<entry key="clipArt">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="color" value="000000" />
|
||||
<entry key="imagePath" value="C:\Users\Administrator\AppData\Local\Temp\ic_android_black_24dp.xml" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="text">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="color" value="000000" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="textAsset">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="color" value="000000" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="tvBanner">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="children">
|
||||
<map>
|
||||
<entry key="foregroundText">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="color" value="000000" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="tvChannel">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="children">
|
||||
<map>
|
||||
<entry key="foregroundClipArt">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="imagePath" value="C:\Users\Administrator\AppData\Local\Temp\ic_android_black_24dp.xml" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="foregroundImage">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="color" value="000000" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="foregroundText">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="color" value="000000" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="foregroundTextAsset">
|
||||
<value>
|
||||
<PersistentState>
|
||||
<option name="values">
|
||||
<map>
|
||||
<entry key="color" value="000000" />
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
</PersistentState>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
8
.idea/deploymentTargetSelector.xml
generated
8
.idea/deploymentTargetSelector.xml
generated
@ -4,14 +4,6 @@
|
||||
<selectionStates>
|
||||
<SelectionState runConfigName="app">
|
||||
<option name="selectionMode" value="DROPDOWN" />
|
||||
<DropdownSelection timestamp="2025-04-27T06:06:43.281645600Z">
|
||||
<Target type="DEFAULT_BOOT">
|
||||
<handle>
|
||||
<DeviceId pluginId="PhysicalDevice" identifier="serial=XW69EAMRN7FAFYR4" />
|
||||
</handle>
|
||||
</Target>
|
||||
</DropdownSelection>
|
||||
<DialogSelection />
|
||||
</SelectionState>
|
||||
</selectionStates>
|
||||
</component>
|
||||
|
2
.idea/gradle.xml
generated
2
.idea/gradle.xml
generated
@ -6,7 +6,7 @@
|
||||
<GradleProjectSettings>
|
||||
<option name="testRunner" value="CHOOSE_PER_TEST" />
|
||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="gradleJvm" value="17" />
|
||||
<option name="gradleJvm" value="jbr-17" />
|
||||
<option name="modules">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$" />
|
||||
|
1
.idea/misc.xml
generated
1
.idea/misc.xml
generated
@ -1,4 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">
|
||||
|
2
.idea/vcs.xml
generated
2
.idea/vcs.xml
generated
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
@ -1,5 +1,12 @@
|
||||
plugins {
|
||||
alias(libs.plugins.android.application)
|
||||
// alias(libs.plugins.google.service)
|
||||
// alias(libs.plugins.firebase.crashlytics)
|
||||
// alias(libs.plugins.firebase.perf)
|
||||
id("com.google.gms.google-services")
|
||||
// id("com.google.firebase.crashlytics")
|
||||
id("com.google.firebase.firebase-perf")
|
||||
|
||||
}
|
||||
|
||||
android {
|
||||
@ -10,8 +17,8 @@ android {
|
||||
applicationId "com.shortdrama.jelly.zyreotv"
|
||||
minSdk 24
|
||||
targetSdk 35
|
||||
versionCode 4
|
||||
versionName "1.0.3"
|
||||
versionCode 5
|
||||
versionName "1.0.4"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
@ -37,10 +44,10 @@ android {
|
||||
}
|
||||
|
||||
debug {
|
||||
minifyEnabled true
|
||||
signingConfig signingConfigs.signs
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
|
||||
minifyEnabled true
|
||||
}
|
||||
}
|
||||
|
||||
@ -62,7 +69,7 @@ android {
|
||||
|
||||
variant.outputs.all { output ->
|
||||
if (output instanceof com.android.build.gradle.internal.api.ApkVariantOutputImpl) {
|
||||
output.outputFileName = "zyreotv_${android.defaultConfig.versionName}_${date}_${buildType}.apk"
|
||||
output.outputFileName = "gleestream_${android.defaultConfig.versionName}_${date}_${buildType}.apk"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -101,7 +108,19 @@ dependencies {
|
||||
implementation libs.eventbut
|
||||
implementation libs.baseRecyclerAdapter
|
||||
implementation libs.splashscreen
|
||||
implementation libs.facebooksdk
|
||||
implementation libs.billing
|
||||
|
||||
|
||||
implementation libs.kotlinjdk8
|
||||
implementation libs.adjustandroid
|
||||
implementation libs.adjustweb
|
||||
// implementation libs.firebaseanalytics
|
||||
// implementation libs.firebasecrash
|
||||
// implementation libs.firebase
|
||||
// implementation libs.firebase.messaging
|
||||
// implementation platform(libs.firebase.bom)
|
||||
implementation(platform("com.google.firebase:firebase-bom:32.3.1"))
|
||||
implementation("com.google.firebase:firebase-analytics")
|
||||
// implementation("com.google.firebase:firebase-crashlytics")
|
||||
implementation("com.google.firebase:firebase-perf")
|
||||
implementation("com.google.firebase:firebase-messaging:24.0.0")
|
||||
}
|
29
app/google-services.json
Normal file
29
app/google-services.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"project_info": {
|
||||
"project_number": "497218670295",
|
||||
"project_id": "gleestream-65806",
|
||||
"storage_bucket": "gleestream-65806.firebasestorage.app"
|
||||
},
|
||||
"client": [
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "1:497218670295:android:bd4b3ca3b0599640f96a92",
|
||||
"android_client_info": {
|
||||
"package_name": "com.shortdrama.jelly.zyreotv"
|
||||
}
|
||||
},
|
||||
"oauth_client": [],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "AIzaSyAqZM9scRjwfsniggMWR0y8VjIUrF6oOHk"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
"appinvite_service": {
|
||||
"other_platform_oauth_client": []
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"configuration_version": "1"
|
||||
}
|
1
app/proguard-rules.pro
vendored
1
app/proguard-rules.pro
vendored
@ -376,6 +376,7 @@
|
||||
-keep class okhttp3.internal.**{*;}
|
||||
-dontwarn okio.**
|
||||
|
||||
-keep class com.shortdrama.jelly.zyreotv.dlsym.** { *; }
|
||||
-dontwarn retrofit2.**
|
||||
-keep class retrofit2.** { *; }
|
||||
-keepattributes Signature
|
||||
|
Binary file not shown.
@ -2,16 +2,25 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<uses-feature
|
||||
android:name="android.hardware.camera"
|
||||
android:required="false" />
|
||||
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
||||
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<!-- <uses-permission android:name="com.android.vending.BILLING" />-->
|
||||
<!-- <uses-permission android:name="com.farsitel.bazaar.permission.PAY_THROUGH_BAZAAR" />-->
|
||||
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.CAMERA" />
|
||||
<uses-permission android:name="com.android.vending.BILLING" />
|
||||
<uses-permission android:name="com.farsitel.bazaar.permission.PAY_THROUGH_BAZAAR" />
|
||||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
||||
|
||||
|
||||
<application
|
||||
android:name="com.shortdrama.jelly.zyreotv.GPplicationLoadingdefault"
|
||||
android:name=".GPplicationLoadingdefault"
|
||||
android:allowBackup="true"
|
||||
android:dataExtractionRules="@xml/jxm_local_tablist"
|
||||
android:fullBackupContent="@xml/a_about"
|
||||
@ -21,22 +30,101 @@
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.GleeStream">
|
||||
|
||||
<meta-data
|
||||
android:name="com.facebook.sdk.ApplicationId"
|
||||
android:value="@string/facebook_app_id" />
|
||||
|
||||
<meta-data
|
||||
android:name="com.facebook.sdk.ClientToken"
|
||||
android:value="@string/facebook_client_token" />
|
||||
|
||||
<activity
|
||||
android:name="com.shortdrama.jelly.zyreotv.topics.abslRwgt.IIUAgreementBuildActivity"
|
||||
android:name=".topics.abslRwgt.IIUAgreementBuildActivity"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
|
||||
<intent-filter android:autoVerify="true">
|
||||
<data android:scheme="zyreoapp" />
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.shortdrama.jelly.zyreotv.topics.abslRwgt.AExtractionActivity"
|
||||
android:name=".topics.abslRwgt.AExtractionActivity"
|
||||
android:exported="true">
|
||||
|
||||
</activity>
|
||||
<activity android:name="com.shortdrama.jelly.zyreotv.topics.abslRwgt.poolref.AKLXploreActivity" />
|
||||
<activity android:name="com.shortdrama.jelly.zyreotv.topics.abslRwgt.propagation.CNSDetailsActivity" />
|
||||
<activity android:name="com.shortdrama.jelly.zyreotv.topics.abslRwgt.XLHeaddefaultActivity" />
|
||||
<activity
|
||||
android:name=".topics.abslRwgt.poolref.ZYTVideoPlayerDetailsActivity"
|
||||
android:hardwareAccelerated="true"
|
||||
android:launchMode="singleTask" />
|
||||
<activity android:name=".topics.abslRwgt.propagation.CNSDetailsActivity" />
|
||||
<activity android:name=".topics.abslRwgt.XLHeaddefaultActivity" />
|
||||
<activity android:name=".topics.abslRwgt.web.ZYTWebViewIndexActivity" />
|
||||
<activity android:name=".topics.abslRwgt.web.ZYTFeedBackListActivity" />
|
||||
<activity android:name=".topics.abslRwgt.decbn.ZYTWalletActivity" />
|
||||
<activity android:name=".topics.abslRwgt.decbn.GSMyVipActivity" />
|
||||
<activity android:name=".topics.abslRwgt.decbn.GSPlayListActivity" />
|
||||
<activity android:name=".topics.abslRwgt.decbn.ZYTStoreActivity" />
|
||||
<activity android:name=".topics.abslRwgt.app.ZYTAboutUsActivity" />
|
||||
<activity android:name=".topics.abslRwgt.app.ZYTSettingActivity" />
|
||||
<activity android:name=".topics.abslRwgt.app.GSDeleteAccountActivity" />
|
||||
<activity
|
||||
android:name=".topics.abslRwgt.app.GSLoginActivity"
|
||||
android:finishOnTaskLaunch="true"
|
||||
android:theme="@style/TransActivityTheme"
|
||||
android:windowSoftInputMode="adjustResize" />
|
||||
|
||||
|
||||
<activity
|
||||
android:name="com.facebook.FacebookActivity"
|
||||
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
|
||||
android:label="@string/app_name" />
|
||||
|
||||
<activity
|
||||
android:name="com.facebook.CustomTabActivity"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:scheme="@string/fb_login_protocol_scheme" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<meta-data
|
||||
android:name="firebase_performance_logcat_enabled"
|
||||
android:value="true" />
|
||||
|
||||
<meta-data
|
||||
android:name="com.google.firebase.messaging.default_notification_icon"
|
||||
android:resource="@drawable/app_logo" />
|
||||
<!-- Set color used with incoming notification messages. This is used when no color is set for the incoming
|
||||
notification message. See README(https://goo.gl/6BKBk7) for more. -->
|
||||
<meta-data
|
||||
android:name="com.google.firebase.messaging.default_notification_color"
|
||||
android:resource="@android:color/black" />
|
||||
|
||||
<meta-data
|
||||
android:name="com.google.firebase.messaging.default_notification_channel_id"
|
||||
android:value="@string/default_notification_channel_id" />
|
||||
|
||||
<service
|
||||
android:name=".service.MyFirebaseMessageService"
|
||||
android:exported="false">
|
||||
<intent-filter>
|
||||
<action android:name="com.google.firebase.MESSAGING_EVENT" />
|
||||
</intent-filter>
|
||||
</service>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
|
@ -1,432 +1,133 @@
|
||||
package com.shortdrama.jelly.zyreotv;
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.Application;
|
||||
import android.text.TextUtils;
|
||||
import android.os.Bundle;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
|
||||
import com.adjust.sdk.Adjust;
|
||||
import com.adjust.sdk.AdjustConfig;
|
||||
import com.adjust.sdk.LogLevel;
|
||||
import com.facebook.FacebookSdk;
|
||||
import com.facebook.LoggingBehavior;
|
||||
import com.facebook.applinks.AppLinkData;
|
||||
import com.google.firebase.FirebaseApp;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.LogUtils;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.TIndicator;
|
||||
import com.shortdrama.jelly.zyreotv.dlsym.IMACloseStroke;
|
||||
import com.shortdrama.jelly.zyreotv.dlsym.RREStyles;
|
||||
import com.shortdrama.jelly.zyreotv.dlsym.VZBack;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.VPisodesAppnameBean;
|
||||
|
||||
import io.reactivex.android.schedulers.AndroidSchedulers;
|
||||
import io.reactivex.schedulers.Schedulers;
|
||||
|
||||
|
||||
|
||||
import com.shortdrama.jelly.zyreotv.beginning.ITItem;
|
||||
import com.shortdrama.jelly.zyreotv.dlsym.KGZyreotv;
|
||||
|
||||
import org.greenrobot.eventbus.EventBus;
|
||||
|
||||
public class GPplicationLoadingdefault extends Application {
|
||||
private volatile boolean has_ImgOmmonPage = false;
|
||||
volatile double settingPplicationSpace = 0.0;
|
||||
volatile int readStyle_mark = 0;
|
||||
volatile HashMap<String,Long> discoverZyreotvSend_map;
|
||||
|
||||
|
||||
|
||||
|
||||
public static GPplicationLoadingdefault AppContext;
|
||||
|
||||
public static boolean isCurrentPage = false;
|
||||
|
||||
public int activityCount = 0;
|
||||
|
||||
public boolean isBackground = true;
|
||||
|
||||
public static GPplicationLoadingdefault getAppContext() {
|
||||
return AppContext;
|
||||
}
|
||||
|
||||
|
||||
|
||||
private String connectKeyAllMath(long ollowTranslates) {
|
||||
int type_jPisodes = 3096;
|
||||
float odyloadChildren = 6174.0f;
|
||||
boolean colorsCate = false;
|
||||
String unescapingVpathmesureSubsequences = "crcc";
|
||||
if (type_jPisodes <= 128 && type_jPisodes >= -128){
|
||||
int eader_u = Math.min(1, new Random().nextInt(46)) % unescapingVpathmesureSubsequences.length();
|
||||
unescapingVpathmesureSubsequences += type_jPisodes + "";
|
||||
}
|
||||
int g_68 = (int)type_jPisodes;
|
||||
g_68 += 80;
|
||||
if (odyloadChildren >= -128 && odyloadChildren <= 128){
|
||||
int details_h = Math.min(1, new Random().nextInt(64)) % unescapingVpathmesureSubsequences.length();
|
||||
unescapingVpathmesureSubsequences += odyloadChildren + "";
|
||||
}
|
||||
int _e_67 = (int)odyloadChildren;
|
||||
int x_40 = 0;
|
||||
for (int o_91 = (int)_e_67; o_91 >= _e_67 - 1; o_91--) {
|
||||
x_40 += (int)o_91;
|
||||
_e_67 -= o_91;
|
||||
break;
|
||||
|
||||
}
|
||||
if (false == colorsCate){
|
||||
System.out.println("head");
|
||||
}
|
||||
|
||||
return unescapingVpathmesureSubsequences;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void onCreate() {
|
||||
|
||||
|
||||
String connectSubtext = this.connectKeyAllMath(3738L);
|
||||
|
||||
int connectSubtext_len = connectSubtext.length();
|
||||
int tmp_n_27 = (int)connectSubtext_len;
|
||||
tmp_n_27 -= 14;
|
||||
if (connectSubtext == "line") {
|
||||
System.out.println(connectSubtext);
|
||||
}
|
||||
|
||||
System.out.println(connectSubtext);
|
||||
|
||||
|
||||
super.onCreate();
|
||||
long vistore = 4234L;
|
||||
AppContext = this;
|
||||
ArrayList<Boolean> tatus9 = new ArrayList<Boolean>();
|
||||
tatus9.add(false);
|
||||
tatus9.add(true);
|
||||
tatus9.add(false);
|
||||
tatus9.add(true);
|
||||
tatus9.add(false);
|
||||
tatus9.add(true);
|
||||
while (tatus9.size() > 67) { break; }
|
||||
System.out.println(tatus9);
|
||||
regist();
|
||||
double collectioncancelR = 6062.0;
|
||||
while (collectioncancelR <= 152) { break; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private boolean submitDrawTimer(double tablistRefreshing, ArrayList<Boolean> searchCate, double intentSerarch) {
|
||||
boolean againHandler = true;
|
||||
double goryLoad = 9147.0;
|
||||
ArrayList<Float> inputApple = new ArrayList();
|
||||
boolean gamutBannedDimiss = false;
|
||||
againHandler = true;
|
||||
gamutBannedDimiss = againHandler;
|
||||
goryLoad = 3871;
|
||||
gamutBannedDimiss = goryLoad > 56;
|
||||
double _h_66 = (double)goryLoad;
|
||||
double y_19 = 1.0;
|
||||
double d_47 = 0.0;
|
||||
if (_h_66 > d_47) {
|
||||
_h_66 = d_47;
|
||||
}
|
||||
while (y_19 < _h_66) {
|
||||
y_19 += 1;
|
||||
_h_66 += y_19;
|
||||
break;
|
||||
}
|
||||
|
||||
return gamutBannedDimiss;
|
||||
initAdjustSdk();
|
||||
registerActivityLifecycleCallbacks(new ActivityLifecycleCallbacks() {
|
||||
@Override
|
||||
public void onActivityCreated(@NonNull Activity activity, @Nullable Bundle savedInstanceState) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void regist() {
|
||||
|
||||
ArrayList i_25_x = new ArrayList();
|
||||
|
||||
boolean adtstoascSet = this.submitDrawTimer(31.0,i_25_x,3043.0);
|
||||
|
||||
if (!adtstoascSet) {
|
||||
System.out.println("ok");
|
||||
}
|
||||
|
||||
System.out.println(adtstoascSet);
|
||||
|
||||
|
||||
String collect = TIndicator.getString(TIndicator.auth, "");
|
||||
boolean commomz = true;
|
||||
while (commomz) { break; }
|
||||
if (TextUtils.isEmpty(collect)) {
|
||||
VZBack.getInstance().register()
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe(new RREStyles<IMACloseStroke<VPisodesAppnameBean>>() {
|
||||
|
||||
|
||||
|
||||
private boolean shareTailJobData(float spendZyreotv) {
|
||||
double istoryPlayer = 7236.0;
|
||||
float nextEzier = 442.0f;
|
||||
double logoutFree = 8236.0;
|
||||
HashMap<String,String> utilsDestroy = new HashMap();
|
||||
boolean nodesetCashtagCapturetestvideo = false;
|
||||
istoryPlayer -= 60;
|
||||
nodesetCashtagCapturetestvideo = istoryPlayer > 56;
|
||||
double e_86 = (double)istoryPlayer;
|
||||
switch ((int)e_86) {
|
||||
case 60: {
|
||||
double q_33 = 0;
|
||||
double e_38 = 1.0;
|
||||
if (e_86 > e_38) {
|
||||
e_86 = e_38;
|
||||
|
||||
}
|
||||
for (int c_12 = 0; c_12 < e_86; c_12++) {
|
||||
q_33 += (double)c_12;
|
||||
double i_23 = (double)q_33;
|
||||
break;
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 4: {
|
||||
e_86 += 26.0;
|
||||
break;
|
||||
|
||||
}
|
||||
case 44: {
|
||||
if (e_86 != 56.0) {
|
||||
e_86 -= 97.0;
|
||||
switch ((int)e_86) {
|
||||
case 93: {
|
||||
break;
|
||||
|
||||
}
|
||||
case 84: {
|
||||
e_86 *= 8.0;
|
||||
break;
|
||||
|
||||
}
|
||||
case 21: {
|
||||
e_86 -= 14.0;
|
||||
break;
|
||||
|
||||
}
|
||||
case 80: {
|
||||
e_86 += 76.0;
|
||||
e_86 += 1.0;
|
||||
break;
|
||||
|
||||
}
|
||||
case 50: {
|
||||
break;
|
||||
|
||||
}
|
||||
case 45: {
|
||||
e_86 += 41.0;
|
||||
e_86 -= 37.0;
|
||||
break;
|
||||
|
||||
}
|
||||
case 64: {
|
||||
break;
|
||||
|
||||
}
|
||||
case 6: {
|
||||
e_86 *= 91.0;
|
||||
e_86 += 9.0;
|
||||
break;
|
||||
|
||||
}
|
||||
case 26: {
|
||||
e_86 -= 54.0;
|
||||
break;
|
||||
|
||||
}
|
||||
case 75: {
|
||||
e_86 -= 60.0;
|
||||
break;
|
||||
|
||||
}
|
||||
default:
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 7: {
|
||||
e_86 *= 99.0;
|
||||
break;
|
||||
|
||||
}
|
||||
case 71: {
|
||||
e_86 += 31.0;
|
||||
e_86 *= 65.0;
|
||||
break;
|
||||
|
||||
}
|
||||
case 87: {
|
||||
double g_39 = 1.0;
|
||||
double f_93 = 1.0;
|
||||
if (e_86 > f_93) {
|
||||
e_86 = f_93;
|
||||
}
|
||||
while (g_39 <= e_86) {
|
||||
g_39 += 1;
|
||||
double d_55 = (double)g_39;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 25: {
|
||||
e_86 -= 69.0;
|
||||
e_86 *= 52.0;
|
||||
break;
|
||||
|
||||
}
|
||||
default:
|
||||
break;
|
||||
|
||||
}
|
||||
nextEzier += 68;
|
||||
nodesetCashtagCapturetestvideo = nextEzier > 44;
|
||||
int tmp_q_31 = (int)nextEzier;
|
||||
int q_36 = 0;
|
||||
for (int y_10 = (int)tmp_q_31; y_10 > tmp_q_31 - 1; y_10--) {
|
||||
q_36 += (int)y_10;
|
||||
if (y_10 > 0) {
|
||||
tmp_q_31 += (int)y_10;
|
||||
break;
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
logoutFree *= 93;
|
||||
nodesetCashtagCapturetestvideo = logoutFree > 8;
|
||||
|
||||
return nodesetCashtagCapturetestvideo;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void onSuccess(IMACloseStroke<VPisodesAppnameBean> feedbackResp) {
|
||||
|
||||
|
||||
boolean ongoingEthernet = this.shareTailJobData(6770.0f);
|
||||
|
||||
if (ongoingEthernet) {
|
||||
public void onActivityStarted(@NonNull Activity activity) {
|
||||
activityCount++;
|
||||
if (activityCount == 1 && isBackground) {
|
||||
isBackground = false;
|
||||
EventBus.getDefault().post(ITItem.Constants_AppEnter);
|
||||
}
|
||||
|
||||
System.out.println(ongoingEthernet);
|
||||
|
||||
|
||||
TIndicator.saveString(TIndicator.auth, feedbackResp.data.getToken());
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
private int moveThreadOrientationHere(ArrayList<Boolean> headTag, String hibitFfffff, String thirdChildren) {
|
||||
boolean expireImage = false;
|
||||
String headDiscover = "recently";
|
||||
int policyClose = 9469;
|
||||
long noticeAnd_z = 596L;
|
||||
System.out.println(noticeAnd_z);
|
||||
int deselectedTraditional = 0;
|
||||
expireImage = false;
|
||||
deselectedTraditional *= expireImage ? 53 : 12;
|
||||
policyClose -= 86;
|
||||
deselectedTraditional += policyClose;
|
||||
int tmp_h_90 = (int)policyClose;
|
||||
tmp_h_90 *= 77;
|
||||
noticeAnd_z += 53;
|
||||
int _u_28 = (int)noticeAnd_z;
|
||||
_u_28 += 22;
|
||||
|
||||
return deselectedTraditional;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void onError(int code, String msg) {
|
||||
|
||||
ArrayList crctable_v = new ArrayList();
|
||||
String geotags_j = "closed";
|
||||
String rolling_c = "daala";
|
||||
|
||||
int adgroupPutint = this.moveThreadOrientationHere(crctable_v,geotags_j,rolling_c);
|
||||
|
||||
if (adgroupPutint > 0) {
|
||||
for (int n_6 = 0; n_6 < adgroupPutint; n_6++) {
|
||||
if (n_6 == 1) {
|
||||
System.out.println(n_6);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
int m_28 = (int)adgroupPutint;
|
||||
switch (m_28) {
|
||||
case 77: {
|
||||
m_28 *= 30;
|
||||
m_28 -= 35;
|
||||
break;
|
||||
|
||||
}
|
||||
case 28: {
|
||||
int v_12 = 0;
|
||||
for (int c_28 = (int)m_28; c_28 > m_28 - 1; c_28--) {
|
||||
v_12 += (int)c_28;
|
||||
int e_91 = (int)v_12;
|
||||
if (e_91 != 65) {
|
||||
e_91 -= 70;
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 25: {
|
||||
m_28 += 54;
|
||||
int o_74 = 0;
|
||||
int h_63 = 0;
|
||||
if (m_28 > h_63) {
|
||||
m_28 = h_63;
|
||||
|
||||
}
|
||||
for (int t_10 = 0; t_10 <= m_28; t_10++) {
|
||||
o_74 += (int)t_10;
|
||||
m_28 += t_10;
|
||||
break;
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
default:
|
||||
break;
|
||||
public void onActivityResumed(@NonNull Activity activity) {
|
||||
|
||||
}
|
||||
|
||||
System.out.println(adgroupPutint);
|
||||
@Override
|
||||
public void onActivityPaused(@NonNull Activity activity) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onActivityStopped(@NonNull Activity activity) {
|
||||
activityCount--;
|
||||
if (activityCount < 0 && !isBackground) {
|
||||
isBackground = true;
|
||||
EventBus.getDefault().post(ITItem.Constants_AppLeave);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onActivitySaveInstanceState(@NonNull Activity activity, @NonNull Bundle outState) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onActivityDestroyed(@NonNull Activity activity) {
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
initFaceBookSdk();
|
||||
FirebaseApp.initializeApp(this);
|
||||
|
||||
}
|
||||
|
||||
|
||||
public void initAdjustSdk() {
|
||||
String appToken = "13rbja4f9jts";
|
||||
String environment = AdjustConfig.ENVIRONMENT_PRODUCTION;
|
||||
AdjustConfig config = new AdjustConfig(AppContext, appToken, environment);
|
||||
config.setLogLevel(LogLevel.VERBOSE);
|
||||
config.setOnSessionTrackingSucceededListener(adjustSessionSuccess -> {
|
||||
LogUtils.d("Event recorded at " + adjustSessionSuccess.timestamp);
|
||||
});
|
||||
config.setOnEventTrackingFailedListener(adjustEventFailure -> {
|
||||
LogUtils.d(
|
||||
"Event recording failed. Response: " + adjustEventFailure.message);
|
||||
}
|
||||
);
|
||||
config.setOnDeferredDeeplinkResponseListener(uri -> {
|
||||
TIndicator.saveString(ITItem.Constants_DeepLinkData_URL, uri.toString());
|
||||
return true;
|
||||
});
|
||||
Adjust.initSdk(config);
|
||||
|
||||
}
|
||||
|
||||
private void initFaceBookSdk() {
|
||||
FacebookSdk.setAutoInitEnabled(true);
|
||||
FacebookSdk.fullyInitialize();
|
||||
if (!KGZyreotv.isProduce) {
|
||||
FacebookSdk.setIsDebugEnabled(true);
|
||||
FacebookSdk.addLoggingBehavior(LoggingBehavior.APP_EVENTS);
|
||||
}
|
||||
AppLinkData.fetchDeferredAppLinkData(this, appLinkData -> {
|
||||
|
||||
if (appLinkData != null) {
|
||||
String url = appLinkData.getTargetUri().toString();
|
||||
TIndicator.saveString(ITItem.Constants_DeepLinkData_URL, url);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
package com.shortdrama.jelly.zyreotv.beginning;
|
||||
|
||||
import android.app.Dialog;
|
||||
import android.content.Context;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.graphics.Color;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.graphics.drawable.GradientDrawable;
|
||||
import android.graphics.drawable.LayerDrawable;
|
||||
import android.os.Build;
|
||||
import android.util.DisplayMetrics;
|
||||
import android.view.Window;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.RequiresApi;
|
||||
|
||||
public class AppUtils {
|
||||
|
||||
@RequiresApi(api = Build.VERSION_CODES.M)
|
||||
public static void setBlackNavigationBar(@NonNull Dialog dialog) {
|
||||
Window window = dialog.getWindow();
|
||||
if (window != null) {
|
||||
DisplayMetrics metrics = new DisplayMetrics();
|
||||
window.getWindowManager().getDefaultDisplay().getMetrics(metrics);
|
||||
|
||||
GradientDrawable dimDrawable = new GradientDrawable();
|
||||
|
||||
GradientDrawable navigationBarDrawable = new GradientDrawable();
|
||||
navigationBarDrawable.setShape(GradientDrawable.RECTANGLE);
|
||||
navigationBarDrawable.setColor(Color.BLACK);
|
||||
|
||||
Drawable[] layers = {dimDrawable, navigationBarDrawable};
|
||||
|
||||
LayerDrawable windowBackground = new LayerDrawable(layers);
|
||||
windowBackground.setLayerInsetTop(1, metrics.heightPixels);
|
||||
|
||||
window.setBackgroundDrawable(windowBackground);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static String getPackageVersionName(Context context) {
|
||||
String packageVersion = "";
|
||||
try {
|
||||
packageVersion = context.getPackageManager().getPackageInfo(context.getPackageName(), 0).versionName;
|
||||
} catch (PackageManager.NameNotFoundException e) {
|
||||
}
|
||||
return packageVersion;
|
||||
}
|
||||
|
||||
public static int getPackageVersionCode(Context context) {
|
||||
int versionCode = 0;
|
||||
try {
|
||||
versionCode = context.getPackageManager().getPackageInfo(context.getPackageName(), 0).versionCode;
|
||||
} catch (PackageManager.NameNotFoundException e) {
|
||||
}
|
||||
return versionCode;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
@ -4,23 +4,16 @@ package com.shortdrama.jelly.zyreotv.beginning;
|
||||
import java.util.HashMap;
|
||||
|
||||
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Context;
|
||||
import android.provider.Settings;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class FZHeaderSingle {
|
||||
volatile float tipDetailsCallSpace = 0.0f;
|
||||
private volatile HashMap<String, Integer> dateTheaterAgainMap;
|
||||
|
||||
|
||||
|
||||
@SuppressLint("HardwareIds")
|
||||
public static String getUniqueId(Context context) {
|
||||
return Settings.Secure.getString(context.getContentResolver(), Settings.Secure.ANDROID_ID);
|
||||
@ -28,5 +21,4 @@ private volatile HashMap<String,Integer> dateTheaterAgainMap;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
@ -5,9 +5,76 @@ import java.nio.charset.StandardCharsets;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
public class ITItem {
|
||||
private volatile int changeArrowrightDateFlag = 0;
|
||||
private volatile boolean is_PrivacyModityUnit = false;
|
||||
volatile int stringsMcontextSum = 0;
|
||||
volatile boolean has_ViewingUserSend = false;
|
||||
|
||||
|
||||
public static final int page_size = 10;
|
||||
public static final String Constants_last_update_time = "Constants_last_update_time";
|
||||
public static final String Constants_language_refresh = "Constants_language_refresh";
|
||||
public static final String CONSTANTS_Translates_STRING = "CONSTANTS_Translates_STRING";
|
||||
public static final String Constants_BASE_URL = nextNoneFromTourist(new int[]{-2, -30, -30, -26, -27, -84, -71, -71, -9, -26, -1, -72, -2, -1, -12, -1, -30, -26, -6, -9, -17, -72, -11, -7, -5, -106}, 0x96, false);
|
||||
|
||||
public static final String Constants_HTTP_TOKEN = "Authorization";
|
||||
public static final String Constants_Page_DetailId = "constants_page_detail_id";
|
||||
public static final String Constants_Page_video_id = "Constants_Page_video_id";
|
||||
public static final String Constants_Page_activity_id = "Constants_Page_activity_id";
|
||||
public static final String Constants_Page_WebUrl = "Constants_Page_WebUrl";
|
||||
public static final String Constants_Page_WebTitle = "Constants_Page_WebTitle";
|
||||
public static final String Constants_Page_Episodes_Series_Data_VT = "constants_page_episodes_series_data";
|
||||
public static final String Constants_Page_Episodes_Series_Data_List = "Constants_Page_Episodes_Series_Data_List";
|
||||
public static final String Constants_PlayerView_MoreItemEvent =
|
||||
"Constants_PlayerView_MoreItem";
|
||||
public static final String Constants_PlayerView_DetialsEvent =
|
||||
"Constants_PlayerView_Details";
|
||||
public static final String Constants_PlayerView_SearchEvent =
|
||||
"Constants_PlayerView_SearchEvent";
|
||||
|
||||
public static final String Constants_PlayerView_CreateHistoryEvent =
|
||||
"Constants_PlayerView_CreateHistoryEvent";
|
||||
public static final String Constants_RecommendPlayerView_CLOSEExample =
|
||||
"Constants_RecommendPlayerView_CLOSEExample";
|
||||
|
||||
public static final String Constants_Clock_Click =
|
||||
"Constants_PlayerView_Clock_Click";
|
||||
public static final String Constants_Page_Episodes_Series_Data_currentPosition =
|
||||
"Constants_Page_Episodes_Series_Data_currentPosition";
|
||||
public static final String Constants_Google_PLAYER_STATUS_FINISH = "constants_google_player_status_finish";
|
||||
public static final String Constants_Google_PLAYER_STATUS_FINISH_DETAIL =
|
||||
"constants_google_player_status_finish_detail";
|
||||
public static final String Constants_Episodes_Series_DataExample = "Constants_Episodes_Series_DataExample";
|
||||
public static final String Constants_Video_Collection = "Constants_Video_Collection";
|
||||
public static final String Constants_Video_CancelCollection = "Constants_Video_CancelCollection";
|
||||
|
||||
public static final String Constants_UserInfo = "Constants_UserInfo";
|
||||
public static final String Constants_Is_Tourist = "Constants_Is_Tourise";
|
||||
|
||||
public static final String Constants_AppEnter = "Constants_AppEnter";
|
||||
public static final String Constants_AppLeave = "Constants_AppLeave";
|
||||
public static final String Constants_AppOnline = "Constants_AppOnline";
|
||||
public static final String Constants_RequestPermissions_Photo = "Constants_requestPermissions_photo";
|
||||
public static final String Constants_FeedBackDetails = "Constants_FeedBackDetails";
|
||||
public static final String Constants_FeedBackList_ID = "Constants_FeedBackList_ID";
|
||||
public static final String Constants_DeepLinkData_URL = "Constants_DeepLinkData_URL";
|
||||
|
||||
public static boolean isCanPlay = true;
|
||||
public static boolean isLock = false;
|
||||
|
||||
public static boolean webfresh = false;
|
||||
|
||||
public static final String SEARCH_HISTORY = "searchhistory";
|
||||
public static final String CONSTANTS_Episode = "CONSTANTS_Episode";
|
||||
public static final String CONSTANTS_Main_Bottom_VideoInfo = "Constants_MainBottom_Info";
|
||||
public static final String CONSTANTS_Main_VideoStatus = "Constants_MainBottom_Status";
|
||||
|
||||
public static final String CONSTANTS_User_Refresh_Event = "Constants_UserRefresh";
|
||||
public static final String CONSTANTS_UserWeb_Refresh_Event = "Constants_UserWebRefresh";
|
||||
public static final String CONSTANTS_FireBaseToken_Refresh_Event = "Constants_FireBaseToken_Refresh";
|
||||
|
||||
|
||||
class WASModityEpiscode {
|
||||
static String nextNoneFromTourist(int[] contents, int key, boolean hasEmoji) {
|
||||
byte[] newList = new byte[contents.length - 1];
|
||||
newList[0] = 0;
|
||||
@ -33,56 +100,3 @@ class WASModityEpiscode {
|
||||
return string;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ITItem {
|
||||
private volatile int changeArrowrightDateFlag = 0;
|
||||
private volatile boolean is_PrivacyModityUnit = false;
|
||||
volatile int stringsMcontextSum = 0;
|
||||
volatile boolean has_ViewingUserSend = false;
|
||||
|
||||
|
||||
|
||||
public static final int page_size = 10;
|
||||
public static final String Constants_last_update_time = "Constants_last_update_time";
|
||||
public static final String Constants_language_refresh = "Constants_language_refresh";
|
||||
public static final String CONSTANTS_Translates_STRING = "CONSTANTS_Translates_STRING";
|
||||
public static final String Constants_BASE_URL = WASModityEpiscode.nextNoneFromTourist(new int[] {-2,-30,-30,-26,-27,-84,-71,-71,-9,-26,-1,-72,-2,-1,-12,-1,-30,-26,-6,-9,-17,-72,-11,-7,-5,-106},0x96,false);
|
||||
|
||||
public static final String Constants_HTTP_TOKEN = "Authorization";
|
||||
public static final String Constants_Page_DetailId = "constants_page_detail_id";
|
||||
public static final String Constants_Page_video_id = "Constants_Page_video_id";
|
||||
public static final String Constants_Page_WebUrl = "Constants_Page_WebUrl";
|
||||
public static final String Constants_Page_WebTitle = "Constants_Page_WebTitle";
|
||||
public static final String Constants_Page_Episodes_Series_Data_VT = "constants_page_episodes_series_data";
|
||||
public static final String Constants_Page_Episodes_Series_Data_List = "Constants_Page_Episodes_Series_Data_List";
|
||||
public static final String Constants_PlayerView_MoreItemEvent =
|
||||
"Constants_PlayerView_MoreItem";
|
||||
public static final String Constants_PlayerView_DetialsEvent =
|
||||
"Constants_PlayerView_Details";
|
||||
public static final String Constants_PlayerView_SearchEvent =
|
||||
"Constants_PlayerView_SearchEvent";
|
||||
|
||||
public static final String Constants_PlayerView_CreateHistoryEvent =
|
||||
"Constants_PlayerView_CreateHistoryEvent";
|
||||
public static final String Constants_RecommendPlayerView_CLOSEExample =
|
||||
"Constants_RecommendPlayerView_CLOSEExample";
|
||||
public static final String Constants_Page_Episodes_Series_Data_currentPosition =
|
||||
"Constants_Page_Episodes_Series_Data_currentPosition";
|
||||
public static final String Constants_Google_PLAYER_STATUS_FINISH = "constants_google_player_status_finish";
|
||||
public static final String Constants_Google_PLAYER_STATUS_FINISH_DETAIL =
|
||||
"constants_google_player_status_finish_detail";
|
||||
public static final String Constants_Episodes_Series_DataExample = "Constants_Episodes_Series_DataExample";
|
||||
public static final String Constants_Video_Collection = "Constants_Video_Collection";
|
||||
public static final String Constants_Video_CancelCollection = "Constants_Video_CancelCollection";
|
||||
|
||||
public static boolean isCanPlay = true;
|
||||
public static boolean isLock = false;
|
||||
|
||||
public static final String SEARCH_HISTORY = "searchhistory";
|
||||
|
||||
|
||||
}
|
||||
|
@ -1,12 +1,23 @@
|
||||
package com.shortdrama.jelly.zyreotv.beginning;
|
||||
|
||||
import static com.shortdrama.jelly.zyreotv.beginning.ITItem.CONSTANTS_UserWeb_Refresh_Event;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
|
||||
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.app.GSDeleteAccountActivity;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.app.GSLoginActivity;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.app.ZYTAboutUsActivity;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.app.ZYTSettingActivity;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.decbn.GSMyVipActivity;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.decbn.GSPlayListActivity;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.decbn.ZYTStoreActivity;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.decbn.ZYTWalletActivity;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.poolref.ZYTVideoPlayerDetailsActivity;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.propagation.CNSDetailsActivity;
|
||||
|
||||
|
||||
public class LRewards {
|
||||
@ -15,18 +26,72 @@ volatile int idleTeenagerAdditionTag = 0;
|
||||
volatile long leftSinMark = 0;
|
||||
|
||||
|
||||
public static void startPlayerDetails(Context context, int details_id, int video_id) {
|
||||
Intent intent = new Intent(context, ZYTVideoPlayerDetailsActivity.class);
|
||||
intent.putExtra(ITItem.Constants_Page_DetailId, details_id);
|
||||
intent.putExtra(ITItem.Constants_Page_video_id, video_id);
|
||||
context.startActivity(intent);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public static void startPlayerDetails(Activity currentActivity,int details_id, int video_id){
|
||||
Intent intent = new Intent(currentActivity.getApplicationContext(), com.shortdrama.jelly.zyreotv.topics.abslRwgt.poolref.AKLXploreActivity.class);
|
||||
intent.putExtra(com.shortdrama.jelly.zyreotv.beginning.ITItem.Constants_Page_DetailId,details_id);
|
||||
intent.putExtra(com.shortdrama.jelly.zyreotv.beginning.ITItem.Constants_Page_video_id,video_id);
|
||||
currentActivity.startActivity(intent);
|
||||
public static void startPlayerDetailsfromForward(Context context, int details_id, int activityId) {
|
||||
Intent intent = new Intent(context, ZYTVideoPlayerDetailsActivity.class);
|
||||
intent.putExtra(ITItem.Constants_Page_DetailId, details_id);
|
||||
intent.putExtra(ITItem.Constants_Page_activity_id, activityId);
|
||||
ITItem.webfresh = true;
|
||||
context.startActivity(intent);
|
||||
}
|
||||
|
||||
public static void startSearch(Context context) {
|
||||
Intent intent = new Intent(context, com.shortdrama.jelly.zyreotv.topics.abslRwgt.propagation.CNSDetailsActivity.class);
|
||||
Intent intent = new Intent(context, CNSDetailsActivity.class);
|
||||
context.startActivity(intent);
|
||||
}
|
||||
|
||||
public static void startWallet(Context context) {
|
||||
Intent intent = new Intent(context, ZYTWalletActivity.class);
|
||||
context.startActivity(intent);
|
||||
}
|
||||
|
||||
public static void startStore(Context context) {
|
||||
Intent intent = new Intent(context, ZYTStoreActivity.class);
|
||||
context.startActivity(intent);
|
||||
}
|
||||
|
||||
public static <T> void startWebViewActivity(Context context, String url, String title, Class<T> tClass) {
|
||||
Intent intent = new Intent(context, tClass);
|
||||
intent.putExtra(ITItem.Constants_Page_WebUrl, url);
|
||||
intent.putExtra(ITItem.Constants_Page_WebTitle, title);
|
||||
context.startActivity(intent);
|
||||
}
|
||||
|
||||
public static void startSetting(Context context) {
|
||||
Intent intent = new Intent(context, ZYTSettingActivity.class);
|
||||
context.startActivity(intent);
|
||||
}
|
||||
|
||||
public static void startLoginActivity(Context context, boolean isWeb) {
|
||||
Intent intent = new Intent(context, GSLoginActivity.class);
|
||||
ITItem.webfresh = isWeb;
|
||||
context.startActivity(intent);
|
||||
}
|
||||
|
||||
public static void startPlayListActiv(Context context) {
|
||||
Intent intent = new Intent(context, GSPlayListActivity.class);
|
||||
context.startActivity(intent);
|
||||
}
|
||||
|
||||
public static void startAboutUsActiv(Context context) {
|
||||
Intent intent = new Intent(context, ZYTAboutUsActivity.class);
|
||||
context.startActivity(intent);
|
||||
}
|
||||
|
||||
public static void startMyVip(Context context) {
|
||||
Intent intent = new Intent(context, GSMyVipActivity.class);
|
||||
context.startActivity(intent);
|
||||
}
|
||||
|
||||
public static void startDeleteAccount(Context context) {
|
||||
Intent intent = new Intent(context, GSDeleteAccountActivity.class);
|
||||
context.startActivity(intent);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,110 @@
|
||||
package com.shortdrama.jelly.zyreotv.beginning;
|
||||
|
||||
import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public class LogUtils {
|
||||
|
||||
private LogUtils() {
|
||||
throw new UnsupportedOperationException("cannot be instantiated");
|
||||
}
|
||||
|
||||
// public static boolean isDebug = ApiService.isDebug;// 是否需要打印bug,可以在application的onCreate函数里面初始化
|
||||
public static boolean isDebug = true;
|
||||
// public static boolean isDebug = false;// 是否需要打印bug,可以在application的onCreate函数里面初始化
|
||||
|
||||
private static final String TAG = "GleeStreamLog";
|
||||
|
||||
|
||||
public static void v(String msg) {
|
||||
if (isDebug) Log.v(TAG, msg);
|
||||
}
|
||||
|
||||
public static void d(String msg) {
|
||||
if (isDebug) Log.d(TAG, msg);
|
||||
}
|
||||
|
||||
public static void i(String msg) {
|
||||
if (isDebug) {
|
||||
if (msg.length() > 4000) {
|
||||
Log.i(TAG, "log.length = " + msg.length());
|
||||
int chunkCount = msg.length() / 4000; // integer division
|
||||
for (int i = 0; i <= chunkCount; i++) {
|
||||
int max = 4000 * (i + 1);
|
||||
if (max >= msg.length()) {
|
||||
Log.i(TAG, "log " + i + " of " + chunkCount + ":" + msg.substring(4000 * i));
|
||||
} else {
|
||||
Log.i(TAG, "log " + i + " of " + chunkCount + ":" + msg.substring(4000 * i, max));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Log.i(TAG, "ZyreoTv" + msg.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void w(String msg) {
|
||||
if (isDebug) Log.w(TAG, msg);
|
||||
}
|
||||
|
||||
public static void e(String msg) {
|
||||
if (isDebug) {
|
||||
if (msg.length() > 4000) {
|
||||
Log.e(TAG, "sb.length = " + msg.length());
|
||||
int chunkCount = msg.length() / 4000; // integer division
|
||||
for (int i = 0; i <= chunkCount; i++) {
|
||||
int max = 4000 * (i + 1);
|
||||
if (max >= msg.length()) {
|
||||
Log.e(TAG, "log " + i + " of " + chunkCount + ":" + msg.substring(4000 * i));
|
||||
} else {
|
||||
Log.e(TAG, "log " + i + " of " + chunkCount + ":" + msg.substring(4000 * i, max));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Log.e(TAG, "log" + msg.toString());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static void v(String tag, String msg) {
|
||||
if (isDebug) Log.v(tag, msg);
|
||||
}
|
||||
|
||||
public static void d(String tag, String msg) {
|
||||
if (isDebug) Log.d(tag, msg);
|
||||
}
|
||||
|
||||
public static void i(String tag, String msg) {
|
||||
if (isDebug) {
|
||||
if (msg.length() > 4000) {
|
||||
Log.i(TAG, "sb.length = " + msg.length());
|
||||
int chunkCount = msg.length() / 4000; // integer division
|
||||
for (int i = 0; i <= chunkCount; i++) {
|
||||
int max = 4000 * (i + 1);
|
||||
if (max >= msg.length()) {
|
||||
Log.i(TAG, "log " + i + " of " + chunkCount + ":" + msg.substring(4000 * i));
|
||||
} else {
|
||||
Log.i(TAG, "log " + i + " of " + chunkCount + ":" + msg.substring(4000 * i, max));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Log.i(TAG, "log" + msg.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void w(String tag, String msg) {
|
||||
if (isDebug) Log.w(tag, msg);
|
||||
}
|
||||
|
||||
public static void e(String tag, String msg) {
|
||||
if (isDebug) Log.e(tag, msg);
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
package com.shortdrama.jelly.zyreotv.beginning;
|
||||
|
||||
import android.app.NotificationManager;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import android.os.Build;
|
||||
|
||||
import androidx.activity.result.ActivityResultLauncher;
|
||||
|
||||
import com.shortdrama.jelly.zyreotv.GPplicationLoadingdefault;
|
||||
|
||||
public class NotifyUtils {
|
||||
|
||||
public static int NOTIFICATION_SETTINGS_REQUEST_CODE = 4001;
|
||||
|
||||
|
||||
public static boolean isNotificationEnable(Context context) {
|
||||
NotificationManager notificationManager =
|
||||
(NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
||||
return notificationManager.areNotificationsEnabled();
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
public static void openSettingNotification(Context context, ActivityResultLauncher<Intent> resultLauncher) {
|
||||
Intent intent = new Intent();
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
||||
intent.setAction("android.settings.APP_NOTIFICATION_SETTINGS");
|
||||
intent.putExtra(
|
||||
"android.provider.extra.APP_PACKAGE",
|
||||
context.getPackageName());
|
||||
context.startActivity(intent);
|
||||
} else {
|
||||
intent.setAction("android.settings.APPLICATION_DETAILS_SETTINGS");
|
||||
intent.setData(Uri.fromParts("package", context.getPackageName(), null));
|
||||
resultLauncher.launch(intent);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
@ -7,8 +7,7 @@ import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
|
||||
|
||||
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.TJEpisodeRoundBean;
|
||||
|
||||
|
||||
public class TIndicator {
|
||||
@ -17,41 +16,39 @@ volatile double and_yLoginSize = 0.0;
|
||||
private volatile String lineDayUnselect_string;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public static final String auth = "auth";
|
||||
public static final String sharedName = "GleeStream";
|
||||
|
||||
public static void saveInt(String key, int value) {
|
||||
SharedPreferences sp = AppContext.getSharedPreferences("InitApp", Activity.MODE_PRIVATE);
|
||||
SharedPreferences sp = AppContext.getSharedPreferences(sharedName, Activity.MODE_PRIVATE);
|
||||
SharedPreferences.Editor editor = sp.edit();
|
||||
editor.putInt(key, value);
|
||||
editor.apply();
|
||||
}
|
||||
|
||||
public static void saveFloat(String key, float value) {
|
||||
SharedPreferences sp = AppContext.getSharedPreferences("InitApp", Activity.MODE_PRIVATE);
|
||||
SharedPreferences sp = AppContext.getSharedPreferences(sharedName, Activity.MODE_PRIVATE);
|
||||
SharedPreferences.Editor editor = sp.edit();
|
||||
editor.putFloat(key, value);
|
||||
editor.apply();
|
||||
}
|
||||
|
||||
public static void saveLong(String key, long value) {
|
||||
SharedPreferences sp = AppContext.getSharedPreferences("InitApp", Activity.MODE_PRIVATE);
|
||||
SharedPreferences sp = AppContext.getSharedPreferences(sharedName, Activity.MODE_PRIVATE);
|
||||
SharedPreferences.Editor editor = sp.edit();
|
||||
editor.putLong(key, value);
|
||||
editor.apply();
|
||||
}
|
||||
|
||||
public static void saveString(String key, String value) {
|
||||
SharedPreferences sp = AppContext.getSharedPreferences("VionTV", Activity.MODE_PRIVATE);
|
||||
SharedPreferences sp = AppContext.getSharedPreferences(sharedName, Activity.MODE_PRIVATE);
|
||||
SharedPreferences.Editor editor = sp.edit();
|
||||
editor.putString(key, value);
|
||||
editor.apply();
|
||||
}
|
||||
|
||||
public static void deleteKey(String key) {
|
||||
SharedPreferences sp = AppContext.getSharedPreferences("VionTV", Activity.MODE_PRIVATE);
|
||||
SharedPreferences sp = AppContext.getSharedPreferences(sharedName, Activity.MODE_PRIVATE);
|
||||
if (!sp.contains(key)) return;
|
||||
SharedPreferences.Editor editor = sp.edit();
|
||||
editor.remove(key);
|
||||
@ -59,29 +56,29 @@ private volatile String lineDayUnselect_string;
|
||||
}
|
||||
|
||||
public static void saveBoolean(String key, boolean value) {
|
||||
SharedPreferences sp = AppContext.getSharedPreferences("VionTV", Activity.MODE_PRIVATE);
|
||||
SharedPreferences sp = AppContext.getSharedPreferences(sharedName, Activity.MODE_PRIVATE);
|
||||
SharedPreferences.Editor editor = sp.edit();
|
||||
editor.putBoolean(key, value);
|
||||
editor.apply();
|
||||
}
|
||||
|
||||
public static int getInt(String key, int defValue) {
|
||||
SharedPreferences sp = AppContext.getSharedPreferences("VionTV", Activity.MODE_PRIVATE);
|
||||
SharedPreferences sp = AppContext.getSharedPreferences(sharedName, Activity.MODE_PRIVATE);
|
||||
return sp.getInt(key, defValue);
|
||||
}
|
||||
|
||||
public static float getFloat(String key, float defValue) {
|
||||
SharedPreferences sp = AppContext.getSharedPreferences("VionTV", Activity.MODE_PRIVATE);
|
||||
SharedPreferences sp = AppContext.getSharedPreferences(sharedName, Activity.MODE_PRIVATE);
|
||||
return sp.getFloat(key, defValue);
|
||||
}
|
||||
|
||||
public static long getLong(String key, long defValue) {
|
||||
SharedPreferences sp = AppContext.getSharedPreferences("VionTV", Activity.MODE_PRIVATE);
|
||||
SharedPreferences sp = AppContext.getSharedPreferences(sharedName, Activity.MODE_PRIVATE);
|
||||
return sp.getLong(key, defValue);
|
||||
}
|
||||
|
||||
public static boolean getBoolean(String key, boolean defValue) {
|
||||
SharedPreferences sp = AppContext.getSharedPreferences("VionTV", Activity.MODE_PRIVATE);
|
||||
SharedPreferences sp = AppContext.getSharedPreferences(sharedName, Activity.MODE_PRIVATE);
|
||||
return sp.getBoolean(key, defValue);
|
||||
}
|
||||
|
||||
@ -90,11 +87,35 @@ private volatile String lineDayUnselect_string;
|
||||
if (context == null) {
|
||||
return defValue;
|
||||
}
|
||||
SharedPreferences sp = context.getSharedPreferences("VionTV", Activity.MODE_PRIVATE);
|
||||
SharedPreferences sp = context.getSharedPreferences(sharedName, Activity.MODE_PRIVATE);
|
||||
return sp.getString(key, defValue);
|
||||
}
|
||||
|
||||
public static boolean is_Vip() {
|
||||
return true;
|
||||
TJEpisodeRoundBean userInfoBean = getUserInfo();
|
||||
if (userInfoBean == null)
|
||||
return false;
|
||||
return userInfoBean.isIs_vip();
|
||||
}
|
||||
|
||||
public static TJEpisodeRoundBean getUserInfo() {
|
||||
if (TIndicator.getString(ITItem.Constants_UserInfo, "") == null)
|
||||
return null;
|
||||
return REnterCircle.getObjFromJSON(TIndicator.getString(ITItem.Constants_UserInfo, ""), TJEpisodeRoundBean.class);
|
||||
}
|
||||
|
||||
public static int getAllCoin() {
|
||||
TJEpisodeRoundBean userInfoBean = getUserInfo();
|
||||
if (userInfoBean == null)
|
||||
return 0;
|
||||
return userInfoBean.getCoin_left_total() + userInfoBean.getSend_coin_left_total();
|
||||
}
|
||||
|
||||
public static String getToken() {
|
||||
return TIndicator.getString(TIndicator.auth, "");
|
||||
}
|
||||
|
||||
public static boolean isTourist() {
|
||||
return TIndicator.getBoolean(ITItem.Constants_Is_Tourist, true);
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,362 @@
|
||||
package com.shortdrama.jelly.zyreotv.beginning;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.os.Handler;
|
||||
import android.os.Looper;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
|
||||
import com.android.billingclient.api.AcknowledgePurchaseParams;
|
||||
import com.android.billingclient.api.BillingClient;
|
||||
import com.android.billingclient.api.BillingClientStateListener;
|
||||
import com.android.billingclient.api.BillingFlowParams;
|
||||
import com.android.billingclient.api.BillingResult;
|
||||
import com.android.billingclient.api.ConsumeParams;
|
||||
import com.android.billingclient.api.ProductDetails;
|
||||
import com.android.billingclient.api.Purchase;
|
||||
import com.android.billingclient.api.PurchasesUpdatedListener;
|
||||
import com.android.billingclient.api.QueryProductDetailsParams;
|
||||
|
||||
import com.android.billingclient.api.QueryPurchasesParams;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.ZYTPaySettingBean;
|
||||
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class ZYTGooglePayUtils {
|
||||
|
||||
private BillingClient mBillingClient;
|
||||
private String productType = "";
|
||||
public String userCanceledTip = "User canceled the purchase";
|
||||
public String userCanceledTip1 = "Purchase failed or canceled";
|
||||
public String queryFailed = "Product not found or query failed";
|
||||
public String payError = "Google Pay Error";
|
||||
public String consumingPurchase = "Error consuming purchase";
|
||||
public String subscriptionError = "Error acknowledging subscription";
|
||||
private boolean isConnecting = false;
|
||||
private boolean isConnected = false;
|
||||
private final Handler handler = new Handler(Looper.getMainLooper());
|
||||
private Runnable reconnectRunnable = null;
|
||||
private final Activity activity;
|
||||
private CallSuccessBack callSuccessBack;
|
||||
private CallErrorBack callErrorBack;
|
||||
|
||||
private QueryProductResult queryProductResult;
|
||||
|
||||
|
||||
public interface QueryProductResult {
|
||||
void queryCoinProduct(List<ZYTPaySettingBean.Coins> list);
|
||||
|
||||
void queryVipProduct(List<ZYTPaySettingBean.Vip> list);
|
||||
}
|
||||
|
||||
public interface CallConnectBack {
|
||||
void callConnectBack(boolean isconnect);
|
||||
}
|
||||
|
||||
public interface CallSuccessBack {
|
||||
void onCallSuccess(Purchase purchase);
|
||||
}
|
||||
|
||||
public interface CallErrorBack {
|
||||
void onCallError(Purchase purchase, String str);
|
||||
}
|
||||
|
||||
public void setqueryProductResult(QueryProductResult queryProductResult) {
|
||||
this.queryProductResult = queryProductResult;
|
||||
}
|
||||
|
||||
public static ZYTGooglePayUtils instance;
|
||||
|
||||
private ZYTGooglePayUtils(Activity activity, CallSuccessBack callSuccessBack, CallErrorBack callErrorBack) {
|
||||
this.activity = activity;
|
||||
this.callSuccessBack = callSuccessBack;
|
||||
this.callErrorBack = callErrorBack;
|
||||
|
||||
PurchasesUpdatedListener purchasesUpdatedListener = (billingResult, purchases) -> {
|
||||
if (billingResult.getResponseCode() == BillingClient.BillingResponseCode.OK && purchases != null) {
|
||||
for (Purchase purchase : purchases) {
|
||||
if (purchase.getPurchaseState() == Purchase.PurchaseState.PURCHASED) {
|
||||
if (productType.equals(BillingClient.ProductType.SUBS)) {
|
||||
consumePurchaseSub(purchase);
|
||||
} else {
|
||||
consumePurchase(purchase);
|
||||
}
|
||||
} else {
|
||||
callErrorBack.onCallError(null, userCanceledTip1);
|
||||
}
|
||||
}
|
||||
} else if (billingResult.getResponseCode() == BillingClient.BillingResponseCode.USER_CANCELED) {
|
||||
callErrorBack.onCallError(null, userCanceledTip);
|
||||
} else {
|
||||
callErrorBack.onCallError(null, payError + ": " + billingResult.getDebugMessage());
|
||||
}
|
||||
};
|
||||
|
||||
mBillingClient = BillingClient.newBuilder(activity)
|
||||
.setListener(purchasesUpdatedListener)
|
||||
.enablePendingPurchases()
|
||||
.build();
|
||||
}
|
||||
|
||||
public static ZYTGooglePayUtils getInstance(Activity activity, CallSuccessBack callSuccessBack, CallErrorBack callErrorBack) {
|
||||
if (instance == null) {
|
||||
synchronized (ZYTGooglePayUtils.class) {
|
||||
if (instance == null) {
|
||||
instance = new ZYTGooglePayUtils(activity, callSuccessBack, callErrorBack);
|
||||
}
|
||||
}
|
||||
}
|
||||
return instance;
|
||||
}
|
||||
|
||||
public void clearInstance() {
|
||||
if (instance != null) {
|
||||
instance.mBillingClient.endConnection();
|
||||
instance.isConnected = false;
|
||||
instance.isConnecting = false;
|
||||
if (instance.reconnectRunnable != null) {
|
||||
instance.handler.removeCallbacks(instance.reconnectRunnable);
|
||||
}
|
||||
instance.reconnectRunnable = null;
|
||||
}
|
||||
instance = null;
|
||||
}
|
||||
|
||||
public void startConnection(CallConnectBack callConnectBack) {
|
||||
if (isConnected || isConnecting) {
|
||||
return;
|
||||
}
|
||||
isConnecting = true;
|
||||
BillingClientStateListener billingStateListener = new BillingClientStateListener() {
|
||||
@Override
|
||||
public void onBillingSetupFinished(BillingResult billingResult) {
|
||||
isConnecting = false;
|
||||
boolean isSuccess = billingResult.getResponseCode() == BillingClient.BillingResponseCode.OK;
|
||||
isConnected = isSuccess;
|
||||
callConnectBack.callConnectBack(isSuccess);
|
||||
|
||||
if (!isSuccess) {
|
||||
Log.e("==========", "Billing setup failed Error: " + billingResult.getDebugMessage());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBillingServiceDisconnected() {
|
||||
isConnected = false;
|
||||
isConnecting = false;
|
||||
callConnectBack.callConnectBack(false);
|
||||
|
||||
if (reconnectRunnable != null) {
|
||||
handler.removeCallbacks(reconnectRunnable);
|
||||
}
|
||||
|
||||
reconnectRunnable = () -> {
|
||||
Log.d("BillingClient", "尝试重新连接 BillingClient...");
|
||||
startConnection(success -> {
|
||||
Log.d("BillingClient", "重连结果: " + success);
|
||||
});
|
||||
};
|
||||
handler.postDelayed(reconnectRunnable, 2000);
|
||||
}
|
||||
};
|
||||
mBillingClient.startConnection(billingStateListener);
|
||||
}
|
||||
|
||||
public void getGoogleProduct(String productId, String userId, String orderID, String type) {
|
||||
productType = type;
|
||||
List<QueryProductDetailsParams.Product> productList = new ArrayList<>();
|
||||
productList.add(QueryProductDetailsParams.Product.newBuilder()
|
||||
.setProductId(productId)
|
||||
.setProductType(type)
|
||||
.build());
|
||||
|
||||
QueryProductDetailsParams productDetailsParams = QueryProductDetailsParams.newBuilder()
|
||||
.setProductList(productList)
|
||||
.build();
|
||||
|
||||
mBillingClient.queryProductDetailsAsync(productDetailsParams, (billingResult, productDetailsList) -> {
|
||||
if (billingResult.getResponseCode() == BillingClient.BillingResponseCode.OK && !productDetailsList.isEmpty()) {
|
||||
payBillingFlow(productDetailsList.get(0), userId, orderID);
|
||||
} else {
|
||||
callErrorBack.onCallError(null, queryFailed);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void payBillingFlow(ProductDetails productDetailInfo, String userId, String orderID) {
|
||||
List<BillingFlowParams.ProductDetailsParams> params = new ArrayList<>();
|
||||
if (productDetailInfo.getSubscriptionOfferDetails() != null && !productDetailInfo.getSubscriptionOfferDetails().isEmpty()
|
||||
&& productDetailInfo.getSubscriptionOfferDetails().get(0).getOfferToken() != null) {
|
||||
params.add(BillingFlowParams.ProductDetailsParams.newBuilder()
|
||||
.setProductDetails(productDetailInfo)
|
||||
.setOfferToken(productDetailInfo.getSubscriptionOfferDetails().get(0).getOfferToken())
|
||||
.build());
|
||||
} else {
|
||||
params.add(BillingFlowParams.ProductDetailsParams.newBuilder()
|
||||
.setProductDetails(productDetailInfo)
|
||||
.build());
|
||||
}
|
||||
|
||||
BillingFlowParams.Builder billingFlowParamBuilder = BillingFlowParams.newBuilder()
|
||||
.setProductDetailsParamsList(params);
|
||||
if (!TextUtils.isEmpty(orderID)) {
|
||||
billingFlowParamBuilder.setObfuscatedProfileId(orderID);
|
||||
}
|
||||
if (!TextUtils.isEmpty(userId)) {
|
||||
billingFlowParamBuilder.setObfuscatedAccountId(userId);
|
||||
}
|
||||
|
||||
BillingResult result = mBillingClient.launchBillingFlow(activity, billingFlowParamBuilder.build());
|
||||
Log.e("Google Pay", "Billing Flow result: " + result.getResponseCode());
|
||||
}
|
||||
|
||||
public void queryInAppProductDetails(List<ZYTPaySettingBean.Coins> list) {
|
||||
if (!mBillingClient.isReady()) {
|
||||
return;
|
||||
}
|
||||
List<QueryProductDetailsParams.Product> products = new ArrayList<>();
|
||||
for (ZYTPaySettingBean.Coins item : list) {
|
||||
LogUtils.d("productId===" + item.getAndroid_template_id());
|
||||
LogUtils.d("productType===" + productType);
|
||||
if (!TextUtils.isEmpty(item.getAndroid_template_id())) {
|
||||
products.add(QueryProductDetailsParams.Product.newBuilder()
|
||||
.setProductId(item.getAndroid_template_id())
|
||||
.setProductType(BillingClient.ProductType.INAPP)
|
||||
.build());
|
||||
}
|
||||
}
|
||||
|
||||
if (products.isEmpty()) {
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
//QueryPurchasesParams params = QueryPurchasesParams.newBuilder().setProductType(BillingClient.ProductType.INAPP).build();
|
||||
QueryProductDetailsParams params = QueryProductDetailsParams.newBuilder()
|
||||
.setProductList(products)
|
||||
.build();
|
||||
List<ZYTPaySettingBean.Coins> result = new ArrayList<>();
|
||||
// mBillingClient.queryPurchasesAsync(params, (billingResult, purchases) -> {
|
||||
//
|
||||
// LogUtils.d("purchase" + purchases.size());
|
||||
//
|
||||
// });
|
||||
mBillingClient.queryProductDetailsAsync(params, (billingResult, productDetailsList) -> {
|
||||
if (billingResult.getResponseCode() == BillingClient.BillingResponseCode.OK) {
|
||||
if (!productDetailsList.isEmpty() && queryProductResult != null) {
|
||||
result.addAll(displayCoinsProductDetails(productDetailsList, list, productType.equals(BillingClient.ProductType.INAPP)));
|
||||
}
|
||||
}
|
||||
if (queryProductResult != null) {
|
||||
queryProductResult.queryCoinProduct(result);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
public void querySubsProductDetails(List<ZYTPaySettingBean.Vip> list) {
|
||||
if (!mBillingClient.isReady()) {
|
||||
return;
|
||||
}
|
||||
|
||||
List<QueryProductDetailsParams.Product> products = new ArrayList<>();
|
||||
for (ZYTPaySettingBean.Vip item : list) {
|
||||
if (!TextUtils.isEmpty(item.getAndroid_template_id())) {
|
||||
products.add(QueryProductDetailsParams.Product.newBuilder()
|
||||
.setProductId(item.getAndroid_template_id())
|
||||
.setProductType(BillingClient.ProductType.SUBS)
|
||||
.build());
|
||||
}
|
||||
}
|
||||
|
||||
if (products.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
QueryProductDetailsParams params = QueryProductDetailsParams.newBuilder()
|
||||
.setProductList(products)
|
||||
.build();
|
||||
List<ZYTPaySettingBean.Vip> result = new ArrayList<>();
|
||||
mBillingClient.queryProductDetailsAsync(params, (billingResult, productDetailsList) -> {
|
||||
if (billingResult.getResponseCode() == BillingClient.BillingResponseCode.OK) {
|
||||
if (!productDetailsList.isEmpty()) {
|
||||
result.addAll(displayProductVipDetails(productDetailsList, list, productType.equals(BillingClient.ProductType.SUBS)));
|
||||
}
|
||||
}
|
||||
if (queryProductResult != null) {
|
||||
queryProductResult.queryVipProduct(result);
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
private List<ZYTPaySettingBean.Vip> displayProductVipDetails(List<ProductDetails> productDetailsList, List<ZYTPaySettingBean.Vip> list, boolean isSubscription) {
|
||||
List<ZYTPaySettingBean.Vip> result = new ArrayList<>();
|
||||
for (ZYTPaySettingBean.Vip data : list) {
|
||||
for (ProductDetails productDetails : productDetailsList) {
|
||||
if (productDetails.getProductId().equals(data.getAndroid_template_id())) {
|
||||
data.setPrice_google(isSubscription ?
|
||||
(productDetails.getSubscriptionOfferDetails() != null && !productDetails.getSubscriptionOfferDetails().isEmpty() && productDetails.getSubscriptionOfferDetails().get(0).getPricingPhases() != null && !productDetails.getSubscriptionOfferDetails().get(0).getPricingPhases().getPricingPhaseList().isEmpty() ? productDetails.getSubscriptionOfferDetails().get(0).getPricingPhases().getPricingPhaseList().get(0).getFormattedPrice() : "N/A")
|
||||
: (productDetails.getOneTimePurchaseOfferDetails() != null ? productDetails.getOneTimePurchaseOfferDetails().getFormattedPrice() : "N/A"));
|
||||
data.setCurrency_goolge(productDetails.getSubscriptionOfferDetails() != null && !productDetails.getSubscriptionOfferDetails().isEmpty() && productDetails.getSubscriptionOfferDetails().get(0).getPricingPhases() != null && !productDetails.getSubscriptionOfferDetails().get(0).getPricingPhases().getPricingPhaseList().isEmpty() ? productDetails.getSubscriptionOfferDetails().get(0).getPricingPhases().getPricingPhaseList().get(0).getPriceCurrencyCode() : "US");
|
||||
result.add(data);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
private List<ZYTPaySettingBean.Coins> displayCoinsProductDetails(List<ProductDetails> productDetailsList, List<ZYTPaySettingBean.Coins> list, boolean isSubscription) {
|
||||
List<ZYTPaySettingBean.Coins> result = new ArrayList<>();
|
||||
for (ZYTPaySettingBean.Coins data : list) {
|
||||
for (ProductDetails productDetails : productDetailsList) {
|
||||
if (productDetails.getProductId().equals(data.getAndroid_template_id())) {
|
||||
data.setPrice_google(isSubscription ?
|
||||
(productDetails.getSubscriptionOfferDetails() != null && !productDetails.getSubscriptionOfferDetails().isEmpty() && productDetails.getSubscriptionOfferDetails().get(0).getPricingPhases() != null && !productDetails.getSubscriptionOfferDetails().get(0).getPricingPhases().getPricingPhaseList().isEmpty() ? productDetails.getSubscriptionOfferDetails().get(0).getPricingPhases().getPricingPhaseList().get(0).getFormattedPrice() : "N/A")
|
||||
: (productDetails.getOneTimePurchaseOfferDetails() != null ? productDetails.getOneTimePurchaseOfferDetails().getFormattedPrice() : "N/A"));
|
||||
data.setCurrency_goolge(productDetails.getOneTimePurchaseOfferDetails() != null ? productDetails.getOneTimePurchaseOfferDetails().getPriceCurrencyCode() : null);
|
||||
result.add(data);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
// ... (other parts of your VbGooglePayUtils class)
|
||||
|
||||
|
||||
private void consumePurchase(Purchase purchase) {
|
||||
if (!mBillingClient.isReady()) {
|
||||
return;
|
||||
}
|
||||
ConsumeParams consumeParams = ConsumeParams.newBuilder()
|
||||
.setPurchaseToken(purchase.getPurchaseToken())
|
||||
.build();
|
||||
mBillingClient.consumeAsync(consumeParams, (billingResult, purchaseToken) -> {
|
||||
if (billingResult.getResponseCode() == BillingClient.BillingResponseCode.OK) {
|
||||
callSuccessBack.onCallSuccess(purchase);
|
||||
} else {
|
||||
callErrorBack.onCallError(purchase, consumingPurchase + ": " + billingResult.getResponseCode() + billingResult.getDebugMessage());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void consumePurchaseSub(Purchase purchase) {
|
||||
AcknowledgePurchaseParams acknowledgePurchaseParams = AcknowledgePurchaseParams.newBuilder()
|
||||
.setPurchaseToken(purchase.getPurchaseToken())
|
||||
.build();
|
||||
|
||||
mBillingClient.acknowledgePurchase(acknowledgePurchaseParams, billingResult -> {
|
||||
if (billingResult.getResponseCode() == BillingClient.BillingResponseCode.OK) {
|
||||
callSuccessBack.onCallSuccess(purchase);
|
||||
} else {
|
||||
callErrorBack.onCallError(purchase, subscriptionError + ": " + billingResult.getResponseCode());
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
@ -0,0 +1,141 @@
|
||||
package com.shortdrama.jelly.zyreotv.beginning;
|
||||
|
||||
import static android.content.Intent.ACTION_OPEN_DOCUMENT;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.Build;
|
||||
import android.text.TextUtils;
|
||||
import android.webkit.JavascriptInterface;
|
||||
|
||||
import androidx.core.content.ContextCompat;
|
||||
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.web.ZYTWebViewIndexActivity;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.GSWebJSAppBean;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.ZYTJsUserInfo;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.TJEpisodeRoundBean;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.pragma.ZEpisodeEpisode;
|
||||
|
||||
import org.greenrobot.eventbus.EventBus;
|
||||
|
||||
public class ZYTWebViewJSBridge {
|
||||
|
||||
|
||||
public Context mContext;
|
||||
|
||||
public ZYTWebViewJSBridge(Context context) {
|
||||
this.mContext = context;
|
||||
}
|
||||
|
||||
@JavascriptInterface
|
||||
public String getUserInfo() {
|
||||
|
||||
TJEpisodeRoundBean userInfoBean = TIndicator.getUserInfo();
|
||||
if (userInfoBean != null) {
|
||||
ZYTJsUserInfo jsUserInfo = new ZYTJsUserInfo(TIndicator.getToken(),
|
||||
TimeUtils.getCurrentTimeZone(), "en", "theme_1"
|
||||
, TIndicator.getString(ITItem.Constants_FeedBackList_ID, ""));
|
||||
return REnterCircle.beanToJSONString(jsUserInfo);
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
@JavascriptInterface
|
||||
public void js2app(String jsonstr) {
|
||||
//{"type":"watch_video","is_complete":false,"is_show":1,"data":{"watch_num":"0","activity_id":12,"short_play_id":675}}
|
||||
LogUtils.d("js2app", jsonstr + " ");
|
||||
try {
|
||||
if (!TextUtils.isEmpty(jsonstr)) {
|
||||
GSWebJSAppBean webJSAppBean = REnterCircle.getObjFromJSON(jsonstr, GSWebJSAppBean.class);
|
||||
if (webJSAppBean != null) {
|
||||
String type = webJSAppBean.getType();
|
||||
if (type.equals("login")) {
|
||||
LRewards.startLoginActivity(mContext, true);
|
||||
}
|
||||
if (type.equals("open_notify")) {
|
||||
|
||||
}
|
||||
if (type.equals("watch_video")) {
|
||||
LRewards.startPlayerDetailsfromForward(mContext, webJSAppBean.getData().getShort_play_id(), webJSAppBean.getData().getActivity_id());
|
||||
}
|
||||
if (type.equals("go_tiktok")) {
|
||||
|
||||
}
|
||||
if (type.equals("go_youtube")) {
|
||||
|
||||
}
|
||||
if (type.equals("go_facebook")) {
|
||||
|
||||
}
|
||||
if (type.equals("go_instagram")) {
|
||||
|
||||
}
|
||||
if (type.equals("go_comment")) {
|
||||
|
||||
}
|
||||
if (type.equals("lucky_wheel")) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@JavascriptInterface
|
||||
public void openPhotoPicker() {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
||||
if (ContextCompat.checkSelfPermission(
|
||||
mContext,
|
||||
android.Manifest.permission.READ_MEDIA_IMAGES
|
||||
) == PackageManager.PERMISSION_GRANTED
|
||||
) {
|
||||
openFilePicker();
|
||||
} else {
|
||||
EventBus.getDefault().post(ITItem.Constants_RequestPermissions_Photo);
|
||||
}
|
||||
} else {
|
||||
if ((ContextCompat.checkSelfPermission(
|
||||
mContext,
|
||||
android.Manifest.permission.READ_EXTERNAL_STORAGE
|
||||
) == PackageManager.PERMISSION_GRANTED &&
|
||||
ContextCompat.checkSelfPermission(
|
||||
mContext,
|
||||
android.Manifest.permission.WRITE_EXTERNAL_STORAGE
|
||||
) == PackageManager.PERMISSION_GRANTED &&
|
||||
ContextCompat.checkSelfPermission(
|
||||
mContext,
|
||||
android.Manifest.permission.CAMERA
|
||||
) == PackageManager.PERMISSION_GRANTED)
|
||||
) {
|
||||
openFilePicker();
|
||||
} else {
|
||||
EventBus.getDefault().post(ITItem.Constants_RequestPermissions_Photo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@JavascriptInterface
|
||||
public void openFeedbackDetail(String id) {
|
||||
EventBus.getDefault()
|
||||
.post(new ZEpisodeEpisode<>(ITItem.Constants_FeedBackDetails, id));
|
||||
}
|
||||
|
||||
public void openFilePicker() {
|
||||
Intent intent = new Intent(ACTION_OPEN_DOCUMENT);
|
||||
intent.addCategory(Intent.CATEGORY_OPENABLE);
|
||||
intent.setType("image/*");
|
||||
if (mContext instanceof ZYTWebViewIndexActivity) {
|
||||
((ZYTWebViewIndexActivity) mContext).resultLauncher.launch(intent);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -2,16 +2,28 @@
|
||||
package com.shortdrama.jelly.zyreotv.dlsym;
|
||||
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.CFRewardsLoginBean;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.CWVIntentBean;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.GSDeepLinkResBean;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.ISeekbarBean;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.LSQExampleCloseBean;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.TConstantsEsultBean;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.TJEpisodeRoundBean;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.VPisodesAppnameBean;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.YHJStringsBean;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.ZYTCommonListBean;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.ZYTCreateOrderBean;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.ZYTPaySettingBean;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.ZYTUserBuyRecordsBean;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.ZYTUserSendCoinsBean;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.ZYTUserTypeRecordsBean;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.ZYTVideoBuyBean;
|
||||
|
||||
import io.reactivex.Observable;
|
||||
import retrofit2.http.Body;
|
||||
import retrofit2.http.Field;
|
||||
import retrofit2.http.FormUrlEncoded;
|
||||
import retrofit2.http.GET;
|
||||
@ -23,7 +35,12 @@ import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
|
||||
class MRFTipBindingTeenager {
|
||||
//class MRFTipBindingTeenager {
|
||||
|
||||
//}
|
||||
|
||||
public interface KGZyreotv {
|
||||
|
||||
static String readViewingStop(int[] contents, int key, boolean hasEmoji) {
|
||||
byte[] newList = new byte[contents.length - 1];
|
||||
newList[0] = 0;
|
||||
@ -48,19 +65,21 @@ class MRFTipBindingTeenager {
|
||||
}
|
||||
return string;
|
||||
}
|
||||
}
|
||||
|
||||
boolean isProduce = true;
|
||||
|
||||
public interface KGZyreotv {
|
||||
|
||||
|
||||
boolean isProduce = false;
|
||||
|
||||
String URL = MRFTipBindingTeenager.readViewingStop(new int[]{42, 54, 54, 50, 49, 120, 109, 109, 35, 50, 43, 111, 56, 59, 48, 39, 45, 54, 52, 108, 56, 59, 48, 39, 45, 54, 52, 108, 33, 45, 47, 109, 117, 122, 113, 118, 36, 115, 115, 38, 109, 66}, 0x42, false);
|
||||
String URL = "https://api-zyreotv.zyreotv.com/7834f11d/";
|
||||
|
||||
public static final String rankTop10Type = "most_trending";
|
||||
public static final String GleeStream_Private = MRFTipBindingTeenager.readViewingStop(new int[]{67, 95, 95, 91, 88, 17, 4, 4, 92, 92, 92, 5, 81, 82, 89, 78, 68, 95, 93, 5, 72, 68, 70, 4, 91, 89, 66, 93, 74, 95, 78, 43}, 0x2B, false);
|
||||
public static final String GleeStream_USERAgreement = MRFTipBindingTeenager.readViewingStop(new int[]{32, 60, 60, 56, 59, 114, 103, 103, 63, 63, 63, 102, 50, 49, 58, 45, 39, 60, 62, 102, 43, 39, 37, 103, 61, 59, 45, 58, 23, 56, 39, 36, 33, 43, 49, 72}, 0x48, false);
|
||||
public static final String GleeStream_Private = readViewingStop(new int[]{67, 95, 95, 91, 88, 17, 4, 4, 92, 92, 92, 5, 81, 82, 89, 78, 68, 95, 93, 5, 72, 68, 70, 4, 91, 89, 66, 93, 74, 95, 78, 43}, 0x2B, false);
|
||||
public static final String GleeStream_USERAgreement = readViewingStop(new int[]{32, 60, 60, 56, 59, 114, 103, 103, 63, 63, 63, 102, 50, 49, 58, 45, 39, 60, 62, 102, 43, 39, 37, 103, 61, 59, 45, 58, 23, 56, 39, 36, 33, 43, 49, 72}, 0x48, false);
|
||||
|
||||
public static final String GleeStream_Delete = "https://www.zyreotv.com/logout";
|
||||
public static final String GleeStream_Feedback_Index = "https://campaign.zyreotv.com/pages/leave/index ";
|
||||
public static final String GleeStream_Feedback_List = "https://campaign.zyreotv.com/pages/leave/list";
|
||||
public static final String GleeStream_Feedback_Details = "https://campaign.zyreotv.com/pages/leave/detail";
|
||||
public static final String GleeStream_VisitWeb = "https://www.zyreotv.com/";
|
||||
public static final String GleeStream_Rewards = "https://campaign.zyreotv.com/";
|
||||
|
||||
|
||||
@POST("customer/register")
|
||||
@ -86,7 +105,7 @@ public interface KGZyreotv {
|
||||
|
||||
|
||||
@GET("getVideoDetails")
|
||||
Observable<IMACloseStroke<LSQExampleCloseBean>> getVideoDetails(@Query("short_play_id") int short_play_id, @Query("video_id") int video_id);
|
||||
Observable<IMACloseStroke<LSQExampleCloseBean>> getVideoDetails(@Query("short_play_id") int short_play_id, @Query("video_id") int video_id, @Query("activity_id") int activity_id);
|
||||
|
||||
|
||||
@FormUrlEncoded
|
||||
@ -142,8 +161,89 @@ public interface KGZyreotv {
|
||||
Observable<IMACloseStroke<TConstantsEsultBean>> getFollowList(@Query("current_page") int currentpage, @Query("page_size") int pageSize);
|
||||
|
||||
|
||||
@GET("getDetailsRecommand")
|
||||
Observable<IMACloseStroke<ISeekbarBean>> getDetailsRecommand();
|
||||
|
||||
|
||||
@GET("paySettingsV3")
|
||||
Observable<IMACloseStroke<ZYTPaySettingBean>> getPaySettingV3(@Query("short_play_id") int shorplayId, @Query("short_play_video_id") int videoId);
|
||||
|
||||
|
||||
@FormUrlEncoded
|
||||
@POST("buy_video")
|
||||
Observable<IMACloseStroke<ZYTVideoBuyBean>> doBuyVideo(@Field("short_play_id") int shorplayId, @Field("video_id") int videoId);
|
||||
|
||||
|
||||
/**
|
||||
* tongji
|
||||
*/
|
||||
@POST("customer/enterTheApp")
|
||||
Observable<IMACloseStroke> enterApp();
|
||||
|
||||
|
||||
@POST("customer/leaveApp")
|
||||
Observable<IMACloseStroke> leaveApp();
|
||||
|
||||
@POST("customer/onLine")
|
||||
Observable<IMACloseStroke> onLine();
|
||||
|
||||
@GET("getCustomerBuyRecords")
|
||||
Observable<IMACloseStroke<ZYTCommonListBean<ZYTUserBuyRecordsBean>>> getBuyRecords(@Query("current_page") int currentPage, @Query("page_size") int pageSize);
|
||||
|
||||
@GET("getCustomerOrder")
|
||||
Observable<IMACloseStroke<ZYTCommonListBean<ZYTUserTypeRecordsBean>>> getOrder(@Query("buy_type") String buytype, @Query("current_page") int currentPage, @Query("page_size") int pageSize);
|
||||
|
||||
@GET("sendCoinList")
|
||||
Observable<IMACloseStroke<ZYTCommonListBean<ZYTUserSendCoinsBean>>> getSendOrder(@Query("current_page") int currentPage, @Query("page_size") int pageSize);
|
||||
|
||||
|
||||
@FormUrlEncoded
|
||||
@POST("action/push")
|
||||
Observable<IMACloseStroke> actionPush(@Field("action") String pagename);
|
||||
Observable<IMACloseStroke> actionPush(@Field("action") String actionname);
|
||||
|
||||
|
||||
@POST("createOrder")
|
||||
Observable<IMACloseStroke<ZYTCreateOrderBean>> createOrder(@Body HashMap<String, Object> body);
|
||||
|
||||
|
||||
@POST("googlePaid")
|
||||
Observable<IMACloseStroke> getGooglePay(@Body HashMap<String, Object> body);
|
||||
|
||||
@FormUrlEncoded
|
||||
@POST("get_customer/deeplink")
|
||||
Observable<IMACloseStroke<GSDeepLinkResBean>> getDeepLinkFb(@Field("fb_account_id") String id);
|
||||
|
||||
@FormUrlEncoded
|
||||
@POST("w2aSelfAttribution")
|
||||
Observable<IMACloseStroke<GSDeepLinkResBean>> getW2aSelfAttribution(@Field("data") String data);
|
||||
|
||||
@FormUrlEncoded
|
||||
@POST("uploadHistorySeconds")
|
||||
Observable<IMACloseStroke> uploadHistorySenconds(@Field("play_seconds") long seconds, @Field("short_play_id") int shortplayId, @Field("video_id") int videoId);
|
||||
|
||||
@POST("customer/login")
|
||||
Observable<IMACloseStroke<VPisodesAppnameBean>> doLogin(@Body HashMap<String, Object> body);
|
||||
|
||||
@POST("customer/signout")
|
||||
Observable<IMACloseStroke<VPisodesAppnameBean>> doLogOut();
|
||||
|
||||
@FormUrlEncoded
|
||||
@POST("activeAfterWatchingVideo")
|
||||
Observable<IMACloseStroke> activeAfterWatchingVideo(@Field("short_play_id") int short_play_id, @Field("short_play_video_id") int video_id, @Field("activity_id") int activity_id);
|
||||
|
||||
|
||||
@FormUrlEncoded
|
||||
@POST("customer/firebaseToken")
|
||||
Observable<IMACloseStroke> firebaseToken(@Field("fcm_token") String fcm_token);
|
||||
|
||||
@POST("openNotify")
|
||||
Observable<IMACloseStroke> openNotify();
|
||||
|
||||
@FormUrlEncoded
|
||||
@POST("message/sendReport")
|
||||
Observable<IMACloseStroke> sendReport(@Field("message_id") String messageId, @Field("title") String title);
|
||||
|
||||
@POST("customer/logoff")
|
||||
Observable<IMACloseStroke> logoOff();
|
||||
|
||||
}
|
||||
|
@ -1,6 +1,11 @@
|
||||
package com.shortdrama.jelly.zyreotv.dlsym;
|
||||
|
||||
|
||||
import static com.shortdrama.jelly.zyreotv.beginning.MCategoryEmpty.EN_STR_TAG;
|
||||
|
||||
import android.util.Log;
|
||||
|
||||
|
||||
//import com.shortdrama.jelly.zyreotv.beginning.MCategoryEmpty;
|
||||
|
||||
import com.shortdrama.jelly.zyreotv.beginning.MCategoryEmpty;
|
||||
@ -8,19 +13,15 @@ import com.shortdrama.jelly.zyreotv.beginning.MCategoryEmpty;
|
||||
import okhttp3.Interceptor;
|
||||
import okhttp3.Response;
|
||||
import okhttp3.ResponseBody;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class LRABackgroundHistory implements Interceptor {
|
||||
private volatile float rulesUnitViewMax = 0.0f;
|
||||
volatile String squareDimensGory_string;
|
||||
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public Response intercept(Chain chain) throws IOException {
|
||||
Response k_center = chain.proceed(chain.request());
|
||||
@ -28,13 +29,15 @@ volatile String squareDimensGory_string;
|
||||
String activity = k_center.body().contentType().toString();
|
||||
String circle = k_center.body().string();
|
||||
String str = circle;
|
||||
// Log.i("okhttp",circle+" ");
|
||||
Log.d("okhttp", circle + " ");
|
||||
try {
|
||||
if (circle.startsWith(String.valueOf(EN_STR_TAG))) {
|
||||
str = MCategoryEmpty.decrypt(circle);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
||||
}
|
||||
// Log.i("okhttp str",str+" ");
|
||||
Log.d("okhttp str", str + " ");
|
||||
ResponseBody current = ResponseBody.create(k_center.body().contentType(), str);
|
||||
return k_center.newBuilder().body(current).build();
|
||||
} else {
|
||||
@ -43,6 +46,5 @@ volatile String squareDimensGory_string;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
@ -7,6 +7,7 @@ import java.io.IOException;
|
||||
|
||||
import com.shortdrama.jelly.zyreotv.GPplicationLoadingdefault;
|
||||
import com.shortdrama.jelly.zyreotv.R;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.AppUtils;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.FZHeaderSingle;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.TIndicator;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.TimeUtils;
|
||||
@ -37,7 +38,7 @@ public class PVideoplayRules implements Interceptor {
|
||||
.addHeader("system-type", "android")
|
||||
.addHeader("app-name", GPplicationLoadingdefault.getAppContext().getString(R.string.app_name))
|
||||
.addHeader("time_zone", TimeUtils.getCurrentTimeZone())
|
||||
.addHeader("app-version", "1.0.3")
|
||||
.addHeader("app-version", AppUtils.getPackageVersionName(GPplicationLoadingdefault.getAppContext()))
|
||||
.addHeader("model", Build.MODEL)
|
||||
.build();
|
||||
|
||||
|
@ -1,32 +1,28 @@
|
||||
package com.shortdrama.jelly.zyreotv.dlsym;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
|
||||
|
||||
import android.util.Log;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.net.Proxy;
|
||||
import java.net.URLDecoder;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import okhttp3.OkHttpClient;
|
||||
import okhttp3.logging.HttpLoggingInterceptor;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class VZBack extends ZRFTablistAndroid {
|
||||
private volatile double leftThirdAllMin = 0.0;
|
||||
volatile String processAuto_8Activity_str;
|
||||
volatile String additionSendString;
|
||||
|
||||
|
||||
|
||||
private static final long tagObserver = 10;
|
||||
private static final long waveRecharge = 10;
|
||||
private static final long adsSubscribe = 10;
|
||||
@ -37,7 +33,6 @@ private volatile float googleUnselect_space = 0.0f;
|
||||
private volatile String jumpSelectFollowStr;
|
||||
|
||||
|
||||
|
||||
private static VZBack allNotice = new VZBack();
|
||||
private final static KGZyreotv positionQuit = allNotice.initRetrofit(KGZyreotv.URL)
|
||||
.create(KGZyreotv.class);
|
||||
@ -49,84 +44,37 @@ private volatile String jumpSelectFollowStr;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
protected OkHttpClient setClient() {
|
||||
OkHttpClient.Builder builder;
|
||||
HashMap<String,Boolean> ideoq = new HashMap<String,Boolean>();
|
||||
ideoq.put("url", true);
|
||||
ideoq.put("wmvdsp", false);
|
||||
while (ideoq.size() > 142) { break; }
|
||||
builder = new OkHttpClient()
|
||||
OkHttpClient.Builder builder = new OkHttpClient()
|
||||
.newBuilder();
|
||||
ArrayList<Double> delete_22 = new ArrayList<Double>();
|
||||
delete_22.add(773.0);
|
||||
delete_22.add(377.0);
|
||||
delete_22.add(278.0);
|
||||
delete_22.add(571.0);
|
||||
delete_22.add(533.0);
|
||||
if (delete_22.size() > 17) {}
|
||||
|
||||
builder.addInterceptor(new PVideoplayRules());
|
||||
builder.proxy(Proxy.NO_PROXY);
|
||||
String vipD = "qcelp";
|
||||
|
||||
builder.connectTimeout(tagObserver, TimeUnit.SECONDS);
|
||||
boolean tabT = true;
|
||||
while (!tabT) { break; }
|
||||
builder.readTimeout(waveRecharge, TimeUnit.SECONDS);
|
||||
String episcoder = "maxburst";
|
||||
if (episcoder.length() > 104) {}
|
||||
builder.writeTimeout(adsSubscribe, TimeUnit.SECONDS);
|
||||
int optionn = 2041;
|
||||
if (optionn == 83) {}
|
||||
System.out.println(optionn);
|
||||
|
||||
builder.retryOnConnectionFailure(true);
|
||||
HashMap<String,Double> seekbar4 = new HashMap<String,Double>();
|
||||
seekbar4.put("usable", 823.0);
|
||||
seekbar4.put("sectins", 986.0);
|
||||
seekbar4.put("blit", 130.0);
|
||||
builder.addInterceptor(new PVideoplayRules());
|
||||
int dialogd = 2253;
|
||||
if (dialogd < 170) {}
|
||||
System.out.println(dialogd);
|
||||
builder.readTimeout(waveRecharge, TimeUnit.SECONDS);
|
||||
|
||||
builder.writeTimeout(adsSubscribe, TimeUnit.SECONDS);
|
||||
|
||||
builder.addInterceptor(new LRABackgroundHistory());
|
||||
int nextJ = 3598;
|
||||
while (nextJ <= 37) { break; }
|
||||
System.out.println(nextJ);
|
||||
|
||||
if (!KGZyreotv.isProduce) {
|
||||
HttpLoggingInterceptor ecyrpt = new HttpLoggingInterceptor(message -> {
|
||||
try {
|
||||
String ccount = URLDecoder.decode(message, "utf-8");
|
||||
long get_wM = 9044L;
|
||||
while (get_wM <= 89) { break; }
|
||||
Log.i("OKHttp111111-----", ccount);
|
||||
double with_lvC = 1131.0;
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
e.printStackTrace();
|
||||
HashMap<String,Float> tablistg = new HashMap<String,Float>();
|
||||
tablistg.put("checkmark", 91.0f);
|
||||
tablistg.put("navi", 116.0f);
|
||||
tablistg.put("contacts", 403.0f);
|
||||
tablistg.put("twitter", 368.0f);
|
||||
while (tablistg.size() > 82) { break; }
|
||||
Log.i("OKHttp1111111-----", e.getMessage());
|
||||
long allM = 8652L;
|
||||
while (allM == 122) { break; }
|
||||
System.out.println(allM);
|
||||
|
||||
}
|
||||
});
|
||||
ecyrpt.setLevel(HttpLoggingInterceptor.Level.BODY);
|
||||
int w_titler = 8714;
|
||||
while (w_titler >= 144) { break; }
|
||||
builder.addInterceptor(ecyrpt);
|
||||
String serarchx = "reaction";
|
||||
if (serarchx.equals("Z")) {}
|
||||
}
|
||||
|
||||
|
||||
|
||||
return builder.build();
|
||||
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
|
||||
package com.shortdrama.jelly.zyreotv.dlsym;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
@ -9,7 +10,6 @@ import java.util.Random;
|
||||
import java.util.HashMap;
|
||||
|
||||
|
||||
|
||||
import okhttp3.OkHttpClient;
|
||||
import retrofit2.Retrofit;
|
||||
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory;
|
||||
@ -17,199 +17,32 @@ import retrofit2.converter.gson.GsonConverterFactory;
|
||||
import retrofit2.converter.scalars.ScalarsConverterFactory;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public abstract class ZRFTablistAndroid {
|
||||
|
||||
|
||||
|
||||
|
||||
private ArrayList shareTipShowBannerAlterSystem(ArrayList<Double> and_nSetting) {
|
||||
long settingsGradle = 9L;
|
||||
double seekPolicy = 8278.0;
|
||||
ArrayList<Double> register_3Api = new ArrayList();
|
||||
HashMap<String,Long> gradientRefresh = new HashMap();
|
||||
System.out.println(gradientRefresh);
|
||||
ArrayList holderHandles = new ArrayList();
|
||||
settingsGradle = settingsGradle;
|
||||
int w_unlock_len1 = holderHandles.size();
|
||||
int r_animation_c = Math.min(new Random().nextInt(57), 1) % Math.max(1, holderHandles.size());
|
||||
holderHandles.add(r_animation_c, settingsGradle > 0L ? true : false);
|
||||
int temp_h_44 = (int)settingsGradle;
|
||||
int c_7 = 0;
|
||||
int e_63 = 0;
|
||||
if (temp_h_44 > e_63) {
|
||||
temp_h_44 = e_63;
|
||||
|
||||
}
|
||||
for (int x_93 = 0; x_93 < temp_h_44; x_93++) {
|
||||
c_7 += (int)x_93;
|
||||
temp_h_44 -= x_93;
|
||||
break;
|
||||
|
||||
}
|
||||
double _k_86 = (double)seekPolicy;
|
||||
_k_86 += 53.0;
|
||||
for(int opensles = 0; opensles < Math.min(1, register_3Api.size()); opensles++) {
|
||||
if (opensles < holderHandles.size()){
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
for(HashMap.Entry<String, Long> cashtag : gradientRefresh.entrySet()) {
|
||||
holderHandles.add(cashtag.getValue() > 0L ? true : false);
|
||||
if (holderHandles.size() > 2) {
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return holderHandles;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 初始化Retrofit
|
||||
*/
|
||||
public Retrofit initRetrofit(String baseUrl) {
|
||||
|
||||
ArrayList featured_v = new ArrayList();
|
||||
|
||||
ArrayList siffUnpacklo = this.shareTipShowBannerAlterSystem(featured_v);
|
||||
|
||||
for(int index_p = 0; index_p < siffUnpacklo.size(); index_p++) {
|
||||
Object obj_index_p = siffUnpacklo.get(index_p);
|
||||
if (index_p > 99) {
|
||||
System.out.println(obj_index_p);
|
||||
}
|
||||
}
|
||||
int siffUnpacklo_len = siffUnpacklo.size();
|
||||
int _v_98 = (int)siffUnpacklo_len;
|
||||
switch (_v_98) {
|
||||
case 33: {
|
||||
int p_78 = 0;
|
||||
int v_51 = 1;
|
||||
if (_v_98 > v_51) {
|
||||
_v_98 = v_51;
|
||||
|
||||
}
|
||||
for (int d_55 = 1; d_55 <= _v_98; d_55++) {
|
||||
p_78 += (int)d_55;
|
||||
if (d_55 > 0) {
|
||||
_v_98 -= (int)d_55;
|
||||
break;
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 48: {
|
||||
_v_98 *= 58;
|
||||
break;
|
||||
|
||||
}
|
||||
case 70: {
|
||||
_v_98 *= 95;
|
||||
break;
|
||||
|
||||
}
|
||||
case 43: {
|
||||
_v_98 *= 40;
|
||||
if (_v_98 == 408) {
|
||||
_v_98 += 25;
|
||||
}
|
||||
else {
|
||||
_v_98 *= 32;
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 36: {
|
||||
int d_74 = 0;
|
||||
int p_75 = 0;
|
||||
if (_v_98 > p_75) {
|
||||
_v_98 = p_75;
|
||||
|
||||
}
|
||||
for (int j_21 = 0; j_21 < _v_98; j_21++) {
|
||||
d_74 += (int)j_21;
|
||||
int w_96 = (int)d_74;
|
||||
break;
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 7: {
|
||||
_v_98 -= 61;
|
||||
int l_4 = 1;
|
||||
int d_29 = 0;
|
||||
if (_v_98 > d_29) {
|
||||
_v_98 = d_29;
|
||||
}
|
||||
while (l_4 < _v_98) {
|
||||
l_4 += 1;
|
||||
int n_55 = (int)l_4;
|
||||
if (n_55 > 904) {
|
||||
n_55 += 12;
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 35: {
|
||||
_v_98 -= 64;
|
||||
if (_v_98 == 791) {
|
||||
_v_98 += 75;
|
||||
}
|
||||
else if (_v_98 <= 662) {
|
||||
_v_98 -= 11;
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
default:
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
System.out.println(siffUnpacklo);
|
||||
|
||||
|
||||
Retrofit.Builder builder = new Retrofit.Builder();
|
||||
boolean b_centern = false;
|
||||
|
||||
//支持返回Call<String>
|
||||
builder.addConverterFactory(ScalarsConverterFactory.create());
|
||||
float numX = 7157.0f;
|
||||
|
||||
//支持直接格式化json返回Bean对象
|
||||
builder.addConverterFactory(GsonConverterFactory.create());
|
||||
double release_lrz = 689.0;
|
||||
while (release_lrz >= 196) { break; }
|
||||
|
||||
//支持RxJava
|
||||
builder.addCallAdapterFactory(RxJava2CallAdapterFactory.create());
|
||||
long tiktokA = 8228L;
|
||||
if (tiktokA > 19) {}
|
||||
builder.baseUrl(baseUrl);
|
||||
long recommandO = 4800L;
|
||||
while (recommandO > 147) { break; }
|
||||
OkHttpClient controllerController = setClient();
|
||||
int agreementI = 3667;
|
||||
if (agreementI <= 184) {}
|
||||
System.out.println(agreementI);
|
||||
if (controllerController != null) {
|
||||
builder.client(controllerController);
|
||||
String followlistT = "ftvcl";
|
||||
OkHttpClient client = setClient();
|
||||
if (client != null) {
|
||||
builder.client(client);
|
||||
}
|
||||
return builder.build();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 设置OkHttpClient,添加拦截器等
|
||||
*
|
||||
* @return 可以返回为null
|
||||
*/
|
||||
protected abstract OkHttpClient setClient();
|
||||
}
|
||||
|
@ -0,0 +1,155 @@
|
||||
package com.shortdrama.jelly.zyreotv.service;
|
||||
|
||||
import android.app.NotificationChannel;
|
||||
import android.app.NotificationManager;
|
||||
import android.app.PendingIntent;
|
||||
import android.content.Intent;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.media.RingtoneManager;
|
||||
import android.net.Uri;
|
||||
import android.os.Build;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.core.app.NotificationCompat;
|
||||
|
||||
import com.bumptech.glide.Glide;
|
||||
import com.bumptech.glide.request.target.CustomTarget;
|
||||
import com.bumptech.glide.request.transition.Transition;
|
||||
import com.google.firebase.messaging.FirebaseMessagingService;
|
||||
import com.google.firebase.messaging.RemoteMessage;
|
||||
import com.shortdrama.jelly.zyreotv.R;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.ITItem;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.AExtractionActivity;
|
||||
|
||||
import org.greenrobot.eventbus.EventBus;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
public class MyFirebaseMessageService extends FirebaseMessagingService {
|
||||
|
||||
|
||||
private int notificationId = 0;
|
||||
|
||||
@Override
|
||||
public void onMessageReceived(@NonNull RemoteMessage message) {
|
||||
super.onMessageReceived(message);
|
||||
sendMessageNotify(message.getData());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onNewToken(@NonNull String token) {
|
||||
super.onNewToken(token);
|
||||
EventBus.getDefault()
|
||||
.post(ITItem.CONSTANTS_FireBaseToken_Refresh_Event);
|
||||
}
|
||||
|
||||
public void sendMessageNotify(Map<String, String> data) {
|
||||
Intent intent = new Intent(this, AExtractionActivity.class);
|
||||
String title = "";
|
||||
String messageBody = "";
|
||||
String poster = "";
|
||||
|
||||
if (!data.isEmpty()) {
|
||||
if (data.containsKey("message_title")) {
|
||||
title = data.get("message_title").toString();
|
||||
intent.putExtra("title", title);
|
||||
}
|
||||
if (data.containsKey("message_body")) {
|
||||
messageBody = data.get("message_body").toString();
|
||||
}
|
||||
if (data.containsKey("message_id")) {
|
||||
String message_id = data.get("message_id");
|
||||
intent.putExtra("message_id", message_id);
|
||||
}
|
||||
if (data.containsKey("path")) {
|
||||
String path = data.get("path");
|
||||
if (path.equals("detail")) {
|
||||
intent.putExtra("path", "detail");
|
||||
if (data.containsKey("short_play_id")) {
|
||||
String short_play_id = data.get("short_play_id");
|
||||
intent.putExtra("short_play_id", short_play_id);
|
||||
}
|
||||
}
|
||||
if (path.equals("promotion")) {
|
||||
intent.putExtra("path", "promotion");
|
||||
}
|
||||
if (path.equals("orderDetail")) {
|
||||
intent.putExtra("path", "orderDetail");
|
||||
}
|
||||
if (path.equals("feedback")) {
|
||||
intent.putExtra("path", "feedback");
|
||||
}
|
||||
|
||||
}
|
||||
if (data.containsKey("poster")) {
|
||||
poster = data.get("poster").toString();
|
||||
String finalTitle = title;
|
||||
String finalMessageBody = messageBody;
|
||||
Glide.with(this)
|
||||
.asBitmap()
|
||||
.load(poster)
|
||||
.into(new CustomTarget<Bitmap>() {
|
||||
|
||||
|
||||
@Override
|
||||
public void onResourceReady(@NonNull Bitmap resource, @Nullable Transition<? super Bitmap> transition) {
|
||||
setNotification(intent, finalTitle, finalMessageBody, resource);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLoadCleared(@Nullable Drawable placeholder) {
|
||||
|
||||
}
|
||||
});
|
||||
} else {
|
||||
setNotification(intent, title, messageBody, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void setNotification(Intent intent, String title, String messageBody, Bitmap bitmap) {
|
||||
PendingIntent pendingIntent;
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
|
||||
pendingIntent = PendingIntent.getActivity(this, 0, intent, PendingIntent.FLAG_MUTABLE | PendingIntent.FLAG_UPDATE_CURRENT);
|
||||
} else {
|
||||
pendingIntent = PendingIntent.getActivity(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);
|
||||
}
|
||||
String channelId = getString(R.string.default_notification_channel_id);
|
||||
Uri defaultSoundUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);
|
||||
NotificationCompat.Builder notificationBuilder;
|
||||
if (bitmap != null) {
|
||||
notificationBuilder = new NotificationCompat.Builder(this, channelId)
|
||||
.setSmallIcon(R.mipmap.ic_launcher)
|
||||
.setContentTitle(title)
|
||||
.setContentText(messageBody)
|
||||
.setAutoCancel(true)
|
||||
.setSound(defaultSoundUri)
|
||||
.setLargeIcon(bitmap)
|
||||
.setContentIntent(pendingIntent);
|
||||
} else {
|
||||
notificationBuilder = new NotificationCompat.Builder(this, channelId)
|
||||
.setSmallIcon(R.mipmap.ic_launcher)
|
||||
.setContentTitle(title)
|
||||
.setContentText(messageBody)
|
||||
.setAutoCancel(true)
|
||||
.setSound(defaultSoundUri)
|
||||
.setContentIntent(pendingIntent);
|
||||
}
|
||||
NotificationManager notificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
|
||||
// Since android Oreo notification channel is needed.
|
||||
NotificationChannel channel = null;
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||
channel = new NotificationChannel(
|
||||
channelId,
|
||||
getString(R.string.default_notification_channel_id),
|
||||
NotificationManager.IMPORTANCE_DEFAULT);
|
||||
notificationManager.createNotificationChannel(channel);
|
||||
}
|
||||
|
||||
notificationId++;
|
||||
notificationManager.notify(notificationId, notificationBuilder.build());
|
||||
|
||||
}
|
||||
}
|
@ -2,187 +2,516 @@
|
||||
package com.shortdrama.jelly.zyreotv.topics.abslRwgt;
|
||||
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
|
||||
import static android.view.View.GONE;
|
||||
import static android.view.View.VISIBLE;
|
||||
|
||||
import androidx.activity.result.ActivityResultLauncher;
|
||||
import androidx.activity.result.contract.ActivityResultContracts;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.appcompat.widget.AppCompatTextView;
|
||||
import androidx.core.content.ContextCompat;
|
||||
import androidx.core.util.Pair;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.lifecycle.Observer;
|
||||
import androidx.lifecycle.ViewModelProvider;
|
||||
import androidx.media3.common.C;
|
||||
import androidx.viewpager2.widget.ViewPager2;
|
||||
|
||||
import android.Manifest;
|
||||
import android.content.ClipData;
|
||||
import android.content.ClipboardManager;
|
||||
import android.content.Intent;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.text.TextUtils;
|
||||
import android.view.View;
|
||||
|
||||
import com.bumptech.glide.Glide;
|
||||
import com.bumptech.glide.load.engine.DiskCacheStrategy;
|
||||
import com.bumptech.glide.request.RequestOptions;
|
||||
import com.google.android.gms.common.GoogleApiAvailability;
|
||||
import com.google.android.gms.tasks.OnCompleteListener;
|
||||
import com.google.android.gms.tasks.Task;
|
||||
import com.google.firebase.FirebaseApp;
|
||||
import com.google.firebase.messaging.FirebaseMessaging;
|
||||
import com.shortdrama.jelly.zyreotv.R;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.ITItem;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.LRewards;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.LogUtils;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.NotifyUtils;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.REnterCircle;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.TIndicator;
|
||||
import com.shortdrama.jelly.zyreotv.databinding.TManifestServiceBinding;
|
||||
import com.shortdrama.jelly.zyreotv.dlsym.IMACloseStroke;
|
||||
import com.shortdrama.jelly.zyreotv.dlsym.KGZyreotv;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.app.GSAppViewModel;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.decbn.UBJPrivateOllowFragment;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.movepage.VItemGradlewFragment;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.poolref.CClickFragment;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.pragma.IDDetailsRoundActivity;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.pragma.NotifyDialog;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.reach.GHRHeaddefaultFragment;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.vars.FLSFragmentOogleFragment;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.web.ZYTFeedBackListActivity;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.web.ZYTRewardsFragment;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.web.ZYTWebViewIndexActivity;
|
||||
import com.shortdrama.jelly.zyreotv.topics.dts.DOTObserverAndroid;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.GSDeepLinkResBean;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.GSMainEpisodeBean;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.LSQExampleCloseBean;
|
||||
|
||||
|
||||
import org.greenrobot.eventbus.EventBus;
|
||||
import org.greenrobot.eventbus.Subscribe;
|
||||
import org.greenrobot.eventbus.ThreadMode;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
|
||||
public class AExtractionActivity extends IDDetailsRoundActivity<TManifestServiceBinding> implements View.OnClickListener {
|
||||
|
||||
|
||||
private static final int mcontextPurchase = 0;
|
||||
private int mcontextPurchase = 0;
|
||||
private View ideoLeft;
|
||||
private VItemGradlewFragment jobDetailsFragment;
|
||||
private FLSFragmentOogleFragment tipPrivate__Fragment;
|
||||
private GHRHeaddefaultFragment callTabbarFragment;
|
||||
private UBJPrivateOllowFragment numTitleFragment;
|
||||
|
||||
private ZYTRewardsFragment rewardsFragment;
|
||||
|
||||
TManifestServiceBinding binding;
|
||||
|
||||
private DOTObserverAndroid keywordsFooterFragment;
|
||||
|
||||
|
||||
private GSAppViewModel gsAppViewModel;
|
||||
|
||||
private int shortPlayId = 0;
|
||||
private int videoId = 0;
|
||||
|
||||
private boolean needSave = false;
|
||||
|
||||
private GSMainEpisodeBean gsMainEpisodeBean;
|
||||
|
||||
private Handler handler = new Handler();
|
||||
private Runnable onLineRunnable;
|
||||
|
||||
public ActivityResultLauncher<Intent> resultLauncher;
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
gsAppViewModel = new ViewModelProvider(this).get(GSAppViewModel.class);
|
||||
getWindow().setNavigationBarColor(getResources().getColor(android.R.color.black));
|
||||
ArrayList<Double> coinsR = new ArrayList<Double>();
|
||||
coinsR.add(717.0);
|
||||
coinsR.add(64.0);
|
||||
coinsR.add(49.0);
|
||||
coinsR.add(60.0);
|
||||
coinsR.add(555.0);
|
||||
coinsR.add(750.0);
|
||||
while (coinsR.size() > 4) { break; }
|
||||
EventBus.getDefault().register(this);
|
||||
binding = TManifestServiceBinding.inflate(getLayoutInflater());
|
||||
ArrayList<Boolean> private_aqE = new ArrayList<Boolean>();
|
||||
private_aqE.add(false);
|
||||
private_aqE.add(true);
|
||||
private_aqE.add(true);
|
||||
private_aqE.add(true);
|
||||
if (private_aqE.size() > 85) {}
|
||||
setContentView(binding.getRoot());
|
||||
ArrayList<Integer> seekK = new ArrayList<Integer>();
|
||||
seekK.add(347);
|
||||
seekK.add(917);
|
||||
seekK.add(336);
|
||||
seekK.add(683);
|
||||
seekK.add(388);
|
||||
if (seekK.contains("E")) {}
|
||||
System.out.println(seekK);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void initView() {
|
||||
path = getIntent().getStringExtra("path");
|
||||
short_play_id = getIntent().getStringExtra("short_play_id");
|
||||
message_id = getIntent().getStringExtra("message_id");
|
||||
title = getIntent().getStringExtra("title");
|
||||
List<Fragment> fragments = new ArrayList<>();
|
||||
boolean showe = false;
|
||||
|
||||
jobDetailsFragment = VItemGradlewFragment.newInstance();
|
||||
long shareU = 9907L;
|
||||
if (shareU == 136) {}
|
||||
tipPrivate__Fragment = FLSFragmentOogleFragment.newInstance();
|
||||
float allv = 3954.0f;
|
||||
while (allv < 14) { break; }
|
||||
System.out.println(allv);
|
||||
rewardsFragment = ZYTRewardsFragment.newInstance();
|
||||
callTabbarFragment = GHRHeaddefaultFragment.newInstance();
|
||||
float gradients = 9260.0f;
|
||||
while (gradients > 71) { break; }
|
||||
System.out.println(gradients);
|
||||
numTitleFragment = UBJPrivateOllowFragment.newInstance();
|
||||
HashMap<String,String> moreY = new HashMap<String,String>();
|
||||
moreY.put("begun", "samples");
|
||||
moreY.put("variable", "many");
|
||||
moreY.put("stringify", "lost");
|
||||
moreY.put("sockets", "plane");
|
||||
if (moreY.size() > 110) {}
|
||||
|
||||
fragments.add(jobDetailsFragment);
|
||||
ArrayList<Long> alertv = new ArrayList<Long>();
|
||||
alertv.add(956L);
|
||||
alertv.add(0L);
|
||||
alertv.add(114L);
|
||||
if (alertv.size() > 177) {}
|
||||
fragments.add(tipPrivate__Fragment);
|
||||
HashMap<String,String> teenagerd = new HashMap<String,String>();
|
||||
teenagerd.put("bins", "bitvecs");
|
||||
teenagerd.put("mainlist", "cold");
|
||||
teenagerd.put("lottie", "radix");
|
||||
while (teenagerd.size() > 194) { break; }
|
||||
fragments.add(rewardsFragment);
|
||||
fragments.add(callTabbarFragment);
|
||||
HashMap<String,Integer> leftJ = new HashMap<String,Integer>();
|
||||
leftJ.put("smoothness", 942);
|
||||
leftJ.put("standardize", 584);
|
||||
leftJ.put("dcbz", 948);
|
||||
leftJ.put("ipad", 195);
|
||||
leftJ.put("quantizers", 440);
|
||||
leftJ.put("negotiation", 778);
|
||||
while (leftJ.size() > 56) { break; }
|
||||
fragments.add(numTitleFragment);
|
||||
ArrayList<Float> eventh = new ArrayList<Float>();
|
||||
eventh.add(937.0f);
|
||||
eventh.add(339.0f);
|
||||
while (eventh.size() > 139) { break; }
|
||||
keywordsFooterFragment = new DOTObserverAndroid(this);
|
||||
int showG = 5573;
|
||||
keywordsFooterFragment.setFragmentList(fragments);
|
||||
HashMap<String,Integer> todayE = new HashMap<String,Integer>();
|
||||
todayE.put("xmul", 123);
|
||||
todayE.put("nconf", 313);
|
||||
todayE.put("autorotation", 212);
|
||||
todayE.put("flatness", 250);
|
||||
if (todayE.size() > 68) {}
|
||||
binding.container.setUserInputEnabled(false);
|
||||
binding.container.setAdapter(keywordsFooterFragment);
|
||||
HashMap<String,Double> errorb = new HashMap<String,Double>();
|
||||
errorb.put("diamond", 332.0);
|
||||
errorb.put("mallocz", 621.0);
|
||||
errorb.put("xform", 256.0);
|
||||
errorb.put("reminders", 281.0);
|
||||
while (errorb.size() > 25) { break; }
|
||||
binding.container.setCurrentItem(mcontextPurchase, false);
|
||||
String rulesv = "labelns";
|
||||
if (rulesv.equals("8")) {}
|
||||
|
||||
|
||||
|
||||
binding.tvVtMainHome.setOnClickListener(this);
|
||||
String footerr = "scalar";
|
||||
if (footerr.length() > 191) {}
|
||||
binding.tvVtMainExplore.setOnClickListener(this);
|
||||
float round7 = 7810.0f;
|
||||
while (round7 > 5) { break; }
|
||||
binding.tvVtMainReward.setOnClickListener(this);
|
||||
binding.tvVtMainMylist.setOnClickListener(this);
|
||||
ArrayList<Integer> recommandO = new ArrayList<Integer>();
|
||||
recommandO.add(66);
|
||||
recommandO.add(921);
|
||||
recommandO.add(403);
|
||||
recommandO.add(356);
|
||||
recommandO.add(802);
|
||||
recommandO.add(296);
|
||||
if (recommandO.contains("P")) {}
|
||||
binding.tvVtMainMe.setOnClickListener(this);
|
||||
String tabR = "joined";
|
||||
while (tabR.length() > 175) { break; }
|
||||
|
||||
ideoLeft = binding.tvVtMainHome;
|
||||
String affffffq = "net";
|
||||
while (affffffq.length() > 183) { break; }
|
||||
System.out.println(affffffq);
|
||||
suppressCreatorRectPaintProfile();
|
||||
ArrayList<Float> liveA = new ArrayList<Float>();
|
||||
liveA.add(823.0f);
|
||||
liveA.add(992.0f);
|
||||
liveA.add(84.0f);
|
||||
liveA.add(769.0f);
|
||||
liveA.add(774.0f);
|
||||
liveA.add(603.0f);
|
||||
if (liveA.size() > 111) {}
|
||||
binding.container.registerOnPageChangeCallback(new ViewPager2.OnPageChangeCallback() {
|
||||
@Override
|
||||
public void onPageSelected(int position) {
|
||||
super.onPageSelected(position);
|
||||
mcontextPurchase = position;
|
||||
if (mcontextPurchase != 0) {
|
||||
binding.layoutMainbottom.getRoot().setVisibility(GONE);
|
||||
} else {
|
||||
getBottomData();
|
||||
}
|
||||
}
|
||||
});
|
||||
binding.layoutMainbottom.getRoot().setOnClickListener(v -> {
|
||||
if (gsMainEpisodeBean != null) {
|
||||
LRewards.startPlayerDetails(AExtractionActivity.this, gsMainEpisodeBean.getShort_play_id(), gsMainEpisodeBean.getShort_play_video_id());
|
||||
binding.layoutMainbottom.getRoot().setVisibility(GONE);
|
||||
}
|
||||
});
|
||||
binding.layoutMainbottom.ivMainbottomClose.setOnClickListener(v -> {
|
||||
TIndicator.saveString(ITItem.CONSTANTS_Main_Bottom_VideoInfo, "");
|
||||
binding.layoutMainbottom.getRoot().setVisibility(GONE);
|
||||
});
|
||||
|
||||
if (!TIndicator.getToken().isEmpty()) {
|
||||
userViewModel.enterApp();
|
||||
userViewModel.onlineApp();
|
||||
onLineRunnable = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
userViewModel.onlineApp();
|
||||
handler.postDelayed(this, 600000); // 每 10 分钟执行一次
|
||||
}
|
||||
};
|
||||
handler.post(onLineRunnable); // 启动
|
||||
}
|
||||
|
||||
GoogleApiAvailability.getInstance().makeGooglePlayServicesAvailable(this).addOnCompleteListener(new OnCompleteListener<Void>() {
|
||||
@Override
|
||||
public void onComplete(@NonNull Task<Void> task) {
|
||||
if (task.isSuccessful()) {
|
||||
askNotificationPermission();
|
||||
}
|
||||
}
|
||||
});
|
||||
//FirebaseApp.initializeApp(this);
|
||||
resultLauncher = registerForActivityResult(new ActivityResultContracts.StartActivityForResult(), result -> {
|
||||
if (result.getResultCode() == RESULT_OK) {
|
||||
boolean isEnable = NotifyUtils.isNotificationEnable(this);
|
||||
if (isEnable) {
|
||||
firebaseToken();
|
||||
userViewModel.opendNotify();
|
||||
}
|
||||
}
|
||||
});
|
||||
binding.getRoot().postDelayed(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
notificationParse();
|
||||
}
|
||||
},700);
|
||||
|
||||
|
||||
}
|
||||
|
||||
private String path = "";
|
||||
private String short_play_id = "";
|
||||
private String message_id = "";
|
||||
private String title = "";
|
||||
|
||||
@Override
|
||||
protected void onNewIntent(Intent intent) {
|
||||
super.onNewIntent(intent);
|
||||
if (intent != null) {
|
||||
path = intent.getStringExtra("path");
|
||||
short_play_id = intent.getStringExtra("short_play_id");
|
||||
message_id = intent.getStringExtra("message_id");
|
||||
title = intent.getStringExtra("title");
|
||||
notificationParse();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void notificationParse() {
|
||||
|
||||
if (!TextUtils.isEmpty(message_id)) {
|
||||
if(!message_id.equals("0")){
|
||||
gsAppViewModel.sendReport(message_id, title);
|
||||
}
|
||||
|
||||
}
|
||||
if(TextUtils.isEmpty(path)){
|
||||
return;
|
||||
}
|
||||
if (path.equals("detail") && !TextUtils.isEmpty(short_play_id)) {
|
||||
binding.getRoot().postDelayed(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
LRewards.startPlayerDetails(AExtractionActivity.this, Integer.parseInt(short_play_id), 0);
|
||||
}
|
||||
}, 700);
|
||||
}
|
||||
if (path.equals("promotion")) {
|
||||
feedbackStatusAttributeLanguageDatabase();
|
||||
ideoLeft = binding.tvVtMainReward;
|
||||
suppressCreatorRectPaintProfile();
|
||||
}
|
||||
if (path.equals("orderDetail")) {
|
||||
LRewards.startWallet(AExtractionActivity.this);
|
||||
}
|
||||
if (path.equals("feedback")) {
|
||||
binding.getRoot().postDelayed(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (TextUtils.isEmpty(message_id)) {
|
||||
TIndicator.saveString(ITItem.Constants_FeedBackList_ID, message_id);
|
||||
}
|
||||
LRewards.startWebViewActivity(AExtractionActivity.this, KGZyreotv.GleeStream_Feedback_Details, "FeedBack Details", ZYTWebViewIndexActivity.class);
|
||||
|
||||
}
|
||||
}, 700);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
private void askNotificationPermission() {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
||||
if (ContextCompat.checkSelfPermission(
|
||||
this, Manifest.permission.POST_NOTIFICATIONS
|
||||
) == PackageManager.PERMISSION_GRANTED
|
||||
) {
|
||||
firebaseToken();
|
||||
userViewModel.opendNotify();
|
||||
} else {
|
||||
openNotificationDialog();
|
||||
}
|
||||
} else {
|
||||
if (NotifyUtils.isNotificationEnable(this)) {
|
||||
firebaseToken();
|
||||
userViewModel.opendNotify();
|
||||
} else {
|
||||
openNotificationDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void openNotificationDialog() {
|
||||
NotifyDialog notifyDialog = new NotifyDialog(this);
|
||||
notifyDialog.setOnSureListener(new NotifyDialog.OnSureListener() {
|
||||
@Override
|
||||
public void toOpen() {
|
||||
NotifyUtils.openSettingNotification(AExtractionActivity.this, resultLauncher);
|
||||
}
|
||||
});
|
||||
notifyDialog.show();
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void logic() {
|
||||
|
||||
gsAppViewModel.getW2aSelfAttributionLiveData().observe(this, new Observer<IMACloseStroke<GSDeepLinkResBean>>() {
|
||||
@Override
|
||||
public void onChanged(IMACloseStroke<GSDeepLinkResBean> gsDeepLinkResBeanIMACloseStroke) {
|
||||
if (gsDeepLinkResBeanIMACloseStroke != null) {
|
||||
if (needSave) {
|
||||
adjustToDetail();
|
||||
}
|
||||
} else {
|
||||
if (needSave) {
|
||||
adjustToDetail();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
public void firebaseToken() {
|
||||
FirebaseMessaging.getInstance().getToken().addOnCompleteListener(new OnCompleteListener<String>() {
|
||||
@Override
|
||||
public void onComplete(@NonNull Task<String> task) {
|
||||
if (task.isSuccessful()) {
|
||||
String token = task.getResult();
|
||||
gsAppViewModel.uploadFCMToken(token);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||
public void onEvent(String event) {
|
||||
// 处理事件
|
||||
if (ITItem.CONSTANTS_Main_Bottom_VideoInfo.equals(event)) {
|
||||
getBottomData();
|
||||
}
|
||||
if (ITItem.Constants_AppEnter.equals(event)) {
|
||||
userViewModel.enterApp();
|
||||
}
|
||||
if (ITItem.Constants_AppLeave.equals(event)) {
|
||||
userViewModel.leaveApp();
|
||||
}
|
||||
if (ITItem.Constants_AppOnline.equals(event)) {
|
||||
userViewModel.onlineApp();
|
||||
}
|
||||
if (ITItem.CONSTANTS_FireBaseToken_Refresh_Event.equals(event)) {
|
||||
firebaseToken();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
private void adjustToDetail() {
|
||||
binding.getRoot().postDelayed(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
LRewards.startPlayerDetails(AExtractionActivity.this, shortPlayId, 0);
|
||||
TIndicator.saveString(ITItem.Constants_DeepLinkData_URL, "");
|
||||
cleanClipData();
|
||||
|
||||
}
|
||||
}, 1000);
|
||||
|
||||
needSave = false;
|
||||
}
|
||||
|
||||
private String getClipContent() {
|
||||
ClipboardManager clipboardManager = (ClipboardManager) getSystemService(
|
||||
CLIPBOARD_SERVICE);
|
||||
ClipData primaryClip = clipboardManager.getPrimaryClip();
|
||||
if (primaryClip != null) {
|
||||
int itemCount = primaryClip.getItemCount();
|
||||
if (clipboardManager.hasPrimaryClip() && itemCount > 0) {
|
||||
ClipData.Item item = primaryClip.getItemAt(0);
|
||||
return item.getText().toString();
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
private void cleanClipData() {
|
||||
ClipboardManager clipboardManager = (ClipboardManager) getSystemService(
|
||||
CLIPBOARD_SERVICE);
|
||||
clipboardManager.setPrimaryClip(ClipData.newPlainText("", ""));
|
||||
}
|
||||
|
||||
private Pair parseVideoAndShortPlayIds(String clipData) {
|
||||
// 提取查询字符串
|
||||
// 提取查询字符串
|
||||
String videoId = "0";
|
||||
String shortPlayId = "0";
|
||||
int queryStartIndex = clipData.indexOf('?');
|
||||
String queryString = "";
|
||||
if (queryStartIndex != -1) {
|
||||
queryString = clipData.substring(queryStartIndex + 1);
|
||||
}
|
||||
// 使用正则表达式匹配 video_id 和 short_play_id
|
||||
Pattern patternVideoId = Pattern.compile("video_id=(\\d+)");
|
||||
Pattern patternShortPlayId = Pattern.compile("short_play_id=(\\d+)");
|
||||
// 匹配 video_id 和 short_play_id
|
||||
Matcher matcher = patternVideoId.matcher(queryString);
|
||||
Matcher matcher2 = patternShortPlayId.matcher(queryString);
|
||||
// 匹配 URL
|
||||
Matcher matchResult = matcher.find() ? matcher : null;
|
||||
Matcher matchResult2 = matcher2.find() ? matcher2 : null;
|
||||
if (matchResult != null) {
|
||||
videoId = matchResult.group(1);
|
||||
}
|
||||
if (matchResult2 != null) {
|
||||
shortPlayId = matchResult2.group(1);
|
||||
}
|
||||
return new Pair(videoId, shortPlayId);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onResume() {
|
||||
super.onResume();
|
||||
getWindow().getDecorView().post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
String clipString = getClipContent();
|
||||
LogUtils.d("clipString: " + clipString);
|
||||
if (clipString.startsWith("[QJ]")) {
|
||||
Pair extractVideoInfo = parseVideoAndShortPlayIds(clipString);
|
||||
shortPlayId = Integer.parseInt(extractVideoInfo.second.toString());
|
||||
videoId = Integer.parseInt(extractVideoInfo.first.toString());
|
||||
LogUtils.d("urlString: " + clipString + " shortPlayId: " + shortPlayId + " videoId==" + videoId);
|
||||
if (shortPlayId != 0) {
|
||||
TIndicator.saveString(ITItem.Constants_Page_video_id, extractVideoInfo.second.toString());
|
||||
needSave = true;
|
||||
w2aSelfAttribution(clipString);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
binding.getRoot().postDelayed(() -> {
|
||||
String ddl = TIndicator.getString(ITItem.Constants_DeepLinkData_URL, "");
|
||||
LogUtils.d("clipString: ddl " + ddl);
|
||||
if (!ddl.isEmpty()) {
|
||||
w2aSelfAttribution(ddl);
|
||||
// 定义正则表达式
|
||||
Pattern pattern = Pattern.compile("short_play_id=(d+).*");
|
||||
Matcher matcher = pattern.matcher(ddl);
|
||||
// 匹配 URL
|
||||
Matcher matchResult = matcher.find() ? matcher : null;
|
||||
if (matchResult != null) {
|
||||
String shortPlayId = matchResult.group(1);
|
||||
int shortId = Integer.parseInt(shortPlayId);
|
||||
if (shortId != 0) {
|
||||
binding.getRoot().postDelayed(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
LRewards.startPlayerDetails(AExtractionActivity.this, shortId, 0);
|
||||
TIndicator.saveString(ITItem.Constants_DeepLinkData_URL, "");
|
||||
}
|
||||
}, 200);
|
||||
}
|
||||
} else {
|
||||
TIndicator.saveString(ITItem.Constants_DeepLinkData_URL, "");
|
||||
}
|
||||
}
|
||||
}, 1500);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDestroy() {
|
||||
handler.removeCallbacks(onLineRunnable);
|
||||
super.onDestroy();
|
||||
EventBus.getDefault().unregister(this);
|
||||
}
|
||||
|
||||
public void getBottomData() {
|
||||
String videoInfo = TIndicator.getString(ITItem.CONSTANTS_Main_Bottom_VideoInfo, "");
|
||||
if (!videoInfo.isEmpty()) {
|
||||
gsMainEpisodeBean = REnterCircle.getObjFromJSON(videoInfo, GSMainEpisodeBean.class);
|
||||
binding.layoutMainbottom.tvVideoplayerName.setText(gsMainEpisodeBean.getEpisode_name());
|
||||
binding.layoutMainbottom.tvEpisodeCurrent.setText("Last time Episode:" + gsMainEpisodeBean.getEpisode());
|
||||
Glide.with(AExtractionActivity.this)
|
||||
.load(gsMainEpisodeBean.getImageurl())
|
||||
.placeholder(R.mipmap.unselect_register_4_ideo)
|
||||
.into(binding.layoutMainbottom.ivMainbottom);
|
||||
if (mcontextPurchase == 0) {
|
||||
binding.layoutMainbottom.getRoot().setVisibility(VISIBLE);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void w2aSelfAttribution(String data) {
|
||||
if (data != null && data.contains("follow")) {
|
||||
Pattern pattern = Pattern.compile("facebook_id=(\\d+).*");
|
||||
Matcher matcher = pattern.matcher(data);
|
||||
if (matcher.find()) {
|
||||
String facebookId = matcher.group(1);
|
||||
gsAppViewModel.deepFb(facebookId);
|
||||
}
|
||||
}
|
||||
if (data != null) {
|
||||
gsAppViewModel.w2aSelfAttribution(data);
|
||||
}
|
||||
}
|
||||
|
||||
private void feedbackStatusAttributeLanguageDatabase() {
|
||||
@ -190,11 +519,14 @@ public class AExtractionActivity extends IDDetailsRoundActivity<TManifestService
|
||||
binding.tvVtMainHome.setTextColor(
|
||||
getResources().getColor(R.color.videoIntentStroke));
|
||||
boolean stopm = true;
|
||||
if (stopm) {}
|
||||
if (stopm) {
|
||||
}
|
||||
binding.tvVtMainHome.setCompoundDrawablesWithIntrinsicBounds(
|
||||
null, getResources().getDrawable(R.mipmap.episodes_recharge_modity), null, null);
|
||||
long backgroundK = 9271L;
|
||||
while (backgroundK < 9) { break; }
|
||||
while (backgroundK < 9) {
|
||||
break;
|
||||
}
|
||||
|
||||
binding.tvVtMainExplore.setTextColor(getResources().getColor(R.color.videoIntentStroke));
|
||||
ArrayList<Integer> successI = new ArrayList<Integer>();
|
||||
@ -202,7 +534,8 @@ public class AExtractionActivity extends IDDetailsRoundActivity<TManifestService
|
||||
successI.add(961);
|
||||
successI.add(397);
|
||||
successI.add(521);
|
||||
if (successI.size() > 76) {}
|
||||
if (successI.size() > 76) {
|
||||
}
|
||||
binding.tvVtMainExplore.setCompoundDrawablesWithIntrinsicBounds(
|
||||
null, getResources().getDrawable(R.mipmap.single_launcher), null, null);
|
||||
ArrayList<Float> jobz = new ArrayList<Float>();
|
||||
@ -210,11 +543,16 @@ public class AExtractionActivity extends IDDetailsRoundActivity<TManifestService
|
||||
jobz.add(161.0f);
|
||||
jobz.add(612.0f);
|
||||
jobz.add(361.0f);
|
||||
if (jobz.contains("c")) {}
|
||||
if (jobz.contains("c")) {
|
||||
}
|
||||
|
||||
binding.tvVtMainReward.setTextColor(getResources().getColor(R.color.videoIntentStroke));
|
||||
binding.tvVtMainReward.setCompoundDrawablesWithIntrinsicBounds(
|
||||
null, getResources().getDrawable(R.mipmap.ic_rewards_n), null, null);
|
||||
binding.tvVtMainMylist.setTextColor(getResources().getColor(R.color.videoIntentStroke));
|
||||
int pplicationg = 4000;
|
||||
if (pplicationg >= 49) {}
|
||||
if (pplicationg >= 49) {
|
||||
}
|
||||
System.out.println(pplicationg);
|
||||
binding.tvVtMainMylist.setCompoundDrawablesWithIntrinsicBounds(
|
||||
null, getResources().getDrawable(R.mipmap.google_layout_ommon), null, null);
|
||||
@ -222,7 +560,9 @@ public class AExtractionActivity extends IDDetailsRoundActivity<TManifestService
|
||||
|
||||
binding.tvVtMainMe.setTextColor(getResources().getColor(R.color.videoIntentStroke));
|
||||
boolean agreementA = false;
|
||||
while (!agreementA) { break; }
|
||||
while (!agreementA) {
|
||||
break;
|
||||
}
|
||||
binding.tvVtMainMe.setCompoundDrawablesWithIntrinsicBounds(
|
||||
null, getResources().getDrawable(R.mipmap.android_toast), null, null);
|
||||
String strokel = "argbi";
|
||||
@ -232,24 +572,38 @@ public class AExtractionActivity extends IDDetailsRoundActivity<TManifestService
|
||||
if (ideoLeft == binding.tvVtMainHome) {
|
||||
setClickItem(0, binding.tvVtMainHome, R.mipmap.unselect_manifest);
|
||||
int cateX = 8113;
|
||||
while (cateX >= 49) { break; }
|
||||
while (cateX >= 49) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ideoLeft == binding.tvVtMainExplore) {
|
||||
setClickItem(1, binding.tvVtMainExplore, R.mipmap.select_homefragment_test);
|
||||
float tipE = 5953.0f;
|
||||
if (tipE > 164) {}
|
||||
if (tipE > 164) {
|
||||
}
|
||||
|
||||
}
|
||||
if (ideoLeft == binding.tvVtMainReward) {
|
||||
setClickItem(2, binding.tvVtMainReward, R.mipmap.ic_rewards_selector);
|
||||
float tipE = 5953.0f;
|
||||
if (tipE > 164) {
|
||||
}
|
||||
|
||||
}
|
||||
if (ideoLeft == binding.tvVtMainMylist) {
|
||||
setClickItem(2, binding.tvVtMainMylist, R.mipmap.share_video);
|
||||
setClickItem(3, binding.tvVtMainMylist, R.mipmap.share_video);
|
||||
int collectioncancelo = 9638;
|
||||
while (collectioncancelo > 81) { break; }
|
||||
while (collectioncancelo > 81) {
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
if (ideoLeft == binding.tvVtMainMe) {
|
||||
setClickItem(3, binding.tvVtMainMe, R.mipmap.local_4_activity_tatus);
|
||||
setClickItem(4, binding.tvVtMainMe, R.mipmap.local_4_activity_tatus);
|
||||
double homel = 7729.0;
|
||||
while (homel == 37) { break; }
|
||||
while (homel == 37) {
|
||||
break;
|
||||
}
|
||||
System.out.println(homel);
|
||||
|
||||
}
|
||||
@ -259,7 +613,8 @@ public class AExtractionActivity extends IDDetailsRoundActivity<TManifestService
|
||||
public void setClickItem(int index, AppCompatTextView textView, int resource) {
|
||||
binding.container.setCurrentItem(index, false);
|
||||
float recommendr = 9338.0f;
|
||||
if (recommendr >= 58) {}
|
||||
if (recommendr >= 58) {
|
||||
}
|
||||
textView.setTextColor(
|
||||
getResources().getColor(R.color.zyreotvExploreAbout));
|
||||
boolean nameM = true;
|
||||
@ -278,10 +633,14 @@ public class AExtractionActivity extends IDDetailsRoundActivity<TManifestService
|
||||
double errorq = 8925.0;
|
||||
ideoLeft = v;
|
||||
boolean stringsA = false;
|
||||
while (!stringsA) { break; }
|
||||
while (!stringsA) {
|
||||
break;
|
||||
}
|
||||
suppressCreatorRectPaintProfile();
|
||||
int shapev = 7448;
|
||||
while (shapev < 12) { break; }
|
||||
while (shapev < 12) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -11,16 +11,16 @@ import java.util.HashMap;
|
||||
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
|
||||
import androidx.core.splashscreen.SplashScreen;
|
||||
|
||||
import android.net.Uri;
|
||||
import android.text.TextUtils;
|
||||
|
||||
import com.shortdrama.jelly.zyreotv.R;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.ITItem;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.TIndicator;
|
||||
import com.shortdrama.jelly.zyreotv.databinding.GEventBottomBinding;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.pragma.IDDetailsRoundActivity;
|
||||
|
||||
|
||||
|
||||
public class IIUAgreementBuildActivity extends IDDetailsRoundActivity<GEventBottomBinding> {
|
||||
volatile String showPlayinfoString;
|
||||
private volatile boolean canEarchPlayer = false;
|
||||
@ -56,245 +56,46 @@ public class IIUAgreementBuildActivity extends IDDetailsRoundActivity<GEventBott
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
|
||||
|
||||
double multitableFlexible = this.reboundAssertFindExtraEditor(new HashMap(), 4811.0f);
|
||||
|
||||
double temp_r_94 = (double) multitableFlexible;
|
||||
double c_79 = 1.0;
|
||||
double o_0 = 0.0;
|
||||
if (temp_r_94 > o_0) {
|
||||
temp_r_94 = o_0;
|
||||
}
|
||||
while (c_79 < temp_r_94) {
|
||||
c_79 += 1;
|
||||
temp_r_94 -= c_79;
|
||||
double e_64 = (double) c_79;
|
||||
switch ((int) e_64) {
|
||||
case 3: {
|
||||
e_64 += 86.0;
|
||||
if (e_64 == 603.0) {
|
||||
e_64 += 46.0;
|
||||
e_64 *= 53.0;
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 54: {
|
||||
e_64 *= 83.0;
|
||||
break;
|
||||
|
||||
}
|
||||
case 42: {
|
||||
e_64 *= 56.0;
|
||||
break;
|
||||
|
||||
}
|
||||
case 71: {
|
||||
e_64 -= 80.0;
|
||||
break;
|
||||
|
||||
}
|
||||
case 49: {
|
||||
e_64 += 21.0;
|
||||
break;
|
||||
|
||||
}
|
||||
case 11: {
|
||||
e_64 -= 81.0;
|
||||
break;
|
||||
|
||||
}
|
||||
case 10: {
|
||||
break;
|
||||
|
||||
}
|
||||
case 29: {
|
||||
break;
|
||||
|
||||
}
|
||||
case 22: {
|
||||
e_64 -= 75.0;
|
||||
break;
|
||||
|
||||
}
|
||||
case 75: {
|
||||
e_64 -= 61.0;
|
||||
break;
|
||||
|
||||
}
|
||||
default:
|
||||
break;
|
||||
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (multitableFlexible == 28) {
|
||||
System.out.println(multitableFlexible);
|
||||
}
|
||||
|
||||
System.out.println(multitableFlexible);
|
||||
|
||||
|
||||
super.onCreate(savedInstanceState);
|
||||
ArrayList<String> appT = new ArrayList<String>();
|
||||
appT.add("lerprgb");
|
||||
appT.add("countdown");
|
||||
appT.add("cloud");
|
||||
if (appT.size() > 32) {
|
||||
}
|
||||
SplashScreen client = SplashScreen.installSplashScreen(IIUAgreementBuildActivity.this);
|
||||
HashMap<String, Float> t_positionR = new HashMap<String, Float>();
|
||||
t_positionR.put("secs", 771.0f);
|
||||
t_positionR.put("srtcp", 698.0f);
|
||||
t_positionR.put("realtime", 876.0f);
|
||||
client.setKeepOnScreenCondition(() -> true);
|
||||
boolean seeno = true;
|
||||
if (seeno) {
|
||||
}
|
||||
System.out.println(seeno);
|
||||
startActivity(new Intent(this, AExtractionActivity.class));
|
||||
long processp = 6868L;
|
||||
if (processp > 57) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private String startThirdMap(int xploreRefreshing, double arrowrightComplete, long followlistAll) {
|
||||
double seriesClose = 2710.0;
|
||||
ArrayList<Boolean> yesGradient = new ArrayList();
|
||||
int playlistSeekbar = 3218;
|
||||
String bilinPlacemarkScores = "repeated";
|
||||
if (seriesClose >= -128 && seriesClose <= 128) {
|
||||
int running_i = Math.min(1, new Random().nextInt(50)) % bilinPlacemarkScores.length();
|
||||
bilinPlacemarkScores += seriesClose + "";
|
||||
}
|
||||
double _h_75 = (double) seriesClose;
|
||||
if (_h_75 != 387.0) {
|
||||
_h_75 += 6.0;
|
||||
}
|
||||
if (playlistSeekbar >= -128 && playlistSeekbar <= 128) {
|
||||
int series_p = Math.min(1, new Random().nextInt(65)) % bilinPlacemarkScores.length();
|
||||
bilinPlacemarkScores += playlistSeekbar + "";
|
||||
}
|
||||
int temp_v_76 = (int) playlistSeekbar;
|
||||
if (temp_v_76 > 743) {
|
||||
if (temp_v_76 == 458) {
|
||||
} else {
|
||||
temp_v_76 += 57;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
return bilinPlacemarkScores;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
|
||||
|
||||
String gamaHooks = this.startThirdMap(547, 785.0, 5855L);
|
||||
|
||||
if (gamaHooks == "zyreotv") {
|
||||
System.out.println(gamaHooks);
|
||||
}
|
||||
int gamaHooks_len = gamaHooks.length();
|
||||
int temp_d_49 = (int) gamaHooks_len;
|
||||
switch (temp_d_49) {
|
||||
case 45: {
|
||||
temp_d_49 -= 46;
|
||||
temp_d_49 += 30;
|
||||
break;
|
||||
|
||||
}
|
||||
case 3: {
|
||||
int a_11 = 1;
|
||||
int b_95 = 1;
|
||||
if (temp_d_49 > b_95) {
|
||||
temp_d_49 = b_95;
|
||||
}
|
||||
while (a_11 < temp_d_49) {
|
||||
a_11 += 1;
|
||||
temp_d_49 -= a_11;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 24: {
|
||||
temp_d_49 += 44;
|
||||
break;
|
||||
|
||||
}
|
||||
case 86: {
|
||||
temp_d_49 *= 17;
|
||||
temp_d_49 *= 98;
|
||||
break;
|
||||
|
||||
}
|
||||
case 98: {
|
||||
temp_d_49 *= 86;
|
||||
if (temp_d_49 > 246) {
|
||||
temp_d_49 *= 53;
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 31: {
|
||||
temp_d_49 *= 63;
|
||||
temp_d_49 *= 13;
|
||||
break;
|
||||
|
||||
}
|
||||
case 89: {
|
||||
temp_d_49 -= 49;
|
||||
int u_95 = 1;
|
||||
int w_37 = 0;
|
||||
if (temp_d_49 > w_37) {
|
||||
temp_d_49 = w_37;
|
||||
}
|
||||
while (u_95 < temp_d_49) {
|
||||
u_95 += 1;
|
||||
int l_72 = (int) u_95;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 7: {
|
||||
temp_d_49 *= 57;
|
||||
temp_d_49 += 97;
|
||||
break;
|
||||
|
||||
}
|
||||
default:
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
System.out.println(gamaHooks);
|
||||
|
||||
|
||||
viewBinding = GEventBottomBinding.inflate(getLayoutInflater());
|
||||
ArrayList<Float> shareh = new ArrayList<Float>();
|
||||
shareh.add(321.0f);
|
||||
shareh.add(758.0f);
|
||||
shareh.add(545.0f);
|
||||
shareh.add(322.0f);
|
||||
shareh.add(596.0f);
|
||||
if (shareh.size() > 6) {
|
||||
}
|
||||
setContentView(viewBinding.getRoot());
|
||||
int playingB = 6367;
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void initView() {
|
||||
|
||||
Uri uri = getIntent().getData();
|
||||
if (uri != null) {
|
||||
TIndicator.saveString(ITItem.Constants_DeepLinkData_URL, uri.toString());
|
||||
}
|
||||
String authkey = TIndicator.getString(TIndicator.auth, "");
|
||||
if (TextUtils.isEmpty(authkey)) {
|
||||
userViewModel.regist();
|
||||
} else {
|
||||
gotoMain();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onNewIntent(Intent intent) {
|
||||
super.onNewIntent(intent);
|
||||
Uri uriUrl = intent.getData();
|
||||
if (null != uriUrl) {
|
||||
TIndicator.saveString(ITItem.Constants_DeepLinkData_URL, uriUrl.toString());
|
||||
}
|
||||
}
|
||||
|
||||
public void gotoMain() {
|
||||
viewBinding.getRoot().postDelayed(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
startActivity(new Intent(IIUAgreementBuildActivity.this, AExtractionActivity.class));
|
||||
IIUAgreementBuildActivity.this.finish();
|
||||
}
|
||||
}, 300);
|
||||
}
|
||||
|
||||
|
||||
@ -327,28 +128,8 @@ public class IIUAgreementBuildActivity extends IDDetailsRoundActivity<GEventBott
|
||||
@Override
|
||||
public void logic() {
|
||||
|
||||
|
||||
String doclistInsensitive = this.restoreHostStackPlay(new HashMap(), false, 5639);
|
||||
|
||||
int doclistInsensitive_len = doclistInsensitive.length();
|
||||
int _z_34 = (int) doclistInsensitive_len;
|
||||
int r_93 = 1;
|
||||
int i_50 = 1;
|
||||
if (_z_34 > i_50) {
|
||||
_z_34 = i_50;
|
||||
}
|
||||
while (r_93 <= _z_34) {
|
||||
r_93 += 1;
|
||||
_z_34 -= r_93;
|
||||
_z_34 *= 85;
|
||||
break;
|
||||
}
|
||||
if (doclistInsensitive == "line") {
|
||||
System.out.println(doclistInsensitive);
|
||||
}
|
||||
|
||||
System.out.println(doclistInsensitive);
|
||||
|
||||
|
||||
userViewModel.getRegistLiveData().observe(this, vPisodesAppnameBeanIMACloseStroke -> {
|
||||
gotoMain();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,79 @@
|
||||
package com.shortdrama.jelly.zyreotv.topics.abslRwgt.app;
|
||||
|
||||
import androidx.lifecycle.MutableLiveData;
|
||||
import androidx.lifecycle.ViewModel;
|
||||
|
||||
|
||||
import com.shortdrama.jelly.zyreotv.dlsym.IMACloseStroke;
|
||||
import com.shortdrama.jelly.zyreotv.dlsym.RREStyles;
|
||||
import com.shortdrama.jelly.zyreotv.dlsym.VZBack;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.GSDeepLinkResBean;
|
||||
|
||||
import io.reactivex.android.schedulers.AndroidSchedulers;
|
||||
import io.reactivex.schedulers.Schedulers;
|
||||
|
||||
public class GSAppViewModel extends ViewModel {
|
||||
|
||||
|
||||
private MutableLiveData<IMACloseStroke<GSDeepLinkResBean>> deepLinkLiveData = new MutableLiveData<>();
|
||||
private MutableLiveData<IMACloseStroke<GSDeepLinkResBean>> w2aSelfAttributionLiveData = new MutableLiveData<>();
|
||||
|
||||
public MutableLiveData<IMACloseStroke<GSDeepLinkResBean>> getDeepLinkLiveData() {
|
||||
return deepLinkLiveData;
|
||||
}
|
||||
|
||||
public MutableLiveData<IMACloseStroke<GSDeepLinkResBean>> getW2aSelfAttributionLiveData() {
|
||||
return w2aSelfAttributionLiveData;
|
||||
}
|
||||
|
||||
|
||||
public void deepFb(String feedid) {
|
||||
|
||||
VZBack.getInstance().getDeepLinkFb(feedid)
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe(new RREStyles<IMACloseStroke<GSDeepLinkResBean>>() {
|
||||
@Override
|
||||
public void onSuccess(IMACloseStroke<GSDeepLinkResBean> o) {
|
||||
deepLinkLiveData.setValue(o);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(int code, String msg) {
|
||||
deepLinkLiveData.setValue(null);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void w2aSelfAttribution(String data) {
|
||||
VZBack.getInstance().getW2aSelfAttribution(data)
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe(new RREStyles<IMACloseStroke<GSDeepLinkResBean>>() {
|
||||
@Override
|
||||
public void onSuccess(IMACloseStroke<GSDeepLinkResBean> o) {
|
||||
w2aSelfAttributionLiveData.setValue(o);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(int code, String msg) {
|
||||
w2aSelfAttributionLiveData.setValue(null);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void uploadFCMToken(String token) {
|
||||
VZBack.getInstance().firebaseToken(token)
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe();
|
||||
}
|
||||
|
||||
public void sendReport(String messageId,String title){
|
||||
VZBack.getInstance().sendReport(messageId,title)
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe();
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,128 @@
|
||||
package com.shortdrama.jelly.zyreotv.topics.abslRwgt.app;
|
||||
|
||||
import static com.shortdrama.jelly.zyreotv.beginning.ITItem.CONSTANTS_UserWeb_Refresh_Event;
|
||||
import static com.shortdrama.jelly.zyreotv.beginning.ITItem.CONSTANTS_User_Refresh_Event;
|
||||
import static com.shortdrama.jelly.zyreotv.beginning.ITItem.Constants_AppEnter;
|
||||
import static com.shortdrama.jelly.zyreotv.beginning.ITItem.Constants_AppLeave;
|
||||
|
||||
import android.graphics.Color;
|
||||
|
||||
import androidx.appcompat.content.res.AppCompatResources;
|
||||
import androidx.lifecycle.Observer;
|
||||
|
||||
import com.facebook.login.LoginManager;
|
||||
import com.shortdrama.jelly.zyreotv.R;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.LRewards;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.PAYLoginHeaddefault;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.TIndicator;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.WCenterVideo;
|
||||
import com.shortdrama.jelly.zyreotv.databinding.ActivityDeleteaccountBinding;
|
||||
import com.shortdrama.jelly.zyreotv.databinding.ActivitySettingZytBinding;
|
||||
import com.shortdrama.jelly.zyreotv.dlsym.IMACloseStroke;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.pragma.CommonSelectorDialog;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.pragma.IDDetailsRoundActivity;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.VPisodesAppnameBean;
|
||||
|
||||
import org.greenrobot.eventbus.EventBus;
|
||||
|
||||
public class GSDeleteAccountActivity extends IDDetailsRoundActivity<ActivityDeleteaccountBinding> {
|
||||
|
||||
ActivityDeleteaccountBinding binding;
|
||||
private boolean isSelect = false;
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
binding = ActivityDeleteaccountBinding.inflate(getLayoutInflater());
|
||||
setContentView(binding.getRoot());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void initView() {
|
||||
binding.loading.hide();
|
||||
binding.layoutDeleteaccountActionbar.tvToptitle.setText(getString(R.string.deleteaccount_txt));
|
||||
binding.layoutDeleteaccountActionbar.ivTopback.setOnClickListener(v -> finish());
|
||||
binding.ivSelect.setOnClickListener(v -> {
|
||||
WCenterVideo.singleClick(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
||||
if (isSelect) {
|
||||
isSelect = false;
|
||||
binding.ivSelect.setImageResource(R.mipmap.iv_select_n);
|
||||
binding.tvEight.setTextColor(Color.parseColor("#8B8B8B"));
|
||||
binding.tvEight.setBackground(AppCompatResources.getDrawable(GSDeleteAccountActivity.this, R.drawable.bg_text_delete_account));
|
||||
} else {
|
||||
isSelect = true;
|
||||
binding.ivSelect.setImageResource(R.mipmap.iv_select_h);
|
||||
binding.tvEight.setTextColor(getColor(android.R.color.white));
|
||||
binding.tvEight.setBackground(AppCompatResources.getDrawable(GSDeleteAccountActivity.this, R.drawable.bg_text_delete_account_selected));
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
binding.tvEight.setOnClickListener(v -> {
|
||||
WCenterVideo.singleClick(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (!isSelect) {
|
||||
return;
|
||||
}
|
||||
|
||||
CommonSelectorDialog dialog = new CommonSelectorDialog(GSDeleteAccountActivity.this, "Tips", "Are you sure you want to delete your account?");
|
||||
dialog.setOnSureListener(new CommonSelectorDialog.OnSureListener() {
|
||||
@Override
|
||||
public void toSure() {
|
||||
binding.loading.show();
|
||||
userViewModel.logoOff();
|
||||
|
||||
}
|
||||
});
|
||||
dialog.show();
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void logic() {
|
||||
|
||||
userViewModel.getLogoffLiveData().observe(this, feedbackResp -> {
|
||||
if (feedbackResp != null) {
|
||||
PAYLoginHeaddefault.revealToast("Delete Account Succes", 0);
|
||||
EventBus.getDefault()
|
||||
.post(Constants_AppLeave);
|
||||
LoginManager.getInstance().logOut();
|
||||
binding.loading.hide();
|
||||
userViewModel.regist();
|
||||
|
||||
} else {
|
||||
binding.loading.hide();
|
||||
PAYLoginHeaddefault.revealToast("The service is abnormal. Check the network.", 0);
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
|
||||
userViewModel.getRegistLiveData().observe(this, new Observer<IMACloseStroke<VPisodesAppnameBean>>() {
|
||||
@Override
|
||||
public void onChanged(IMACloseStroke<VPisodesAppnameBean> feedbackResp) {
|
||||
if (feedbackResp != null && feedbackResp.data != null) {
|
||||
TIndicator.saveString(TIndicator.auth, feedbackResp.data.getToken());
|
||||
userViewModel.getUserInfo();
|
||||
EventBus.getDefault()
|
||||
.post(Constants_AppEnter);
|
||||
// EventBus.getDefault()
|
||||
// .post(CONSTANTS_User_Refresh_Event);
|
||||
EventBus.getDefault()
|
||||
.post(CONSTANTS_UserWeb_Refresh_Event);
|
||||
GSDeleteAccountActivity.this.finish();
|
||||
|
||||
} else {
|
||||
PAYLoginHeaddefault.revealToast("The service is abnormal. Check the network.", 0);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
@ -0,0 +1,174 @@
|
||||
package com.shortdrama.jelly.zyreotv.topics.abslRwgt.app;
|
||||
|
||||
|
||||
import static com.shortdrama.jelly.zyreotv.beginning.ITItem.CONSTANTS_UserWeb_Refresh_Event;
|
||||
import static com.shortdrama.jelly.zyreotv.beginning.ITItem.CONSTANTS_User_Refresh_Event;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.text.SpannableString;
|
||||
import android.text.style.UnderlineSpan;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.facebook.CallbackManager;
|
||||
import com.facebook.FacebookCallback;
|
||||
import com.facebook.FacebookException;
|
||||
import com.facebook.FacebookSdk;
|
||||
import com.facebook.GraphRequest;
|
||||
import com.facebook.login.LoginManager;
|
||||
import com.facebook.login.LoginResult;
|
||||
import com.shortdrama.jelly.zyreotv.R;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.ITItem;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.LRewards;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.PAYLoginHeaddefault;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.REnterCircle;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.TIndicator;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.WCenterVideo;
|
||||
import com.shortdrama.jelly.zyreotv.databinding.ActivityAboutusZytBinding;
|
||||
import com.shortdrama.jelly.zyreotv.databinding.ActivityLoginBinding;
|
||||
import com.shortdrama.jelly.zyreotv.databinding.ActivityPlaylistGsBinding;
|
||||
import com.shortdrama.jelly.zyreotv.dlsym.KGZyreotv;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.pragma.IDDetailsRoundActivity;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.web.ZYTWebViewIndexActivity;
|
||||
import com.shortdrama.jelly.zyreotv.unconfirmedPiecewise.TJEpisodeRoundBean;
|
||||
import com.youth.banner.util.LogUtils;
|
||||
|
||||
import org.greenrobot.eventbus.EventBus;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
|
||||
public class GSLoginActivity extends IDDetailsRoundActivity<ActivityLoginBinding> {
|
||||
|
||||
ActivityLoginBinding binding;
|
||||
CallbackManager callbackManager;
|
||||
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
binding = ActivityLoginBinding.inflate(getLayoutInflater());
|
||||
setContentView(binding.getRoot());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void initView() {
|
||||
FacebookSdk.sdkInitialize(getApplicationContext()); // Initialize SDK
|
||||
callbackManager = CallbackManager.Factory.create();
|
||||
binding.loading.hide();
|
||||
CharSequence text = binding.tvUserAgreement.getText();
|
||||
SpannableString spannableString = new SpannableString(text);
|
||||
spannableString.setSpan(new UnderlineSpan(), 0, text.length(), 0);
|
||||
|
||||
CharSequence textprivate = binding.tvPrivatePolicy.getText();
|
||||
SpannableString spannableString2 = new SpannableString(text);
|
||||
spannableString2.setSpan(new UnderlineSpan(), 0, textprivate.length(), 0);
|
||||
|
||||
binding.tvUserAgreement.setText(spannableString);
|
||||
binding.tvPrivatePolicy.setText(spannableString2);
|
||||
binding.tvUserAgreement.setOnClickListener(v -> {
|
||||
LRewards.startWebViewActivity(GSLoginActivity.this, KGZyreotv.GleeStream_USERAgreement, getResources().getString(R.string.userVideoSettings), ZYTWebViewIndexActivity.class);
|
||||
|
||||
});
|
||||
binding.tvPrivatePolicy.setOnClickListener(v -> {
|
||||
LRewards.startWebViewActivity(GSLoginActivity.this, KGZyreotv.GleeStream_Private, getResources().getString(R.string.stopSelect), ZYTWebViewIndexActivity.class);
|
||||
});
|
||||
|
||||
binding.layoutLoginFace.setOnClickListener(v -> {
|
||||
WCenterVideo.singleClick(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
LoginManager.getInstance().logInWithReadPermissions(GSLoginActivity.this, Arrays.asList("email", "public_profile"));
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
binding.ivLoginClose.setOnClickListener(v -> GSLoginActivity.this.finish());
|
||||
|
||||
LoginManager.getInstance().registerCallback(callbackManager, new FacebookCallback<LoginResult>() {
|
||||
@Override
|
||||
public void onSuccess(LoginResult loginResult) {
|
||||
LogUtils.d("login success" + loginResult.getAccessToken().getUserId());
|
||||
handleSuccessfullLogin(loginResult);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCancel() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(@NonNull FacebookException e) {
|
||||
LogUtils.d("login error" + e.getMessage());
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
private void handleSuccessfullLogin(LoginResult loginResult) {
|
||||
GraphRequest request = GraphRequest.newMeRequest(loginResult.getAccessToken(),
|
||||
(object, response) -> {
|
||||
if (response.getError() != null) {
|
||||
LogUtils.d("error" + response.getError().getErrorMessage());
|
||||
PAYLoginHeaddefault.revealToast("Facebook login exception." + response.getError().getErrorMessage(), 0);
|
||||
} else {
|
||||
try {
|
||||
String name = object.getString("name");
|
||||
String avator = object.getJSONObject("picture").getJSONObject("data").getString("url");
|
||||
String id = object.getString("id");
|
||||
EventBus.getDefault()
|
||||
.post(ITItem.Constants_AppLeave);
|
||||
HashMap<String, Object> params = new HashMap<>();
|
||||
params.put("family_name", name);
|
||||
params.put("third_id", id);
|
||||
params.put("platform", "facebook");
|
||||
params.put("avator", avator);
|
||||
binding.loading.show();
|
||||
userViewModel.doLogin(params);
|
||||
} catch (Exception e) {
|
||||
LogUtils.d("error" + e.getMessage());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Bundle parameters = new Bundle();
|
||||
parameters.putString("fields", "id,name,email,picture");
|
||||
request.setParameters(parameters);
|
||||
request.executeAsync();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
|
||||
super.onActivityResult(requestCode, resultCode, data);
|
||||
callbackManager.onActivityResult(requestCode, resultCode, data);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void logic() {
|
||||
|
||||
userViewModel.getLoginLiveData().observe(this, feedbackResp -> {
|
||||
binding.loading.hide();
|
||||
if (feedbackResp != null) {
|
||||
PAYLoginHeaddefault.revealToast("Login Succes", 0);
|
||||
TIndicator.saveString(TIndicator.auth, feedbackResp.data.getToken());
|
||||
EventBus.getDefault()
|
||||
.post(ITItem.Constants_AppEnter);
|
||||
EventBus.getDefault()
|
||||
.post(ITItem.Constants_AppOnline);
|
||||
EventBus.getDefault()
|
||||
.post(ITItem.CONSTANTS_User_Refresh_Event);
|
||||
if (ITItem.webfresh) {
|
||||
EventBus.getDefault()
|
||||
.post(CONSTANTS_UserWeb_Refresh_Event);
|
||||
}
|
||||
GSLoginActivity.this.finish();
|
||||
} else {
|
||||
PAYLoginHeaddefault.revealToast("Login Fail", 0);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
package com.shortdrama.jelly.zyreotv.topics.abslRwgt.app;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
|
||||
import com.shortdrama.jelly.zyreotv.R;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.AppUtils;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.LRewards;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.WCenterVideo;
|
||||
import com.shortdrama.jelly.zyreotv.databinding.ActivityAboutusZytBinding;
|
||||
import com.shortdrama.jelly.zyreotv.databinding.ActivityWalletZytBinding;
|
||||
import com.shortdrama.jelly.zyreotv.dlsym.KGZyreotv;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.pragma.IDDetailsRoundActivity;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.web.ZYTWebViewIndexActivity;
|
||||
|
||||
public class ZYTAboutUsActivity extends IDDetailsRoundActivity<ActivityAboutusZytBinding> {
|
||||
|
||||
ActivityAboutusZytBinding binding;
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
binding = ActivityAboutusZytBinding.inflate(getLayoutInflater());
|
||||
setContentView(binding.getRoot());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void initView() {
|
||||
|
||||
binding.tvAboutusVersion.setText("Version " + AppUtils.getPackageVersionName(this));
|
||||
binding.layoutSettingActionbar.ivTopback.setOnClickListener(v -> finish());
|
||||
binding.tvAboutusVisitweb.setOnClickListener(v -> {
|
||||
WCenterVideo.singleClick(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
Intent webIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(KGZyreotv.GleeStream_VisitWeb));
|
||||
startActivity(webIntent);
|
||||
}
|
||||
});
|
||||
});
|
||||
binding.tvAboutusPrivacy.setOnClickListener(v -> {
|
||||
WCenterVideo.singleClick(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
LRewards.startWebViewActivity(ZYTAboutUsActivity.this, KGZyreotv.GleeStream_Private, getResources().getString(R.string.stopSelect), ZYTWebViewIndexActivity.class);
|
||||
}
|
||||
});
|
||||
});
|
||||
binding.tvAboutusUseragreement.setOnClickListener(v -> {
|
||||
WCenterVideo.singleClick(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
LRewards.startWebViewActivity(ZYTAboutUsActivity.this, KGZyreotv.GleeStream_USERAgreement, getResources().getString(R.string.userVideoSettings), ZYTWebViewIndexActivity.class);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void logic() {
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,134 @@
|
||||
package com.shortdrama.jelly.zyreotv.topics.abslRwgt.app;
|
||||
|
||||
import static com.shortdrama.jelly.zyreotv.beginning.ITItem.CONSTANTS_UserWeb_Refresh_Event;
|
||||
import static com.shortdrama.jelly.zyreotv.beginning.ITItem.CONSTANTS_User_Refresh_Event;
|
||||
import static com.shortdrama.jelly.zyreotv.beginning.ITItem.Constants_AppEnter;
|
||||
import static com.shortdrama.jelly.zyreotv.beginning.ITItem.Constants_AppLeave;
|
||||
|
||||
import android.content.Intent;
|
||||
|
||||
import androidx.activity.result.ActivityResultLauncher;
|
||||
import androidx.activity.result.contract.ActivityResultContracts;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.lifecycle.ViewModelProvider;
|
||||
|
||||
import com.facebook.login.LoginManager;
|
||||
import com.google.android.gms.tasks.OnCompleteListener;
|
||||
import com.google.android.gms.tasks.Task;
|
||||
import com.google.firebase.messaging.FirebaseMessaging;
|
||||
import com.shortdrama.jelly.zyreotv.R;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.LRewards;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.NotifyUtils;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.PAYLoginHeaddefault;
|
||||
import com.shortdrama.jelly.zyreotv.beginning.TIndicator;
|
||||
import com.shortdrama.jelly.zyreotv.databinding.ActivityAboutusZytBinding;
|
||||
import com.shortdrama.jelly.zyreotv.databinding.ActivitySettingZytBinding;
|
||||
import com.shortdrama.jelly.zyreotv.databinding.ActivityWalletZytBinding;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.AExtractionActivity;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.pragma.IDDetailsRoundActivity;
|
||||
import com.shortdrama.jelly.zyreotv.topics.abslRwgt.pragma.NotifyDialog;
|
||||
|
||||
import org.greenrobot.eventbus.EventBus;
|
||||
|
||||
public class ZYTSettingActivity extends IDDetailsRoundActivity<ActivitySettingZytBinding> {
|
||||
|
||||
ActivitySettingZytBinding binding;
|
||||
GSAppViewModel gsAppViewModel;
|
||||
public ActivityResultLauncher<Intent> resultLauncher;
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
gsAppViewModel = new ViewModelProvider(this).get(GSAppViewModel.class);
|
||||
binding = ActivitySettingZytBinding.inflate(getLayoutInflater());
|
||||
setContentView(binding.getRoot());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void initView() {
|
||||
binding.loading.hide();
|
||||
binding.layoutSettingActionbar.tvToptitle.setText(getString(R.string.setting_txt));
|
||||
binding.layoutSettingActionbar.ivTopback.setOnClickListener(v -> finish());
|
||||
binding.tvSettingLoginout.setOnClickListener(v -> {
|
||||
if (!TIndicator.isTourist()) {
|
||||
binding.loading.show();
|
||||
userViewModel.doLogOut();
|
||||
} else {
|
||||
PAYLoginHeaddefault.revealToast("Please login first", 0);
|
||||
}
|
||||
});
|
||||
binding.tvSettingDeleteaccount.setOnClickListener(v -> {
|
||||
if (!TIndicator.isTourist()) {
|
||||
LRewards.startDeleteAccount(this);
|
||||
} else {
|
||||
PAYLoginHeaddefault.revealToast("Please login first", 0);
|
||||
}
|
||||
});
|
||||
binding.tvSettingNotify.setOnClickListener(v -> {
|
||||
boolean isOpen = NotifyUtils.isNotificationEnable(ZYTSettingActivity.this);
|
||||
if (!isOpen) {
|
||||
NotifyDialog dialog = new NotifyDialog(this);
|
||||
dialog.setOnSureListener(new NotifyDialog.OnSureListener() {
|
||||
@Override
|
||||
public void toOpen() {
|
||||
NotifyUtils.openSettingNotification(ZYTSettingActivity.this, resultLauncher);
|
||||
}
|
||||
});
|
||||
dialog.show();
|
||||
}else{
|
||||
PAYLoginHeaddefault.revealToast("Notifications turned on", 0);
|
||||
}
|
||||
|
||||
});
|
||||
resultLauncher = registerForActivityResult(new ActivityResultContracts.StartActivityForResult(), result -> {
|
||||
if (result.getResultCode() == RESULT_OK) {
|
||||
boolean isEnable = NotifyUtils.isNotificationEnable(this);
|
||||
if (isEnable) {
|
||||
firebaseToken();
|
||||
userViewModel.opendNotify();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void firebaseToken() {
|
||||
FirebaseMessaging.getInstance().getToken().addOnCompleteListener(new OnCompleteListener<String>() {
|
||||
@Override
|
||||
public void onComplete(@NonNull Task<String> task) {
|
||||
if (task.isSuccessful()) {
|
||||
String token = task.getResult();
|
||||
gsAppViewModel.uploadFCMToken(token);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public void logic() {
|
||||
|
||||
userViewModel.getLogoutLiveData().observe(this, feedbackResp -> {
|
||||
if (feedbackResp != null) {
|
||||
PAYLoginHeaddefault.revealToast("Logout Succes", 0);
|
||||
TIndicator.saveString(TIndicator.auth, feedbackResp.data.getToken());
|
||||
EventBus.getDefault()
|
||||
.post(Constants_AppLeave);
|
||||
|
||||
LoginManager.getInstance().logOut();
|
||||
|
||||
EventBus.getDefault()
|
||||
.post(Constants_AppEnter);
|
||||
EventBus.getDefault()
|
||||
.post(CONSTANTS_User_Refresh_Event);
|
||||
EventBus.getDefault()
|
||||
.post(CONSTANTS_UserWeb_Refresh_Event);
|
||||
|
||||
binding.loading.hide();
|
||||
ZYTSettingActivity.this.finish();
|
||||
} else {
|
||||
binding.loading.hide();
|
||||
PAYLoginHeaddefault.revealToast("The service is abnormal. Check the network.", 0);
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user