Skip to content

Commit dc328ac

Browse files
committed
Move a15 innersource repo to external repo
Propagate internal repo to external repo celadon/a15/vertical ==> vendor-intel-utils-vertical-iot Tracked-On: OAM-133942 Signed-off-by: Basanagouda Nagappa Koppad <Basanagouda.Nagappa.Koppad@intel.com>
1 parent a7abaf6 commit dc328ac

File tree

202 files changed

+44736
-19389
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

202 files changed

+44736
-19389
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
From a63e90f99986ee2ef4921691338c26402a65ea3c Mon Sep 17 00:00:00 2001
2+
From: lgundapx <lakshmanx.gundapu@intel.com>
3+
Date: Wed, 20 Aug 2025 03:53:20 +0000
4+
Subject: [PATCH] Update RELEASE_PLATFORM_SECURITY_PATCH string
5+
6+
Tracked-On: OAM-133801
7+
Signed-off-by: lgundapx <lakshmanx.gundapu@intel.com>
8+
---
9+
flag_values/bp1a/RELEASE_PLATFORM_SECURITY_PATCH.textproto | 2 +-
10+
1 file changed, 1 insertion(+), 1 deletion(-)
11+
12+
diff --git a/flag_values/bp1a/RELEASE_PLATFORM_SECURITY_PATCH.textproto b/flag_values/bp1a/RELEASE_PLATFORM_SECURITY_PATCH.textproto
13+
index cc86162e..063e19fd 100644
14+
--- a/flag_values/bp1a/RELEASE_PLATFORM_SECURITY_PATCH.textproto
15+
+++ b/flag_values/bp1a/RELEASE_PLATFORM_SECURITY_PATCH.textproto
16+
@@ -1,4 +1,4 @@
17+
name: "RELEASE_PLATFORM_SECURITY_PATCH"
18+
value: {
19+
- string_value: "2025-06-01"
20+
+ string_value: "2025-08-01"
21+
}
22+
--
23+
2.34.1
24+

aosp_diff/caas/frameworks/av/0001-CCodecBufferChannel-Report-an-error-after-reallocati.patch

Lines changed: 0 additions & 57 deletions
This file was deleted.

aosp_diff/caas/frameworks/base/0001-Add-system_server-to-readtracefs-group.patch

Lines changed: 0 additions & 30 deletions
This file was deleted.
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
From 15ca07485abcf9235be0dba3d787b1f5f6ccdda5 Mon Sep 17 00:00:00 2001
2+
From: Zak Cohen <zakcohen@google.com>
3+
Date: Fri, 17 Jan 2025 15:16:13 -0800
4+
Subject: [PATCH 1/3] RemoteViews - Always load new ApplicationInfo from
5+
PackageManager.
6+
7+
Always load ApplicationInfo object needed for RemoteViews Contexts directly
8+
from PackageManager. The key used is the package name.
9+
10+
Previously this object was read from the RemoteViews bundle, which was
11+
provided by the Widget providing app, and this object could not be relied
12+
on to have accurate data fields.
13+
14+
Bug: 376028556
15+
Flag: EXEMPT Security Fix
16+
Test: atest CtsWidgetTestCases:RemoteViewsActivityTest#testApplicationInfo
17+
Change-Id: Ie263b51fd2c2bdbf9d622533bb3f77d9f3f7181e
18+
(cherry picked from commit 352fb4821076f0209ab2092d53444503dcec8992)
19+
Merged-In: Ie263b51fd2c2bdbf9d622533bb3f77d9f3f7181e
20+
---
21+
core/java/android/appwidget/AppWidgetHostView.java | 4 ----
22+
core/java/android/widget/RemoteViews.java | 11 ++++++++---
23+
2 files changed, 8 insertions(+), 7 deletions(-)
24+
25+
diff --git a/core/java/android/appwidget/AppWidgetHostView.java b/core/java/android/appwidget/AppWidgetHostView.java
26+
index df1028e9e04c..b9b5c6a8bbc3 100644
27+
--- a/core/java/android/appwidget/AppWidgetHostView.java
28+
+++ b/core/java/android/appwidget/AppWidgetHostView.java
29+
@@ -20,7 +20,6 @@ import android.annotation.NonNull;
30+
import android.annotation.Nullable;
31+
import android.app.Activity;
32+
import android.app.ActivityOptions;
33+
-import android.app.LoadedApk;
34+
import android.compat.annotation.UnsupportedAppUsage;
35+
import android.content.ComponentName;
36+
import android.content.Context;
37+
@@ -753,9 +752,6 @@ public class AppWidgetHostView extends FrameLayout implements AppWidgetHost.AppW
38+
*/
39+
protected Context getRemoteContextEnsuringCorrectCachedApkPath() {
40+
try {
41+
- ApplicationInfo expectedAppInfo = mInfo.providerInfo.applicationInfo;
42+
- LoadedApk.checkAndUpdateApkPaths(expectedAppInfo);
43+
- // Return if cloned successfully, otherwise default
44+
Context newContext = mContext.createApplicationContext(
45+
mInfo.providerInfo.applicationInfo,
46+
Context.CONTEXT_RESTRICTED);
47+
diff --git a/core/java/android/widget/RemoteViews.java b/core/java/android/widget/RemoteViews.java
48+
index 9fe3fd6ddc1a..e7fa80f3e11d 100644
49+
--- a/core/java/android/widget/RemoteViews.java
50+
+++ b/core/java/android/widget/RemoteViews.java
51+
@@ -44,7 +44,6 @@ import android.app.Activity;
52+
import android.app.ActivityOptions;
53+
import android.app.ActivityThread;
54+
import android.app.Application;
55+
-import android.app.LoadedApk;
56+
import android.app.PendingIntent;
57+
import android.app.RemoteInput;
58+
import android.appwidget.AppWidgetHostView;
59+
@@ -8479,8 +8478,14 @@ public class RemoteViews implements Parcelable, Filter {
60+
return context;
61+
}
62+
try {
63+
- LoadedApk.checkAndUpdateApkPaths(mApplication);
64+
- Context applicationContext = context.createApplicationContext(mApplication,
65+
+ // Use PackageManager as the source of truth for application information, rather
66+
+ // than the parceled ApplicationInfo provided by the app.
67+
+ ApplicationInfo sanitizedApplication =
68+
+ context.getPackageManager().getApplicationInfoAsUser(
69+
+ mApplication.packageName, 0,
70+
+ UserHandle.getUserId(mApplication.uid));
71+
+ Context applicationContext = context.createApplicationContext(
72+
+ sanitizedApplication,
73+
Context.CONTEXT_RESTRICTED);
74+
// Get the correct apk paths while maintaining the current context's configuration.
75+
return applicationContext.createConfigurationContext(
76+
--
77+
2.34.1
78+
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
From 2ab952bd47b09b2a43eec309dcab785819ffeec3 Mon Sep 17 00:00:00 2001
2+
From: Sunny Goyal <sunnygoyal@google.com>
3+
Date: Thu, 13 Feb 2025 09:49:26 -0800
4+
Subject: [PATCH 2/3] Handle exceptions from querying appinfo in
5+
RemoteViews#addAppWidget.
6+
7+
Host process may not have access to the ApplicationInfo directly in some cases
8+
9+
Bug: 395168279
10+
Change-Id: Ic26d63acea5f227b56d44bc2e417f7b189f0d2f2
11+
Test: Manual
12+
Flag: EXEMPT bugfix
13+
(cherry picked from commit 37bf5823504f2a256f128123393cd149721b87fc)
14+
---
15+
core/java/android/widget/RemoteViews.java | 16 ++++++++++------
16+
1 file changed, 10 insertions(+), 6 deletions(-)
17+
18+
diff --git a/core/java/android/widget/RemoteViews.java b/core/java/android/widget/RemoteViews.java
19+
index e7fa80f3e11d..52fa550824e2 100644
20+
--- a/core/java/android/widget/RemoteViews.java
21+
+++ b/core/java/android/widget/RemoteViews.java
22+
@@ -8478,12 +8478,16 @@ public class RemoteViews implements Parcelable, Filter {
23+
return context;
24+
}
25+
try {
26+
- // Use PackageManager as the source of truth for application information, rather
27+
- // than the parceled ApplicationInfo provided by the app.
28+
- ApplicationInfo sanitizedApplication =
29+
- context.getPackageManager().getApplicationInfoAsUser(
30+
- mApplication.packageName, 0,
31+
- UserHandle.getUserId(mApplication.uid));
32+
+ ApplicationInfo sanitizedApplication = mApplication;
33+
+ try {
34+
+ // Use PackageManager as the source of truth for application information, rather
35+
+ // than the parceled ApplicationInfo provided by the app.
36+
+ sanitizedApplication = context.getPackageManager().getApplicationInfoAsUser(
37+
+ mApplication.packageName, 0, UserHandle.getUserId(mApplication.uid));
38+
+ } catch(SecurityException se) {
39+
+ Log.d(LOG_TAG, "Unable to fetch appInfo for " + mApplication.packageName);
40+
+ }
41+
+
42+
Context applicationContext = context.createApplicationContext(
43+
sanitizedApplication,
44+
Context.CONTEXT_RESTRICTED);
45+
--
46+
2.34.1
47+

0 commit comments

Comments
 (0)