Merge "deprecate sharedUserId attribute" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
21dd05fd2c
@@ -1223,8 +1223,8 @@ package android {
|
|||||||
field public static final int shadowRadius = 16843108; // 0x1010164
|
field public static final int shadowRadius = 16843108; // 0x1010164
|
||||||
field public static final int shape = 16843162; // 0x101019a
|
field public static final int shape = 16843162; // 0x101019a
|
||||||
field public static final int shareInterpolator = 16843195; // 0x10101bb
|
field public static final int shareInterpolator = 16843195; // 0x10101bb
|
||||||
field public static final int sharedUserId = 16842763; // 0x101000b
|
field @Deprecated public static final int sharedUserId = 16842763; // 0x101000b
|
||||||
field public static final int sharedUserLabel = 16843361; // 0x1010261
|
field @Deprecated public static final int sharedUserLabel = 16843361; // 0x1010261
|
||||||
field public static final int shell = 16844180; // 0x1010594
|
field public static final int shell = 16844180; // 0x1010594
|
||||||
field public static final int shortcutDisabledMessage = 16844075; // 0x101052b
|
field public static final int shortcutDisabledMessage = 16844075; // 0x101052b
|
||||||
field public static final int shortcutId = 16844072; // 0x1010528
|
field public static final int shortcutId = 16844072; // 0x1010528
|
||||||
|
|||||||
@@ -346,13 +346,21 @@
|
|||||||
By setting this value on two or more packages, each of these packages
|
By setting this value on two or more packages, each of these packages
|
||||||
will be given a single shared user ID, so they can for example run
|
will be given a single shared user ID, so they can for example run
|
||||||
in the same process. Note that for them to actually get the same
|
in the same process. Note that for them to actually get the same
|
||||||
user ID, they must also be signed with the same signature. -->
|
user ID, they must also be signed with the same signature.
|
||||||
|
@deprecated Shared user id's cause non-deterministic behaviour within the
|
||||||
|
package manager. As such, it's use is discouraged, deprecated, and will
|
||||||
|
be removed altogether in a future version of Android. Instead, proper
|
||||||
|
communication mechanisms such as services and providers should be used
|
||||||
|
to facilitate interoperability between shared components. -->
|
||||||
<attr name="sharedUserId" format="string" />
|
<attr name="sharedUserId" format="string" />
|
||||||
|
|
||||||
<!-- Specify a label for the shared user UID of this package. This is
|
<!-- Specify a label for the shared user UID of this package. This is
|
||||||
only used if you have also used android:sharedUserId. This must
|
only used if you have also used android:sharedUserId. This must
|
||||||
be a reference to a string resource; it can not be an explicit
|
be a reference to a string resource; it can not be an explicit
|
||||||
string. -->
|
string.
|
||||||
|
@deprecated There is no replacement for this attribute.
|
||||||
|
{@link android.R.attr#sharedUserId} has been deprecated making
|
||||||
|
this attribute unnecessary. -->
|
||||||
<attr name="sharedUserLabel" format="reference" />
|
<attr name="sharedUserLabel" format="reference" />
|
||||||
|
|
||||||
<!-- Internal version code. This is the number used to determine whether
|
<!-- Internal version code. This is the number used to determine whether
|
||||||
|
|||||||
Reference in New Issue
Block a user