summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PackageInstaller: Fix typoHEADreplicant-6.0-0004-rc1cm-13.0Michael W2018-01-241-1/+1
| | | | Change-Id: Ia69b689a09a64d1ec0b3404478516d09fa6954b1
* DO NOT MERGE Fixing Install button not enabled on resumeSuprabh Shukla2017-12-231-1/+1
| | | | | | | | | | | | | | | In cases where an app had a long list of permissions the Install button was not being enabled. Test: Manually clicked on an apk that required a long list of permissions. Checked that the install button is enabled. Switch out and back to the activity to force a pause/resume. The button gets disabled and enabled as expected. Also the existing test passes as before: gts-tradefed run gts-dev -m PackageInstallerTapjacking Bug: 35056974 Change-Id: I2ef7d5ce4e137969c70d2929271620c2bcb723f2 (cherry picked from commit 4c6afe94942c33e293d456be70ffa933d7d3e374)
* Revert "Revert "DO NOT MERGE Disable overlays while installer is resumed""Andreas Blaesius2017-12-231-2/+23
| | | | | | This reverts commit 54b91b04a2dd9da928230eeb9d62a43fc40eefe4. Change-Id: I0f207b7de5675595a07416aef169985bc322372f
* Automatic translation importAbhisek Devkota2017-12-143-0/+333
| | | | Change-Id: Ie3d808f5f927e34978a7ebfc390a4ff7d01f7d16
* Revert "DO NOT MERGE Disable overlays while installer is resumed"replicant-6.0-0003mse19692017-10-221-23/+2
| | | | | | | | | | | | | | | | | | If mOkCanInstall is false when onResume() is called, the button gets disabled and never re-enabled. This fix is for branches that have change I42c15d05dffc1f6db69c9f67148f7ceb6e8bd8ae ("Split layout for confirm step.") which causes the button to be disabled and enabled for different reasons. Here the button is constantly enabled and its action changes depending on the value of mOkCanInstall. The attribute filterTouchesWhenObscured should prevent tapjacking when overlays are present, so revert this commit. This has also been done in branch cm-14.1 via commit 4b0c302eae8d772d09346718559cc42548485f75 This reverts commit 7a204a0e265a0a92537d57fd1bab594250c96149. Change-Id: I82b2c9ae0d588ef1696c8356a31c4204247823ad
* Back-port ag/2514922Phil Weaver2017-10-042-0/+10
| | | | | | | | | Bug: 62196835 Test: Verify overlays disappear on a11y capabilities dialog. Change-Id: I9a58fd647e53cb41f577d8d4782221d73b49f668 (cherry picked from commit 787c5b4948e309c0dbbf0f762c06fa07f88526b1)
* DO NOT MERGE Disable overlays while installer is resumedSuprabh Shukla2017-10-041-2/+23
| | | | | | | | | | | The install button can be disabled for other reasons, hence we have to store the enabled state independent of the resumed/paused state. Test: gts-tradefed run gts-dev -m PackageInstallerTapjacking Bug: 35056974 Change-Id: I2effa0f5afacfaed217a030550a778e32912cfbb (cherry picked from commit 287d1d11a321040948d6c12e48fa303eed3c4859)
* Automatic translation importAbhisek Devkota2017-09-201-40/+3
| | | | Change-Id: I81ba549270eabcf1b92f719385a9c18fd07adb55
* Automatic translation importreplicant-6.0-0002Abhisek Devkota2017-06-041-2/+2
| | | | Change-Id: I377e54ec2846c62e6d8c0f7018573ae0271a38c9
* Automatic translation importreplicant-6.0-0001Abhisek Devkota2017-04-281-66/+62
| | | | Change-Id: I8d0aaabd5236b31fbdb14563280aef82c022659d
* Prioritize package installer intent filterPhilip P. Moltmann2017-03-221-8/+8
| | | | | | | | | | | | | | | | | | Package Installer intent should always be handled by the package installer. Only privilegded apps can have a priority > 0. The K version is I79fd77b12bad9b79d1a53d08629a2b07919aad2c The L version is I27611baae21c3820f594e8f58aec34fc4d0b1ffb The M version is I7f1726fc9665e57ec63c966570169216eb2e0764 Bug: 32553261 CVE-2017-0491 Change-Id: I3d9054ddd475c7e77e1696e31285a6b47d59fa2a (cherry picked from commit 540a404bd489d65feca8dbd85216891300e0fcfc) (cherry picked from commit 5c49b6bf732c88481466dea341917b8604ce53fa with adaptations by <sultanxda@gmail.com>)
* Automatic translation importAbhisek Devkota2017-02-201-0/+111
| | | | Change-Id: I8a9e7c15ce0a92a4ce0a428d8730485bd5825c9a
* Automatic translation importpinky@build012016-09-251-0/+10
| | | | | Change-Id: I7cef7dbd4f3648fe8d26079ff0dda6fb7aff5b1f Ticket: -
* Automatic translation importpinky@build012016-08-290-0/+0
| | | | | Change-Id: I0dcd6ae7d7550432384800387796cd8a0f345929 Ticket: -
* Automatic translation importpinky@build012016-08-273-0/+333
| | | | | Change-Id: I95972cbf1adc15f43328de82bc0ff3f8d9132a2b Ticket: -
* Merge tag 'android-6.0.1_r61' into HEADJessica Wagantall2016-08-023-59/+5
|\ | | | | | | | | | | Android 6.0.1 Release 61 (MOB30Z) Change-Id: Ic775ddf31a2f5c391898e83bed469041849f8903
| * [DO NOT MERGE] Bring back overlay warning in permissions UI.Svetoslav Ganov2016-05-253-60/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The package installer has a special event handling when the user tries to interact with it and an overlay window intersects the installer one. We show a warning that an overlay was detected and point the user to settings. This regressed and nothing happened when the users click the allow button. bug:28572707 bug:26677796 Change-Id: I617595e7cd5277576ccb9915946b77082a1c2b9e Resolution to mnc-mr2-release when CP'ing ag/1065580
* | Automatic translation importinky@build012016-06-171-0/+41
| | | | | | | | Change-Id: Ie5f0d2c3663e1fc01706cab2408c65603c416105
* | Themes: Add tint mode so custom icons can show in permissions settingsBryan Owens2016-06-141-0/+2
| | | | | | | | | | Change-Id: I8fa2360d1340cb825938f4c820d99c98d3037baa Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
* | Merge tag 'android-6.0.1_r46' into HEADJessica Wagantall2016-06-072-8/+63
|\ \ | |/ | | | | | | | | Android 6.0.1 release 46 Change-Id: Ie2b11a3416c1719374f06c8048b29f27ab8414a7
| * DO NOT MERGE Take advantage of new MotionEvent flag to prevent tapjacking.Michael Wright2016-04-222-1/+59
| | | | | | | | | | | | | | Bug: 26677796 Change-Id: I563541f0a42564b854af0f8037c1d4741c79a2ac Fix merge conflict when cp'ing ag/903239 to mnc-mr1-release
* | Automatic translation importAbhisek Devkota2016-05-171-0/+6
| | | | | | | | Change-Id: Ic1a0e80a45fe94804eb73c7f60975d448bc4b148
* | Automatic translation importMichael Bestas2016-04-161-0/+111
| | | | | | | | Change-Id: I3a0748594ae3c4bfe805b86ba1ad8dd09af9dd30
* | Automatic translation importMichael Bestas2016-04-052-61/+111
| | | | | | | | Change-Id: Ic21402c48488220f3760638e422118004ec27d8a
* | Automatic translation importMichael Bestas2016-03-272-0/+222
| | | | | | | | Change-Id: Iea2ad072691209f32e024686b6ab6bc395ac17f0
* | Automatic translation importMichael Bestas2016-03-1713-0/+26
| | | | | | | | Change-Id: I55486886fad3628c4d486e15014d13caea38a22d
* | Merge tag 'android-6.0.1_r22' of ↵staging/cm-13.0+r22Steve Kondik2016-03-11339-237/+10154
|\ \ | | | | | | | | | | | | | | | https://android.googlesource.com/platform/packages/apps/PackageInstaller into cm-13.0 Android 6.0.1 release 22
| * \ Import translations. DO NOT MERGE am: 4e5cd3a5b2 -s oursGeoff Mendal2016-01-140-0/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | am: 75a02b59f7 -s ours * commit '75a02b59f755d55e05eb6d5312ff76604822d1d7': Import translations. DO NOT MERGE
| | * \ Import translations. DO NOT MERGEGeoff Mendal2016-01-140-0/+0
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 4e5cd3a5b2 -s ours * commit '4e5cd3a5b25aba8d0682c2ace91f63b6e59661e8': Import translations. DO NOT MERGE
| | | * | Import translations. DO NOT MERGEGeoff Mendal2016-01-1419-47/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 26156247 Change-Id: Ia9ac78b31ed8b37dd75dc6e983661544f87aaf4d
| * | | | Import translations. DO NOT MERGEGeoff Mendal2016-01-140-0/+0
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | am: 08f085b8a2 -s ours * commit '08f085b8a22d2b3b1daf5ca80c57bb4cff14a027': Import translations. DO NOT MERGE
| | * | | Import translations. DO NOT MERGEGeoff Mendal2016-01-143-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 26156247 Change-Id: Id5f79138340d752b9288b83dd0922e2deb58d9fe
| * | | | Import translations. DO NOT MERGEGeoff Mendal2016-01-142-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 26156247 Change-Id: I049be9283026362d8b703e618b3b8c47ff0bf01e
| * | | | Import translations. DO NOT MERGEGeoff Mendal2016-01-12234-224/+6114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 26072029 Change-Id: Ifb7360caf6769e233a6cabadd2db4d6a0b7ce146
| * | | | Always have an icon am: 58045ad49aTodd Kennedy2015-12-171-2/+3
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | am: 22d381113c * commit '22d381113c34edf57b7dc231a4b7fbce16a404b6': Always have an icon
| | * | | Always have an iconTodd Kennedy2015-12-171-2/+3
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | am: 58045ad49a * commit '58045ad49af12b202b08a4f054a54e2774ca48f1': Always have an icon
| | | * | Always have an iconTodd Kennedy2015-12-171-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The permission icon can be an external icon and thus might not exist. So, ensure we always have an icon for the permissions UI. Bug: 25602523 Change-Id: Ibdb1f296ff8c5f3664fe8056c8637844b580cce9
| * | | | Merge "Import translations. DO NOT MERGE" into cw-e-devGeoff Mendal2015-12-160-0/+0
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | am: dbd2daf311 -s ours * commit 'dbd2daf3118b76e1cb8ac8aecb870a51dc714020': Import translations. DO NOT MERGE
| | * | | Merge "Import translations. DO NOT MERGE" into cw-e-devGeoff Mendal2015-12-1611-13/+13
| | |\ \ \
| | | * | | Import translations. DO NOT MERGEGeoff Mendal2015-12-1611-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8a150e048c7522053f9172ae5333eb29a9a85394 Auto-generated-cl: translation import
| * | | | | Merge "[PkgInstaller] Refactoring arguments of WearPackageInstaller" into ↵Vinod Krishnan2015-12-162-65/+118
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cw-e-dev am: 79d4387181 * commit '79d43871818bc9b66d774d521e9c4d02c42eaef4': [PkgInstaller] Refactoring arguments of WearPackageInstaller
| | * | | | Merge "[PkgInstaller] Refactoring arguments of WearPackageInstaller" into ↵Vinod Krishnan2015-12-162-65/+118
| | |\ \ \ \ | | | |/ / / | | |/| | | | | | | | | cw-e-dev
| | | * | | [PkgInstaller] Refactoring arguments of WearPackageInstallerVinod Krishnan2015-12-122-65/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Creating a WearPackageArgs object Change-Id: I9616fe5e6621856e5d07da5cee205e7162dad451
| * | | | | Fix some UI glitches in PackageInstaller am: 42af15b6d9 am: 587374a996Svetoslav2015-12-103-15/+26
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: d0a1dda30d * commit 'd0a1dda30d94e7c0ecfbd47c5a8d82c3adf30bbd': Fix some UI glitches in PackageInstaller
| | * | | | Fix some UI glitches in PackageInstaller am: 42af15b6d9Svetoslav2015-12-103-15/+26
| | |\ \ \ \ | | | |/ / / | | |/| / / | | | |/ / | | | | | | | | | | | | | | | am: 587374a996 * commit '587374a996e14a7d0bd278e7c6b0a755e1d7112c': Fix some UI glitches in PackageInstaller
| | | * | Fix some UI glitches in PackageInstallerSvetoslav2015-12-103-15/+26
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 42af15b6d9 * commit '42af15b6d9232ecf1f014ff69fbd86b8a0bc6b83': Fix some UI glitches in PackageInstaller
| | | | * | Fix some UI glitches in PackageInstallerSvetoslav2015-12-083-15/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Add missing tinting in ic_info.xml 2. Improve button stacking in the request permissions UI 3. Align text and icon in request permissions UI bug:26071925 Change-Id: I12f631e902203d3f31970b28e420e20b7b454812
| * | | | | Fix wake lock leakAnthony Hugh2015-12-041-27/+32
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: cfc6b97c7d * commit 'cfc6b97c7d4dbaf7a50433a0f459ee4e25725e82': Fix wake lock leak
| | * | | | Fix wake lock leakAnthony Hugh2015-12-041-27/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wake lock was not being released when installation failed due to early bail out call. I wrapped the calls into a try/finally to ensure it gets released. Code was tested by tweaking the code to force a failure and test installing/uninstalling apps. BUG: 25814793 Change-Id: I2e81e5d76edcfb601ce734cf571705e979c51f32
| * | | | | Fix build break.Sharvil Nanavati2015-11-210-0/+0
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 741ac03b43 -s ours * commit '741ac03b4367c06d33190b80e2f6a6003a803517': Fix build break.