diff options
author | Gilles Debunne <debunne@google.com> | 2011-06-24 12:27:32 -0700 |
---|---|---|
committer | Gilles Debunne <debunne@google.com> | 2011-06-24 12:27:34 -0700 |
commit | 1f45fa5f219a6577265c480a81af77450985d532 (patch) | |
tree | d45d53847135a4bc029d654a8aef095add479c64 /src/com/android | |
parent | 37d68303e770a3f8b3327317008a031357f5ed69 (diff) | |
download | packages_apps_packageinstaller-1f45fa5f219a6577265c480a81af77450985d532.zip packages_apps_packageinstaller-1f45fa5f219a6577265c480a81af77450985d532.tar.gz packages_apps_packageinstaller-1f45fa5f219a6577265c480a81af77450985d532.tar.bz2 |
Changed unknown source setting link
This settings has been moved to Security.
Change-Id: Ie5b630d5d4e909a687d60ac941a407ee9588635a
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/packageinstaller/PackageInstallerActivity.java | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/com/android/packageinstaller/PackageInstallerActivity.java b/src/com/android/packageinstaller/PackageInstallerActivity.java index 23b87a6..8a00961 100644 --- a/src/com/android/packageinstaller/PackageInstallerActivity.java +++ b/src/com/android/packageinstaller/PackageInstallerActivity.java @@ -16,24 +16,21 @@ */ package com.android.packageinstaller; -import com.android.packageinstaller.R; - import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; -import android.content.Intent; import android.content.DialogInterface.OnCancelListener; +import android.content.Intent; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; -import android.content.pm.PackageParser; import android.content.pm.PackageManager.NameNotFoundException; +import android.content.pm.PackageParser; import android.net.Uri; import android.os.Bundle; import android.provider.Settings; import android.util.Log; import android.view.View; -import android.view.Window; import android.view.View.OnClickListener; import android.widget.AppSecurityPermissions; import android.widget.Button; @@ -197,8 +194,8 @@ public class PackageInstallerActivity extends Activity implements OnCancelListen } private void launchSettingsAppAndFinish() { - //Create an intent to launch SettingsTwo activity - Intent launchSettingsIntent = new Intent(Settings.ACTION_APPLICATION_SETTINGS); + // Create an intent to launch SettingsTwo activity + Intent launchSettingsIntent = new Intent(Settings.ACTION_SECURITY_SETTINGS); launchSettingsIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(launchSettingsIntent); finish(); |