Skip to content

Commit 9fc1fec

Browse files
refactor: Updated URLs for Privacy Policy, Terms of Service, and Code of Conduct and updated dependencies
Updated the URLs for the Privacy Policy, Terms of Service, and Code of Conduct across various parts of the application and documentation. The old Google Sites URLs have been replaced with new GitHub Pages URLs to reflect the new location of these documents. - Updated links in `preferences_settings.xml` - Updated links in `StartupActivity.java` - Updated links in `WebViewActivity.java` and its corresponding raw text file - Updated links in `HelpActivity.java` - Updated links in `README.md` Additionally, the following dependencies and Gradle wrapper were updated: - `appcompat` to `1.7.1` - `firebaseBom` to `33.15.0` - `lifecycle` (livedata, runtime, viewmodel) to `2.9.1` - `playServicesAds` to `24.4.0` - Gradle wrapper to `8.14.2`
1 parent dba7af8 commit 9fc1fec

File tree

9 files changed

+39
-28
lines changed

9 files changed

+39
-28
lines changed

.idea/workspace.xml

Lines changed: 20 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ much as we enjoyed creating it for you! Rate us 5 stars ⭐⭐⭐⭐⭐ if you a
102102

103103
[<img src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png" alt="Get it on Google Play" height="90">](https://play.google.com/store/apps/details?id=com.d4rk.androidtutorials.java)
104104

105-
__Privacy Policy__ [here](https://sites.google.com/view/d4rk7355608/more/apps/privacy-policy).
106-
__Terms of Service__ [here](https://sites.google.com/view/d4rk7355608/more/apps/terms-of-service).
105+
__Privacy Policy__ [here](https://d4rk7355608.github.io/profile/#privacy-policy-apps).
106+
__Terms of Service__ [here](https://d4rk7355608.github.io/profile/#terms-of-service-apps).
107107

108108
![license](https://imgur.com/QQlcEVT.png)

app/src/main/java/com/d4rk/androidtutorials/java/ui/screens/android/lessons/views/web/WebViewActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ protected void onCreate(Bundle savedInstanceState) {
3636
@SuppressLint("SetJavaScriptEnabled")
3737
private void setupWebView() {
3838
WebView webView = binding.webView;
39-
webView.loadUrl("https://sites.google.com/view/d4rk7355608/home");
39+
webView.loadUrl("https://d4rk7355608.github.io/profile/#home");
4040
WebSettings webSettings = webView.getSettings();
4141
webSettings.setJavaScriptEnabled(true);
4242
}

app/src/main/java/com/d4rk/androidtutorials/java/ui/screens/help/HelpActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ public boolean onOptionsItemSelected(@NonNull MenuItem item) {
8181
openLink("https://play.google.com/apps/testing/" + getPackageName());
8282
return true;
8383
} else if (itemId == R.id.terms_of_service) {
84-
openLink("https://sites.google.com/view/d4rk7355608/more/apps/terms-of-service");
84+
openLink("https://d4rk7355608.github.io/profile/#terms-of-service-apps");
8585
return true;
8686
} else if (itemId == R.id.privacy_policy) {
87-
openLink("https://sites.google.com/view/d4rk7355608/more/apps/privacy-policy");
87+
openLink("https://d4rk7355608.github.io/profile/#privacy-policy-apps");
8888
return true;
8989
} else if (itemId == R.id.oss) {
9090
OpenSourceLicensesUtils.loadHtmlData(this, (changelogHtml, eulaHtml) -> openLicensesScreen(this, eulaHtml, changelogHtml));

app/src/main/java/com/d4rk/androidtutorials/java/ui/screens/startup/StartupActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ protected void onCreate(Bundle savedInstanceState) {
6262

6363
binding.buttonBrowsePrivacyPolicyAndTermsOfService.setOnClickListener(v ->
6464
startActivity(new Intent(Intent.ACTION_VIEW,
65-
Uri.parse("https://sites.google.com/view/d4rk7355608/more/apps/privacy-policy")))
65+
Uri.parse("https://d4rk7355608.github.io/profile/#privacy-policy-apps")))
6666
);
6767

6868
binding.floatingButtonAgree.setOnClickListener(v -> {

app/src/main/res/raw/text_webview_java.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ public class MainActivity extends AppCompatActivity {
1919
setContentView(binding.getRoot());
2020

2121
// Load a URL in the web view in the layout
22-
binding.webView.loadUrl("https://sites.google.com/view/d4rk7355608/home");
22+
binding.webView.loadUrl("https://d4rk7355608.github.io/profile/#home");
2323
}
2424
}

app/src/main/res/xml/preferences_settings.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,21 +71,21 @@
7171
app:title="@string/privacy_policy">
7272
<intent
7373
android:action="android.intent.action.VIEW"
74-
android:data="https://sites.google.com/view/d4rk7355608/more/apps/privacy-policy" />
74+
android:data="https://d4rk7355608.github.io/profile/#privacy-policy-apps" />
7575
</androidx.preference.Preference>
7676
<androidx.preference.Preference
7777
app:icon="@drawable/ic_terms_of_service"
7878
app:title="@string/terms_of_service">
7979
<intent
8080
android:action="android.intent.action.VIEW"
81-
android:data="https://sites.google.com/view/d4rk7355608/more/apps/terms-of-service" />
81+
android:data="https://d4rk7355608.github.io/profile/#terms-of-service-apps" />
8282
</androidx.preference.Preference>
8383
<androidx.preference.Preference
8484
app:icon="@drawable/ic_code_of_conduct"
8585
app:title="@string/code_of_conduct">
8686
<intent
8787
android:action="android.intent.action.VIEW"
88-
android:data="https://sites.google.com/view/d4rk7355608/more/code-of-conduct" />
88+
android:data="https://d4rk7355608.github.io/profile/#code-of-conduct-website" />
8989
</androidx.preference.Preference>
9090
<androidx.preference.Preference
9191
app:icon="@drawable/ic_permissions"

gradle/libs.versions.toml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
[versions]
2-
appcompat = "1.7.0"
2+
appcompat = "1.7.1"
33
appUpdate = "2.1.0"
44
billing = "7.1.1"
55
constraintlayout = "2.2.1"
66
aboutlibraries = "11.3.0"
77
coreSplashscreen = "1.0.1"
88
core = "4.6.2"
9-
firebaseBom = "33.14.0"
9+
firebaseBom = "33.15.0"
1010
gridlayout = "1.1.0"
1111
kotlinxSerializationJson = "1.8.1"
1212
library = "1.3.0"
1313
libraryVersion = "1.4.0"
14-
lifecycle = "2.9.0"
15-
lifecycleLivedata = "2.9.0"
16-
lifecycleRuntime = "2.9.0"
17-
lifecycleViewmodel = "2.9.0"
14+
lifecycle = "2.9.1"
1815
lottie = "6.6.0"
1916
navigationFragment = "2.9.0"
2017
navigationUi = "2.9.0"
@@ -24,7 +21,7 @@ volley = "1.2.1"
2421
coreKtx = "1.16.0"
2522
material = "1.12.0"
2623
multidex = "2.0.1"
27-
playServicesAds = "24.3.0"
24+
playServicesAds = "24.4.0"
2825

2926
[libraries]
3027
aboutlibraries = { module = "com.mikepenz:aboutlibraries", version.ref = "aboutlibraries" }
@@ -33,10 +30,10 @@ androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayo
3330
androidx-core = { module = "androidx.core:core", version.ref = "coreKtx" }
3431
androidx-core-splashscreen = { module = "androidx.core:core-splashscreen", version.ref = "coreSplashscreen" }
3532
androidx-gridlayout = { module = "androidx.gridlayout:gridlayout", version.ref = "gridlayout" }
36-
androidx-lifecycle-livedata = { module = "androidx.lifecycle:lifecycle-livedata", version.ref = "lifecycleLivedata" }
33+
androidx-lifecycle-livedata = { module = "androidx.lifecycle:lifecycle-livedata", version.ref = "lifecycle" }
3734
androidx-lifecycle-process = { module = "androidx.lifecycle:lifecycle-process", version.ref = "lifecycle" }
38-
androidx-lifecycle-runtime = { module = "androidx.lifecycle:lifecycle-runtime", version.ref = "lifecycleRuntime" }
39-
androidx-lifecycle-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel", version.ref = "lifecycleViewmodel" }
35+
androidx-lifecycle-runtime = { module = "androidx.lifecycle:lifecycle-runtime", version.ref = "lifecycle" }
36+
androidx-lifecycle-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel", version.ref = "lifecycle" }
4037
androidx-multidex = { module = "androidx.multidex:multidex", version.ref = "multidex" }
4138
androidx-navigation-fragment = { module = "androidx.navigation:navigation-fragment", version.ref = "navigationFragment" }
4239
androidx-preference = { module = "androidx.preference:preference", version.ref = "preference" }
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Wed May 28 20:22:20 EEST 2025
1+
#Mon Jun 09 22:36:08 EEST 2025
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.1-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)