mirror of https://github.com/LeOS-GSI/LeOS-Genesis
parent
e9451e9923
commit
41932fefa8
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="deploymentTargetDropDown">
|
||||
<targetSelectedWithDropDown>
|
||||
<Target>
|
||||
<type value="QUICK_BOOT_TARGET" />
|
||||
<deviceKey>
|
||||
<Key>
|
||||
<type value="VIRTUAL_DEVICE_PATH" />
|
||||
<value value="C:\Users\msman\.android\avd\Pixel_4_API_31_2.avd" />
|
||||
</Key>
|
||||
</deviceKey>
|
||||
</Target>
|
||||
</targetSelectedWithDropDown>
|
||||
<timeTargetWasSelectedWithDropDown value="2022-08-27T07:10:24.436680900Z" />
|
||||
</component>
|
||||
</project>
|
|
@ -65,6 +65,7 @@
|
|||
<entry key="..\:/Workspace/Genesis-Android/app/src/main/res/layouts/home/layout/home_view.xml" value="0.33" />
|
||||
<entry key="..\:/Workspace/Genesis-Android/app/src/main/res/layouts/home/layout/popup_search_view.xml" value="0.1" />
|
||||
<entry key="..\:/Workspace/Genesis-Android/app/src/main/res/layouts/home/layout/popup_side_menu.xml" value="0.20606884057971014" />
|
||||
<entry key="..\:/Workspace/Genesis-Android/app/src/main/res/layouts/language/layout/lang_row_view.xml" value="0.14322916666666666" />
|
||||
<entry key="..\:/Workspace/Genesis-Android/app/src/main/res/layouts/orbot/layout/orbot_settings_view.xml" value="0.33" />
|
||||
<entry key="..\:/Workspace/Genesis-Android/app/src/main/res/layouts/orbotLog/layout/orbot_log_view.xml" value="0.33" />
|
||||
<entry key="..\:/Workspace/Genesis-Android/app/src/main/res/layouts/proxyStatus/layout/proxy_status_view.xml" value="0.20260416666666667" />
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//import com.android.build.OutputFile
|
||||
import com.android.build.OutputFile
|
||||
|
||||
plugins {
|
||||
id "com.jetbrains.python.envs" version "0.0.26"
|
||||
|
@ -14,6 +14,7 @@ android {
|
|||
compileSdkVersion project.ext.compile_sdk_version
|
||||
ndkVersion project.ext.ndk_version
|
||||
|
||||
|
||||
defaultConfig {
|
||||
applicationId project.ext.application_id
|
||||
minSdkVersion project.ext.min_sdk_version
|
||||
|
@ -133,7 +134,7 @@ dependencies {
|
|||
|
||||
/* Automated APK Generation */
|
||||
|
||||
/*android.applicationVariants.all { variant ->
|
||||
android.applicationVariants.all { variant ->
|
||||
|
||||
def buildType = variant.buildType.name
|
||||
|
||||
|
@ -157,7 +158,7 @@ dependencies {
|
|||
output.versionCodeOverride = versionCodeOverride
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@ import androidx.annotation.Nullable;
|
|||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import com.hiddenservices.onionservices.appManager.activityContextManager;
|
||||
import com.hiddenservices.onionservices.appManager.homeManager.homeController.homeController;
|
||||
import com.hiddenservices.onionservices.appManager.kotlinHelperLibraries.BrowserIconManager;
|
||||
import com.hiddenservices.onionservices.constants.*;
|
||||
import com.hiddenservices.onionservices.dataManager.dataController;
|
||||
|
|
|
@ -918,14 +918,16 @@ public class homeController extends AppCompatActivity implements ComponentCallba
|
|||
return false;
|
||||
}
|
||||
onSearchBarInvoked(v);
|
||||
if (!mSearchBarPreviousText.equals(mSearchbar.getText())) {
|
||||
mHomeViewController.onUpdateSearchBar(mGeckoClient.getSession().getCurrentURL(), false, true, false);
|
||||
}
|
||||
mHomeViewController.onClearSelections(true);
|
||||
mGeckoClient.setLoading(true);
|
||||
if (mGeckoClient!=null && mGeckoClient.getSession() !=null){
|
||||
if (!mSearchBarPreviousText.equals(mSearchbar.getText())) {
|
||||
mHomeViewController.onUpdateSearchBar(mGeckoClient.getSession().getCurrentURL(), false, true, false);
|
||||
}
|
||||
mHomeViewController.onClearSelections(true);
|
||||
mGeckoClient.setLoading(true);
|
||||
|
||||
mSearchbar.clearFocus();
|
||||
mHomeViewController.onUpdateSearchBar(mGeckoClient.getSession().getCurrentURL(), false, false, true);
|
||||
mSearchbar.clearFocus();
|
||||
mHomeViewController.onUpdateSearchBar(mGeckoClient.getSession().getCurrentURL(), false, false, true);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
});
|
||||
|
@ -2225,6 +2227,9 @@ public class homeController extends AppCompatActivity implements ComponentCallba
|
|||
if (e_type.equals(enums.etype.M_INIT_TAB_COUNT_FORCED)) {
|
||||
initTabCountForced();
|
||||
} else if (e_type.equals(enums.etype.M_INIT_RUNTIME_SETTINGS)) {
|
||||
if (mGeckoClient.getSession()==null){
|
||||
mGeckoClient.initialize(mGeckoView, new geckoViewCallback(), homeController.this, false);
|
||||
}
|
||||
mGeckoClient.postInitRuntime(mGeckoView, homeController.this);
|
||||
} else if (e_type.equals(enums.etype.M_IS_ERROR_PAGE)) {
|
||||
if (mGeckoClient == null || mGeckoClient.getSession() == null) {
|
||||
|
@ -2321,7 +2326,9 @@ public class homeController extends AppCompatActivity implements ComponentCallba
|
|||
onLoadTabOnResume();
|
||||
}
|
||||
onLoadURL(data.get(0).toString());
|
||||
mHomeViewController.onUpdateSearchBar(dataToStr(data.get(0), mGeckoClient.getSession().getCurrentURL()), false, true, false);
|
||||
if(mGeckoClient == null || mGeckoClient.getSession() == null){
|
||||
mHomeViewController.onUpdateSearchBar(dataToStr(data.get(0), mGeckoClient.getSession().getCurrentURL()), false, true, false);
|
||||
}
|
||||
}
|
||||
mHomeViewController.onFullScreen(true);
|
||||
} else if (e_type.equals(enums.etype.ON_LOAD_TAB_ON_RESUME)) {
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
android:weightSum="7"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/pDivider"
|
||||
tools:ignore="UnknownIdInLayout">
|
||||
|
||||
<LinearLayout
|
||||
|
|
|
@ -320,8 +320,6 @@
|
|||
<string name="SETTING_CLEAR_CACHE_OPTION_9" translatable="true">odebrat přizpůsobení prohlížeče</string>
|
||||
|
||||
|
||||
<string name="ALERT_ADD_BRIDGES_HINT" translatable="false">Bridge ...</string>
|
||||
|
||||
<string name="ALERT_CREATE_BOOKMARK" translatable="true">web záložek</string>
|
||||
<string name="ALERT_CLEAR_HISTORY" translatable="true">odstranit procházené webové odkazy a data</string>
|
||||
<string name="ALERT_CLEAR_BOOKMARK" translatable="true">vymazat záložku a Data</string>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* Version */
|
||||
project.ext.vname = 'Build | Dark-Origin 1.0.5.7'
|
||||
project.ext.vcode = 410
|
||||
project.ext.vname = 'Build | Dark-Origin 1.0.5.8'
|
||||
project.ext.vcode = 415
|
||||
project.ext.buildType = 'release'
|
||||
|
||||
/* dimension */
|
||||
|
|
Loading…
Reference in New Issue