Bug Fixes

Bug Fixes
master
msmannan00 2021-06-29 16:44:29 +05:00
parent e77e1bfbf3
commit 5c1c77a7a4
4 changed files with 9 additions and 9 deletions

View File

@ -199,7 +199,7 @@
<!-- --> <!-- -->
<meta-data <meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID" android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-5074525529134731~4717329156" /> <!-- Development Build --> android:value="ca-app-pub-5074525529134731~8620681036" /> <!-- Development Build -->
<!-- <!--
<meta-data <meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID" android:name="com.google.android.gms.ads.APPLICATION_ID"

View File

@ -18,7 +18,6 @@ import android.widget.RatingBar;
import android.widget.TextView; import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import androidx.constraintlayout.widget.ConstraintLayout; import androidx.constraintlayout.widget.ConstraintLayout;
import com.darkweb.genesissearchengine.appManager.activityContextManager;
import com.darkweb.genesissearchengine.constants.constants; import com.darkweb.genesissearchengine.constants.constants;
import com.darkweb.genesissearchengine.constants.strings; import com.darkweb.genesissearchengine.constants.strings;
import com.darkweb.genesissearchengine.eventObserver; import com.darkweb.genesissearchengine.eventObserver;
@ -48,13 +47,13 @@ public class messageManager
/*Initializations*/ /*Initializations*/
private void onClearReference(){ private void onClearReference(){
if(mContext!=null && !mContext.isDestroyed() && !mContext.isFinishing() && mDialog!=null && mDialog.isShowing()){
mDialog.dismiss();
}
if(mContext != null){ if(mContext != null){
mContext.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); mContext.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
mContext = null; mContext = null;
} }
if(mDialog!=null){
mDialog.dismiss();
}
} }
private void initializeDialog(int pLayout, int pGravity){ private void initializeDialog(int pLayout, int pGravity){
@ -722,7 +721,7 @@ public class messageManager
} }
void onReset(){ void onReset(){
if(mDialog !=null && !mDialog.isShowing()){ if(mContext!=null && !mContext.isDestroyed() && !mContext.isFinishing() && mDialog!=null && mDialog.isShowing()){
mDialog.dismiss(); mDialog.dismiss();
} }
} }
@ -785,6 +784,7 @@ public class messageManager
case M_RATE_APP: case M_RATE_APP:
/*VERIFIED*/ /*VERIFIED*/
//onClearReference();
rateApp(); rateApp();
break; break;

View File

@ -218,7 +218,7 @@
android:background="@color/c_border_background_divider" android:background="@color/c_border_background_divider"
android:visibility="gone" android:visibility="gone"
app:adSize="BANNER" app:adSize="BANNER"
app:adUnitId="ca-app-pub-5074525529134731/9885895358" app:adUnitId="ca-app-pub-5074525529134731/7227708311"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/pTopbar" /> app:layout_constraintTop_toBottomOf="@+id/pTopbar" />

View File

@ -1,6 +1,6 @@
/* Version */ /* Version */
project.ext.vname = 'Build | Dark-Origin 1.4.4' project.ext.vname = 'Build | Dark-Origin 1.4.6.1'
project.ext.vcode = 85 project.ext.vcode = 100
project.ext.buildType = 'release' project.ext.buildType = 'release'
/* dimension */ /* dimension */