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.
This commit is contained in:
committed by
Android Git Automerger
commit
f97a33569d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user