Commit Graph

946 Commits

Author SHA1 Message Date
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
Amit Mahajan
7e28221640 ApnEditor changes to support bearer as a bitmask.
Change-Id: I8d97f7e789a6ab75f2c5931624fe9694589fc215
2015-04-30 18:03:17 -07:00
Jorim Jaggi
4dfcb8208c Update fingerprint settings to spec
- Make it look like a sub settings activity, with back button
- Add disclaimer to describe what your fingerprint can be used for
- Update visuals and text for "Add fingerprint"
- Update related string

Bug: 20594955
Change-Id: I0adfcc743db386e0abf9cfdafff3d068ebc3b4bc
2015-04-30 16:54:02 -07:00
Yorke Lee
628a98c1df Rename default dialer to default phone app
Change-Id: Ib6c147ba132ed5296de5e932e5dc378183ef92a3
2015-04-30 15:07:41 -07:00
John Spurlock
f57bad7d5b Settings: Do not disturb automatic rule updates.
- Remove FAB for adding rules, move to last preference.
 - Add first-class event condition type and config sub-page.
 - Always show radio buttons when adding rules.
 - Add new data model for event rules.
 - Add stub condition provider for event rules (always false for now).
 - Add rule-type icons to rule preference rows.

Bug: 20064962
Change-Id: Id5acde371eb2e7d22b1f195459897614db5ba80a
2015-04-30 11:28:27 -04:00
Elliott Hughes
28077b9cc8 Add Pacific/Noumea.
Also move Majuro to the right place in the list. It's +11, not -11.

(cherry-pick of 23ae8827c1bd86ec632eab42d067148f8b3452e8.)

Bug: http://b/20417019
Change-Id: I0148a33bf542e9fb5bec77f81216a82180053c3d
2015-04-28 13:59:54 -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
Alan Viverette
13f8303086 am 4a4f487e: am b6073c48: am 93ecb1f0: Merge "Settings: Fix wifi developer options summaries"
* commit '4a4f487e5bfd88644421fd139735543b4a5c7be9':
  Settings: Fix wifi developer options summaries
2015-04-24 21:08:07 +00:00
Alan Viverette
93ecb1f012 Merge "Settings: Fix wifi developer options summaries" 2015-04-24 18:05:10 +00:00
Jason Monk
208b17ef81 Merge "Update notification strings in app info" 2015-04-23 18:46:46 +00:00
Jason Monk
a3cfe9e127 Update notification strings in app info
Bug: 20496114
Change-Id: I98698ae082fec614d0480697885049ffe2e8dcf7
2015-04-23 14:41:04 -04:00
Jason Monk
be292a5d52 Merge "Change owner info to be a dialog rather than screen" 2015-04-23 18:08:21 +00:00
Yorke Lee
b0b514a2f6 Merge "Add default phone app to system settings" 2015-04-23 17:35:49 +00: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
Jason Monk
3bcd76ce63 Change owner info to be a dialog rather than screen
Bug: 15937670
Change-Id: I8d8609ff165c4a76e318a80a62fb1dc9effbc82a
2015-04-22 11:14:14 -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
Sanket Padawe
010f5939d1 Merge "Fix alignment issue with mac address in Wifi Settings" 2015-04-16 20:24:47 +00:00
Elliott Hughes
482bc3827d am ce9a533c: am 48e7e2ac: am 2e30bff1: Merge "Add Europe/Madrid."
* commit 'ce9a533c7103fb3469f833066fc05579d16b48f9':
  Add Europe/Madrid.
2015-04-16 15:45:53 +00:00
John Spurlock
8be177bffd Settings: Use new media icons for slider pref.
Bug: 20096341
Change-Id: I0117cce573cf4234eb6dbd9b16f82093af6df833
2015-04-16 11:03:38 -04:00
Elliott Hughes
09ca2a9823 Add Europe/Madrid.
50 million Spaniards can't be wrong.

Bug: 19519953
Change-Id: I10712165d32d90977453e7053057e6260c005f84
2015-04-15 17:37:16 -07:00
Sanket Padawe
7c132038fc Fix alignment issue with mac address in Wifi Settings
Bug: 17364982
Change-Id: I5706cde24e105049979097244d22eb05af2315ea
2015-04-14 18:12:23 -07: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
John Spurlock
c96a5dcbfc Settings: External automatic rule settings.
- Add external automatic rule settings page with the common
   settings for all rules (enabled, name, zen mode).
 - Pull common rule-instance settings into settings base class, share
   with existing schedule rule settings.
 - New page not searchable since it is at the rule-instance level.
 - Obtain external rule information from existing conditions provider
   metadata.  Includes rule type caption, sub-configuration activity,
   and default condition id.
 - If external condition providers exist with the appropriate metadata,
   display the external rule types as options in the new rule dialog.
   (max of 3 external types)
 - Pull common managed service listing code out of common settings base
   class and into a more reusable helper class.

Bug: 20064962
Change-Id: Ibc13607490b7312a7d9f7f3bd61c3cfcf71a2794
2015-04-13 12:19:55 -04:00
Jeff Sharkey
42833b2ff4 Checkpoint of new storage UI.
Top-level storage UI now shows list of all devices, both internal
and adopted/private volumes, and public/shared volumes.

When viewing a private volume, show traditional clustering of data
types, including summary of other users.  For adopted volumes, any
actions are tucked away in a menu, since they're not primary.  Misc
files browsing is now provided by DocumentsUI.

Teach StorageMeasurement about new private volumes, including
handling emulated volumes stacked above them.  When measuring, only
consider apps actually hosted on the current volume UUID.

When viewing a public volume, we default to launching into file
management mode, and offer a simple eject button at the top-level
view.  File management mode is offered by new DocumentsUI browse
intent, and a Settings link there redirects back to us for actual
operations like ejecting/formatting.  When unmounted, we launch
into our action view.

Actions like ejecting/formatting just show simple toasts for now.

Bug: 19993667
Change-Id: Ie990ef3c01fb3717aaf8c79bfc53aac7edefdcf7
2015-04-12 22:02:32 -07:00
Fabrice Di Meglio
de6fe895ab Merge "Add user selectable Default Browser feature" 2015-04-11 02:09:34 +00: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
John Spurlock
35fba3eeaf Settings: New zen option to allow repeat callers.
Bug: 20064962
Change-Id: Icc65da146503386c057d7f78d6610f83f56d1a92
2015-04-10 08:12:14 -04:00
John Spurlock
45fa140b8c Settings: An update on Downtime.
- Migrate settings to the new zen mode state model.
 - Remove downtime settings.
 - Add automatic rule management page (add/remove)
 - Bind new automatic schedule rules to detail editor.
 - Clean up a few found miscapitalized string captions.
 - Migrate zen switch to report the shared summary string.

Bug: 20064962
Change-Id: Ia561e7f77c90c962729240b4d51ba1915297f64a
2015-04-09 20:56:16 -04:00
John Spurlock
b47b2c3f6a Zen: Move zen mode preference to switch bar.
- Add summary line support to SwitchBar.
 - Remove obsolete strings.
 - Wire up switchbar to zen mode w/ dialog prompt.
 - Remove obsolete callback pref helper.

Bug: 20064962
Change-Id: Ifede00b5d43d441ccd94db96bd2796bc57d1a990
2015-04-04 15:47:43 -04:00
John Spurlock
385c5acbd6 Merge "Settings: Move downtime to new automation sub-settings page." 2015-04-03 23:53:04 +00:00
Fabrice Di Meglio
1152aee9f6 Merge "Settings - add support for Launch by Default" 2015-04-03 21:40:15 +00: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
John Spurlock
d8b3683570 Settings: Move downtime to new automation sub-settings page.
Bug: 20064962
Change-Id: I6238439bbd679c143fc986743a65ed64057f2755
2015-04-03 16:27:45 -04:00
John Spurlock
48bbd5d1e4 Settings: Move priority configuration to its own sub-settings page.
Bug: 20064962
Change-Id: Idd03e0e5077e13cc08ff9997ab9ad56ddcdb5c50
2015-04-03 15:57:21 -04:00
Elliott Hughes
abbe2d4c8a am 483d7989: am ff095ab0: am 189d7e8e: Merge "Add Europe/Istanbul timezone"
* commit '483d7989deac12ea8ad51e7a0bc227289601fb1a':
  Add Europe/Istanbul timezone
2015-04-02 18:49:22 +00:00
Samuel Asteberg
7019943855 Add Europe/Istanbul timezone
Change-Id: I522107e7aead4d7ec587a19202af23df71d16d83
2015-04-02 18:18:24 +02:00
Adrian Roos
43a0cbad1b Merge "Add default emergency app setting" 2015-04-02 15:22:59 +00:00
Adrian Roos
9c86a7adae Add default emergency app setting
Bug: 19841649
Change-Id: I1763ee16e1e10c957261fe663f4c87269adcdef7
2015-04-02 17:21:35 +02:00
Etan Cohen
96c47d45e7 Merge changes from topic 'mwd-merge-040115'
* changes:
  Merge commit '279cb4a' into merge
  Merge commit '898e486' into merge
  Merge commit 'fc75374' into merge
  Merge commit '2241607' into merge
  Merge commit 'fe47522' into merge
2015-04-02 03:07:52 +00:00
Elliott Hughes
1321412c79 am 14083abb: am 144c48e7: am 49fe5084: Merge "add Recife timezone"
* commit '14083abbe9fa5966f3abb718e19132c18861fb76':
  add Recife timezone
2015-04-02 02:59:40 +00:00
Elliott Hughes
49fe5084f7 Merge "add Recife timezone" 2015-04-01 23:55:55 +00:00
Etan Cohen
7caa77e40c Merge commit '2241607' into merge 2015-03-31 11:26:54 -07: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
Prerepa Viswanadham
9d2ebc3cf0 Merge "Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge Fix build in DevelopmentSettings.java" 2015-03-25 19:59:48 +00:00
Jason Monk
c735941a85 Merge "Allow system apps to add to settings dashboard" 2015-03-25 19:34:45 +00: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
Jason Monk
2ebc8a0169 Allow system apps to add to settings dashboard
Allow system apps to add a tile to the top level of settings that
links to an activity through adding a filter for a specific action.
Determine the info for the tile based off manifest info for the
activity. Also allow the same for managed profiles, but show a dialog
in between to select which profile.

The category in which the item is to be placed must be in meta-data.
The icon and title can be specified through meta-data as well or
if unspecified the activity's label and icon will be used.

Also added an optional <external-tiles> tag to the dashboard
category xml, this allows Settings to put external tiles
in the middle of some categories (Personal does this).

Bug: 19443117
Change-Id: Idc9938d1549d181103a3030a8784b527215a8399
2015-03-25 11:11:36 -04:00