summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/applications/ManageApplications.java
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'android-4.2.2_r1' into mr1.1-stagingRicardo Cerqueira2013-02-151-3/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: AndroidManifest.xml res/values-de/strings.xml res/values-el/strings.xml res/values-es/strings.xml res/values-fi/strings.xml res/values-hu/strings.xml res/values-it/strings.xml res/values-iw/strings.xml res/values-nl/strings.xml res/values-ru/strings.xml res/values-zh-rCN/strings.xml res/values/strings.xml src/com/android/settings/ChooseLockGeneric.java src/com/android/settings/ChooseLockPatternTutorial.java src/com/android/settings/DeviceInfoSettings.java src/com/android/settings/Settings.java Change-Id: I275be467a401ad6dcc7966924358a5adb0773b75
| * Fix incorrectly inverted text color.Jeff Sharkey2012-11-301-3/+0
| | | | | | | | | | Bug: 7632947 Change-Id: I2eb8c4c24bda5b08215204330c30431bf6d0fc27
* | Settings: RTL layout fixesOr Harambam2013-01-191-0/+7
| | | | | | | | | | | | | | | | | | | | Replaced Left with Start, and Right with End to fit Google's new RTL API. Replaced setPadding with setPaddingRelative (which uses Start and End instead of Left and Right) around switches to make them look right in RTL UIs Added RTL Support to LinearColorBar in order to make App Management's storageBar compatible with the RTL UI. Reversed App Management's ViewPager in RTL langs Fastscroll aligned to the left Change-Id: I495f4794a9861fa01692d766ef86f4fdd8e4b38d
* | Added fastsroll to the manage application screen so you don't need to scroll ↵Jimmy2013-01-091-0/+1
| | | | | | | | | | | | so much if you have alot of apps and want to go to the bottom of the list. Change-Id: I96d892abf53a9da784ae1df056558d4fd3cf64f6
* | Fix switching running/cached apps with memory barThiago Vinícius Freire de Araújo Ribeiro2012-12-161-0/+1
|/ | | | | | | | | | | | Fixes upstream issue #38735 http://code.google.com/p/android/issues/detail?id=38735 Ported from CM10 http://review.cyanogenmod.org/25775 This patch is already submitted to AOSP. No feedback from them yet. Change-Id: I484e30d3fd4f5425e174911ae22bb2def170e6b8
* Add app details menu item to uninstall an app for all users.Dianne Hackborn2012-09-161-3/+6
| | | | | | | | | Also some fixes: uninstalled apps are now marked as such in the all apps lists, and sorted to the bottom like disabled apps. We don't immediately close the installed app details screen when launching the uninstall UI. Change-Id: Id22b749c20fc2441733c604d1de8889269217c5c
* Data usage multi-user support.Jeff Sharkey2012-09-141-4/+10
| | | | | | | | | | | | | Switch to storing policy per-user instead of per-app, meaning each user has control over their own set of apps. Summarize the usage of non-current users. Only allow owner to make changes to overall network policy. Hide auto-sync menu when viewing app details. Search for MANAGE_NETWORK_USAGE intent across all package names sharing a UID. Bug: 7121279, 5419594, 6978663 Change-Id: Ia70f04df70d27da27faccb947cd27021c628a41a
* If external storage is emulated, don't show it as separate entries.Dianne Hackborn2012-07-121-1/+2
| | | | | | | | | | | The installed app details UI is really complicted for the two-partition internal and external storage case... however, in our lovely new world of emulated external storage, there is no reason for this, since the external storage is using the same partition as internal storage. So in this case, don't show external storage as a separate item, just combine it into the base app size and data size values. Change-Id: Iea0e78f2d532ad50e20fef98740c93b2e897890a
* Fix issue where Manage Apps would not start on correct page.Dianne Hackborn2012-05-291-6/+11
| | | | | | | We weren't setting the correct initial page in the view pager. Change-Id: I68846505a4f23547e9b09e4bc06e3d455ae9556f
* Fix issues 6512411 and 6512951 in ManageApplications.Dianne Hackborn2012-05-171-47/+88
| | | | | | | | | 6512411 java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 6512951 Settings crash while returning from App info screen Also fix padding around the UI, and display of storage use. Change-Id: Ibfcfe1a4a80f25f81ba2cabbb2e3d60aaa9ac04e
* Rework manage applications to be page-able.Dianne Hackborn2012-05-161-331/+413
| | | | | | | | Turn everything around so that we can have multiple list views with their own adapters. Switch to using a ViewPager for managing the different lists. Smile! Change-Id: I9c102abb06cf67f313a8696507aa4597b38c7ab9
* Implement issue #6477793: Add "restore" button to manage appsDianne Hackborn2012-05-131-1/+124
| | | | | | Added! Change-Id: I1b4ffdd24a1c5878ae3acf3970f9364304eb5250
* Use Spinner instead of Tabs, so that a 4th entry doesn't disappear off the ↵Amith Yamasani2012-05-101-73/+94
| | | | | | | | | | | screen. This is for the 3 to 4 lists that you can switch between in the Settings->Apps screen. Bug: 6375122 Change-Id: I8a4e46b8aa3e06bc79edb5f65400462060fe5a29
* Merge "Apps tabs align to title on 2-pane settings." into jb-devAmith Yamasani2012-05-091-0/+3
|\
| * Apps tabs align to title on 2-pane settings.Amith Yamasani2012-05-091-0/+3
| | | | | | | | | | | | | | | | | | Pad the lists in Apps screen. Pad the color bar to align with the list. Bug: 6449489 Change-Id: I28c39e2aae04a1fe36c6b7dc447ae19da575edaf
* | Merge "Allow movement of forward-locked apps to SD" into jb-devKenny Root2012-05-081-2/+1
|\ \
| * | Allow movement of forward-locked apps to SDKenny Root2012-05-081-2/+1
| |/ | | | | | | | | | | | | Forward-locked apps are now in ASEC containers which can exist on both SD card and internal storage. Merry Christmas. Change-Id: If793cf76858395bfc67cd18ab18f488a83757d5f
* | Appease the monkey gods.Amith Yamasani2012-05-071-2/+2
|/ | | | | | Bug: 6443925 Change-Id: Ia36a154d63763d7a3f826a80a5d1ae678b94208e
* Fix NPE in ManageApps when switching orientation.Amith Yamasani2012-05-011-1/+6
| | | | | Bug: 6394351 Change-Id: Ia66ab18195325b024223cdbce19756150e1d6c8c
* Make Manage Apps remember which tab was shown.Amith Yamasani2012-04-261-10/+16
| | | | | | | | This fixes the forgetfulness on orientation change. The code was already in, but there was a typo in the key string that saved the tab. Bug: 6000318 Change-Id: If29f42b83aa0ec9f05061b8690e0bdbe8c4a2812
* Use statfs() in IMediaContainerService.Jeff Sharkey2012-04-221-23/+52
| | | | | | | | Since Settings runs in system UID, it needs to export statfs() operations to IMediaContainerService. Bug: 6346248 Change-Id: I5801948211f0e55040da4850e3dd55b93f80798f
* Add debug app / wait for debugger dev options.Dianne Hackborn2012-02-141-53/+3
| | | | | | Re-organize dev options a bit. Change-Id: I291b177c87cb8fb4bd8316d05aa6eadfaaf5f0d2
* Add compatibility aliases for shortcuts added to home screen in gingerbread.Amith Yamasani2011-11-141-2/+4
| | | | | Bug: 5016573 Change-Id: I1898b2f51216354829acca11e73186465f25ec32
* Potential fix for monkey crash.Amith Yamasani2011-11-081-0/+2
| | | | | | | | The tab was being changed by a "keypress" after the fragment was destroyed. Disable the widget until a resume. Bug: 5157399 Change-Id: Ic1515255052eaea01f71c133d8570f25d65351b2
* Larger touch targets, snap to persisted value.Jeff Sharkey2011-09-081-1/+1
| | | | | | | | | | | | | Extend ListView content to screen edges, and use InsetBoundsDrawable to draw separator and divider with expected padding. Sweep touch targets are now much larger. Snap sweep to persisted value, and fix NFE when parsing label value. Bug: 5274249 Bug: 5262865 Bug: 5242857 Change-Id: Ifa0f3e622767d5b4dc85a73d6340207e6038a429
* Intent.getAction() can return nullKenny Root2011-09-011-2/+2
| | | | | | | | Make sure we don't rely on action being non-null when it could be. This fixes some paths into this Settings screen. Bug: 5246883 Change-Id: I13e247ff95f389a45f5031a559d5ca4914082af3
* Small improvements for issue #5225666Dianne Hackborn2011-08-291-4/+4
| | | | | | | | | | | Sort disabled apps to the bottom of the list to make them easier to find together. Also change the order of the tabs because with the new layout anything after the third tab is buried so put all apps at the end so the running tab is more visible. Change-Id: Id022fdbf366505cf0da3fb9a6270c3f2e2704d51
* Merge "Bug 5078738: some options moved to overflow menu"Gilles Debunne2011-08-221-2/+2
|\
| * Bug 5078738: some options moved to overflow menuGilles Debunne2011-08-191-2/+2
| | | | | | | | Change-Id: I4ea41dfcd2b0d05de870fb8af5a7614970538491
* | More TabWidget and padding tweaks to match spec.Jeff Sharkey2011-08-181-9/+13
|/ | | | | | | Also fix NPE in UserDictionarySettings. Bug: 5184822 Change-Id: I082981c3bcf9b1e6575dcf9f42495a17f0ec8672
* Update to work with the activity manager taking over OOM settings.Dianne Hackborn2011-08-071-1/+11
| | | | | | | | | The values it needs are no longer in properties. Also fix a few problems: bug with apps being left in the services list, sorting of internal storage. Change-Id: Ife9706e004931269c36a7bc37b9dbb016064c2e4
* Fix up storage UI for old USB storage.Dianne Hackborn2011-06-291-4/+37
| | | | | | | | | - In the storage overview, if storage is not emulated then we have a new first section showing internal storage. - In manage applications, we know show storage use on the SD card separately from internal storage use. Change-Id: I7eb993f59fdb5de5f5dcfe4a3bc2b95ae30d754a
* Visual adjustments for smaller tablets.Amith Yamasani2011-05-241-1/+1
| | | | | | | | | Make the Manage Apps tab indicators horizontally scrollable. Use medium font size for user dictionary. Bug: 4462313 Change-Id: Iba44e758715c0187ea17ed072794b8596dee0e54
* Fix issue #3306021 NPE at ↵Dianne Hackborn2011-01-241-2/+11
| | | | | | | | | | | | | | | | | | | | | android.app.AlertDialog.getDefaultDialogTheme(AlertDialog.java) It looks like the dialog fragment was not being removed along with the containing fragment. The containing fragment now checks for when it is being removed and removes its dialog fragment at that point. Also fix issue #3340766 NPE at com.android.settings.applications.RunningProcessesView.startServiceDetailsActivity We need to check if the running processes view is still attached to its owner, since we clear owner when it is paused. In addition, fix a bug where ManageApplications was not persisting its "show background processes" state, and remove the icons from its menu items to make them more understandable in the action bar. Change-Id: I4498ef92023eb60f90758ff18d8eed7b41af79b0
* Fix bug 3381583 - Settings action bar not refreshing menu contentAdam Powell2011-01-231-4/+8
| | | | Change-Id: I71416dbf691a6dacfb58c6ac3cc0df8233db8f44
* Fix issue #3163240: Blank running services screen after returningDianne Hackborn2010-11-161-0/+1
| | | | | | | | from any specific service Also get rid of async Vpn thing since the framework problem is fixed. Change-Id: Ic7aafd666ea11b036e3e42c55332620db1fdf154
* Create activity wrappers for settings launchable through intents or shortcuts.Amith Yamasani2010-11-041-3/+6
| | | | | | Meta data specifies the fragment class and top-level header that it belongs to. Bug: 3127704
* Further manage apps fragmentization.Dianne Hackborn2010-11-011-43/+60
| | | | | | | All of the UI under manage apps should now be working. Various cleanup through new framework APIs. Fragmentized developer settings. Change-Id: I2b42a2dd0d015e0fdcde497579ddad3dceea9da2
* Start fragmentizing Manage Applications.Dianne Hackborn2010-10-291-81/+91
| | | | Change-Id: I0c3d6a358d0236893aba7257537ec32bfad4170d
* Fix issue #3146784: ANR in manage applicationsDianne Hackborn2010-10-291-0/+6
| | | | | | See the big comment. Change-Id: I36164a6fcba58fe2b0e2b3aa216780d0d0e5ed37
* Fix issue #3114356: Storage visualization in Manage Apps is confusingDianne Hackborn2010-10-201-3/+18
| | | | | | | Also fixes issue #3097388: If you launch Manage Applications when SD card app info isn't available, incomplete information gets cached Change-Id: If3377a965653590e5bc1df25e38764a83e96b820
* Implement issue #3094621 and #3094609 - wipe sd cardDianne Hackborn2010-10-161-5/+122
| | | | | | | | | | 3094621: add "wipe sd card" option to factory data reset 3094609: collapse unmount/format into one command Implements requested UI changes. Also some final tweaks to Manage Applications. Change-Id: I0219195dd0c74d8c003ef1c3f6e09714859d7f89
* Don't show the sort menu for running process listKenny Root2010-10-121-0/+8
| | | | | | | | | | | | | | You could bring up the menu and sort running processes by size or name which would display the applications list at the same time the running process list was being displayed. This happened because the mApplicationsAdapter is used for the list of apps and is sortable, but the running process list doesn't use the adapter. Disable the menu when the running applications list is presented to prevent this situation where two ListViews are visible. Bug: 3084901 Change-Id: I5304cf7a1f426269ed4858e649729a35b9344717
* Manage apps "on SD card" now shows all apps that can go on SD card.Dianne Hackborn2010-10-041-0/+57
| | | | Change-Id: Icc413891b2b884bb1af340b4c09ab3935c8e51ca
* Modifying the ACTION_MANAGE_ALL_APPLICATIONS_SETTINGS action handling to ↵Winson Chung2010-09-271-0/+3
| | | | | | default to All Apps tab Change-Id: I5c18b916b09979117e4b746f521a81ca554903b4
* Some improvements to the manage apps code:Dianne Hackborn2010-09-201-8/+41
| | | | | | | | | | | - Battery stats now aggregates bluetooth usage. - Battery stats now uses new history iterator API. - Battery stats chart is refectored to have the start of a common facility for building tick charts. - Manage apps will now asynchronously wait for the apps list if it is taking >.25ms to build. Change-Id: I568dd74beedf9a0a5a4c88ab567510cee9af8299
* Supercalifragilisticexpialidocious.Dianne Hackborn2010-09-141-1/+5
| | | | Change-Id: Ifaece97c80b859cb455eab56230e076eca916f4a
* Make running services initial update async.Dianne Hackborn2010-08-151-2/+28
| | | | | | Also fix the value show for an app's awake time. Change-Id: I801681d3a1d47a6bb1f3fb8cc5b0ef009201146f
* Improvements to manage apps / running services:Dianne Hackborn2010-07-281-6/+14
| | | | | | | | | | | - Running services now keeps a single data structure to make switching through the UI a lot faster. - Display text when there are no apps. - Fix deadlock. - Add new preference entry to view manage apps for storage use. - Etc. Change-Id: I0f5babf407ed7e84169f59584ddcb6cd0e9d67d9
* Rewrite Manage Applications to be faster and simpler.Dianne Hackborn2010-07-271-1716/+226
| | | | Change-Id: I4cf405e83a369cb935bccf375798557ffd93e14e