Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4224dc8b authored by Mathew Inwood's avatar Mathew Inwood
Browse files

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 5d123b67.

NoNonSdkCheck: b/170729553

Bug: 175981568
Test: m
Change-Id: I3e61d3f56f176d573f68ba85f3b1762686aa62ef
parent 281c9722
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);