summaryrefslogtreecommitdiffstats
path: root/src/com/android/packageinstaller
diff options
context:
space:
mode:
authorGilles Debunne <debunne@google.com>2011-06-24 12:27:32 -0700
committerGilles Debunne <debunne@google.com>2011-06-24 12:27:34 -0700
commit1f45fa5f219a6577265c480a81af77450985d532 (patch)
treed45d53847135a4bc029d654a8aef095add479c64 /src/com/android/packageinstaller
parent37d68303e770a3f8b3327317008a031357f5ed69 (diff)
downloadandroid_packages_apps_PackageInstaller-1f45fa5f219a6577265c480a81af77450985d532.tar.gz
android_packages_apps_PackageInstaller-1f45fa5f219a6577265c480a81af77450985d532.tar.bz2
android_packages_apps_PackageInstaller-1f45fa5f219a6577265c480a81af77450985d532.zip
Changed unknown source setting link
This settings has been moved to Security. Change-Id: Ie5b630d5d4e909a687d60ac941a407ee9588635a
Diffstat (limited to 'src/com/android/packageinstaller')
-rw-r--r--src/com/android/packageinstaller/PackageInstallerActivity.java11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/com/android/packageinstaller/PackageInstallerActivity.java b/src/com/android/packageinstaller/PackageInstallerActivity.java
index 23b87a6e..8a009617 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();