Merge tag 'android-security-11.0.0_r49' into staging/lineage-18.1_merge-android-security-11.0.0_r49
Android security 11.0.0 release 49 * tag 'android-security-11.0.0_r49': Changed INTERACT_ACROSS_PROFILES appop to be set per UID TIF: fix issue of using caller-aware methods after clearCallingIdentity() Backporting the change of ag/15629060 to rvc-dev Bluetooth: Fix formatting in getAlias() Fix parsing code parcelling errors camera2: Fix exception swallowing in params classes createFromParcel Revert "BG-FGS-start while-in-use permission restriction improve..." Make sure that only the owner can call stopVpnProfile() DO NOT MERGE Apply a maximum char count to the load label api Send targeted broadcasts to prevent other apps from receiving them. Guard DISABLE_PLUGIN with PLUGIN permission. Fix a potential thread safety issue in VectorDrawable Fix background bypass via notifications Change ownership of the account request notification. Revert "wifidisplay: restrict broadcast by the proper permission" Use IntentFilter CREATOR directly for serializing ParsedIntentInfo Don't export HeapDumpProvider. Don't attach private Notification to A11yEvent when user locked Avoid locking profile task when it is already lock Improve ellipsize performance Fix side effects of trace-ipc and dumpheap commands DO NOT MERGE Add cross-user check for getDefaultSmsPackage(). BG-FGS-start while-in-use permission restriction improvement. Remove ParsedIntentInfo CREATOR Fix race condition between lockNow() and updateLockscreenTimeout [security] SubscriptionGroup is exposed to unprivileged callers Block SAF directory access to /sdcard/Android [RESTRICT AUTOMERGE] Fix OOB write in noteAtomLogged Remove sendNetworkConditionsBroadcast Ensure storage permission revoke happens for all users Restrict alarm broadcast Detects all activities for whether showing work challenge DO NOT MERGE - Disallow deletion of channels with FGS notifications Increase maximum allowed size for status bar icons [DO NOT MERGE] Make PendingIntents in screenshots immutable wifidisplay: restrict broadcast by the proper permission Fix legacy APIs when VPN switches to suspended underlying network. Backport test coverage from aosp/1547496. Backport some helpers in ConnectivityServiceTest. Test for bugs with suspended VPN underlying networks. Add a test for getDefaultNetworkCapabilitiesForUser. Improve testing of CONNECTIVITY_ACTION broadcasts. Test passing an underlying network array with null network in it. Make testVpnNetworkActive more deterministic. Make MockVpn more realistic and easier to use. Increase test coverage for VPN info sent to NetworkStatsService. Simplify MockVpn. Test a VPN with an underlying network that does not yet exist. Limit maximum allowed size for a status bar icon Adds caller check to getAllPackages() Restrict the overridden min size for PiP Add pkg target to snoozing alarm Allow empty tokens in strict grammar Allow empty tokens in strict grammar [DO NOT MERGE] Make screenshot error notification PendingIntent immutable DO NOT MERGE: Associate notif cancels with notif posts [RESTRICT AUTOMERGE] Use userId instead of USER_CURRENT in shouldLockKeyguard. Revoke storage on SDK downgrade or new full storage request [DO NOT MERGE] Close screenshot process on user switched Fix thread safety issue on clearing cache [SettingsProvider] extend font size scale range DO NOT MERGE: Do not inject mock location to chipset [RESTRICT AUTOMERGE] Fix potential out of bounds writes in LogEvent. Check mode/boost index before accessing cached support value Only update native InputApplicationHandle once Allow CDM to hide overlays Prevent non-system overlays from showing over CDM UI RESTRICT AUTOMERGE: Set mAllowWhileInUsePermissionInFgs correctly when bindService() from background. Protect account chooser activities against overlay. [SettingsProvider] fix font size scale validator Ensure caller identity is restored in CP quick-path. Remove updateIntentVerificationStatusAsUser from ResolverActivity Revoke the uri permission when the file is deleted Ignore GrantCredentials call with unexpected calling uid. Protect GrantCredentialsPermissionActivity against overlay. Revoke permission on non-runtime -> runtime upgrade Ensure permissions are revoked on state changes Hide overlays over uninstall confirm dialog RESTRICT AUTOMERGE Fix CDM package check remove sensitive pii from safetynet logging Revoke install permissions when the permission defining app is uninstalled. DO NOT MERGE Check fingerprint client against top activity in auth callback Fix the issue provider can be wrong when requesting slice permission Enforce permission checks in getting app exit reasons Fix storing the wrong value of mLockdown in setting [BACKPORT] Improve location checks in TelephonyRegistry Do not re-initialize synthetic password Fix VrDisplayTest failure Require permission to create trusted displays Accept repeated locale as an input of LocaleList construction. Sanitize more of the notification text fields DO NOT MERGE Fix NPE in executeDeletePackageLIF. DO NOT MERGE Don't allow non-instant permissions for instant apps. Mark implicit PendingIntents as immutable Add missing isShellUser check Decouple FUSE mount from main thread for demo user Set the NetworkInfo subtype to 0. Reduce demo user FUSE volume mount timeout Propagate AudioAttributes flags to VibrationAttributes Allow network stack UID caller to retrieve cell identity Ignore GONE views in shade when processing sections Fix unintended preferred activity reset Skip bg PSS collection for apps using a camera Fix missing IME switcher icon (w/ a hardware keyboard) Java docs update: Advise not to include PII in setProcessStateSummary Grant visibility even when not granting URI perm Fix NavigationBarColorTest Prevent exception when surrounding text retrieval Resume-on-Reboot: remove special string Wait for remote animation to stop freezing display Remove incorrect optimization in visibility cache Early exit when target app ID < FIRST_APP_UID Fixes broadcast filtering for multi-user sys apps Repopulate cache with sibling visibility on remove Revert "Hide bubbles' IME after screenshot is taken." Ensure we always bind to overview service when starting up Fix missing icon for one-to-one convos Fix missing icon for one-to-one convos Revert "Exception if receive move withouth down" Revert "Consolidating MODIFY_AUDIO_SETTINGS permission checks" Revert "Flip ENABLE_DYNAMIC_PERMISSIONS, attempt #5." Revert "Flip ENABLE_DYNAMIC_PERMISSIONS, attempt #4." Revert "Flip ENABLE_DYNAMIC_PERMISSIONS." Revert "Flip ENABLE_DYNAMIC_PERMISSIONS." Revert "System Bars animation for fixed rotation transform" Revert "Don't readd pending notifs to NEM's allNotifs list" Fixed a bug where the brighness mirror would make everything invisible Fix crash caused by unhandled bucket Adding UiModeManager Custom Tests Revert "Fix missing animation when launch activity from notification." Revert "Prevent NPE in PulseExpansionHandler" Revert "Fix missing animation when launch activity from notification." Revert "Prevent NPE in PulseExpansionHandler" Revert "Fix missing animation when launch activity from notification." Check URI is valid for loading images Add READ_PHONE_STATE back to pregranted phone permissions Add delay between quota check alarms. Add READ_PHONE_STATE back to pregranted phone permissions Add READ_PHONE_STATE back to pregranted phone permissions Fix Ime consumer isRequestedVisible Disable overflow menu on lock screen. Ensure power menu overflow dismissed when dialog dismissed. Fix NPE when ranking update causes reinflation Only give DisplayInsetsController control over IME in split-screen Re-send the IME control after IME is re-created Update destination bounds if rotation finishes first Reboot the soundtrigger HAL on failure Add /apex to the list of allowed SystemServer paths Revert "Fix exception handling in getState() binder cache" Only use the IME target from IMMS to update the IME control target WindowInsetsAnimation: Fix app driven closing of IME WindowInsetsAnimation: Synchronously dispatch window insets animation callbacks WindowInsets: Ignore consumeStableInsets() Request fit system windows if soft input mode updates Update insets state for each window if its mBehindIme is changed Fixes NPE and adds @Nullable to PackageSetting.pkg startop: Fix a string format bug in EventSequenceValidator. Work around for display info mismatch during the PiP transition Work around for display info mismatch during the PiP transition Give tethering bluetooth privilege permission Make canBeImeTarget be compatible with legacy behavior Give tethering bluetooth privilege permission Revert "Don't override activity display adjustments with app config" Make canBeImeTarget be compatible with legacy behavior fix enrollment application permission check add KEYPHRASE_ENROLLMENT_APPLICATION permission Make canBeImeTarget be compatible with legacy behavior Fixes query logic when not instant Fixes query logic when not instant Make canBeImeTarget be compatible with legacy behavior Call setAdapter from handleLayoutChanged. Use BIND_INCLUDE_CAPABILITIES for SoundTriggerService Assign a BluetoothAdapter on creation of LMM Use the bounds received in taskAppeared Assign a BluetoothAdapter on creation of LMM Revert "Do not block autofill on waiting for the IME response" Revert "Fix bouncer race condition" Null-check notif chan when ident people notifs Don't apply ime adjustments/dims if split is not active Restores PiP to its original app bounds Revert "media: lazy MediaCodec.release()" Some clean-up of divider code in preparation for bugfixes Revert "Some clean-up of divider code in preparation for bugfixes" Revert "Don't apply ime adjustments/dims if split is not active" Don't apply ime adjustments/dims if split is not active Some clean-up of divider code in preparation for bugfixes Revert "media: lazy MediaCodec.release()" InsetController: Release leashes from RenderThread Fix instances of ContentObserver#onChange in SystemUI Adjust users of hidden APIs. Revert "Turn on QS media player by default" Dark theme upgrade broken Change animation-leash to be a container layer Dark theme upgrade broken Reset controls when playback state is NONE Relax permission checks in sound trigger middleware Revert "Turn on QS media player by default" Dark theme not working bug Dark theme not working bug Revert "Fix permission check for get/setSmscAddress." Ignore unchecked IME show/hide when no root Initialize PackageManagerService ApplicationInfo instances to system user Ensures display rotation triggers PiP re-position DO NOT MERGE: Fix FLAG_NOT_FOCUSABLE ime target Revert "Avoid creating new instance on top when started for resu..." Don't crash if NSSL gets incomplete gesture DO NOT MERGE: Fix FLAG_NOT_FOCUSABLE ime target Revert "Avoid creating new instance on top when started for resu..." Don't crash if NSSL gets incomplete gesture Revert "Avoid creating new instance on top when started for resu..." Don't crash if NSSL gets incomplete gesture Fix PackageSetting isUpdatedSystemApp and SYSTEM_EXT rescan Revert "Avoid creating new instance on top when started for resu..." Do not attempt to special case uncompressed font assets. Fix crash during SysUI dumpsys Re-add compile_multilib to statsd apex Revert "Limit metricslogger call into statsdw for events" Revert "Remove libstats_jni from the platform" Revert "Move libstatspull to the apex" Revert "Require user pass in a non-null BluetoothDevice to all B..." Fail silently on MediaScannerConnection#onScanCompleted Revert "Prevents an NPE when content provider is slow to start" Fix content views not updating Fix content views not updating Fix the NPE when reading the call log or SMS if a device has multiple user profiles Fix Keyboard won't display when RemoteInput active Revert "Add permissions for using PlatformCompat methods" Revert "API for Inline Presentation Renderer in ExtServices." Fixup SDCARD_RW GID for multi-user. Revert "Move text toast creation to system UI" MediaSessionRecord: fix volume stream query Always set NetworkInfo objects to available. Fix emergency button overlap with nav bar Revert "Convert NotificationContentInflater to singleton" Revert "Move a bunch of row setters into an init method." Remove resource overlayable configuration AudioService: log result of AudioSystem calls for A2DP devices AudioService: fix A2DP disconnection / reconnection AudioService: fix A2DP disconnection / reconnection Revert "Rmove @UnsupportedAppUsage" Revert "Merge "switch to new SkPathDirection enum"" RecoverySystem: do not check if socket is closed Fix swiping down on the notch. Add synchronization for PermissionData. Revert "Replace framework-annotation-proc java lib with framework-all" Freeup lock when IME is set inactive and unbound Revert submission Revert "Clean up visibility related flags in ActivityRecord" Revert "Clean up visibility related flags in WindowToken" Revert "Clean up visibility related flags in ActivityRecord" Call appOps changed from main thread Revert "Create unit tests for GnssManagerService" Initialize AppCompatCallbacks in system server Prevent crash when invoking GNSS apis Return resume result in resumeFocusedStacksTopActivities Prevent crash when invoking GNSS apis Return resume result in resumeFocusedStacksTopActivities Return resume result in resumeFocusedStacksTopActivities Revert "Move DozeServiceHost out of StatusBar." Ensure next home activity is ready before finish FallbackHome Temporarily do not remove biometric view when animating to credential Revert "Move DozeServiceHost out of StatusBar." Ensure next home activity is ready before finish FallbackHome Mark BiometricUnlockController as @Singleton Add userId to the package name API. Revert "Example for disabling changes at test time" Revert "Drop all caches in UI_HIDDEN" Make KeyguardUpdateMonitor a singleton Ensure that view is initialized properlly upon inflation. Revert "Remove many (most) of the calls to Dependency.get() from StatusBar." Fix NavigationBarController NPE Fix NavigationBarController NPE SurfaceView: Release Surfaces where SurfaceControl are released. Breaks isInstantApp into public and internal Clears calling identity when calling isInstantApp Workaround multiple instance of AppComponentFactory. Ensure that the Application is constructed before any Service. Remove KeyguardUpdateMonitor.getInstance(). Fixes regression caused by ag/9259064 Fix regression in updating gesture exclusion rects Fix regression in updating gesture exclusion rects Fix regression in updating gesture exclusion rects Fix regression in updating gesture exclusion rects Clear calling identity as broadcast needs permission WifiManager: Return dummy values when wifi service is not up Adding null checks Revert SurfaceView back to Q's version Revert "Use the SubId in the TM.getNetworkType if Valid" Retire unused android::nio_{get,release}Buffer functions Skip idmap1 generation if target defines overlayable Ensure all fields of AutoBufferPointer are initialized Change-Id: I4838416fa76f01643eccb8c6689c10499f5862d4
Loading
Please register or sign in to comment