experiments: Force enable tabs experiment
This commit is contained in:
parent
fd7ad91162
commit
2b5c73dbad
1 changed files with 112 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
diff -crB com.discord-1078-base/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali com.discord-1078/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali
|
||||
*** com.discord-1078-base/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali 2020-03-26 10:35:54.852235186 +0300
|
||||
--- com.discord-1078/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali 2020-03-26 10:50:33.584357366 +0300
|
||||
--- com.discord-1078/smali/com/discord/stores/StoreExperiments$getExperimentalAlpha$1.smali 2020-03-26 15:14:26.180505113 +0300
|
||||
***************
|
||||
*** 80,110 ****
|
||||
|
||||
|
@ -42,11 +42,9 @@ diff -crB com.discord-1078-base/smali/com/discord/stores/StoreExperiments$getExp
|
|||
|
||||
! return v0
|
||||
.end method
|
||||
Only in com.discord-1078/smali/com/discord/stores: StoreExperiments$getExperimentalAlpha$1.smali.orig
|
||||
Only in com.discord-1078/smali/com/discord/stores: StoreExperiments$getExperimentalAlpha$1.smali.rej
|
||||
diff -crB com.discord-1078-base/smali/com/discord/stores/StoreExperiments.smali com.discord-1078/smali/com/discord/stores/StoreExperiments.smali
|
||||
*** com.discord-1078-base/smali/com/discord/stores/StoreExperiments.smali 2020-03-26 10:35:54.862235237 +0300
|
||||
--- com.discord-1078/smali/com/discord/stores/StoreExperiments.smali 2020-03-26 10:48:12.012881525 +0300
|
||||
--- com.discord-1078/smali/com/discord/stores/StoreExperiments.smali 2020-03-26 15:14:26.183838465 +0300
|
||||
***************
|
||||
*** 1318,1375 ****
|
||||
.end method
|
||||
|
@ -121,7 +119,7 @@ diff -crB com.discord-1078-base/smali/com/discord/stores/StoreExperiments.smali
|
|||
.method public final isInitialized()Lrx/Observable;
|
||||
diff -crB com.discord-1078-base/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali com.discord-1078/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali
|
||||
*** com.discord-1078-base/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali 2020-03-26 10:35:56.282242483 +0300
|
||||
--- com.discord-1078/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali 2020-03-26 10:50:52.621222487 +0300
|
||||
--- com.discord-1078/smali/com/discord/widgets/settings/WidgetSettingsAppearance$Model$Companion$get$1.smali 2020-03-26 15:14:26.183838465 +0300
|
||||
***************
|
||||
*** 87,97 ****
|
||||
|
||||
|
@ -143,6 +141,113 @@ diff -crB com.discord-1078-base/smali/com/discord/widgets/settings/WidgetSetting
|
|||
|
||||
if-eqz p4, :cond_0
|
||||
|
||||
Only in com.discord-1078/smali/com/discord/widgets/settings: WidgetSettingsAppearance$Model$Companion$get$1.smali.orig
|
||||
Only in com.discord-1078/smali/com/discord/widgets/settings: WidgetSettingsAppearance$Model$Companion$get$1.smali.rej
|
||||
diff -crB com.discord-1078-base/smali/com/discord/widgets/tabs/TabsFeatureFlag$fetchExperiment$2.smali com.discord-1078/smali/com/discord/widgets/tabs/TabsFeatureFlag$fetchExperiment$2.smali
|
||||
*** com.discord-1078-base/smali/com/discord/widgets/tabs/TabsFeatureFlag$fetchExperiment$2.smali 2020-03-26 10:35:56.478910154 +0300
|
||||
--- com.discord-1078/smali/com/discord/widgets/tabs/TabsFeatureFlag$fetchExperiment$2.smali 2020-03-26 15:47:38.584594383 +0300
|
||||
***************
|
||||
*** 74,82 ****
|
||||
move-result-object v0
|
||||
|
||||
.line 3
|
||||
! invoke-virtual {p1}, Lcom/discord/stores/StoreExperiments$Experiment;->getBucket()I
|
||||
!
|
||||
! move-result p1
|
||||
|
||||
const-string v1, "CACHE_KEY_TABS_EXPERIMENT_BUCKET"
|
||||
|
||||
--- 74,80 ----
|
||||
move-result-object v0
|
||||
|
||||
.line 3
|
||||
! const/4 p1, 0x2
|
||||
|
||||
const-string v1, "CACHE_KEY_TABS_EXPERIMENT_BUCKET"
|
||||
|
||||
diff -crB com.discord-1078-base/smali/com/discord/widgets/tabs/TabsFeatureFlag.smali com.discord-1078/smali/com/discord/widgets/tabs/TabsFeatureFlag.smali
|
||||
*** com.discord-1078-base/smali/com/discord/widgets/tabs/TabsFeatureFlag.smali 2020-03-26 10:35:56.482243505 +0300
|
||||
--- com.discord-1078/smali/com/discord/widgets/tabs/TabsFeatureFlag.smali 2020-03-26 15:48:52.778327679 +0300
|
||||
***************
|
||||
*** 74,86 ****
|
||||
.line 2
|
||||
iget-object p1, p0, Lcom/discord/widgets/tabs/TabsFeatureFlag;->sharedPreferences:Landroid/content/SharedPreferences;
|
||||
|
||||
! const/4 v0, -0x1
|
||||
!
|
||||
! const-string v1, "CACHE_KEY_TABS_EXPERIMENT_BUCKET"
|
||||
!
|
||||
! invoke-interface {p1, v1, v0}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I
|
||||
!
|
||||
! move-result p1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
--- 74,80 ----
|
||||
.line 2
|
||||
iget-object p1, p0, Lcom/discord/widgets/tabs/TabsFeatureFlag;->sharedPreferences:Landroid/content/SharedPreferences;
|
||||
|
||||
! const/4 p1, 0x2
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
***************
|
||||
*** 261,301 ****
|
||||
.end method
|
||||
|
||||
.method public final isEnabled()Z
|
||||
! .locals 2
|
||||
!
|
||||
! .line 1
|
||||
! iget v0, p0, Lcom/discord/widgets/tabs/TabsFeatureFlag;->experimentBucket:I
|
||||
!
|
||||
! const/4 v1, 0x1
|
||||
!
|
||||
! if-lt v0, v1, :cond_0
|
||||
!
|
||||
! goto :goto_0
|
||||
|
||||
! :cond_0
|
||||
! const/4 v1, 0x0
|
||||
|
||||
- :goto_0
|
||||
return v1
|
||||
.end method
|
||||
|
||||
.method public final useOverlappingPanels()Z
|
||||
! .locals 2
|
||||
!
|
||||
! .line 1
|
||||
! iget v0, p0, Lcom/discord/widgets/tabs/TabsFeatureFlag;->experimentBucket:I
|
||||
!
|
||||
! const/4 v1, 0x2
|
||||
!
|
||||
! if-ne v0, v1, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v0, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
return v0
|
||||
.end method
|
||||
--- 255,271 ----
|
||||
.end method
|
||||
|
||||
.method public final isEnabled()Z
|
||||
! .locals 1
|
||||
|
||||
! const/4 v1, 0x2
|
||||
|
||||
return v1
|
||||
.end method
|
||||
|
||||
.method public final useOverlappingPanels()Z
|
||||
! .locals 1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
|
|
Reference in a new issue