fix(QSTile): Avoid implicit intent hijacking
Root cause: The implicit intent hijacking vulnerability occurs when an
application does not specify a fully-qualified component class name or
package when invoking an intent.
Solution: Unless the application requires it, make intentions explicit
by calling setPackage(). This allows the intent to be interpreted only
by a specific component preventing untrusted applications from
intercepting the data sent along with the intent.
Bug: 383000948
Flag: EXEMPT bugfix
Test: atest ColorCorrectionTileTest
            ColorCorrectionTileUserActionInteractorTest
            ColorInversionTileTest
            ColorInversionUserActionInteractorTest
            FontScalingTileTest
            FontScalingUserActionInteractorTest
            QSSettingsPackageRepositoryTest
Change-Id: Id4f56ec6e434e318b84b7c651963b5fc8afe4e36
Loading
Please register or sign in to comment
