granularity level: instruction
.class public Lapp/debloat/MainActivity;
.super Landroid/app/Activity;
.source "MainActivity.java"
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Landroid/app/Activity;-><init>()V
return-void
.end method
.method protected onCreate(Landroid/os/Bundle;)V
.locals 1
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V
const/high16 p1, 0x7f070000
invoke-virtual {p0, p1}, Lapp/debloat/MainActivity;->setContentView(I)V
const p1, 0x7f05005a
invoke-virtual {p0, p1}, Lapp/debloat/MainActivity;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Landroid/webkit/WebView;
new-instance v0, Lapp/debloat/MainActivity$1;
invoke-direct {v0, p0}, Lapp/debloat/MainActivity$1;-><init>(Lapp/debloat/MainActivity;)V
invoke-virtual {p1, v0}, Landroid/webkit/WebView;->setWebViewClient(Landroid/webkit/WebViewClient;)V
const-string v0, "https://debloat.app"
invoke-virtual {p1, v0}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V
invoke-virtual {p1}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;
move-result-object p1
const/4 v0, 0x1
invoke-virtual {p1, v0}, Landroid/webkit/WebSettings;->setJavaScriptEnabled(Z)V
invoke-static {}, Lcom/google/firebase/messaging/FirebaseMessaging;->getInstance()Lcom/google/firebase/messaging/FirebaseMessaging;
move-result-object p1
const-string v0, "news"
invoke-virtual {p1, v0}, Lcom/google/firebase/messaging/FirebaseMessaging;->subscribeToTopic(Ljava/lang/String;)Lcom/google/android/gms/tasks/Task;
return-void
.end method