package com.pas.abtahibo.parvaz;


import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.B4AClass;
import anywheresoftware.b4a.BALayout;
import anywheresoftware.b4a.debug.*;

public class nb6 extends B4AClass.ImplB4AClass implements BA.SubDelegator{
    private static java.util.HashMap<String, java.lang.reflect.Method> htSubs;
    private void innerInitialize(BA _ba) throws Exception {
        if (ba == null) {
            ba = new BA(_ba, this, htSubs, "com.pas.abtahibo.parvaz.nb6");
            if (htSubs == null) {
                ba.loadHtSubs(this.getClass());
                htSubs = ba.htSubs;
            }
            
        }
        if (BA.isShellModeRuntimeCheck(ba)) 
			   this.getClass().getMethod("_class_globals", com.pas.abtahibo.parvaz.nb6.class).invoke(this, new Object[] {null});
        else
            ba.raiseEvent2(null, true, "class_globals", false);
    }

 public anywheresoftware.b4a.keywords.Common __c = null;
public anywheresoftware.b4j.object.JavaObject _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7 = null;
public anywheresoftware.b4j.object.JavaObject _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0 = null;
public int _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1 = 0;
public anywheresoftware.b4j.object.JavaObject _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2 = null;
public int _s_old = 0;
public int _s_builder = 0;
public int _s_channel = 0;
public int _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3 = 0;
public anywheresoftware.b4a.objects.NotificationWrapper _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4 = null;
public anywheresoftware.b4j.object.JavaObject _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5 = null;
public anywheresoftware.b4j.object.JavaObject _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6 = null;
public anywheresoftware.b4j.object.JavaObject _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7 = null;
public b4a.example.dateutils _vvvvvvvvvvvvvvvv1 = null;
public com.pas.abtahibo.parvaz.main _vvvvvvvvvvvvvvvv2 = null;
public com.pas.abtahibo.parvaz.actbook _vvvvvvvvvvvvvvvv3 = null;
public com.pas.abtahibo.parvaz.actapps _vvvvvvvvvvvvvvvv4 = null;
public com.pas.abtahibo.parvaz.actguide _vvvvvvvvvvvvvvvv5 = null;
public com.pas.abtahibo.parvaz.actnotific _vvvvvvvvvvvvvvvv6 = null;
public com.pas.abtahibo.parvaz.func _vvvvvvvvvvvvvvvv7 = null;
public com.pas.abtahibo.parvaz.myservice _vvvvvvvvvvvvvvvv0 = null;
public com.pas.abtahibo.parvaz.playservicebook _vvvvvvvvvvvvvvvvv1 = null;
public com.pas.abtahibo.parvaz.playsrds _vvvvvvvvvvvvvvvvv2 = null;
public com.pas.abtahibo.parvaz.starter _vvvvvvvvvvvvvvvvv3 = null;
public com.pas.abtahibo.parvaz.support _vvvvvvvvvvvvvvvvv4 = null;
public com.pas.abtahibo.parvaz.urls _vvvvvvvvvvvvvvvvv5 = null;
public com.pas.abtahibo.parvaz.xuiviewsutils _vvvvvvvvvvvvvvvvv6 = null;
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp,Object _title,Object _service,String _action) throws Exception{
Object _ac = null;
 //BA.debugLineNum = 82;BA.debugLine="Public Sub AddButtonAction (Bmp As Bitmap, Title A";
 //BA.debugLineNum = 83;BA.debugLine="If IsBuilder = False Then Return Me";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3()==__c.False) { 
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);};
 //BA.debugLineNum = 84;BA.debugLine="Dim ac As Object = CreateAction(Bmp, Title, Creat";
_ac = _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4(_bmp,_title,_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7(_service,_action));
 //BA.debugLineNum = 85;BA.debugLine="NotificationBuilder.RunMethod(\"addAction\", Array(";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("addAction",new Object[]{_ac});
 //BA.debugLineNum = 86;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 87;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp,Object _title,Object _activity,String _action) throws Exception{
anywheresoftware.b4a.objects.IntentWrapper _in = null;
Object _pendingintent = null;
Object _ac = null;
 //BA.debugLineNum = 90;BA.debugLine="Public Sub AddButtonAction2 (Bmp As Bitmap, Title";
 //BA.debugLineNum = 91;BA.debugLine="If IsBuilder = False Then Return Me";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3()==__c.False) { 
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);};
 //BA.debugLineNum = 92;BA.debugLine="Dim in As Intent = CreateIntent(Activity, False)";
_in = new anywheresoftware.b4a.objects.IntentWrapper();
_in = _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6(_activity,__c.False);
 //BA.debugLineNum = 93;BA.debugLine="in.Action = Action";
_in.setAction(_action);
 //BA.debugLineNum = 94;BA.debugLine="in.Flags = Bit.Or(268435456, 131072) 'FLAG_ACTIVI";
_in.setFlags(__c.Bit.Or((int) (268435456),(int) (131072)));
 //BA.debugLineNum = 95;BA.debugLine="Dim PendingIntent As Object = PendingIntentStatic";
_pendingintent = _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5.RunMethod("getActivity",new Object[]{(Object)(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.getObject()),(Object)(__c.Rnd((int) (0),((int)0x7fffffff))),(Object)(_in.getObject()),(Object)(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2())});
 //BA.debugLineNum = 96;BA.debugLine="NotificationBuilder.RunMethod(\"setContentIntent\",";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setContentIntent",new Object[]{_pendingintent});
 //BA.debugLineNum = 97;BA.debugLine="Dim Ac As Object = CreateAction(Bmp, Title, Pendi";
_ac = _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4(_bmp,_title,_pendingintent);
 //BA.debugLineNum = 98;BA.debugLine="NotificationBuilder.RunMethod(\"addAction\", Array(";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("addAction",new Object[]{_ac});
 //BA.debugLineNum = 99;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 100;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp,Object _title,String _resultkey,Object _service) throws Exception{
anywheresoftware.b4j.object.JavaObject _remoteinputbuilder = null;
anywheresoftware.b4j.object.JavaObject _builder = null;
anywheresoftware.b4j.object.JavaObject _ac = null;
 //BA.debugLineNum = 103;BA.debugLine="Public Sub AddRemoteInput (Bmp As Bitmap, Title As";
 //BA.debugLineNum = 104;BA.debugLine="If IsBuilder = False Then Return Me";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3()==__c.False) { 
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);};
 //BA.debugLineNum = 105;BA.debugLine="Dim RemoteInputBuilder As JavaObject";
_remoteinputbuilder = new anywheresoftware.b4j.object.JavaObject();
 //BA.debugLineNum = 106;BA.debugLine="RemoteInputBuilder.InitializeNewInstance(\"android";
_remoteinputbuilder.InitializeNewInstance("android.app.RemoteInput$Builder",new Object[]{(Object)(_resultkey)});
 //BA.debugLineNum = 107;BA.debugLine="RemoteInputBuilder.RunMethod(\"setLabel\", Array(Ti";
_remoteinputbuilder.RunMethod("setLabel",new Object[]{_title});
 //BA.debugLineNum = 108;BA.debugLine="Dim builder As JavaObject";
_builder = new anywheresoftware.b4j.object.JavaObject();
 //BA.debugLineNum = 109;BA.debugLine="builder.InitializeNewInstance(\"android.app.Notifi";
_builder.InitializeNewInstance("android.app.Notification$Action$Builder",new Object[]{_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5(_bmp),_title,_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7(_service,_resultkey)});
 //BA.debugLineNum = 110;BA.debugLine="builder.RunMethod(\"addRemoteInput\", Array(RemoteI";
_builder.RunMethod("addRemoteInput",new Object[]{_remoteinputbuilder.RunMethod("build",(Object[])(__c.Null))});
 //BA.debugLineNum = 111;BA.debugLine="Dim ac As JavaObject = builder.RunMethod(\"build\",";
_ac = new anywheresoftware.b4j.object.JavaObject();
_ac = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_builder.RunMethod("build",(Object[])(__c.Null))));
 //BA.debugLineNum = 112;BA.debugLine="NotificationBuilder.RunMethod(\"addAction\", Array(";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("addAction",new Object[]{(Object)(_ac.getObject())});
 //BA.debugLineNum = 113;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 114;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4(boolean _cancel) throws Exception{
 //BA.debugLineNum = 161;BA.debugLine="Public Sub AutoCancel (Cancel As Boolean) As NB6";
 //BA.debugLineNum = 162;BA.debugLine="If IsOld Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6()) { 
 //BA.debugLineNum = 163;BA.debugLine="OldNotification.AutoCancel = Cancel";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4.setAutoCancel(_cancel);
 }else {
 //BA.debugLineNum = 165;BA.debugLine="NotificationBuilder.RunMethod(\"setAutoCancel\", A";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setAutoCancel",new Object[]{(Object)(_cancel)});
 };
 //BA.debugLineNum = 167;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 168;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5(String _icontype) throws Exception{
anywheresoftware.b4a.objects.collections.Map _m = null;
 //BA.debugLineNum = 190;BA.debugLine="Public Sub BadgeIconType (IconType As String) As N";
 //BA.debugLineNum = 191;BA.debugLine="If SdkLevel >= 26 Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1>=26) { 
 //BA.debugLineNum = 192;BA.debugLine="Dim m As Map = CreateMap(\"LARGE\": 2, \"NONE\": 0,";
_m = new anywheresoftware.b4a.objects.collections.Map();
_m = __c.createMap(new Object[] {(Object)("LARGE"),(Object)(2),(Object)("NONE"),(Object)(0),(Object)("SMALL"),(Object)(1)});
 //BA.debugLineNum = 193;BA.debugLine="NotificationBuilder.RunMethod(\"setBadgeIconType\"";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setBadgeIconType",new Object[]{_m.Get((Object)(_icontype))});
 };
 //BA.debugLineNum = 195;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 196;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _largeiconbmp,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _picture,Object _contenttitle,Object _summarytext) throws Exception{
 //BA.debugLineNum = 314;BA.debugLine="Public Sub BigPictureStyle(LargeIconBmp As Bitmap,";
 //BA.debugLineNum = 315;BA.debugLine="If IsBuilder Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3()) { 
 //BA.debugLineNum = 316;BA.debugLine="SetStyle(\"android.app.Notification$BigPictureSty";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1("android.app.Notification$BigPictureStyle",__c.createMap(new Object[] {(Object)("bigLargeIcon"),(Object)(_largeiconbmp.getObject()),(Object)("bigPicture"),(Object)(_picture.getObject()),(Object)("setBigContentTitle"),_contenttitle,(Object)("setSummaryText"),_summarytext}));
 };
 //BA.debugLineNum = 322;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 323;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7(Object _contenttitle,Object _summarytext,Object _text) throws Exception{
 //BA.debugLineNum = 334;BA.debugLine="Public Sub BigTextStyle (ContentTitle As Object, S";
 //BA.debugLineNum = 335;BA.debugLine="If IsBuilder Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3()) { 
 //BA.debugLineNum = 336;BA.debugLine="SetStyle(\"android.app.Notification$BigTextStyle\"";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1("android.app.Notification$BigTextStyle",__c.createMap(new Object[] {(Object)("bigText"),_text,(Object)("setBigContentTitle"),_contenttitle,(Object)("setSummaryText"),_summarytext}));
 };
 //BA.debugLineNum = 339;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 340;BA.debugLine="End Sub";
return null;
}
public anywheresoftware.b4a.objects.NotificationWrapper  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0(Object _contenttitle,Object _contenttext,String _tag,Object _activity) throws Exception{
anywheresoftware.b4a.objects.IntentWrapper _in = null;
Object _pendingintent = null;
anywheresoftware.b4j.object.JavaObject _manager = null;
 //BA.debugLineNum = 376;BA.debugLine="Public Sub Build (ContentTitle As Object, ContentT";
 //BA.debugLineNum = 377;BA.debugLine="If IsOld Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6()) { 
 //BA.debugLineNum = 378;BA.debugLine="OldNotification.SetInfo2(ContentTitle, ContentTe";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4.SetInfo2New(ba,BA.ObjectToCharSequence(_contenttitle),BA.ObjectToCharSequence(_contenttext),BA.ObjectToCharSequence(_tag),_activity);
 //BA.debugLineNum = 379;BA.debugLine="Return OldNotification";
if (true) return _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4;
 }else {
 //BA.debugLineNum = 381;BA.debugLine="Dim in As Intent = CreateIntent(Activity, False)";
_in = new anywheresoftware.b4a.objects.IntentWrapper();
_in = _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6(_activity,__c.False);
 //BA.debugLineNum = 382;BA.debugLine="in.Flags = Bit.Or(268435456, 131072) 'FLAG_ACTIV";
_in.setFlags(__c.Bit.Or((int) (268435456),(int) (131072)));
 //BA.debugLineNum = 383;BA.debugLine="in.PutExtra(\"Notification_Tag\", Tag)";
_in.PutExtra("Notification_Tag",(Object)(_tag));
 //BA.debugLineNum = 385;BA.debugLine="Dim PendingIntent As Object = PendingIntentStati";
_pendingintent = _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5.RunMethod("getActivity",new Object[]{(Object)(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.getObject()),(Object)(__c.Rnd((int) (0),((int)0x7fffffff))),(Object)(_in.getObject()),(Object)(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2())});
 //BA.debugLineNum = 386;BA.debugLine="NotificationBuilder.RunMethodJO(\"setContentTitle";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethodJO("setContentTitle",new Object[]{_contenttitle}).RunMethodJO("setContentText",new Object[]{_contenttext});
 //BA.debugLineNum = 387;BA.debugLine="NotificationBuilder.RunMethod(\"setContentIntent\"";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setContentIntent",new Object[]{_pendingintent});
 //BA.debugLineNum = 389;BA.debugLine="If IsChannel Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4()) { 
 //BA.debugLineNum = 390;BA.debugLine="Dim manager As JavaObject = ctxt.RunMethod(\"get";
_manager = new anywheresoftware.b4j.object.JavaObject();
_manager = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.RunMethod("getSystemService",new Object[]{(Object)("notification")})));
 //BA.debugLineNum = 391;BA.debugLine="manager.RunMethod(\"createNotificationChannel\",";
_manager.RunMethod("createNotificationChannel",new Object[]{(Object)(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7.getObject())});
 };
 //BA.debugLineNum = 394;BA.debugLine="Return NotificationBuilder.RunMethod(\"build\", Nu";
if (true) return (anywheresoftware.b4a.objects.NotificationWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.NotificationWrapper(), (java.lang.Object)(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("build",(Object[])(__c.Null))));
 };
 //BA.debugLineNum = 396;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1(int _id) throws Exception{
 //BA.debugLineNum = 170;BA.debugLine="Public Sub Cancel1 (id As Int) As NB6";
 //BA.debugLineNum = 171;BA.debugLine="Try";
try { //BA.debugLineNum = 172;BA.debugLine="OldNotification.Cancel(id)";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4.Cancel(_id);
 } 
       catch (Exception e4) {
			ba.setLastException(e4); //BA.debugLineNum = 174;BA.debugLine="Log(LastException)";
__c.LogImpl("342074116",BA.ObjectToString(__c.LastException(getActivityBA())),0);
 };
 //BA.debugLineNum = 176;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 177;BA.debugLine="End Sub";
return null;
}
public String  _class_globals() throws Exception{
 //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals";
 //BA.debugLineNum = 2;BA.debugLine="Private Channel As JavaObject";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7 = new anywheresoftware.b4j.object.JavaObject();
 //BA.debugLineNum = 3;BA.debugLine="Private NotificationBuilder As JavaObject";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0 = new anywheresoftware.b4j.object.JavaObject();
 //BA.debugLineNum = 4;BA.debugLine="Private SdkLevel As Int";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1 = 0;
 //BA.debugLineNum = 5;BA.debugLine="Private ctxt As JavaObject";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2 = new anywheresoftware.b4j.object.JavaObject();
 //BA.debugLineNum = 6;BA.debugLine="Private const S_OLD = 0, S_BUILDER = 1, S_CHANNEL";
_s_old = (int) (0);
_s_builder = (int) (1);
_s_channel = (int) (2);
 //BA.debugLineNum = 7;BA.debugLine="Private SupportLevel As Int";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3 = 0;
 //BA.debugLineNum = 8;BA.debugLine="Private OldNotification As Notification";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4 = new anywheresoftware.b4a.objects.NotificationWrapper();
 //BA.debugLineNum = 9;BA.debugLine="Private PendingIntentStatic As JavaObject";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5 = new anywheresoftware.b4j.object.JavaObject();
 //BA.debugLineNum = 10;BA.debugLine="Private NotificationStatic As JavaObject";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6 = new anywheresoftware.b4j.object.JavaObject();
 //BA.debugLineNum = 11;BA.debugLine="Private common As JavaObject";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7 = new anywheresoftware.b4j.object.JavaObject();
 //BA.debugLineNum = 13;BA.debugLine="End Sub";
return "";
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2(int _clr) throws Exception{
 //BA.debugLineNum = 207;BA.debugLine="Public Sub Color (Clr As Int) As NB6";
 //BA.debugLineNum = 208;BA.debugLine="If IsBuilder Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3()) { 
 //BA.debugLineNum = 209;BA.debugLine="NotificationBuilder.RunMethod(\"setColor\", Array(";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setColor",new Object[]{(Object)(_clr)});
 };
 //BA.debugLineNum = 211;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 212;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3(boolean _enabled) throws Exception{
 //BA.debugLineNum = 216;BA.debugLine="Public Sub Colorized (Enabled As Boolean) As NB6";
 //BA.debugLineNum = 217;BA.debugLine="If IsBuilder Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3()) { 
 //BA.debugLineNum = 218;BA.debugLine="If SdkLevel >= 26 Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1>=26) { 
 //BA.debugLineNum = 219;BA.debugLine="NotificationBuilder.RunMethod(\"setColorized\", A";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setColorized",new Object[]{(Object)(__c.True)});
 };
 };
 //BA.debugLineNum = 222;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 223;BA.debugLine="End Sub";
return null;
}
public Object  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp,Object _title,Object _pendingintent) throws Exception{
anywheresoftware.b4j.object.JavaObject _builder = null;
 //BA.debugLineNum = 417;BA.debugLine="Private Sub CreateAction (Bmp As Bitmap, Title As";
 //BA.debugLineNum = 418;BA.debugLine="Dim builder As JavaObject";
_builder = new anywheresoftware.b4j.object.JavaObject();
 //BA.debugLineNum = 419;BA.debugLine="builder.InitializeNewInstance(\"android.app.Notifi";
_builder.InitializeNewInstance("android.app.Notification$Action$Builder",new Object[]{_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5(_bmp),_title,_pendingintent});
 //BA.debugLineNum = 420;BA.debugLine="Return builder.RunMethod(\"build\", Null)";
if (true) return _builder.RunMethod("build",(Object[])(__c.Null));
 //BA.debugLineNum = 421;BA.debugLine="End Sub";
return null;
}
public Object  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp) throws Exception{
anywheresoftware.b4j.object.JavaObject _icon = null;
 //BA.debugLineNum = 423;BA.debugLine="Private Sub CreateIconFromBitmap(bmp As Bitmap) As";
 //BA.debugLineNum = 424;BA.debugLine="If bmp = Null Or bmp.IsInitialized = False Then R";
if (_bmp== null || _bmp.IsInitialized()==__c.False) { 
if (true) return (Object)(0);};
 //BA.debugLineNum = 425;BA.debugLine="Dim icon As JavaObject";
_icon = new anywheresoftware.b4j.object.JavaObject();
 //BA.debugLineNum = 426;BA.debugLine="Return icon.InitializeStatic(\"android.graphics.dr";
if (true) return _icon.InitializeStatic("android.graphics.drawable.Icon").RunMethod("createWithBitmap",new Object[]{(Object)(_bmp.getObject())});
 //BA.debugLineNum = 427;BA.debugLine="End Sub";
return null;
}
public anywheresoftware.b4a.objects.IntentWrapper  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6(Object _target,boolean _receiver) throws Exception{
anywheresoftware.b4j.object.JavaObject _in = null;
 //BA.debugLineNum = 410;BA.debugLine="Private Sub CreateIntent (Target As Object, Receiv";
 //BA.debugLineNum = 411;BA.debugLine="Target = common.RunMethod(\"getComponentClass\", Ar";
_target = _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7.RunMethod("getComponentClass",new Object[]{__c.Null,_target,(Object)(_receiver)});
 //BA.debugLineNum = 412;BA.debugLine="Dim in As JavaObject";
_in = new anywheresoftware.b4j.object.JavaObject();
 //BA.debugLineNum = 413;BA.debugLine="in.InitializeNewInstance(\"android.content.Intent\"";
_in.InitializeNewInstance("android.content.Intent",new Object[]{(Object)(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.getObject()),_target});
 //BA.debugLineNum = 414;BA.debugLine="Return in";
if (true) return (anywheresoftware.b4a.objects.IntentWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.IntentWrapper(), (android.content.Intent)(_in.getObject()));
 //BA.debugLineNum = 415;BA.debugLine="End Sub";
return null;
}
public Object  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7(Object _service,String _action) throws Exception{
anywheresoftware.b4a.objects.IntentWrapper _in = null;
 //BA.debugLineNum = 398;BA.debugLine="Private Sub CreateReceiverPendingIntent (Service A";
 //BA.debugLineNum = 399;BA.debugLine="Dim in As Intent = CreateIntent(Service, True)";
_in = new anywheresoftware.b4a.objects.IntentWrapper();
_in = _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6(_service,__c.True);
 //BA.debugLineNum = 400;BA.debugLine="in.Action = Action";
_in.setAction(_action);
 //BA.debugLineNum = 401;BA.debugLine="Return PendingIntentStatic.RunMethod(\"getBroadcas";
if (true) return _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5.RunMethod("getBroadcast",new Object[]{(Object)(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.getObject()),(Object)(1),(Object)(_in.getObject()),(Object)(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2())});
 //BA.debugLineNum = 402;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0(Object _fileprovideruri) throws Exception{
 //BA.debugLineNum = 287;BA.debugLine="Public Sub CustomSound (FileProviderUri As Object)";
 //BA.debugLineNum = 288;BA.debugLine="If IsOld Then Return Me";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6()) { 
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);};
 //BA.debugLineNum = 289;BA.debugLine="ctxt.RunMethod(\"grantUriPermission\", Array(\"com.a";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.RunMethod("grantUriPermission",new Object[]{(Object)("com.android.systemui"),_fileprovideruri,(Object)(1)});
 //BA.debugLineNum = 290;BA.debugLine="If IsBuilder Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3()) { 
 //BA.debugLineNum = 291;BA.debugLine="NotificationBuilder.RunMethod(\"setSound\", Array(";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setSound",new Object[]{_fileprovideruri,_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6.GetField("AUDIO_ATTRIBUTES_DEFAULT")});
 //BA.debugLineNum = 292;BA.debugLine="If IsChannel Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4()) { 
 //BA.debugLineNum = 293;BA.debugLine="Channel.RunMethod(\"setSound\", Array(FileProvide";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7.RunMethod("setSound",new Object[]{_fileprovideruri,_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6.GetField("AUDIO_ATTRIBUTES_DEFAULT")});
 };
 };
 //BA.debugLineNum = 296;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 297;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1(Object _service,String _action) throws Exception{
 //BA.debugLineNum = 121;BA.debugLine="Public Sub DeleteAction (Service As Object, Action";
 //BA.debugLineNum = 122;BA.debugLine="If IsBuilder Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3()) { 
 //BA.debugLineNum = 123;BA.debugLine="NotificationBuilder.RunMethod(\"setDeleteIntent\",";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setDeleteIntent",new Object[]{_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7(_service,_action)});
 };
 //BA.debugLineNum = 125;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 126;BA.debugLine="End Sub";
return null;
}
public int  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2() throws Exception{
int _flags = 0;
 //BA.debugLineNum = 404;BA.debugLine="Private Sub GetPendingIntentFlag As Int";
 //BA.debugLineNum = 405;BA.debugLine="Dim flags As Int = 0";
_flags = (int) (0);
 //BA.debugLineNum = 406;BA.debugLine="If SdkLevel >= 31 Then flags = Bit.Or(flags, 3355";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1>=31) { 
_flags = __c.Bit.Or(_flags,(int) (33554432));};
 //BA.debugLineNum = 407;BA.debugLine="Return flags";
if (true) return _flags;
 //BA.debugLineNum = 408;BA.debugLine="End Sub";
return 0;
}
public com.pas.abtahibo.parvaz.nb6  _initialize(anywheresoftware.b4a.BA _ba,String _channelid,Object _channelname,String _importancelevel) throws Exception{
innerInitialize(_ba);
anywheresoftware.b4j.object.JavaObject _jo = null;
anywheresoftware.b4a.objects.collections.Map _im = null;
int _i = 0;
anywheresoftware.b4a.objects.collections.Map _pm = null;
int _p = 0;
 //BA.debugLineNum = 26;BA.debugLine="Public Sub Initialize (ChannelId As String, Channe";
 //BA.debugLineNum = 27;BA.debugLine="ctxt.InitializeContext";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.InitializeContext(ba);
 //BA.debugLineNum = 28;BA.debugLine="PendingIntentStatic.InitializeStatic(\"android.app";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5.InitializeStatic("android.app.PendingIntent");
 //BA.debugLineNum = 29;BA.debugLine="NotificationStatic.InitializeStatic(\"android.app.";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6.InitializeStatic("android.app.Notification");
 //BA.debugLineNum = 30;BA.debugLine="common.InitializeStatic(\"anywheresoftware.b4a.key";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7.InitializeStatic("anywheresoftware.b4a.keywords.Common");
 //BA.debugLineNum = 31;BA.debugLine="Dim jo As JavaObject";
_jo = new anywheresoftware.b4j.object.JavaObject();
 //BA.debugLineNum = 32;BA.debugLine="SdkLevel = jo.InitializeStatic(\"android.os.Build$";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1 = (int)(BA.ObjectToNumber(_jo.InitializeStatic("android.os.Build$VERSION").GetField("SDK_INT")));
 //BA.debugLineNum = 33;BA.debugLine="If SdkLevel < 23 Or (SdkLevel = 23 And IsIncompat";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1<23 || (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1==23 && _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5())) { 
 //BA.debugLineNum = 34;BA.debugLine="SupportLevel = S_OLD";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3 = _s_old;
 }else if(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1>=26) { 
 //BA.debugLineNum = 36;BA.debugLine="SupportLevel = S_CHANNEL";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3 = _s_channel;
 }else {
 //BA.debugLineNum = 38;BA.debugLine="SupportLevel = S_BUILDER";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3 = _s_builder;
 };
 //BA.debugLineNum = 40;BA.debugLine="If IsOld Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6()) { 
 //BA.debugLineNum = 41;BA.debugLine="OldNotification.Initialize";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4.Initialize();
 //BA.debugLineNum = 42;BA.debugLine="OldNotification.Icon = \"icon\"";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4.setIcon("icon");
 }else if(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4()) { 
 //BA.debugLineNum = 44;BA.debugLine="ChannelId = ChannelId & \"_\" & ImportanceLevel";
_channelid = _channelid+"_"+_importancelevel;
 //BA.debugLineNum = 45;BA.debugLine="NotificationBuilder.InitializeNewInstance(\"andro";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.InitializeNewInstance("android.app.Notification$Builder",new Object[]{(Object)(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.getObject()),(Object)(_channelid)});
 //BA.debugLineNum = 46;BA.debugLine="Dim im As Map = CreateMap(\"MIN\": 1, \"LOW\": 2, \"D";
_im = new anywheresoftware.b4a.objects.collections.Map();
_im = __c.createMap(new Object[] {(Object)("MIN"),(Object)(1),(Object)("LOW"),(Object)(2),(Object)("DEFAULT"),(Object)(3),(Object)("HIGH"),(Object)(4)});
 //BA.debugLineNum = 47;BA.debugLine="Dim i As Int = im.Get(ImportanceLevel)";
_i = (int)(BA.ObjectToNumber(_im.Get((Object)(_importancelevel))));
 //BA.debugLineNum = 48;BA.debugLine="Channel.InitializeNewInstance(\"android.app.Notif";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7.InitializeNewInstance("android.app.NotificationChannel",new Object[]{(Object)(_channelid),_channelname,(Object)(_i)});
 }else {
 //BA.debugLineNum = 50;BA.debugLine="NotificationBuilder.InitializeNewInstance(\"andro";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.InitializeNewInstance("android.app.Notification$Builder",new Object[]{(Object)(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.getObject())});
 //BA.debugLineNum = 51;BA.debugLine="Dim pm As Map = CreateMap(\"MIN\": -2, \"LOW\": -1,";
_pm = new anywheresoftware.b4a.objects.collections.Map();
_pm = __c.createMap(new Object[] {(Object)("MIN"),(Object)(-2),(Object)("LOW"),(Object)(-1),(Object)("DEFAULT"),(Object)(0),(Object)("HIGH"),(Object)(1)});
 //BA.debugLineNum = 52;BA.debugLine="Dim p As Int = pm.Get(ImportanceLevel)";
_p = (int)(BA.ObjectToNumber(_pm.Get((Object)(_importancelevel))));
 //BA.debugLineNum = 53;BA.debugLine="NotificationBuilder.RunMethod(\"setPriority\", Arr";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setPriority",new Object[]{(Object)(_p)});
 };
 //BA.debugLineNum = 55;BA.debugLine="If ImportanceLevel = \"DEFAULT\" Or ImportanceLevel";
if ((_importancelevel).equals("DEFAULT") || (_importancelevel).equals("HIGH")) { 
 //BA.debugLineNum = 56;BA.debugLine="SetDefaults(True, True, True)";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7(__c.True,__c.True,__c.True);
 }else {
 //BA.debugLineNum = 58;BA.debugLine="SetDefaults(False, True, True)";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7(__c.False,__c.True,__c.True);
 };
 //BA.debugLineNum = 60;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 61;BA.debugLine="End Sub";
return null;
}
public boolean  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3() throws Exception{
 //BA.debugLineNum = 429;BA.debugLine="Private Sub IsBuilder As Boolean";
 //BA.debugLineNum = 430;BA.debugLine="Return SupportLevel >= S_BUILDER";
if (true) return _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3>=_s_builder;
 //BA.debugLineNum = 431;BA.debugLine="End Sub";
return false;
}
public boolean  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4() throws Exception{
 //BA.debugLineNum = 437;BA.debugLine="Private Sub IsChannel As Boolean";
 //BA.debugLineNum = 438;BA.debugLine="Return SupportLevel = S_CHANNEL";
if (true) return _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3==_s_channel;
 //BA.debugLineNum = 439;BA.debugLine="End Sub";
return false;
}
public boolean  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5() throws Exception{
anywheresoftware.b4j.object.JavaObject _jo = null;
String _model = "";
String _manufacturer = "";
String _key = "";
anywheresoftware.b4a.objects.collections.Map _problematicdevices = null;
 //BA.debugLineNum = 63;BA.debugLine="Private Sub IsIncompatibleDevice As Boolean";
 //BA.debugLineNum = 64;BA.debugLine="Dim jo As JavaObject";
_jo = new anywheresoftware.b4j.object.JavaObject();
 //BA.debugLineNum = 65;BA.debugLine="Dim model As String = jo.InitializeStatic(\"androi";
_model = BA.ObjectToString(_jo.InitializeStatic("android.os.Build").GetField("MODEL"));
 //BA.debugLineNum = 66;BA.debugLine="Dim manufacturer As String = jo.InitializeStatic(";
_manufacturer = BA.ObjectToString(_jo.InitializeStatic("android.os.Build").GetField("MANUFACTURER"));
 //BA.debugLineNum = 67;BA.debugLine="Dim key As String = manufacturer & \" \" & model";
_key = _manufacturer+" "+_model;
 //BA.debugLineNum = 68;BA.debugLine="Log(\"key: \" & key)";
__c.LogImpl("341418757","key: "+_key,0);
 //BA.debugLineNum = 69;BA.debugLine="Dim ProblematicDevices As Map = CreateMap(\"Samsun";
_problematicdevices = new anywheresoftware.b4a.objects.collections.Map();
_problematicdevices = __c.createMap(new Object[] {(Object)("Samsung Galaxy S5"),(Object)(""),(Object)("Sony XPreria M5"),(Object)("")});
 //BA.debugLineNum = 70;BA.debugLine="If ProblematicDevices.ContainsKey(key) Then";
if (_problematicdevices.ContainsKey((Object)(_key))) { 
 //BA.debugLineNum = 71;BA.debugLine="Log(\"Problematic device. Switching to 'old' mode";
__c.LogImpl("341418760","Problematic device. Switching to 'old' mode.",0);
 //BA.debugLineNum = 72;BA.debugLine="Return True";
if (true) return __c.True;
 };
 //BA.debugLineNum = 74;BA.debugLine="Return False";
if (true) return __c.False;
 //BA.debugLineNum = 75;BA.debugLine="End Sub";
return false;
}
public boolean  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6() throws Exception{
 //BA.debugLineNum = 433;BA.debugLine="Private Sub IsOld As Boolean";
 //BA.debugLineNum = 434;BA.debugLine="Return SupportLevel = S_OLD";
if (true) return _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3==_s_old;
 //BA.debugLineNum = 435;BA.debugLine="End Sub";
return false;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _icon) throws Exception{
 //BA.debugLineNum = 145;BA.debugLine="Public Sub LargeIcon (Icon As Bitmap) As NB6";
 //BA.debugLineNum = 146;BA.debugLine="If IsBuilder Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3()) { 
 //BA.debugLineNum = 147;BA.debugLine="NotificationBuilder.RunMethod(\"setLargeIcon\", Ar";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setLargeIcon",new Object[]{_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5(_icon)});
 };
 //BA.debugLineNum = 149;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 150;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0() throws Exception{
 //BA.debugLineNum = 326;BA.debugLine="Public Sub MediaStyle As NB6";
 //BA.debugLineNum = 327;BA.debugLine="If IsBuilder Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3()) { 
 //BA.debugLineNum = 328;BA.debugLine="SetStyle(\"android.app.Notification$MediaStyle\",";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1("android.app.Notification$MediaStyle",__c.createMap(new Object[] {(Object)("setShowActionsInCompactView"),(Object)(new int[]{(int) (0),(int) (1),(int) (2)})}));
 };
 //BA.debugLineNum = 330;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 331;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1(int _num) throws Exception{
 //BA.debugLineNum = 226;BA.debugLine="Public Sub Number (Num As Int) As NB6";
 //BA.debugLineNum = 227;BA.debugLine="If IsOld Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6()) { 
 //BA.debugLineNum = 228;BA.debugLine="OldNotification.Number = Num";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4.setNumber(_num);
 }else {
 //BA.debugLineNum = 230;BA.debugLine="NotificationBuilder.RunMethod(\"setNumber\", Array";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setNumber",new Object[]{(Object)(_num)});
 };
 //BA.debugLineNum = 232;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 233;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2(String _resourcename) throws Exception{
 //BA.debugLineNum = 129;BA.debugLine="Public Sub OldNotificationIcon (ResourceName As St";
 //BA.debugLineNum = 130;BA.debugLine="If IsOld Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6()) { 
 //BA.debugLineNum = 131;BA.debugLine="OldNotification.Icon = ResourceName";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4.setIcon(_resourcename);
 };
 //BA.debugLineNum = 133;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 134;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3(boolean _ongoingevent) throws Exception{
 //BA.debugLineNum = 179;BA.debugLine="Public Sub OnGoing (OnGoingEvent As Boolean) As NB";
 //BA.debugLineNum = 180;BA.debugLine="If IsOld Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6()) { 
 //BA.debugLineNum = 181;BA.debugLine="OldNotification.OnGoingEvent = OnGoingEvent";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4.setOnGoingEvent(_ongoingevent);
 }else {
 //BA.debugLineNum = 183;BA.debugLine="NotificationBuilder.RunMethod(\"setOngoing\", Arra";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setOngoing",new Object[]{(Object)(_ongoingevent)});
 };
 //BA.debugLineNum = 185;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 186;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4(boolean _once) throws Exception{
 //BA.debugLineNum = 153;BA.debugLine="Public Sub OnlyAlertOnce (Once As Boolean) As NB6";
 //BA.debugLineNum = 154;BA.debugLine="If IsBuilder Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3()) { 
 //BA.debugLineNum = 155;BA.debugLine="NotificationBuilder.RunMethod(\"setOnlyAlertOnce\"";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setOnlyAlertOnce",new Object[]{(Object)(_once)});
 };
 //BA.debugLineNum = 157;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 158;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5(int _value,int _maxvalue,boolean _indeterminate) throws Exception{
 //BA.debugLineNum = 248;BA.debugLine="Public Sub Progress (Value As Int, MaxValue As Int";
 //BA.debugLineNum = 249;BA.debugLine="If IsBuilder Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3()) { 
 //BA.debugLineNum = 250;BA.debugLine="NotificationBuilder.RunMethod(\"setProgress\", Arr";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setProgress",new Object[]{(Object)(_maxvalue),(Object)(_value),(Object)(_indeterminate)});
 };
 //BA.debugLineNum = 252;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 253;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6(String _category) throws Exception{
 //BA.debugLineNum = 349;BA.debugLine="Public Sub SetCategory (Category As String) As NB6";
 //BA.debugLineNum = 350;BA.debugLine="If IsBuilder Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3()) { 
 //BA.debugLineNum = 351;BA.debugLine="NotificationBuilder.RunMethod(\"setCategory\", Arr";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setCategory",new Object[]{_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6.GetField(_category)});
 };
 //BA.debugLineNum = 353;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 354;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7(boolean _sound,boolean _light,boolean _vibrate) throws Exception{
int _currentdefaults = 0;
 //BA.debugLineNum = 265;BA.debugLine="Public Sub SetDefaults (Sound As Boolean, Light As";
 //BA.debugLineNum = 266;BA.debugLine="If IsOld Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6()) { 
 //BA.debugLineNum = 267;BA.debugLine="OldNotification.Sound = Sound";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4.setSound(_sound);
 //BA.debugLineNum = 268;BA.debugLine="OldNotification.Light = Light";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4.setLight(_light);
 //BA.debugLineNum = 269;BA.debugLine="OldNotification.Vibrate = Vibrate";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4.setVibrate(_vibrate);
 }else {
 //BA.debugLineNum = 271;BA.debugLine="If IsChannel Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4()) { 
 //BA.debugLineNum = 272;BA.debugLine="Channel.RunMethod(\"enableLights\", Array(Light))";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7.RunMethod("enableLights",new Object[]{(Object)(_light)});
 //BA.debugLineNum = 273;BA.debugLine="Channel.RunMethod(\"enableVibration\", Array(Vibr";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7.RunMethod("enableVibration",new Object[]{(Object)(_vibrate)});
 }else {
 //BA.debugLineNum = 275;BA.debugLine="Dim CurrentDefaults As Int";
_currentdefaults = 0;
 //BA.debugLineNum = 276;BA.debugLine="If Sound Then CurrentDefaults = 1";
if (_sound) { 
_currentdefaults = (int) (1);};
 //BA.debugLineNum = 277;BA.debugLine="If Vibrate Then CurrentDefaults = Bit.Or(Curren";
if (_vibrate) { 
_currentdefaults = __c.Bit.Or(_currentdefaults,(int) (2));};
 //BA.debugLineNum = 278;BA.debugLine="If Light Then CurrentDefaults = Bit.Or(CurrentD";
if (_light) { 
_currentdefaults = __c.Bit.Or(_currentdefaults,(int) (4));};
 //BA.debugLineNum = 279;BA.debugLine="NotificationBuilder.RunMethod(\"setDefaults\", Ar";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setDefaults",new Object[]{(Object)(_currentdefaults)});
 };
 };
 //BA.debugLineNum = 282;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 283;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0(int _clr,int _onms,int _offms) throws Exception{
 //BA.debugLineNum = 342;BA.debugLine="Public Sub SetLights (Clr As Int, OnMs As Int, Off";
 //BA.debugLineNum = 343;BA.debugLine="NotificationBuilder.RunMethod(\"setLights\", Array(";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setLights",new Object[]{(Object)(_clr),(Object)(_onms),(Object)(_offms)});
 //BA.debugLineNum = 344;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 345;BA.debugLine="End Sub";
return null;
}
public String  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1(String _stylename,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{
anywheresoftware.b4j.object.JavaObject _style = null;
String _method = "";
Object _value = null;
 //BA.debugLineNum = 359;BA.debugLine="Private Sub SetStyle(StyleName As String, Props As";
 //BA.debugLineNum = 360;BA.debugLine="Dim style As JavaObject";
_style = new anywheresoftware.b4j.object.JavaObject();
 //BA.debugLineNum = 361;BA.debugLine="style.InitializeNewInstance(StyleName, Null)";
_style.InitializeNewInstance(_stylename,(Object[])(__c.Null));
 //BA.debugLineNum = 362;BA.debugLine="For Each method As String In Props.Keys";
{
final anywheresoftware.b4a.BA.IterableList group3 = _props.Keys();
final int groupLen3 = group3.getSize()
;int index3 = 0;
;
for (; index3 < groupLen3;index3++){
_method = BA.ObjectToString(group3.Get(index3));
 //BA.debugLineNum = 363;BA.debugLine="Dim value As Object = Props.Get(method)";
_value = _props.Get((Object)(_method));
 //BA.debugLineNum = 364;BA.debugLine="If value <> Null Then";
if (_value!= null) { 
 //BA.debugLineNum = 365;BA.debugLine="style.RunMethod(method, Array(value))";
_style.RunMethod(_method,new Object[]{_value});
 };
 }
};
 //BA.debugLineNum = 368;BA.debugLine="NotificationBuilder.RunMethod(\"setStyle\", Array(s";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setStyle",new Object[]{(Object)(_style.getObject())});
 //BA.debugLineNum = 369;BA.debugLine="End Sub";
return "";
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2(boolean _show) throws Exception{
 //BA.debugLineNum = 199;BA.debugLine="Public Sub ShowBadge (Show As Boolean) As NB6";
 //BA.debugLineNum = 200;BA.debugLine="If SdkLevel >= 26 Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1>=26) { 
 //BA.debugLineNum = 201;BA.debugLine="Channel.RunMethod(\"setShowBadge\", Array(Show))";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7.RunMethod("setShowBadge",new Object[]{(Object)(_show)});
 };
 //BA.debugLineNum = 203;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 204;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3(long _time) throws Exception{
 //BA.debugLineNum = 236;BA.debugLine="Public Sub ShowWhen (Time As Long) As NB6";
 //BA.debugLineNum = 237;BA.debugLine="If IsBuilder Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3()) { 
 //BA.debugLineNum = 238;BA.debugLine="NotificationBuilder.RunMethod(\"setShowWhen\", Arr";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setShowWhen",new Object[]{(Object)(__c.True)});
 //BA.debugLineNum = 239;BA.debugLine="NotificationBuilder.RunMethod(\"setWhen\", Array(T";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setWhen",new Object[]{(Object)(_time)});
 };
 //BA.debugLineNum = 241;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 242;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _icon) throws Exception{
 //BA.debugLineNum = 137;BA.debugLine="Public Sub SmallIcon (Icon As Bitmap) As NB6";
 //BA.debugLineNum = 138;BA.debugLine="If IsBuilder Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3()) { 
 //BA.debugLineNum = 139;BA.debugLine="NotificationBuilder.RunMethod(\"setSmallIcon\", Ar";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setSmallIcon",new Object[]{_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5(_icon)});
 };
 //BA.debugLineNum = 141;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 142;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv5(Object _text) throws Exception{
 //BA.debugLineNum = 256;BA.debugLine="Public Sub SubText (Text As Object) As NB6";
 //BA.debugLineNum = 257;BA.debugLine="If IsBuilder Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3()) { 
 //BA.debugLineNum = 258;BA.debugLine="NotificationBuilder.RunMethod(\"setSubText\", Arra";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setSubText",new Object[]{_text});
 };
 //BA.debugLineNum = 260;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 261;BA.debugLine="End Sub";
return null;
}
public com.pas.abtahibo.parvaz.nb6  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6(String _value) throws Exception{
anywheresoftware.b4a.objects.collections.Map _m = null;
int _i = 0;
 //BA.debugLineNum = 304;BA.debugLine="Public Sub Visibility (Value As String) As NB6";
 //BA.debugLineNum = 305;BA.debugLine="If IsBuilder Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3()) { 
 //BA.debugLineNum = 306;BA.debugLine="Dim m As Map = CreateMap(\"PUBLIC\": 1, \"SECRET\":";
_m = new anywheresoftware.b4a.objects.collections.Map();
_m = __c.createMap(new Object[] {(Object)("PUBLIC"),(Object)(1),(Object)("SECRET"),(Object)(-1),(Object)("PRIVATE"),(Object)(0)});
 //BA.debugLineNum = 307;BA.debugLine="Dim i As Int = m.Get(Value)";
_i = (int)(BA.ObjectToNumber(_m.Get((Object)(_value))));
 //BA.debugLineNum = 308;BA.debugLine="NotificationBuilder.RunMethod(\"setVisibility\", A";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0.RunMethod("setVisibility",new Object[]{(Object)(_i)});
 };
 //BA.debugLineNum = 310;BA.debugLine="Return Me";
if (true) return (com.pas.abtahibo.parvaz.nb6)(this);
 //BA.debugLineNum = 311;BA.debugLine="End Sub";
return null;
}
public Object callSub(String sub, Object sender, Object[] args) throws Exception {
BA.senderHolder.set(sender);
return BA.SubDelegator.SubNotFound;
}
}
