Derestrict ContextWrapper.createApplicationContext.
Usage has been discovered by an app so reverting this to its previous
state. This is conceptually a partial revert of change 5d123b6775.
NoNonSdkCheck: b/170729553
Bug: 175981568
Test: m
Change-Id: I3e61d3f56f176d573f68ba85f3b1762686aa62ef
This commit is contained in:
@@ -943,7 +943,7 @@ public class ContextWrapper extends Context {
|
||||
|
||||
/** @hide */
|
||||
@Override
|
||||
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553)
|
||||
@UnsupportedAppUsage(trackingBug = 175981568)
|
||||
public Context createApplicationContext(ApplicationInfo application,
|
||||
int flags) throws PackageManager.NameNotFoundException {
|
||||
return mBase.createApplicationContext(application, flags);
|
||||
|
||||
Reference in New Issue
Block a user