summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/applications
Commit message (Collapse)AuthorAgeFilesLines
* Settings: Fix possible NPEMichael W2016-09-181-3/+2
| | | | | | | | Checking applicationInfo on a null object causes a NPE Check for null first and make the menu entry invisible in that case Change-Id: I9c6c1156e8d809abf9f13a80eaa908317cba8bdc Reference: BugDumps 20160909-15 L#39
* Fix AIOOBE with root access disabled.Danny Baumann2016-09-091-30/+33
| | | | | | | | | Page title and template array lengths got out of sync if root access was disabled. Make sure this doesn't happen anymore by combining titles and templates into a single list prior to filtering. Change-Id: I069db9b9925887d6d80592eabe93b33abeaf0fe8 JIRA: CYAN-8028
* Settings: Show only one tab on PrivacyGuard direct accessAdrian DC2016-08-111-7/+11
| | | | | | | | | | | | | | | * Allow an intent request to a specific tab to be isolated, giving access only to the expected settings * "Apps started on boot" opens only Bootup * "Manage root accesses" opens only Root Access * Related to the following commits Ia5bc9d56fb11700b19d73336fad13c0a936091ff I79d963ecbadc624dc45a398387a348691318b6be Change-Id: I5a720fe2a8abe5fdf1a1b91c054d8b3a57d6cc5d Signed-off-by: Adrian DC <radian.dc@gmail.com>
* Settings: Fix possible crashMichael W2016-07-271-2/+3
| | | | | | | applicationInfo is null sometimes, check that first Change-Id: I4c2d73cced26b8900c95ede08e5a9c478c107529 Reference: BugDumps 13-20160715-21 L#52
* InstalledAppDetails: fix refreshing storage summary after force stopAltaf-Mahdi2016-07-072-2/+1
| | | | | | | | | | | * if app is force stopped, current implementation causes a nasty loop which in turn causes very high cpu usage: refreshUi() > checkForceStop() > mCheckKillProcessesReceiver > refreshUi() * fix storage not being updated by running refreshUi() in onRunningStateChanged from AppInfoBase Ticket: CYNGNOS-2527 Change-Id: Iec24bb620d1a6287d7ccf583db978ef338ef762e
* Settings: Dissallow privacy guarding system apps on overlay.Adnan Begovic2016-06-151-2/+8
| | | | | | | | | | Bandaid fix for google play services inundating the permission dialog request queue within AppOps service and causing watchdog to consistently kill the system server's activity manager service which is deadlocked retrieving dialogs from the queue. Change-Id: I10c432cebe6a4199517839598046eee7d19dcf72 TICKET: CYNGNOS-2869
* Settings: Remove hide navigation bar settingsKeith Mok2016-06-151-3/+13
| | | | | | | | | | Remove hide navigation bar settings in Expanded desktop if the device has no on-screen navigation bar currently available. FEIJ-1194 Change-Id: I4d0a5cc453a13140236f5e2e9f39e970fe759607
* Settings: fix crash when reset App preferenceAnkit Gupta2016-06-141-10/+12
| | | | | | | | | | | | | 1. mExtraInfoBridge is null when there is no change made in any app. Calling reset app preference cause crash in this state. 2. move initialization of mApplication to onViewCreated from onCreateView to make sure View has been created. Issue-id: OPO-760 Change-Id: I7a26b27325b54694d2513e8365482c221a5c6b13
* Settings: Allow sorting Applications by sizeRoman Royer2016-06-091-2/+4
| | | | | | | Allow sorting applications by size in Settings->Apps just like in Settings->Storage/USB->Apps Removed extra whitespace Change-Id: I9e022162110e1feff20f257992086e66735e0f5e
* Settings : Rebuild app list after resetDanesh M2016-05-202-3/+16
| | | | | | | | | | If the user resets app states, we need to rebuild the list so the new app info is fetched FEIJ-706 FEIJ-511 Change-Id: I5d6261d38dc2f06e37b29e6b7ba1f7a1e49a6ab8
* Settings: Fix Storage Applications Manager dropdownraroyer2016-05-191-1/+2
| | | | | | Disabled Filter Dropdown in LIST_TYPE_STORAGE is hidden but pops up when clicked, does nothing. Disabling completely. Change-Id: Id497e59876f0d0adb5997eb300596f17fe9f5cdb
* Settings: Ignore process kill receiver events if activity is destroyed.Adnan Begovic2016-05-171-2/+4
| | | | | | | | | Following the logic for refresh ui attempts to getContext() from the underlying activity which may have already been destroyed causing an NPE. Change-Id: Ibe110022ebedcc55a01f3bda66501580c8d92fed TICKET: NIGHTLIES-2935
* Close "Protected apps" activity during power cycleKamaljeet Maini2016-05-161-5/+10
| | | | | | | | | | | | | | Protected apps activity in Settings is accessed after entering correct pattern. If user turns off/on the phone while Protected apps is in foreground, the user must enter pattern again before using the Protected apps. Added code in onPause method to close the Protected apps activity if the user has already been authorized and there is no screen orientation change. Change-Id: Ie36ac0f54cce62228f6d0d56fef2e1f24096a803 Issue-Id: FEIJ-491
* Protected apps: fix rotation statesRoman Birg2016-05-041-9/+12
| | | | | | | | | Don't try to relaunch the activity if it's already been launched. Ticket: FEIJ-224 Change-Id: I597417570f2f937afb0195fecd7dc406ff2508f3 Signed-off-by: Roman Birg <roman@cyngn.com>
* LockPatternView: persist state across rotatesRoman Birg2016-05-041-1/+37
| | | | | | | | | | We need to persist and restore the activity states across rotates so the user doesn't have to restart from the beginning. Ref: CYNGNOS-141 Change-Id: I18458d55748666b439cf7b6fcecd81ee5c4c7865 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: Make sure to rebuild on app entries loaded.Adnan Begovic2016-05-031-4/+3
| | | | | | | | | | Previously, notifydatasetchanged would only be called in oncreate, and any further callbacks from the application state session would be ignored. Now, make sure to handle the various scenarios and rebuild as necessary, notifying the ui as needed. Change-Id: I61572ff082629046d1fdf5fedb1e8ec37343f588 TICKET: FEIJ-334
* Settings: refresh ui on foce stop/diableRoman Birg2016-04-291-0/+12
| | | | | | | | | | Fixes the storage summary not updating after force closing, enabling, or disabling the app. Ticket: CYNGNOS-2527 Change-Id: I000459d27d06071a36ab0ac6761c1af56c132dde Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: Ensure user has to wait 30 before retrying patterncretin452016-04-291-9/+39
| | | | | | Issue-id: FEIJ-257, FEIJ-273 Change-Id: I08f16c6863ca5bbdb586d756da813453124851b2
* AppOps: Don't show option to restrict network usage for platform signed appsUnpublished2016-04-041-2/+4
| | | | | | Using the option results in an IllegalArgumentException of the settings app. Change-Id: Ia3ceddb39fccc6ae445a7e4e307a248794127878
* Settings: reflect/inform user of disabled wakelock appopRoman Birg2016-03-281-6/+45
| | | | | | | | | | | | | | | If an app is marked as "allow-in-power-save" (loaded in as part of SystemConfig), then this app is not susceptible to battery saving optimizations and is required to be active for the system to function properly. This behavior is enforced on the PowerManagerService side when requesting wake locks - inform the user visually as well. Ticket: CYNGNOS-1258 Change-Id: I1c99de703012a09ddbde19838171b7e5659f2523 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings : Add per app internet/data controlDanesh M2016-03-211-2/+52
| | | | | | | CYAN-3976 CRACKLING-834 Change-Id: I13192df837c057b5cadde8f31532e12daaf3c1b0
* Merge tag 'android-6.0.1_r22' of ↵Steve Kondik2016-03-103-9/+7
|\ | | | | | | | | | | | | | | https://android.googlesource.com/platform/packages/apps/Settings into cm-13.0 Android 6.0.1 release 22 Change-Id: Ided010bc125199d47ca59d10f0ed5032a26632ff
| * DO NOT MERGE Modify system settings: incorrect UI stateSvetoslav2015-12-221-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The privilege for an app to write to the system settings is protected by an app-op signature permission. App-op permissions are special: if the app-op is deny/allow we deny/allow write access; if the app-op is default holding the permission determies write access. The settings code assumes that CHANGE_NETWORK_STATE is an app op permission (system|appop) while it is a normal permission which any app gets by declaring it used in the manifest. The side effect is that the state of the toggle in the UI for write system settings will initially be in the wrong state if the app uses both WRITE_SETTINGS and CHANGE_NETWORK_STATE. However, the code in the public API an app uses to check write settings access would return the opposite since it checks the WRITE_SETTINGS permission and its app op. Hence, if an app requires write settings to start the user will see in the settings UI it has access but the app will not have access, so the app would prompt the user to allow write settings. The non-obvious fix is for the user to toggle the setting off and on to get the app op in the right state and be able to launch the app. bug:25843134 Change-Id: I3d726a66c7f9857bc7dbd5946fdbb8f340c6eb4d (cherry picked from commit 356fb2d10d9f4c236b0f10d0e2facb93028b9f3c)
| * Merge "Further tweak to issue #issue #25371736: Don\'t include z-ram ↵Dianne Hackborn2015-10-302-7/+12
| |\ | | | | | | | | | | | | | | | | | | | | | | | | allocations in Android OS" into mnc-dr-dev am: 3b4e4dd91d * commit '3b4e4dd91d416c93fdc0326e54469ceabb8281ab': Further tweak to issue #issue #25371736: Don't include z-ram allocations in Android OS
| | * Further tweak to issue #issue #25371736: Don't include z-ram allocations in ↵Dianne Hackborn2015-10-292-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Android OS Make sure the duration shown for z-ram is sane (the maximum of the other process durations of that app). Change-Id: I62c46b89f927b2c7c16f5c31f6910419b2bdd130
| * | Merge "Fix issue #25371736: Don\'t include z-ram allocations in Android OS" ↵Dianne Hackborn2015-10-291-0/+40
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | into mnc-dr-dev am: 508559d076 * commit '508559d0760596509f07fa56371c6e18d8bd9559': Fix issue #25371736: Don't include z-ram allocations in Android OS
| | * Fix issue #25371736: Don't include z-ram allocations in Android OSDianne Hackborn2015-10-291-0/+40
| | | | | | | | | | | | | | | | | | | | | Just distribute them across all of the running apps, by creating an additional fake "z-ram" process for each of them. Change-Id: I9b4efe9c7b907779a0ec76cb8652709619e2e686
| * | Fix crash in Settings from uninstallJason Monk2015-10-221-0/+4
| |\ \ | | |/ | | | | | | | | | | | | | | | am: 6e2e8e17cf * commit '6e2e8e17cfea09548067baa8b361dbc31dce385c': Fix crash in Settings from uninstall
| * | Allow access to permissions, even if app has noneJason Monk2015-10-211-4/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | am: 36866c8e84 * commit '36866c8e84acd26e82b072f2d39106d0e58e6a84': Allow access to permissions, even if app has none
| * \ \ am 90de3beb: Disable app-link preferences for browser appsChristopher Tate2015-10-092-44/+94
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit '90de3bebf432d0897607adaca281fe248cd6575f': Disable app-link preferences for browser apps
| * | | | Refactor UidDetailProvider and its dependencies to SettingsLib.Wei Liu2015-08-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so that it can be reused by Wear app data usage. Change-Id: Id05f888274e15fbeffa175ee8073de02a8966867
| * | | | am 36e2d32d: am 7e36d33c: Merge "Make "Ask every time" actually work that ↵Chris Tate2015-08-141-2/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | way" into mnc-dev * commit '36e2d32dab47f9d46c0234202c2a799c43b67c9e': Make "Ask every time" actually work that way
| * \ \ \ \ am e9bcef35: am be4df036: Fix issue #23037899: Support for Battery ↵Dianne Hackborn2015-08-111-10/+0
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Optimization permission + Dialog * commit 'e9bcef3541435c1e1a2716d48eb1c1c897841880': Fix issue #23037899: Support for Battery Optimization permission + Dialog
| * \ \ \ \ \ am cb0c0718: am 67f0739c: Merge "Block moving when already in progress." ↵Jeff Sharkey2015-08-071-1/+14
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mnc-dev * commit 'cb0c07181a77ef134310c0e037345f33e7a46d9e': Block moving when already in progress.
| * \ \ \ \ \ \ am 5b2c66e4: am a59f39fc: Merge "Bug: 21588539 Move CHANGE_NETWORK_STATE to ↵Billy Lau2015-08-074-11/+41
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be in SYSTEM_SETTINGS" into mnc-dev * commit '5b2c66e4da749ca59d09776ec7831e20d1211909': Bug: 21588539 Move CHANGE_NETWORK_STATE to be in SYSTEM_SETTINGS
| * \ \ \ \ \ \ \ am 150e60ca: am 888673bd: Hide show/hide system from battery optimizations listJason Monk2015-08-051-2/+4
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '150e60ca9ad594d36aa12b425836a7d61b68501c': Hide show/hide system from battery optimizations list
| * \ \ \ \ \ \ \ \ am c86f6dfd: am 244fd782: Merge "Remove summaries fro configure apps page" ↵Jason Monk2015-08-051-45/+1
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mnc-dev * commit 'c86f6dfdc83d1c6c1115dccc9db9d8073587036d': Remove summaries fro configure apps page
| * \ \ \ \ \ \ \ \ \ am bd3d49f7: am 6e64e22e: Merge "Explain properly when apps can open ↵Chris Tate2015-08-041-1/+23
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | multiple hosts\' links" into mnc-dev * commit 'bd3d49f78712b12db99ef316e8ec42eb94ea0f06': Explain properly when apps can open multiple hosts' links
| * \ \ \ \ \ \ \ \ \ \ am 95026e03: am eb372c93: Merge "Bug: 22718745 Intents to \'draw over other ↵Billy Lau2015-07-307-6/+17
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | apps\' should go direct to the package\'s page instead of the top level one" into mnc-dev * commit '95026e032809f39fb2aece05e8b3d8f74eca77ea': Bug: 22718745 Intents to 'draw over other apps' should go direct to the package's page instead of the top level one
| * \ \ \ \ \ \ \ \ \ \ \ am ecb19d54: am a425e864: Merge "Hide apps in the battery menu that have ↵Zach Johnson2015-07-282-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED" into mnc-dev * commit 'ecb19d540025a6c1855d148f1b4015f3a107bfd1': Hide apps in the battery menu that have COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED
| * \ \ \ \ \ \ \ \ \ \ \ \ am 85bdb773: am 5b5ed310: Merge "Prevent crash in app memory updater." into ↵Julia Reynolds2015-07-281-0/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mnc-dev * commit '85bdb7730814c1f1d8d13dec40e203e94fa87215': Prevent crash in app memory updater.
| * \ \ \ \ \ \ \ \ \ \ \ \ \ am 22064d8b: am 4d9f5c91: Merge "Don\'t use screenshot if structure is ↵Jorim Jaggi2015-07-281-0/+17
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | disabled (2/2)" into mnc-dev * commit '22064d8b89dbe4feb79acff3606540f416bd00a0': Don't use screenshot if structure is disabled (2/2)
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ am 0c8bee96: am 9a1c0dce: Handle app uninstall via Storage & USB.Julia Reynolds2015-07-271-0/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0c8bee9643717519c7d8ca7888068c7baf07b994': Handle app uninstall via Storage & USB.
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am 6c2d4d73: am cce844a7: Merge "Reset permissions and app links when ↵Svetoslav Ganov2015-07-241-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clearing app preferences - settings" into mnc-dev * commit '6c2d4d73464e6026f42a615c75e3c5d7e3679d7b': Reset permissions and app links when clearing app preferences - settings
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am a119087b: am 9927acd3: Merge "Don\'t show disabled apps in ignore ↵Jason Monk2015-07-241-2/+7
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | optimizations" into mnc-dev * commit 'a119087b8ba24e930d982c30a039f7c4204fc435': Don't show disabled apps in ignore optimizations
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am e267fb31: am d06ba151: Merge "Bug 21589105 Rescope WRITE_SETTINGS (UX and ↵Billy Lau2015-07-212-26/+27
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Settings app change)..." into mnc-dev * commit 'e267fb3119754f205bf8518a6c00d3e957b0e45f': Bug 21589105 Rescope WRITE_SETTINGS (UX and Settings app change)...
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am 959a7380: am 178c4099: Merge "Handle monkey crash" into mnc-devJason Monk2015-07-201-1/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '959a7380f15ea95ccba6d7d6ae30fee8f312bb84': Handle monkey crash
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am f330857a: am b852fcbd: Merge "Offer \'ask\' as an available app-linking ↵Christopher Tate2015-07-201-36/+60
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | state" into mnc-dev * commit 'f330857a17d29cec33ca0169cb30fdc69854ab52': Offer 'ask' as an available app-linking state
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am e104fced: am 90a8a01b: Merge "Bug 21589105 Rescope SYSTEM_ALERT_WINDOW ↵Billy Lau2015-07-173-40/+28
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (UX and Settings app change)..." into mnc-dev * commit 'e104fced18056905286ee01a3ef8c3d12f2b9e4d': Bug 21589105 Rescope SYSTEM_ALERT_WINDOW (UX and Settings app change)...
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am 194e92d3: am 50972605: Merge "Disable ignore battery optimization items ↵Jason Monk2015-07-151-0/+11
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that can\'t change" into mnc-dev * commit '194e92d3a0dcc15056fac17690f2f36bdc96861a': Disable ignore battery optimization items that can't change