summaryrefslogtreecommitdiffstats
path: root/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | Merge "[PkgInstaller] Refactoring arguments of WearPackageInstaller" into ↵Vinod Krishnan2015-12-162-65/+118
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cw-e-dev am: 79d4387181 am: d1590dedf5 am: 43eb681f62 * commit '43eb681f62b4e81f6461bacfce099a68f3167765': [PkgInstaller] Refactoring arguments of WearPackageInstaller
| * | | | | | Merge "[PkgInstaller] Refactoring arguments of WearPackageInstaller" into ↵Vinod Krishnan2015-12-162-65/+118
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cw-e-dev am: 79d4387181 am: d1590dedf5 * commit 'd1590dedf538eb5040488a2977495aff50c90bf2': [PkgInstaller] Refactoring arguments of WearPackageInstaller
| | * | | | | 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
| | | * | | | [PkgInstaller] Refactoring arguments of WearPackageInstallerVinod Krishnan2015-12-112-65/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Creating a WearPackageArgs object Change-Id: I9616fe5e6621856e5d07da5cee205e7162dad451
* | | | | | | Fix wake lock leak am: cfc6b97c7d am: 546c1ffab6Anthony Hugh2015-12-051-27/+32
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 59f758a01d * commit '59f758a01daf2f0bdd46aa33b2dcf6ae45a457c1': Fix wake lock leak
| * | | | | | Fix wake lock leak am: cfc6b97c7dAnthony Hugh2015-12-051-27/+32
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 546c1ffab6 * commit '546c1ffab682f913845977d17b96e9428f07d993': Fix wake lock leak
| | * | | | | 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-212-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 25822682 Change-Id: Ib5b40f014a8b6d0fb756d7f4c4802c9e8dfa7a44
* | | | | | | Legacy apps shouldn't be able to request permissionsSvetoslav2015-12-041-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:26032074 Change-Id: If6566411e08b3a27eecc2ca559c2b902dc8c1e65
* | | | | | | Add some things missing in the previous CL.Svet Ganov2015-12-012-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I17ae37d84c0d78bcfcaa848efb17f46c7f7c915a
* | | | | | | Add optional permission review for legacy apps - installerSvet Ganov2015-12-019-122/+759
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ifc88b2fa259d2d22bea6b5500cded2714ad4da85
* | | | | | | Always have an iconTodd Kennedy2015-11-241-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
* | | | | | | Fix build am: 0937012335Svetoslav2015-11-215-11/+11
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 2a6f5d0fc6 * commit '2a6f5d0fc6b3fc65120ba7ed13f81af2d59eb11f': Fix build
| * | | | | | Fix buildSvetoslav2015-11-215-11/+11
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 0937012335 * commit '09370123353d8b925e644c05a9cf7434927e3ac9': Fix build
| | * | | | | Fix buildSvetoslav2015-11-205-11/+11
| | |/ / / / | | | | | | | | | | | | | | | | | | Change-Id: I2a3e235bb13f1920c14f6776ee3a1ef7285ea548
* | | | | | resolve merge conflicts of c10abb25f3 to cw-e-dev. am: c3d14f58d8 am: f4aa668c22Svetoslav2015-11-203-274/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b44b5380b4 * commit 'b44b5380b41ea7a0337709494f6e63eea60c522e': Clean up package installer styling
| * | | | | resolve merge conflicts of c10abb25f3 to cw-e-dev. am: c3d14f58d8Svetoslav2015-11-203-274/+3
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: f4aa668c22 * commit 'f4aa668c22490bd4fecf25babfcff6293be5ee01': Clean up package installer styling
| | * | | | resolve merge conflicts of c10abb25f3 to cw-e-dev.Svetoslav2015-11-203-274/+3
| | |\| | | | | | | | | | | | | | | | | | | | | Change-Id: I965fb579e2730fa1cdb182bc18e134f262929328
| | | * | | Clean up package installer stylingSvetoslav2015-11-2022-46/+1777
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 2cf17ddcef * commit '2cf17ddcef3c8dd260bd3d174123842c81a7d025': Clean up package installer styling
| | | | * | | Clean up package installer stylingSvetoslav2015-11-1822-46/+1777
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Package installer should be using exclusively the device defaut themes on handhelds (phones and tables) to allow OEMs customize its look and feel. Also for handhelds the installer should use the same preference framework as the settings app to ensure it looks like the settings app on an OEMs device. This change needs to be picked up by a GMS build to deliver to partners ensuring the installer UI is consistent with the device UI. bug:24286616 Change-Id: I92e39fd1488e76b0b23b7f1efa13e04ed5bbc7ba
* | | | | | | resolve merge conflicts of 56ac33bf1e to master.Svetoslav2015-11-2022-42/+2044
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1439964d551cdc6b829fc99edd8b2c138dc1abf5
| * | | | | | resolve merge conflicts of c10abb25f3 to cw-e-dev. am: ef861375eeSvetoslav2015-11-2022-44/+2044
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 3f849f4108 * commit '3f849f410808a0bca039d73fd763825c73d15419': resolve merge conflicts of c10abb25f3 to cw-e-dev.
| | * | | | | resolve merge conflicts of c10abb25f3 to cw-e-dev.Svetoslav2015-11-2022-44/+2044
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3fe38a9ac62466b38efec834dceb712d2782c518
| * | | | | | Remove app from "needs permission" state if installation failed am: 9c78316fe6Anthony Hugh2015-11-162-7/+31
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 786cf97b83 * commit '786cf97b83a4e502b8683198cdea8872c8507b93': Remove app from "needs permission" state if installation failed
* | | | | | | Remove use of allow_stacked_button_bar.Filip Gruszczynski2015-11-201-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are trying to remove as many size thresholds as possible for the multi window support. This value will be now calculated in code during the creation of the view. Bug: 25394588 Change-Id: I7dfaa23c491fbab9a320c52877deff8a26ddb91e
* | | | | | | Remove app from "needs permission" state if installation failed am: 9c78316fe6Anthony Hugh2015-11-162-7/+31
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 786cf97b83 * commit '786cf97b83a4e502b8683198cdea8872c8507b93': Remove app from "needs permission" state if installation failed
| * | | | | | Remove app from "needs permission" state if installation failedAnthony Hugh2015-11-162-7/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds code to remove an app that is in the "needs permission" state from the ShowPermStore if the app fails to install. b/25721625 tracks creating a new intent to handle this case for F. BUG: 25363020 Change-Id: Ifed00024d7e329fb3185a4607a347e972f697fcd
* | | | | | | Merge "Fix crash in OnDismiss" am: bae2b676e4 am: 9e712cb5c5Svetoslav Ganov2015-11-101-4/+8
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: c43a0f9310 * commit 'c43a0f9310ad9941c5a0150b3deb4959f2e6250d': Fix crash in OnDismiss
| * | | | | | Merge "Fix crash in OnDismiss" am: bae2b676e4Svetoslav Ganov2015-11-101-4/+8
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | / / | | | |_|/ / | | |/| | | | | | | | | | | | | | | am: 9e712cb5c5 * commit '9e712cb5c511c21e2b962c7b67c099254e5ff843': Fix crash in OnDismiss
| | * | | | Merge "Fix crash in OnDismiss"Svetoslav Ganov2015-11-101-4/+8
| | |\ \ \ \ | | | | |_|/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | am: bae2b676e4 * commit 'bae2b676e47548f9b8f0cf7ca1aae22ff806bfbb': Fix crash in OnDismiss
| | | * | | Merge "Fix crash in OnDismiss"Svetoslav Ganov2015-11-101-4/+8
| | | |\ \ \
| | | | * | | Fix crash in OnDismissCiesla, Jakub 2 (EXT)2015-10-071-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Steps to reproduce the crash are as follows: 1. Launch Settings >> Apps 2. Select an app to uninstall 3. Select “uninstall” then confirmation comes up 4. Tap Home key and launch Settings apps again 5. You see app crash notification This was due to DialogFragment.onDismiss() called after the underlying activity was stopped and detached. In other cases (cancel, delete, back key) there is no problem. For home key scenario it is enough to check, if dialog is currently added to its activity. Fragment.isAdded() checks internally, if its activity is not null and if it's added to this activity. BUG: https://code.google.com/p/android/issues/detail?id=144163 Change-Id: I3cb75ec392fd68f131ec65e4eafae2351e95ea25
* | | | | | | resolve merge conflicts of e8c6801367 to cw-e-dev. am: 012a557f59 am: 6f8e0b2bdcVinod Krishnan2015-11-071-1/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 38b87543b0 * commit '38b87543b0fb252ecddb7ea87688ac2aaeb15319': resolve merge conflicts of e8c6801367 to cw-e-dev.
| * | | | | | resolve merge conflicts of e8c6801367 to cw-e-dev.Vinod Krishnan2015-11-071-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9c5a0be4e18cc27e163da60ba9dd81ae71588bef
* | | | | | | Merge "Clean up USER_OWNER in PackageInstaller"Xiaohui Chen2015-11-041-3/+4
|\ \ \ \ \ \ \
| * | | | | | | Clean up USER_OWNER in PackageInstallerXiaohui Chen2015-11-031-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 25086442 Change-Id: Ia7d81a93f1888d7b9602a94aebfc89433e89d040
* | | | | | | | Button bar animating when it isn\'t supposed to am: 914243ab7d am: 09ae425c5eAnthony Hugh2015-11-031-1/+1
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 4404cc7839 * commit '4404cc7839760c0d6baa5a7f37c7de347e0e6f87': Button bar animating when it isn't supposed to
| * | | | | | | Button bar animating when it isn't supposed toAnthony Hugh2015-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was an incorrect calculation for determining when the content was occluded by the button bar or not. BUG: 25164689 Change-Id: I121f6e0232da2d1536e0fbbf697e00a4f9c1841f
* | | | | | | | Merge "Add mechanism for determining if apps are system apps" into cw-e-dev ↵Anthony Hugh2015-10-302-3/+26
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: ae6139679d am: 5b3d79ac1f am: 4ba106a392 * commit '4ba106a392dccff3364249eef4596ecea9e71263': Add mechanism for determining if apps are system apps
| * | | | | | | Merge "Add mechanism for determining if apps are system apps" into cw-e-devAnthony Hugh2015-10-302-3/+26
| |\ \ \ \ \ \ \
| | * | | | | | | Add mechanism for determining if apps are system appsAnthony Hugh2015-10-272-3/+26
| | | |/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is being added to help identify system apps so that the UI can filter on that type. BUG: 24955055 Change-Id: I8d843bae2d81329009c8cda8c25355d08ab9d1d7
* | | | | | | | Fix out of bounds exception am: e18bfc2201 am: a7bd3497cbAnthony Hugh2015-10-302-11/+21
|\| | | | | | | | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: cfddca511c * commit 'cfddca511c64fbb2cf3b007225dd39fac64c08b2': Fix out of bounds exception
| * | | | | | Fix out of bounds exceptionAnthony Hugh2015-10-282-11/+21
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It looks like the cached index had become invalid at some point. It's unclear why, but the logs suggest that a bunch of Home services crashed. Rather than cache the index within the Activity, I have changed the code to send the index along with the dialog activity launch. This way when the dialog returns, the index will be saved within the callback. The index should be enough because the permission set should not change for the app between screens and the permission set is alphabetized. BUG: 25334674 Change-Id: I8f9189960aa7fc9b09cc25f594397523550ac626
* | | | | | Merge "Remove InstallFlowAnalytics"Todd Kennedy2015-10-235-712/+1
|\ \ \ \ \ \
| * | | | | | Remove InstallFlowAnalyticsTodd Kennedy2015-10-235-712/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were no longer being used and they were broken with a recent change adjusting the flow of the PackageInstaller. Bug: 24542039 Change-Id: I14b98dd0f8cdb69d31eab54a3f1b96048263c222
* | | | | | | Fix Permissions Dialog animations am: 851c6ea6ee am: f47279b1b8Anthony Hugh2015-10-211-4/+36
|\ \ \ \ \ \ \ | |/ / / / / / |/| / / / / / | |/ / / / / | | | | | | | | | | | | | | | | | | am: 896a16d1d3 * commit '896a16d1d34df5ad434dd1746c2eefdb23f14dc2': Fix Permissions Dialog animations
| * | | | | Fix Permissions Dialog animationsAnthony Hugh2015-10-211-4/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make handler run on UI thread to avoid race conditions. Update some logic to prevent animation from running when it shouldn't be. BUG: 24954323 Change-Id: Ia1635cbb3c9128080a8e4a9c3ce6ee935c4d957e
* | | | | | Reduce the top padding when message isn\'t at top. am: 51f646b19d am: c55cd1b71dDanny Epstein2015-10-201-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 926dd3bc9a * commit '926dd3bc9a733ef69ca775c49d29384420ac4175': Reduce the top padding when message isn't at top.
| * | | | | Reduce the top padding when message isn't at top.Danny Epstein2015-10-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If either the page number or an icon is shown above the message, reduce the top padding on round screens. Bug: 24961379 Change-Id: Iec9193e3bbdd8ac607743cd0010f2331edbebc81