Commit Graph

15016 Commits

Author SHA1 Message Date
Matthew Fritze
25437d7c61 Data Usage summary creates a dialog to change data warning level
Clicking the Data usage summary preference will open the same dialog
that billing cycle does to modify data warning level. The Dialog
was abstracted to be used outside of the Billing Cycle settings
fragment.

Test: Robo tests in next cherry-pick.

Change-Id: I70398d4656b6da4233b2bfa0da6ffa7402ead69b
Fixes: 26932938
(cherry picked from commit 9fad289ca9)
2016-09-13 12:56:45 -07:00
Felipe Leme
1469dde1a0 Improved storage accounting: am: 7358b7802f
am: 49260969b7

Change-Id: If4dc3b03fe521d91002a00beb9230caef1100a46
2016-09-13 19:47:55 +00:00
Felipe Leme
49260969b7 Improved storage accounting:
am: 7358b7802f

Change-Id: Ie5839177bf44a0269e04d17a2f33012e3029ab38
2016-09-13 19:44:54 +00:00
TreeHugger Robot
96c128cc99 Merge "Improved storage accounting:" into nyc-mr1-dev 2016-09-13 19:39:23 +00:00
Fan Zhang
ae2a00fc5a Log support disclaimer dialog visibility change.
Bug: 30681529
Test: RunSettingsRoboTests

Added InstrumentedDialogFragment, and use it to observe visiblity
changes in support disclaimer fragment.

Change-Id: I9f851c4769f8d59e791986fffc145d014ffde3a3
2016-09-13 11:34:21 -07:00
Felipe Leme
7358b7802f Improved storage accounting:
- Removed duplicated entry for DIRECTORY_MOVIES.
- Added DIRECTORY_DOWNLOADS to Other.
- Added unaccounted data to Other.
- Changed Other description so it mention non-visible items.

Often sub-directories of /data are populated with data that Settings
doesn't have control of (for example, on /data/ramdump), so they're more
suitable to be displayed in the "Other" section.

BUG: 31091863
Fixes: 30952263

Change-Id: Ibf54f9dd96456575109e2e281f3780da84f70d92
2016-09-13 10:49:34 -07:00
Phil Weaver
7382f2c15d Make a11y settings display consistent am: 99a66b5416 am: 17fb0f6cf5
am: 02b9cb27bb

Change-Id: I9a6c530e5fbb7bf2023b0f84186b568c47e694f3
2016-09-13 02:10:10 +00:00
Phil Weaver
02b9cb27bb Make a11y settings display consistent am: 99a66b5416
am: 17fb0f6cf5

Change-Id: Iebeeb744a08d0a89803d8743dbe85950b1320147
2016-09-13 01:19:12 +00:00
Phil Weaver
17fb0f6cf5 Make a11y settings display consistent
am: 99a66b5416

Change-Id: Ic62d9ac58ebab8e52d9bb22c7c377d640fc027bb
2016-09-13 01:13:41 +00:00
Phil Weaver
9d6bce3667 Merge "Make a11y settings display consistent" into nyc-mr1-dev 2016-09-13 01:07:05 +00:00
Phil Weaver
99a66b5416 Make a11y settings display consistent
We were using two methods to decide whether or not to show
that an a11y service was enabled, one on the main
Accessibility screen and another on the individual service
screen. In some situations, an enabled service would show
up as enabled on the main screen but not enabled on its
individual screen.

Bug: 30829589
Change-Id: I560d86684a2fb8987d3dd06279e033ecb7cc1a58
2016-09-12 16:17:09 -07:00
Julia Reynolds
77b1f52574 Non-blockable notification packages can't be blocked.
Bug: 31404047
Change-Id: Icbe7e5e57983d281f6fe21e9b4715c822784d43c
2016-09-12 11:13:10 -04:00
TreeHugger Robot
24e673b0d2 Merge "Eliminate useless 'isManagedProfile' utils method" 2016-09-12 09:08:05 +00:00
Robin Lee
788671647c Eliminate useless 'isManagedProfile' utils method
This exists in UserManager now

Change-Id: If35326a1fe0de3c7bfde842c5c170899dc5d819b
2016-09-12 16:25:28 +09:00
Fyodor Kupolov
8fd14485b7 Ignore onPreferenceChange for top level preference am: bf88b269ca am: 26a0f7037a
am: 07f4c033fd

Change-Id: I665d08af5fd4d6e0634c9889dbb3abfef7105fd7
2016-09-10 00:14:28 +00:00
Fyodor Kupolov
07f4c033fd Ignore onPreferenceChange for top level preference am: bf88b269ca
am: 26a0f7037a

Change-Id: I491a5df37f1df3d9cd02dacabb69c57c287d686c
2016-09-09 23:49:47 +00:00
Fyodor Kupolov
26a0f7037a Ignore onPreferenceChange for top level preference
am: bf88b269ca

Change-Id: Ib5208cb8b7d1a0bbaeed4ddbdbf6c15bce8b1b49
2016-09-09 23:46:49 +00:00
Fyodor Kupolov
4b60607038 Merge "Ignore onPreferenceChange for top level preference" into nyc-mr1-dev 2016-09-09 23:30:35 +00:00
Jim Miller
b5f3c1d9b6 Check for missing preference before setting title. am: 06458be226 am: 68306c3409
am: 3d0b4bb6c9

Change-Id: I75dc4b7f832884fa4a6eb9f5e934d1da36d303f0
2016-09-09 20:32:31 +00:00
Jim Miller
3d0b4bb6c9 Check for missing preference before setting title. am: 06458be226
am: 68306c3409

Change-Id: Ibfeb785327d497fad3e8bff4de3b183ff5657fd2
2016-09-09 20:27:10 +00:00
Jim Miller
68306c3409 Check for missing preference before setting title.
am: 06458be226

Change-Id: I1bbca453c4f58554bf7ec96a211496e3bce2acac
2016-09-09 20:21:47 +00:00
TreeHugger Robot
ca9a78f2d1 Merge "Check for missing preference before setting title." into nyc-mr1-dev 2016-09-09 20:15:13 +00:00
Jim Miller
06458be226 Check for missing preference before setting title.
Some preferences aren't available due to DPM, so check for null
before setting the title.

Fixes bug 31184335

Change-Id: I69f97274eef87755269fd8f7897edcc36087f8b2
2016-09-09 11:54:12 -07:00
Todd Kennedy
648bd1287d Direct launch to web action am: 2ef1aa5894 am: de2da206af
am: 4de8f3f6bb

Change-Id: I7129d3252f652a4e9fb410229cbfd9c1a7099289
2016-09-09 02:13:11 +00:00
Todd Kennedy
4de8f3f6bb Direct launch to web action am: 2ef1aa5894
am: de2da206af

Change-Id: Iea7aefc5ca85f7083f37ff678933aa293694ff97
2016-09-09 02:06:57 +00:00
Todd Kennedy
de2da206af Direct launch to web action
am: 2ef1aa5894

Change-Id: I08a9f74e7ddb0f72881f82da40d950bf6b63e7d6
2016-09-09 01:59:32 +00:00
TreeHugger Robot
e162563e10 Merge "Direct launch to web action" into nyc-mr1-dev 2016-09-09 01:50:07 +00:00
Todd Kennedy
2ef1aa5894 Direct launch to web action
We want to be able to direct launch into the web action settings
Fixes: 31338071

Change-Id: I295729b8c9e0d3c1196ed820a9e9f6163bf611b4
2016-09-08 13:51:12 -07:00
Salvador Martinez
55e738aa03 Merge "resolve merge conflicts of 8ec7028 to master" 2016-09-07 18:02:12 +00:00
TreeHugger Robot
c2d59c0666 Merge "Replaced deprecated calls to INetworkPolicyListener." 2016-09-07 17:42:24 +00:00
Salvador Martinez
923534f641 resolve merge conflicts of 8ec7028 to master
Change-Id: I02767dea7e2fd8e6dfdfe495af1c28587b080630
2016-09-07 10:24:03 -07:00
Salvador Martinez
8ec70281ee Fixed Sound Settings summary text am: b706d4e956
am: d39c1fa395

Change-Id: I73fa598eb0067b5c1497e7bac803b9d349eaf86c
2016-09-07 16:17:14 +00:00
Salvador Martinez
d39c1fa395 Fixed Sound Settings summary text
am: b706d4e956

Change-Id: I6161e1ffbec8e17591240a0a16801afdae113fbb
2016-09-07 16:14:44 +00:00
Salvador Martinez
20d19a89da Merge "Fixed Sound Settings summary text" into nyc-mr1-dev 2016-09-07 16:06:41 +00:00
Tomohiro Takeda
6cd4db0576 Fix ApplicationsState.Session memory leak in settings app
Removes the creation of an unused session and some other redundant code
left behind when c5291b87 was applied.

Change-Id: Ie5ec0f00b3240df9cf2c4fa3bd05b49ba45f4547
2016-09-07 14:22:11 +02:00
Salvador Martinez
b706d4e956 Fixed Sound Settings summary text
The summary for Sound settings was not
descriptive enough when the volume was set
to 0% so additional strings were added. Now
it will change let you know the status
of the ringer and vibration settings when
at 0% volume. Espresso tests added to test
that text is properly updated in each of
these states.

Test: make SettingsTests
Bug: 31099179
Change-Id: Id49e2d0c4b7ac0f17efcdaf31de48d5eb678ca46
2016-09-06 17:23:50 -07:00
Andrew Sapperstein
1d20e81742 Null check intent before starting "learn more".
am: e56d2be0b2

Change-Id: I93aa097da0b6404dfbe279ee7d678e1f83a9ec93
2016-09-06 23:13:26 +00:00
Maurice Lam
595cae7039 Remove help links when device is not provisioned. DO NOT MERGE
am: d0a95da564

Change-Id: Ie8658b5ceb4546013f893f33301834db4a773f10
2016-09-06 23:12:02 +00:00
TreeHugger Robot
1355d03287 Merge "[Settings App] Get ringtone titles from Ringtone" 2016-09-06 00:27:39 +00:00
Robin Lee
83e5babed1 Merge "Cut work sound prefs when personal ones are gone" 2016-09-05 09:58:17 +00:00
TreeHugger Robot
482458d46a Merge "Replaced deprecated calls to INetworkPolicyManager." 2016-09-03 05:47:45 +00:00
Felipe Leme
a1132e9f21 Replaced deprecated calls to INetworkPolicyListener.
Test: manual
BUG: 28791717

Change-Id: I23e08dc472d7d3d37f09e2811bb450e907b7bb1f
2016-09-02 17:52:19 -07:00
Felipe Leme
ce015fce0a Replaced deprecated calls to INetworkPolicyManager.
BUG: 28791717
Test: manual
Change-Id: I3df5214ead3b94f3ffa58e3ffad197a4ec09bef0
2016-09-02 16:28:07 -07:00
Lei Yu
393e6532a9 Merge "Add the interface to check the status of location setting." 2016-09-02 20:13:16 +00:00
Sooraj Sasindran
c6a4b7282c Merge "Provide calling package name in cell info APIs" 2016-09-02 18:56:41 +00:00
Robin Lee
e51fc163c2 Cut work sound prefs when personal ones are gone
For example when:
 - voice calls aren't supported, we hide phone ringtone.
 - audio is single stream, we hide everything.

Bug: 30658854
Change-Id: I8b2ad2fa08b35fa93f10447ef718a767fa389417
2016-09-02 17:28:00 +01:00
Robin Lee
bed8559a20 Enable the switch in TrustedCredentialsSettings
And match the behaviour of the dialog button that does the same thing,
so it only asks for confirmation when something is being irrevocably
deleted.

The dialog button should not be removed as it's used by system services
that deeplink to a specific cert to give the option of reviewing,
removing, or trusting it.

Bug: 31159682
Change-Id: I4fb3f38f8ab0e80e5c2dca0fc3d6d3bd4db26bb6
2016-09-02 11:03:32 +01:00
TreeHugger Robot
cd3ba14277 Merge "Update Bluetooth toggle UI to UX spec - settings" 2016-09-02 03:37:14 +00:00
Maurice Lam
d0a95da564 Remove help links when device is not provisioned. DO NOT MERGE
Bug: 31246856
Change-Id: Id638de8ab1c6b815d62916a584892be84cabe1ae
2016-09-01 17:12:20 -07:00
Svet Ganov
0cf1298a44 Update Bluetooth toggle UI to UX spec - settings
Change-Id: I171d3e55e8a480d304e4dc4e0debbd2f3ab27651
2016-09-01 16:47:09 -07:00