Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
packages_apps_PackageInstaller
Commits
c511bee4
Commit
c511bee4
authored
16 years ago
by
Mihai Preda
Browse files
Options
Download
Email Patches
Plain Diff
reflect remove NameNotFoundException from getLaunchIntentForPackage.
parent
fe069ea7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
src/com/android/packageinstaller/InstallAppDone.java
src/com/android/packageinstaller/InstallAppDone.java
+2
-5
No files found.
src/com/android/packageinstaller/InstallAppDone.java
View file @
c511bee4
...
@@ -73,11 +73,8 @@ public class InstallAppDone extends Activity implements View.OnClickListener {
...
@@ -73,11 +73,8 @@ public class InstallAppDone extends Activity implements View.OnClickListener {
centerTextDrawableId
=
R
.
drawable
.
button_indicator_finish
;
centerTextDrawableId
=
R
.
drawable
.
button_indicator_finish
;
centerTextLabel
=
R
.
string
.
install_done
;
centerTextLabel
=
R
.
string
.
install_done
;
// Enable or disable launch button
// Enable or disable launch button
try
{
mLaunchIntent
=
getPackageManager
().
getLaunchIntentForPackage
(
mLaunchIntent
=
getPackageManager
().
getLaunchIntentForPackage
(
mAppInfo
.
packageName
);
mAppInfo
.
packageName
);
}
catch
(
PackageManager
.
NameNotFoundException
e
)
{
}
if
(
mLaunchIntent
!=
null
)
{
if
(
mLaunchIntent
!=
null
)
{
mLaunchButton
.
setOnClickListener
(
this
);
mLaunchButton
.
setOnClickListener
(
this
);
}
else
{
}
else
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment