Commit Graph

690 Commits

Author SHA1 Message Date
Jason Monk
2c56d450dd Default ignore optimizations to show system apps
Bug: 21211422
Change-Id: Ied526cffa86406b8b81824cf2cdb03cc37bb7433
2015-05-19 13:08:39 -04:00
Jorim Jaggi
bc38a9a0ab Add setting to disable assist data (2/2).
Bug: 20944446
Change-Id: I3c518176cab88ce9b5031a0241bee30240e6f896
2015-05-18 21:38:45 -07:00
Jason Monk
07b2d119ec Try not to crash while AppInfo is finishing
Bug: 21025020
Change-Id: Iebb9e6b24ca503f87b5648f0aaf02dde01903488
2015-05-18 14:24:01 -07:00
Svet Ganov
67e067fff4 Hide platform platform legacy permissions behind a menu option - settings.
bug:21195624

Change-Id: Ib1dcfe2a15685c36e2a59e0921ea74d46ec9738c
2015-05-16 22:59:41 -07:00
Fabrice Di Meglio
3fc7bfd9d9 Merge "Fix bug #21025020 Stability: JCs in Settings: Caused by: java.lang.NullPointerException" into mnc-dev 2015-05-14 21:40:53 +00:00
Fabrice Di Meglio
ae35e0c013 Fix bug #21025020 Stability: JCs in Settings: Caused by: java.lang.NullPointerException
- prevent the NPE

Change-Id: Ief5a618e789e50eebcaa4386bd9ecec2192b4565
2015-05-14 14:31:41 -07:00
Jason Monk
f1536e4a1b Merge "Hide permission related summaries" into mnc-dev 2015-05-13 19:22:47 +00:00
Jason Monk
63a819aa35 Hide permission related summaries
We need to get this data from the PackageInstaller directly, in the
mean time hide the summaries since they are incorrect.

Bug: 21078474
Change-Id: I1c1b50ee6806cfbf16830fbff5bf8ffae344451a
2015-05-13 15:19:57 -04:00
Jason Monk
78161c7375 Merge "Add additional permissions button to manage perms" into mnc-dev 2015-05-13 18:40:51 +00:00
Jason Monk
c25f11889c Add additional permissions button to manage perms
Bug: 20269176
Change-Id: Ic004204b0fd984717a6d3848e8295edc67047883
2015-05-13 14:40:02 -04:00
Chris Wren
0c3d8f1c0f Merge "replace temporary metrics categories with permanent ones." into mnc-dev 2015-05-13 18:06:00 +00:00
Chris Wren
8b7dc08e77 replace temporary metrics categories with permanent ones.
Bug: 21114836
Change-Id: I05ca033e2e15fc1ae4330453bbe50aaa6cd1ea6c
2015-05-13 13:44:36 -04:00
Jason Monk
255452fdf4 Start app notifications as fragment not intent
This lets it show the back arrow when coming from within the settings
app.

Bug: 20561808
Change-Id: I103c8fb74197c5a0530c363a234da5e2148726a7
2015-05-13 11:36:45 -04:00
Jason Monk
ce57d16862 Merge "More updates to battery optimization whitelist" into mnc-dev 2015-05-12 20:05:27 +00:00
Jason Monk
3bdb0d690e More updates to battery optimization whitelist
Mostly just string updates.

Also fix crash in power details.

Bug: 19991702
Bug: 21027488
Bug: 21063077
Change-Id: I5a5e382a20ffaecd9eb16454906c985cc1510572
2015-05-12 15:55:23 -04:00
Jason Monk
c27f9e179a App info > storage updates
- Fix button theme
 - Hide move dropdown when can't move
 - Cleanup by switching to using a horizontal preference layout, rather
   than custom layouts

Bug: 21060534
Change-Id: I2cc3ab4063ff6b4dfe873f9152b34130d702faae
2015-05-12 14:58:09 -04:00
Jason Monk
bcb4f2c913 Update strings for ignore optimizations control
Bug: 19991702
Change-Id: Ie5b54fd70176cfceb8b88cf18a9974321ba84c28
2015-05-11 16:01:21 -04:00
Jason Monk
173d658bab Merge "Button that goes from app info details to app info" into mnc-dev 2015-05-08 19:47:29 +00:00
Jason Monk
8f600a4fbc Button that goes from app info details to app info
This info button is shown on the header of all app detail pages.
This button is hidden when coming from app info, to avoid allowing
users to go in circles.

Since app notification details had a settings button where the new
info button goes, the app notification settings will move down to
be a preference (this matches the usage access screen UX).

Also fix a bug in launching app notification settings for managed
profiles.

Bug: 20633669
Change-Id: Idbb4f7c3326b4c6b0a19559b722ee0406eaba6c0
2015-05-08 15:35:46 -04:00
Jason Monk
9e1ea4b121 Merge "Choose correct network template for data history" into mnc-dev 2015-05-08 18:13:14 +00:00
Jason Monk
4d1efa0e6d Merge "Fix crash on unistalling app" into mnc-dev 2015-05-08 17:16:41 +00:00
Jason Monk
a9862cae7a Fix crash on unistalling app
Only update the battery info if the app exists.

Bug: 20918104
Change-Id: I61481be53cfc72d49868f14a940a09c83f7a5cc2
2015-05-08 11:37:01 -04:00
Jason Monk
10e1a94ef7 Choose correct network template for data history
Bug: 19921796
Change-Id: I90376ed0314c47fcbee21c81b85f60d3cc3312a6
2015-05-08 11:24:03 -04:00
Jason Monk
7ef58584e6 Merge "Fix crash in settings -> apps after adding profile" into mnc-dev 2015-05-08 14:48:54 +00:00
Jason Monk
e4ccf87839 Fix crash in settings -> apps after adding profile
Bug: 20652411
Change-Id: I766f99ee520ab106ec2765c77057042ed14e8fed
2015-05-08 10:18:48 -04:00
Fabrice Di Meglio
99245d13e9 Merge "Add user selectable Default Browser feature - part 4" into mnc-dev 2015-05-07 22:37:06 +00:00
Fabrice Di Meglio
00b5a67a2e Add user selectable Default Browser feature - part 4
- refresh Browser list depending on package installation / removal

See bug #20144393

Change-Id: I529f6e0bd8b5bd4cae1dea9479acfca9cf9a6b26
2015-05-07 15:34:21 -07:00
Jason Monk
97cebec1a0 Merge "Detect uninstalled apps during resume" into mnc-dev 2015-05-07 20:36:17 +00:00
Jason Monk
4cbf9b2d58 Detect uninstalled apps during resume
Also cleanup disabled apps check while here

Bug: 20651305
Change-Id: I5ba8f6e7aee817842bb2ae2ee825647089bcacd3
2015-05-07 16:30:05 -04:00
Jason Monk
f4db340dae Consistently use weight to get average mem usage
Rather than just for the labels...

Also update bg mem to be converted to the same memory scale for
the bars.  Also undo some bad average calculations that only made
things worse.

Bug: 20694769
Change-Id: I676803bf76d336355441891e768ba3c228dbfbca
2015-05-07 15:44:37 -04:00
Jason Monk
e2d63fef3c Merge "Updates/fixes to memory settings" into mnc-dev 2015-05-07 17:45:39 +00:00
Jason Monk
1de522323f Updates/fixes to memory settings
- Update memory states to be Good performance, Ok performance, etc.
 - Update header info to be based on history rather than
   instantaneous
 - Color memory bar differently based on state
 - Fix run frequency bucketing to be correct
 - Show dialog for selecting duration, and fix duration selection
 - Update process naming to:
      - If process name is "anything:xxxx" then show "Xxxx"
      - If process name is "com.app.package.interface" then show "Interface"
      - If process name is the package name then show the app name
      - Otherwise fallback to the process name string

Bug: 20694769
Change-Id: Ic1fab28bfd2422bde84dd10bd305a4cc34be98cf
2015-05-07 13:45:08 -04:00
Jason Monk
68d6d46574 Merge "Always start storage list sorting by size" into mnc-dev 2015-05-07 17:35:39 +00:00
Jason Monk
069732c5f9 Always start storage list sorting by size
Bug: 20075068
Change-Id: I50a39decaa61bf7c3489243924c0d3928c4fe2ce
2015-05-07 13:09:48 -04:00
Jason Monk
20f464edde Fix app headers in settings
Use SettingsPreferenceFragment's method for pinned headers where
possible, and add a frame within the fragment for them to live in
otherwise so that this view doesn't end up on the activity.

Bug: 20886475
Change-Id: I985eb1497744ea50bfabed862e5088eb89df5b61
2015-05-06 16:00:25 -04:00
Yorke Lee
3066f83243 Merge "Rename default dialer to default phone app" into mnc-dev 2015-05-05 00:22:13 +00:00
Jason Monk
1eb54eb2ff Add high power whitelist for apps
- Strings not final!
 - New UX for power usage details (more preferency)
 - Add high power apps list shows on/off and screen to
   change (when possible)
 - Link from power usage summary to high power list
 - Link from advanced apps to high power list

Bug: 19991702
Change-Id: I97c927ed82d3b89041e4429b427508545763d66c
2015-05-04 14:38:01 -04:00
Yorke Lee
628a98c1df Rename default dialer to default phone app
Change-Id: Ib6c147ba132ed5296de5e932e5dc378183ef92a3
2015-04-30 15:07:41 -07:00
Jason Monk
d527f42086 Merge "Handle no peeking in app info pages" into mnc-dev 2015-04-30 15:33:39 +00:00
Jason Monk
25f9e326ab Handle no peeking in app info pages
Bug: 20496400
Change-Id: Icdcb997f35497c7664af948ad7ada722835e42b4
2015-04-30 11:27:27 -04:00
Fabrice Di Meglio
b880f1424b Merge "Add user selectable Default Browser feature - part 3" into mnc-dev 2015-04-29 21:16:18 +00:00
Fabrice Di Meglio
d5f379304c Add user selectable Default Browser feature - part 3
- fix preference summary

See bug #20144393

Change-Id: I4ecf46e69bf6bafda87dbc05b7c2f68bbca725cb
2015-04-29 14:12:19 -07:00
Jason Monk
28c3ba156f Merge "Allow filtering system apps on most app lists" into mnc-dev 2015-04-29 17:10:35 +00:00
Jason Monk
fbaf4363f6 Allow filtering system apps on most app lists
Change-Id: If852adec4122aca3f11b0f894c0c44d12a75cc77
2015-04-29 13:02:08 -04:00
Fabrice Di Meglio
afa7afda4f Add user selectable Default Browser feature - part 2
- show full list of Browsers

This change depends on a Framework change which adds a new MATCH_ALL
constant flag in PackageManager for getting the full list.

See bug #20144393

Change-Id: I6ed29cbac28aaf1a955541db0615a1d20d267fd5
2015-04-28 16:58:05 -07:00
Yorke Lee
0b31dc54bf Merge "Simplify DefaultDialerManager" into mnc-dev 2015-04-28 18:58:01 +00:00
Yorke Lee
ec996be27b Simplify DefaultDialerManager
The previous code worked with ComponentNames because it was
based off existing code for the default SMS application.
We only really need the package name however, so simplify the
code by storing and retrieving the package name directly.

Bug: 20304458
Change-Id: Icabd3a9f0f8166c105360494b601160d13767fad
2015-04-28 11:35:22 -07:00
Yorke Lee
169f824bfe Merge "Rename setDefaultDialerApplication for consistency" into mnc-dev 2015-04-27 22:49:26 +00:00
Yorke Lee
f28c517174 Rename setDefaultDialerApplication for consistency
Change-Id: I0749f2cbaaf0e9fd7fb8274a088ca971a33b2a36
2015-04-27 15:18:47 -07:00
Jason Monk
2583fc1e06 Move process stats screen into memory screen.
- Move process stats from developer options to top level
   settings item.
 - Some minor UI changes to the top of the page
 - Major UI updates to detail page, now shows info with processes
   as pref categories and services as prefs, with a way to kill
   them (taken from Running Services page).
 - Some major refactorings in code, in attempt to make it more
   usable
 - Added color bar on per app basis to visualize the avg/max
   relationship
 - Updated the way avg is calculated across multiple entries in
   ProcStatsPackageEntry to be more accurate
 - Change the way max memory is calculated in
   ProcStatsPackageEntry to be less accurate but more useful

Bug: 19443802
Change-Id: Ia6aaabe42c415c50997a09bfb814a6f6e5731772
2015-04-27 10:08:52 -04:00