regenerate R.java and Manifest.java to match framework-res.apk

This commit is contained in:
Julian Winkler
2024-03-10 07:18:45 +01:00
committed by Mis012
parent 005e2299bd
commit 1d0ad8132d
5 changed files with 67405 additions and 57236 deletions

View File

@@ -0,0 +1,5 @@
package android.annotation;
public @interface SystemApi {
}

View File

@@ -1545,9 +1545,9 @@ public class PackageParser {
String tagname = parser.getName();
if (tagname.equals("publicKey")) {
final TypedArray sa = res.obtainAttributes(attrs,
com.android.internal.R.styleable.PublicKey);
com.android.internal.R.styleable.AndroidManifestPublicKey);
final String encodedKey = sa.getNonResourceString(
com.android.internal.R.styleable.PublicKey_value);
com.android.internal.R.styleable.AndroidManifestPublicKey_value);
currentKey = parsePublicKey(encodedKey);
if (currentKey == null) {
Slog.w(TAG, "No valid key in 'publicKey' tag at " + parser.getPositionDescription());
@@ -1563,9 +1563,9 @@ public class PackageParser {
continue;
}
final TypedArray sa = res.obtainAttributes(attrs,
com.android.internal.R.styleable.KeySet);
com.android.internal.R.styleable.AndroidManifestKeySet);
final String name = sa.getNonResourceString(
com.android.internal.R.styleable.KeySet_name);
com.android.internal.R.styleable.AndroidManifestKeySet_name);
definedKeySets.get(currentKey).add(name);
sa.recycle();
} else if (RIGID_PARSER) {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff