Commit Graph

12480 Commits

Author SHA1 Message Date
Julia Reynolds
d8a033cca5 Non-blockable notification packages can't be blocked.
am: 77b1f52574

Change-Id: I3b202fcb17e36960d97ecf10d60b99e688c9914f
2016-09-15 17:08:58 +00:00
Julia Reynolds
e28857ddb9 Merge "Non-blockable notification packages can't be blocked." into nyc-mr1-dev 2016-09-15 17:01:53 +00:00
Lorenzo Colitti
0e92ddbc1b Support displaying a dialog when Wi-Fi loses Internet access. am: 1449ecd460
am: a4aa79bb69

Change-Id: I2558b419cdb5897ed8b3cd2c36c52411eab48936
2016-09-15 16:10:46 +00:00
Lorenzo Colitti
a4aa79bb69 Support displaying a dialog when Wi-Fi loses Internet access.
am: 1449ecd460

Change-Id: I835eeb9165e726e20c26c47fb4e20fbd6d9e3f5a
2016-09-15 16:05:53 +00:00
Lorenzo Colitti
1449ecd460 Support displaying a dialog when Wi-Fi loses Internet access.
Bug: 31075769
Change-Id: Ia0c76d80591937dc40765c437e5779f3b6dde217
2016-09-15 23:43:00 +09:00
Fan Zhang
7c7a101a98 Add ability to disable data warning.
am: 7bd19b8891

Change-Id: Ibde5eb39a32e836c2ae30f036998d19523efcd9b
2016-09-14 17:29:32 +00:00
Rubin Xu
307767380a Show approprate text when enrolling fingerprint
am: ae093e2428

Change-Id: I536e3bafd65461038544e6f24e35bac902d768bc
2016-09-14 17:29:00 +00:00
TreeHugger Robot
7b7e6260f8 Merge "Add ability to disable data warning." into nyc-mr1-dev 2016-09-14 16:24:19 +00:00
Fan Zhang
7bd19b8891 Add ability to disable data warning.
- Add a preference to disable data warning.
- Disable data usage chart in summary page when data warning is turned
  off.

Bug: 26934313
Test: Manually turned on/off data warning and inspected UI.
Test: ag/1440361

Change-Id: I6d5b86b8502647781c52cf940f276e1969251b59
2016-09-14 09:22:43 -07:00
Rubin Xu
ae093e2428 Show approprate text when enrolling fingerprint
Inform the user that unlocking device by fingerprint is disabled if the
device admin has disallowed it.

Bug: 27201226
Change-Id: Id1694f07a9421ebfe3c777f2a6b624a836bff2d5
2016-09-14 13:53:03 +01:00
Matthew Fritze
d7b12c8180 Prevent Data Usage Settings crash on phones without cellular history
am: 10d7e4c060

Change-Id: Ic6bcdd378ab19a70dee11e7fc352cd54903309bd
2016-09-13 23:13:46 +00:00
Matthew Fritze
68e8770d17 Data Usage summary creates a dialog to change data warning level
am: 25437d7c61

Change-Id: I7a5be447ccbff41c4114f2a8146c8432f8dbf896
2016-09-13 23:13:41 +00:00
Matthew Fritze
b5807e199f Merge changes Ida1281a7,I70398d46 into nyc-mr1-dev
* changes:
  Prevent Data Usage Settings crash on phones without cellular history
  Data Usage summary creates a dialog to change data warning level
2016-09-13 23:06:45 +00:00
Matthew Fritze
10d7e4c060 Prevent Data Usage Settings crash on phones without cellular history
Refactored the logic to determine the data usage summary mark which now
correctly tests for null.

Bug: 30946416
Change-Id: Ida1281a771013fd807242f846edb4f2a9c0ccabb
Test: make RunSettingsRoboTests
2016-09-13 22:59:53 +00:00
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
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
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
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
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
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
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
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
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
Rubin Xu
e1237c8096 Prompt to turn on/unlock profile before showing account sync settings
am: 3231afe95b

Change-Id: I4385b5c3d478028a5eabecfe23b073633e27e287
2016-09-01 10:48:46 +00:00
Rubin Xu
95089be460 Merge "Prompt to turn on/unlock profile before showing account sync settings" into nyc-mr1-dev 2016-09-01 10:41:29 +00:00
Doris Ling
e3f9654ebc Fix NullPointerException when refreshing wifi preferences. am: b8011dbb93 am: 7a15f88912
am: e972a23faf

Change-Id: I60efde4b22dad901c491dc4ce7585c698047420b
2016-09-01 00:05:04 +00:00
Doris Ling
e972a23faf Fix NullPointerException when refreshing wifi preferences. am: b8011dbb93
am: 7a15f88912

Change-Id: I3b04d4d87063f928fa76b4843ca0692c8d0311cb
2016-09-01 00:02:02 +00:00
Doris Ling
7a15f88912 Fix NullPointerException when refreshing wifi preferences.
am: b8011dbb93

Change-Id: Ib77f937b79813351594037eaa424fac33995f336
2016-08-31 23:59:08 +00:00
Doris Ling
b8011dbb93 Fix NullPointerException when refreshing wifi preferences.
AccessPointPreference.refresh() is being called in different threads.
The refresh of the preference should only be updated in the main thread.
When access point updates is received not in the main thread, will post
the refreshing of the preference to the message queue to make the update
on the UI thread.

Test: auto - run monkey to verify there is no ANR or crash
      manual - go to Settings->Wifi, toggle on/off many times and verify
      there is no crash.

Change-Id: I656a70ecf2e7b9446c7b95b6b42ab19a5cc2e51c
Fixes: 30902893
2016-08-31 22:19:19 +00:00
Phil Weaver
d8c8c632d4 Make sure setting switch bar state is announced.
am: 664f6dacca

Change-Id: I8ecc83b5affa7af17071971abee57320d1fe2333
2016-08-31 21:34:53 +00:00
Phil Weaver
e954b992d8 Merge "Make sure setting switch bar state is announced." into nyc-mr1-dev 2016-08-31 21:32:08 +00:00
Rebecca Silberstein
02602b9b2c TetherSettings: check provisionApp array length
am: 39f0e41ec7

Change-Id: I25e14b85e810e9423e8c89d8449e2826acb77e74
2016-08-31 20:45:21 +00:00
Rebecca Silberstein
3756593811 Merge "TetherSettings: check provisionApp array length" into nyc-mr1-dev 2016-08-31 20:28:56 +00:00
Todd Kennedy
1fc2e5dcb7 Implement Web Action settings
am: d5824967ee

Change-Id: Ibd54894d1c71d835931e0b0296add2b1a010cde5
2016-08-31 02:25:37 +00:00
TreeHugger Robot
1721e4510f Merge "Implement Web Action settings" into nyc-mr1-dev 2016-08-31 02:20:47 +00:00
Salvador Martinez
45cdbd2669 Can restore state on rotate personal dict screen
am: 8f4eb4d74b

Change-Id: I8e4a2a29474784e60eb41b356cac65fe5b86886c
2016-08-31 00:43:06 +00:00
Salvador Martinez
adfcb15518 Merge "Can restore state on rotate personal dict screen" into nyc-mr1-dev 2016-08-31 00:38:15 +00:00
Andrew Sapperstein
c3733b8653 Use LinkTextView for support disclaimer text. am: 7e9146950d
am: d63e187b1a

Change-Id: Iffd7cc56eb9ee612b8c86a668f4851f229b746ac
2016-08-31 00:34:45 +00:00
Andrew Sapperstein
d63e187b1a Use LinkTextView for support disclaimer text.
am: 7e9146950d

Change-Id: Ia4a998039bfcdea3419a512d342665248f0b7ac3
2016-08-31 00:28:27 +00:00
Andrew Sapperstein
a200918af0 Merge "Use LinkTextView for support disclaimer text." into nyc-dr1-dev 2016-08-31 00:21:29 +00:00