diff options
| author | Jean-Baptiste Queru <jbq@google.com> | 2010-08-16 15:18:54 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2010-08-16 15:18:54 -0700 |
| commit | f97a33569d7e0e3be927ff98f00bd240f189e316 (patch) | |
| tree | 520aeb8efdfbf7e85c4cd23ac1b0ec9e63be4c5f /apps/Development/src/com/android/development | |
| parent | 6c7ec482e33057ad3a3f09d9601615236690d79b (diff) | |
| parent | 0fd0e932d2c09fad85c36fc555c9388b38cb2956 (diff) | |
| download | android_development-f97a33569d7e0e3be927ff98f00bd240f189e316.tar.gz android_development-f97a33569d7e0e3be927ff98f00bd240f189e316.tar.bz2 android_development-f97a33569d7e0e3be927ff98f00bd240f189e316.zip | |
am 0fd0e932: am 898004c4: Merge "Activity/provider used is restricted to the application\'s Package, but can be spread across other packages as well. A better way to construct the activity name should be by getting the substring from the fully qualified classname itse
Merge commit '0fd0e932d2c09fad85c36fc555c9388b38cb2956'
* commit '0fd0e932d2c09fad85c36fc555c9388b38cb2956':
Activity/provider used is restricted to the application's Package, but can be spread across other packages as well.
Diffstat (limited to 'apps/Development/src/com/android/development')
| -rw-r--r-- | apps/Development/src/com/android/development/PackageSummary.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/Development/src/com/android/development/PackageSummary.java b/apps/Development/src/com/android/development/PackageSummary.java index 58ab0f7f6..d621d4e67 100644 --- a/apps/Development/src/com/android/development/PackageSummary.java +++ b/apps/Development/src/com/android/development/PackageSummary.java @@ -251,7 +251,7 @@ public class PackageSummary extends Activity { private final static void setItemText(Button item, PackageInfo pi, String className) { - item.setText(className.substring(pi.packageName.length()+1)); + item.setText(className.substring(className.lastIndexOf('.')+1)); } private final class ActivityOnClick implements View.OnClickListener |
