diff --git a/res/values/strings.xml b/res/values/strings.xml index bbdaf59f13a..4b582d68b95 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -3343,20 +3343,25 @@ Unknown sources Allow all app sources - - Lets you install apps from sources other than Google Play - - Allow installation of apps from unknown sources - - Your tablet and personal data are more vulnerable to attack by apps - from unknown sources. You agree that you are solely responsible for any - damage to your tablet or loss of data that may result from using - these apps. - - Your phone and personal data are more vulnerable to attack by apps - from unknown sources. You agree that you are solely responsible for any - damage to your phone or loss of data that may result from using - these apps. + + + + Your tablet and personal data are more vulnerable + to attack by unknown apps. By installing apps from + this source, you agree that you are responsible for + any damage to your tablet or loss of data that may + result from their use. + + + + + Your phone and personal data are more vulnerable + to attack by unknown apps. By installing apps from + this source, you agree that you are responsible for + any damage to your phone or loss of data that may + result from their use. + + Advanced settings @@ -7356,9 +7361,9 @@ No - Install other apps + Install unknown apps - install apps external unknown sources + install apps unknown sources @@ -7391,7 +7396,7 @@ No - Trust apps from this source + Allow app installs Double twist for camera diff --git a/src/com/android/settings/applications/AppStateInstallAppsBridge.java b/src/com/android/settings/applications/AppStateInstallAppsBridge.java index 39a31e6b74d..cc7fb62c40c 100644 --- a/src/com/android/settings/applications/AppStateInstallAppsBridge.java +++ b/src/com/android/settings/applications/AppStateInstallAppsBridge.java @@ -43,12 +43,10 @@ public class AppStateInstallAppsBridge extends AppStateBaseBridge { private final IPackageManager mIpm; private final AppOpsManager mAppOpsManager; - private final Context mContext; public AppStateInstallAppsBridge(Context context, ApplicationsState appState, Callback callback) { super(appState, callback); - mContext = context; mIpm = AppGlobals.getPackageManager(); mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); }