Commit Graph

690 Commits

Author SHA1 Message Date
Jeff Sharkey
954d8dad5e Migrate package movement to use new API.
We now kick off the move immediately, and pass along the "ID" of the
move in progress.  This allows the progress activity to be completely
destroyed and recreated without kicking off a second conflicting move
operation.

Also uses new cleaner movement API that accepts direct VolumeInfo.

Bug: 19993667
Change-Id: I28bc268fcb42dfc9152020b16ef7058d63157597
2015-04-23 20:11:48 -07:00
Jason Monk
50aa8a99eb Merge "Fix crash in notifications app list" 2015-04-23 19:56:21 +00:00
Jason Monk
365b3a6b4b Fix crash in notifications app list
Bug: 20310018
Change-Id: I670c4cd10607c84a6c185d6dce579da497b6bb65
2015-04-23 15:45:54 -04:00
Jason Monk
fb22526104 Merge "Allow users to re-enable apps once disabling them" 2015-04-23 17:55:34 +00:00
Yorke Lee
b0b514a2f6 Merge "Add default phone app to system settings" 2015-04-23 17:35:49 +00:00
Jason Monk
3d0bc10ce2 Allow users to re-enable apps once disabling them
Entries in the app list should not be disabled, instead we should
be filtering for only items the user can modify.

Bug: 20210219
Change-Id: Ida298a9ba16c1201ac238b85f299bdc7b0ae7a1d
2015-04-23 13:14:32 -04:00
Jason Monk
d8da51ccfe New UX for app usage screen
Now uses ManageApplications base, and has a details screen which has
a switch and a link to optional app settings.

Bug: 20290386
Change-Id: If32ce8d82e55f3908644c575925b3f6506a68e6e
2015-04-23 10:37:59 -04:00
Yorke Lee
dc868a18f8 Add default phone app to system settings
Bug: 20303635

Change-Id: Ibf052fa92347bff49a638c4042d899c9d6587410
2015-04-21 17:26:16 -07:00
Jason Monk
38e7b26664 Fix filtering for manage apps
Bug: 20453766
Change-Id: Ia4a0f0d9a652332944ef846770d5bc4cc50395d9
2015-04-21 13:55:10 -04:00
Tony Mantler
2d566e7f05 Move PermissionsInfo to SettingsLib
Change-Id: Ibe587365b841d7e68d7bb7b7999656f73d9d9bc7
2015-04-16 15:42:46 -07:00
Jason Monk
02a310d8c9 Filter app list by storage volume
(when coming from storage settings)

Bug: 19989309
Change-Id: I932b67d25b5c9305067969ba13acb1a9f78e6cdb
2015-04-16 11:45:34 -04:00
Jeff Sharkey
4e53ac6dc8 Merge "Move packages between candidate volumes." 2015-04-16 05:50:14 +00:00
Jeff Sharkey
1f4efd7360 Move packages between candidate volumes.
We now allow moving packages between all possible candidate volumes,
as determined by the framework.  Moving now jumps through wizard to
help user understand what's going on.

Bug: 19993667
Change-Id: I5416ed2865f400b1d718c68a3f0e033080fefa0e
2015-04-15 22:14:09 -07:00
Adrian Roos
bef722cfad Hide emergency app setting when not available
Bug: 20117344
Change-Id: Ieb6d166c0fa7c7376bbf262fa831ff3f626fce57
2015-04-14 17:49:46 -07:00
Jason Monk
c1235be6f0 Merge "Allow help to be defined to intent uri" 2015-04-14 19:54:19 +00:00
Jason Monk
23acc2bb8a Allow help to be defined to intent uri
Allow help uris to be either an intent uri or as uri (as they were
before). Also add a default help uri, and specific helps for several
screens.

Bug: 15475009
Change-Id: Iff982892973f01d32ff61ea88d4844e9a7153500
2015-04-14 15:43:20 -04:00
Jason Monk
73a2496d31 Move default app preferences to one screen
- Move emergency and SMS app preferences to default apps
 - Fix search on default apps
 - Make all default app prefs use AppListPreference
 - Some approximate UI work on AppListPreference

Bug: 20210110
Change-Id: Id04086163c7e87c92a03af421a27018fb380b45d
2015-04-14 10:24:46 -04:00
Jason Monk
6ef2723004 Remove all apps page
Instead move the functionality back into overflow menu as show/hide
system apps. Also move the reset app preferences from advanced to
the overflow menu.

Bug: 20210160
Change-Id: Ied573e1f7dfc438b06642ee2af8f11868130ba3b
2015-04-14 10:24:33 -04:00
Jason Monk
b5aa73f46f Fix loading screens for manage and running apps
Also add loading screen to manage permissions as this can take a
long time to load in some circumstances. Build loading screens into
Utils and SettingsPreferenceFragment so that it can be easily used
other places in the future.

Change-Id: I7febd06695487e02ced793a9fd418051b5f0eab8
2015-04-13 14:23:37 -04:00
Fabrice Di Meglio
2eb901a4e8 Add user selectable Default Browser feature
- add Default Apps section in Apps / Advanced
- follow UX spec

This change depends on a Framework change which adds new APIs in PackageMaager
for setting and getting the default Browser App package name.

See bug #20144393

Change-Id: I2ff456eeaced9f740f4dd6fb6bccea6de6ea1308
2015-04-10 19:04:53 -07:00
Adrian Roos
1951726152 Merge "Hide emergency app settings on non-voice deivces" 2015-04-08 14:50:21 +00:00
Adrian Roos
4157d7fcbb Hide emergency app settings on non-voice deivces
Bug: 19841649
Change-Id: I30ba582f503514656c99f3aea2801a68dfd1a5fa
2015-04-08 16:26:47 +02:00
Fabrice Di Meglio
e8981e3c58 Settings - add support for Launch by Default - part 2
UX fixes

- make the ManageApplications list to be able to handle some disable items
- add domain list for App that are not verified

Change-Id: Ib37c6f3f3dd1d1cdc17db434967f583cc89e068c
2015-04-07 17:13:12 -07:00
Jason Monk
6e338dbe62 Merge "Add runtime permission summary for M apps" 2015-04-07 19:21:42 +00:00
Jason Monk
6137d550b0 Add runtime permission summary for M apps
Bug: 20104004
Change-Id: I88b7db34e52444a0c23a8f4ccb76e52bbb83f118
2015-04-07 15:03:57 -04:00
Adrian Roos
c701a20aed Merge "Fix crash on rotation while ICE dialog is open" 2015-04-07 14:19:51 +00:00
Adrian Roos
e06c34464e Fix crash on rotation while ICE dialog is open
Bug: 20096049
Change-Id: I90c5d98b26cc55d7178e6c154ff1788ccb4c3974
2015-04-07 16:05:07 +02:00
Dianne Hackborn
7781ef6870 Update with new assist app ops.
Change-Id: I796845dd1cb3ccfe951e0cbdb7cab55ec476f128
2015-04-04 17:48:18 -07:00
Fabrice Di Meglio
8b2ea39cbc Settings - add support for Launch by Default
- implement UX spec

Change-Id: I7ee8962f83983273d809e0ef6fc81b0eb2df15dd
2015-04-03 14:10:01 -07:00
Adrian Roos
9c86a7adae Add default emergency app setting
Bug: 19841649
Change-Id: I1763ee16e1e10c957261fe663f4c87269adcdef7
2015-04-02 17:21:35 +02:00
Jason Monk
2f41aa7955 Add permissions screen to advanced apps
Add a screen that shows a list of permissions and how many apps
have been granted them, link to PackageInstaller for control of
the permissions.

Depends on I68cdbe53177f742daf396f4eb53761fd5cda2636
Change-Id: I183848ea89ea41a17eaf663441dc4ef963be99bf
2015-03-30 10:39:29 -04:00
Chris Wren
8a963babe2 log visibility of views
Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f
Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
2015-03-27 13:39:07 -04:00
Jason Monk
390910b333 Merge "Fix managed profile bugs in manage apps list" 2015-03-26 12:40:44 +00:00
Jason Monk
1f4f30cd06 Fix managed profile bugs in manage apps list
- Uses the same package manager flags as secondary users for managed
   profiles, so that owner apps don't show up.

 - Fixes bug in getting AppEntries that caused app info for profile
   apps to get the owner one instead (which was unbadged and very
   broken).

Bug: 19817357
Change-Id: I659ab1081c68a231330f5b16486abc5a0a5b2029
2015-03-26 08:35:02 -04:00
Jason Monk
ae194b749a Merge "Add running services screen to developer options" 2015-03-25 16:31:14 +00:00
Jason Monk
5dc70b1085 Add running services screen to developer options
This used to live under manage apps, but does no longer.

Bug: 19926589
Change-Id: I2554f14205286cc38fc87779873c37a5a1f80c4e
2015-03-25 15:27:09 +00:00
Svet Ganov
79021c27c9 Lauch manage permissions UI from settings
Change-Id: I96f75ebfb4c3984b7e93abf1de41963aa67d4cbd
2015-03-24 20:17:08 -07:00
Jason Monk
584b2b2bc1 Make notifications app list use new manage apps
The designs for Settings have the notification app list using the
same UI as the Manage Apps list, so switch the notification app
list over to the ManageApplications fragment.  This involves
adding some notification based filters and connecting the data
from the Notification Backend to ApplicationsState.

Bug: 19443900
Change-Id: I5e5cdb16890d536613ee59292b89a89b6fb9e2e6
2015-03-23 14:03:04 -04:00
Jason Monk
5b3aa36e6f Implement new Manage Apps list
Manage apps now only has one list.  When entered from the dashboard
it is not sortable or filterable, and shows a combination of downloaded
apps and anything that shows up in launcher.  When 'all apps' is
entered through advanced app settings, the list shows all apps and
can be filtered and sorted.

Bug: 19443900
Change-Id: I555ee56417c330424d458750b6f81d3bd543f66d
2015-03-23 11:17:07 -04:00
Alan Viverette
042dad7cc7 Merge "Clean up usage of theme colors, deprecated Resources.getColor* methods" 2015-03-20 20:07:41 +00:00
Jason Monk
60a09ea238 Start implementation of new app info storage page
Things are mostly in the right places, may need some minor location
adjustment on everything and styling for the buttons.

Bug: 19511439
Change-Id: If7730285d6ddc36e32cc8bc119885a8e215c0eb5
2015-03-19 15:28:40 -04:00
Jason Monk
ad99996ffb Merge "Only show 2 buttons in app info screen" 2015-03-19 18:00:54 +00:00
Alan Viverette
55eaa96fe4 Clean up usage of theme colors, deprecated Resources.getColor* methods
Change-Id: I34e11e0773c9f8e00e3eab422781094e19a16d3d
2015-03-18 18:10:52 -07:00
John Spurlock
9a23adf69d Settings: Remove all unused imports.
Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
2015-03-18 15:51:15 -04:00
Jason Monk
dff06ccbf3 Only show 2 buttons in app info screen
They are disable or uninstall and force stop. When there is a third
action it gets pushed to the overflow menu.

Bug: 19511439
Change-Id: I1a0ee71662c09f191fd15524f1a123877eabbe90
2015-03-18 14:46:35 -04:00
Jason Monk
5774e865d2 Merge "Fix crash in app info" 2015-03-18 15:14:02 +00:00
Jason Monk
337996a485 Fix crash in app info
Bug: 19653600
Change-Id: Iddd2da2fcab284e34d40afe493c72bb469648380
2015-03-18 11:01:35 -04:00
Jason Monk
4bb075bc4f Add data item to app info screen
Add link from app info to directly viewing data usage for that app.

Also do some minor tweaks to get ordering and summaries right on
the app info screen.

Bug: 19511439
Change-Id: Ic50dc24bf9a5c1fe6a7aa076772915ba61168fac
2015-03-18 10:41:21 -04:00
Jason Monk
0702589168 Merge profiles apps into app list
Remove the spinner and add all apps into one list and badge the managed
items.

Bug: 19443900
Change-Id: I9ccacc1b503da2663b9a3945f4fd6051ae95e328
2015-03-16 11:05:33 -04:00
Jason Monk
588a0881c1 Follow-up on comments from splitting app info
Bug: 19511439
Change-Id: Id1395597262f66514808f71d99978120dbba70e1
2015-03-03 09:14:37 -05:00