am 5ddc1995
: Relative component names for dream settings activities.
* commit '5ddc19957fb83cbc890c082052d008066b1f6518': Relative component names for dream settings activities.
This commit is contained in:
@@ -277,6 +277,9 @@ public class DreamBackend {
|
||||
Log.w(TAG, "Error parsing : " + resolveInfo.serviceInfo.packageName, caughtException);
|
||||
return null;
|
||||
}
|
||||
if (cn != null && cn.indexOf('/') < 0) {
|
||||
cn = resolveInfo.serviceInfo.packageName + "/" + cn;
|
||||
}
|
||||
return cn == null ? null : ComponentName.unflattenFromString(cn);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user