Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .method protected updateSettings()V
- .locals 6
- const/4 v5, 0x1
- const/4 v4, 0x0
- invoke-super {p0}, Lcom/android/systemui/statusbar/policy/Clock;->updateSettings()V
- iget-object v2, p0, Lcom/android/systemui/statusbar/policy/Clock;->mContext:Landroid/content/Context;
- invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
- move-result-object v1
- const-string v2, "tweaks_clock_style"
- invoke-static {v1, v2, v5}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I
- move-result v2
- const/4 v3, 0x2
- if-ne v2, v3, :cond_0
- move v0, v5
- :goto_0
- if-eqz v0, :cond_1
- invoke-virtual {p0, v4}, Lcom/android/systemui/statusbar/policy/CenterClock;->setVisibility(I)V
- :goto_1
- return-void
- :cond_0
- move v0, v4
- goto :goto_0
- :cond_1
- const/16 v2, 0x8
- invoke-virtual {p0, v2}, Lcom/android/systemui/statusbar/policy/CenterClock;->setVisibility(I)V
- goto :goto_1
- .end method
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement