diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index 5ebbf169ef581..af7ec5eecbd08 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -3949,10 +3949,12 @@ public class Intent implements Parcelable, Cloneable { * is: * *
-     * android-app://{package_id}/{scheme}/{host}/{path}{#Intent;...}
+ * android-app://{package_id}[/{scheme}[/{host}[/{path}]]][#Intent;{...}] * - *

In this scheme, only the pacakge_id is required, and all - * other components can be included as desired. Note that this can not be + *

In this scheme, only the package_id is required. If you include a host, + * you must also include a scheme; including a path also requires both a host and a scheme. + * The final #Intent; fragment can be used without a scheme, host, or path. + * Note that this can not be * used with intents that have a {@link #setSelector}, since the base intent * will always have an explicit package name.

* diff --git a/core/java/android/os/BatteryStats.java b/core/java/android/os/BatteryStats.java index c0dca0e65d6ca..cd45cfb326ac3 100644 --- a/core/java/android/os/BatteryStats.java +++ b/core/java/android/os/BatteryStats.java @@ -4083,7 +4083,7 @@ public abstract class BatteryStats implements Parcelable { prepareForDumpLocked(); dumpLine(pw, 0 /* uid */, "i" /* category */, VERSION_DATA, - "11", getParcelVersion(), getStartPlatformVersion(), getEndPlatformVersion()); + "12", getParcelVersion(), getStartPlatformVersion(), getEndPlatformVersion()); long now = getHistoryBaseTime() + SystemClock.elapsedRealtime();