diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index 353cd2655e1bb3b8b9a19a7358ee70d05afaaf01..e9ad3a67f52388a5c3606852dbd30eed843f1aa6 100644 --- a/res/values/cm_strings.xml +++ b/res/values/cm_strings.xml @@ -271,6 +271,14 @@ LineageOS legal + + /e/ legal + + + /e/ contributors + /e/ supporters + LineageOS contributors + Tap to sleep Double-tap on the status bar or lockscreen to turn off the display diff --git a/res/xml/about_legal.xml b/res/xml/about_legal.xml index ee3bc635bb9ad9ea57a9501b8cd3641c9f2bfe9b..d4185c7d9deb0aae50e03993d7ae4a8ba3ef9f45 100644 --- a/res/xml/about_legal.xml +++ b/res/xml/about_legal.xml @@ -36,6 +36,11 @@ android:title="@string/license_title"> + + + + + + + + + + + + + + + + diff --git a/res/xml/my_device_info.xml b/res/xml/my_device_info.xml index d0efac2f075459e09eb7524601bd27d803ee1115..cfbcb11617bcc3da0510954872f1cc2493d2a813 100644 --- a/res/xml/my_device_info.xml +++ b/res/xml/my_device_info.xml @@ -63,10 +63,14 @@ android:fragment="com.android.settings.LegalSettings" settings:allowDividerAbove="true"/> - - + + android:title="@string/contributors_title" + android:fragment="com.android.settings.Contributors" > + + 0) { + final Intent intent = new Intent(Intent.ACTION_VIEW); intent.addCategory(Intent.CATEGORY_DEFAULT); - intent.setData(Uri.parse(userLineageLicenseUrl)); + intent.setData(Uri.parse(userLicenseUrl)); try { startActivity(intent); } catch (Exception e) { Log.e(LOG_TAG, "Unable to start activity " + intent.toString()); } - } + } return super.onPreferenceTreeClick(preference); }