Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ android {
'src/cliqz/res',
]
}
// huawei {
// java.srcDirs += [
// 'src/cliqz/java',
// ]
// res.srcDirs += [
// 'src/cliqz/res',
// ]
// }
huawei {
java.srcDirs += [
'src/cliqz/java',
]
res.srcDirs += [
'src/cliqz/res',
]
}
}

flavorDimensions "api"
Expand All @@ -103,11 +103,11 @@ android {
dimension "api"
versionCode 8
}
// huawei {
// dimension "api"
// versionCode 5
// applicationIdSuffix ".huawei"
// }
huawei {
dimension "api"
versionCode 5
applicationIdSuffix ".huawei"
}
}

splits {
Expand Down Expand Up @@ -199,6 +199,7 @@ dependencies {
// On-boarding
cliqzImplementation 'com.github.deano2390:MaterialShowcaseView:1.2.0@aar'
amazonImplementation 'com.github.deano2390:MaterialShowcaseView:1.2.0@aar'
huaweiImplementation 'com.github.deano2390:MaterialShowcaseView:1.2.0@aar'

// memory leak analysis
debugImplementation 'com.gu.android:toolargetool:0.2.1@aar'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static SearchEngines safeValueOf(String value) {
try {
return SearchEngines.valueOf(value);
} catch (IllegalArgumentException e) {
return google;
return cliqz;
}
}
public final String engineName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ public boolean getSavePasswordsEnabled() {
}

public SearchEngines getSearchChoice() {
return SearchEngines.safeValueOf(mPrefs.getString(Name.SEARCH, ""));
return SearchEngines.safeValueOf(mPrefs.getString(Name.SEARCH, "cliqz"));
}

public String getSearchUrl() {
Expand Down