mirror of https://github.com/LeOS-GSI/LeOS-Genesis
parent
b3ebb39399
commit
013669005d
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<bytecodeTargetLevel target="19" />
|
||||
<bytecodeTargetLevel target="11" />
|
||||
</component>
|
||||
</project>
|
|
@ -2,6 +2,7 @@
|
|||
fd38d80abf402c0cce74ac84b578f259
|
||||
290c7ef397aa241b98bf9cf07be6584f
|
||||
4df96d3bc9afd17b812e65e6c6add1ef
|
||||
974322f19d813702ea048d95288d2b8c
|
||||
29015bbfcc182d80e7f75bd2c38e4521
|
||||
59cd112b25ecb5af4f5290bb180cd582
|
||||
ff22dbf67af979b8b3169a242d10f166
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#Mon Feb 27 01:42:36 PKT 2023
|
||||
#Mon Feb 27 20:15:13 PKT 2023
|
||||
\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000=
|
||||
json=-302677807
|
||||
json=1273416261
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
#Mon Feb 27 01:42:36 PKT 2023
|
||||
#Mon Feb 27 20:15:13 PKT 2023
|
||||
\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000=
|
||||
sdk_analysis_plugin_version=4.9.0
|
||||
set_multidex=true
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme"
|
||||
android:usesCleartextTraffic="true">
|
||||
android:usesCleartextTraffic="false">
|
||||
|
||||
<activity
|
||||
android:launchMode="singleTask"
|
||||
|
|
|
@ -57,10 +57,12 @@ public class historyDelegate implements GeckoSession.HistoryDelegate {
|
|||
if(mCurrentIndex != var2.getCurrentIndex() && mHistoryChanged){
|
||||
mEvent.invokeObserver(Arrays.asList(mGeckoDataModel.mCurrentURL, mGeckoDataModel.mSessionID, mHistory.get(mHistory.getCurrentIndex()).getTitle(), mGeckoDataModel.mCurrentURL_ID, mGeckoDataModel.mTheme, mGeckoSession), homeEnums.eGeckoCallback.ON_UPDATE_SEARCH_BAR);
|
||||
}
|
||||
Object mID = mEvent.invokeObserver(Arrays.asList(mGeckoDataModel.mCurrentURL, mGeckoDataModel.mSessionID, mHistory.get(mHistory.getCurrentIndex()).getTitle(), -1, mGeckoDataModel.mTheme, mGeckoSession, false), homeEnums.eGeckoCallback.ON_UPDATE_HISTORY);
|
||||
if (mID != null) {
|
||||
mGeckoDataModel.mCurrentURL_ID = (int) mID;
|
||||
}
|
||||
try {
|
||||
Object mID = mEvent.invokeObserver(Arrays.asList(mGeckoDataModel.mCurrentURL, mGeckoDataModel.mSessionID, mHistory.get(mHistory.getCurrentIndex()).getTitle(), -1, mGeckoDataModel.mTheme, mGeckoSession, false), homeEnums.eGeckoCallback.ON_UPDATE_HISTORY);
|
||||
if (mID != null) {
|
||||
mGeckoDataModel.mCurrentURL_ID = (int) mID;
|
||||
}
|
||||
}catch (Exception ex){}
|
||||
}
|
||||
mCurrentIndex = var2.getCurrentIndex();
|
||||
}
|
||||
|
|
|
@ -95,14 +95,17 @@ public class geckoClients {
|
|||
}
|
||||
}
|
||||
|
||||
public void onSaveCurrentTab(boolean isHardCopy) {
|
||||
public void onSaveCurrentTab(boolean isHardCopy, AppCompatActivity pContext) {
|
||||
int mStatus = (Integer) dataController.getInstance().invokeTab(dataEnums.eTabCommands.M_ADD_TAB, Arrays.asList(mSession, isHardCopy));
|
||||
if (mStatus == enums.AddTabCallback.TAB_FULL) {
|
||||
pluginController.getInstance().onMessageManagerInvoke(Collections.singletonList(this), M_MAX_TAB_REACHED);
|
||||
pluginController.getInstance().onMessageManagerInvoke(Collections.singletonList(pContext), M_MAX_TAB_REACHED);
|
||||
}
|
||||
}
|
||||
|
||||
public void initRestore(geckoView mNestedGeckoView, AppCompatActivity pcontext) {
|
||||
if(mSession==null){
|
||||
return;
|
||||
}
|
||||
boolean mState = mSession.onRestoreState();
|
||||
if (!mState) {
|
||||
mSession.stop();
|
||||
|
@ -302,11 +305,15 @@ public class geckoClients {
|
|||
}
|
||||
|
||||
public String getTheme() {
|
||||
if (mSessionID.equals(strings.GENERIC_EMPTY_STR)) {
|
||||
return null;
|
||||
} else if (mSession != null && mSession.getTheme() != null) {
|
||||
return mSession.getTheme();
|
||||
} else {
|
||||
try {
|
||||
if (mSessionID.equals(strings.GENERIC_EMPTY_STR)) {
|
||||
return null;
|
||||
} else if (mSession != null && mSession.getTheme() != null) {
|
||||
return mSession.getTheme();
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}catch (Exception ex){
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -87,9 +87,7 @@ public class permissionHandler {
|
|||
public void onPermissionsChecked(MultiplePermissionsReport multiplePermissionsReport) {
|
||||
try {
|
||||
pMethodParam.call();
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
} catch (Exception e) {}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -666,7 +666,7 @@ public class homeController extends AppCompatActivity implements ComponentCallba
|
|||
|
||||
public void initializeGeckoView(boolean isForced, boolean pDatabaseSavable) {
|
||||
mGeckoClient.initializeSession(mGeckoView, new geckoViewCallback(), this);
|
||||
mGeckoClient.onSaveCurrentTab(pDatabaseSavable);
|
||||
mGeckoClient.onSaveCurrentTab(pDatabaseSavable, this);
|
||||
initTabCountForced();
|
||||
}
|
||||
|
||||
|
@ -1107,7 +1107,9 @@ public class homeController extends AppCompatActivity implements ComponentCallba
|
|||
if(mSearchbar!=null){
|
||||
mSearchbar.clearFocus();
|
||||
mHomeViewController.onClearSelections(true);
|
||||
mHomeViewController.onUpdateSearchBar(mGeckoClient.getSession().getCurrentURL(), false, false, true);
|
||||
if(mGeckoClient!=null && mGeckoClient.getSession()!=null && mGeckoClient.getSession().getCurrentURL()!=null){
|
||||
mHomeViewController.onUpdateSearchBar(mGeckoClient.getSession().getCurrentURL(), false, false, true);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -1612,7 +1614,7 @@ public class homeController extends AppCompatActivity implements ComponentCallba
|
|||
mHomeViewController.onProgressBarUpdate(5, true, isStaticURL());
|
||||
dataController.getInstance().invokeTab(dataEnums.eTabCommands.M_UPDATE_PIXEL, Arrays.asList(mGeckoClient.getSession().getSessionID(), mRenderedBitmap, null, mGeckoView, false));
|
||||
mGeckoClient.initializeSession(mGeckoView, new geckoViewCallback(), this);
|
||||
mGeckoClient.onSaveCurrentTab(true);
|
||||
mGeckoClient.onSaveCurrentTab(true, this);
|
||||
dataController.getInstance().invokeTab(dataEnums.eTabCommands.MOVE_TAB_TO_TOP, Collections.singletonList(mGeckoClient.getSession()));
|
||||
initTabCountForced();
|
||||
mHomeViewController.progressBarReset();
|
||||
|
@ -1748,7 +1750,7 @@ public class homeController extends AppCompatActivity implements ComponentCallba
|
|||
mGeckoClient.initializeSession(mGeckoView, new geckoViewCallback(), this);
|
||||
mHomeViewController.progressBarReset();
|
||||
mHomeViewController.onUpdateSearchBar(url, false, true, false);
|
||||
mGeckoClient.onSaveCurrentTab(true);
|
||||
mGeckoClient.onSaveCurrentTab(true, this);
|
||||
dataController.getInstance().invokeTab(dataEnums.eTabCommands.MOVE_TAB_TO_TOP, Collections.singletonList(mGeckoClient.getSession()));
|
||||
mGeckoClient.loadURL(url, mGeckoView, homeController.this);
|
||||
initTabCountForced();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* Version */
|
||||
project.ext.vname = 'Build | Dark-Origin 1.1.0.0'
|
||||
project.ext.vcode = 520
|
||||
project.ext.vname = 'Build | Dark-Origin 1.1.0.1'
|
||||
project.ext.vcode = 525
|
||||
project.ext.buildType = 'release'
|
||||
project.ext.jvmTarget = "1.8"
|
||||
project.ext.applovin_key = "pCPe4EeU2ZQVwQPeHLgseRqHBX1V5pvo9Piuu4J809dRhadEgukXa1A8po_UeXu5hmPOTaP1v4QPaMKIEOhh50"
|
||||
|
|
Loading…
Reference in New Issue