Commit Graph

13944 Commits

Author SHA1 Message Date
Fan Zhang
c93d18e29c Use MetricsFeatureProvider for condition/suggestion/search.
Bug: 31664539
Test: make RunSettingsRoboTests

This allows different metric clients to listen to these events.

Change-Id: Ib19c8099b16ff78d9aa4901278e0ff33eeefd4a8
2016-09-22 13:22:26 -07:00
Fan Zhang
5b9762bc09 Use MetricsFeatureProvider in storage manager fragment.
Bug: 31664539
Test: make RunSettingsRoboTests for regression
Test: adb logcat -b events | egrep "(sysui_|notification_)" for
      verifying log

Change-Id: I65743b87fdf6f010e40ca705e33e18642e0bfca3
2016-09-22 10:26:10 -07:00
TreeHugger Robot
7cb1453a84 Merge "Remove delay from interactive bugreport." 2016-09-22 15:26:26 +00:00
Svetoslav Ganov
29a95b4994 Merge "Update text of WiFi toggle prompt buttons" 2016-09-22 14:56:22 +00:00
Svet Ganov
f6fbba6aca Update text of WiFi toggle prompt buttons
Change-Id: Ia9d9a44cddc72fb61b80393e61586e7a4f9801d6
2016-09-22 07:52:57 -07:00
TreeHugger Robot
397a7765a9 Merge "Log visibility change for DialogCreatable in Settings." 2016-09-22 01:34:46 +00:00
Fan Zhang
d65184faef Log visibility change for DialogCreatable in Settings.
Bug: 30681529
Test: adb logcat -b events | egrep "(sysui_|notification_)"
Test: make RunSettingsRoboTests
Change-Id: I51754d258ba1ddfae24323681f21cd02de4dbb4e
2016-09-21 16:30:32 -07:00
Amit Mahajan
91c60745ce Changes to make APN fields uneditable based on carrier config. am: 7c01344349 am: f3f35a9b1e
am: 69b9c2f04c

Change-Id: I0ed7c050c66594cb91907c99432b12324903934a
2016-09-21 18:52:05 +00:00
Philip P. Moltmann
4b2406f3f3 Merge "USB restriction is similar to media restriction" 2016-09-21 18:14:22 +00:00
Felipe Leme
fce3e960fd Remove delay from interactive bugreport.
The delay was useful when the interactive bugreport took an initial
screenshot, which is not the case anymore.

BUG: 30429546
Test: manual

Change-Id: I648db4e1acdea3aa89df9205148cac43880763be
2016-09-21 10:36:39 -07:00
Lorenzo Colitti
477547c2ad Add a "Don't ask again" checkbox to the avoid bad wifi dialog. am: c179f33c87 am: bd1936e9e9 am: f6a0fda0e5
am: c2dd47e331

Change-Id: I363d6dc94add9c0ab0f13a26626010a386d8373a
2016-09-21 06:07:59 +00:00
Amit Mahajan
69b9c2f04c Changes to make APN fields uneditable based on carrier config. am: 7c01344349
am: f3f35a9b1e

Change-Id: I18e4e4c557d61eb0209a848ed8b2891a7107bc11
2016-09-21 02:24:38 +00:00
Amit Mahajan
f3f35a9b1e Changes to make APN fields uneditable based on carrier config.
am: 7c01344349

Change-Id: Idf1b11ac139c63abc3e1d819c98cbe664fa60f04
2016-09-21 02:11:50 +00:00
Amit Mahajan
7c01344349 Changes to make APN fields uneditable based on carrier config.
Bug: 30457714
Change-Id: I682445eab8eb3ff4ff3eaf036964b467217366f0
2016-09-20 15:25:26 -07:00
TreeHugger Robot
d97f64d082 Merge "Fix NPE when using VisibilityLogger." 2016-09-20 18:20:11 +00:00
Lorenzo Colitti
c2dd47e331 Add a "Don't ask again" checkbox to the avoid bad wifi dialog. am: c179f33c87 am: bd1936e9e9
am: f6a0fda0e5

Change-Id: I6b53930533f9551e77100dba39e150735a09a3ba
2016-09-20 17:42:21 +00:00
Lorenzo Colitti
f6a0fda0e5 Add a "Don't ask again" checkbox to the avoid bad wifi dialog. am: c179f33c87
am: bd1936e9e9

Change-Id: Ieab1f57e8ded33a0b3672d47ab8b03995cb35c86
2016-09-20 17:27:26 +00:00
Lorenzo Colitti
bd1936e9e9 Add a "Don't ask again" checkbox to the avoid bad wifi dialog.
am: c179f33c87

Change-Id: Ia46300f122a19cf00f81b1f1115d8981f53fc7d9
2016-09-20 17:16:12 +00:00
Fan Zhang
45fb1199a2 Fix NPE when using VisibilityLogger.
Fix: 31612160
Test: make RunSettingsRoboTests
Change-Id: Ib040a40d27a76d9440f629ed4f768dc4bfde8ac2
2016-09-20 09:22:06 -07:00
TreeHugger Robot
295f5a03bc Merge "Add visibility metrics to dialogs." 2016-09-20 15:55:41 +00:00
Lorenzo Colitti
c179f33c87 Add a "Don't ask again" checkbox to the avoid bad wifi dialog.
Also update the settings code to reflect the new tristate
semantics of the NETWORK_AVOID_BAD_WIFI setting.

Bug: 31075769
Change-Id: Icd21d8272abe6afd42ee8a41e2c7e1a6af77f0b3
2016-09-20 14:35:59 +09:00
Fan Zhang
1e516287bd Add visibility metrics to dialogs.
Bug: 30681529
Test: adb logcat -b events | egrep "(sysui_|notification_)"
Change-Id: I199d2e1b2cb8588a562b46bb8128d8ece24952f0
2016-09-19 17:34:12 -07:00
TreeHugger Robot
6fdf0e51eb Merge "resolve merge conflicts of 66a8895 to master" 2016-09-19 21:24:33 +00:00
Daniel Nishi
f83a21d0fc Merge "Use a config flag instead of a RO flag for showing Manage Storage." 2016-09-19 20:36:03 +00:00
Amit Mahajan
a69a6a9e34 resolve merge conflicts of 66a8895 to master
Change-Id: I227a240175034e862ad241ce9c6722a093919616
2016-09-19 10:14:41 -07:00
Amit Mahajan
66a889588d Changes to support read-only apn types. am: 5892792b17
am: b56fab0270

Change-Id: I297226cff2cc7e002686a65ed02b4cea6874f827
2016-09-19 16:41:01 +00:00
Amit Mahajan
b56fab0270 Changes to support read-only apn types.
am: 5892792b17

Change-Id: I97d5045f060ac8d475fab876143230e2bea73804
2016-09-19 16:36:26 +00:00
TreeHugger Robot
9887baecf3 Merge "Changes to support read-only apn types." into nyc-mr1-dev 2016-09-19 16:30:17 +00:00
Tomohiro Takeda
9560b36306 Merge "Fix ApplicationsState.Session memory leak in settings app" am: 00a2619a10 am: 7b357f0b55 am: 2a03d33945
am: c1cb46cab6

Change-Id: I6671f8df8764945b34fc3ccf30594164be4905c2
2016-09-17 16:01:14 +00:00
Tomohiro Takeda
c1cb46cab6 Merge "Fix ApplicationsState.Session memory leak in settings app" am: 00a2619a10 am: 7b357f0b55
am: 2a03d33945

Change-Id: I0e481a1aa22a94f6a0a7c32147cd4e8c87052ce2
2016-09-17 15:55:42 +00:00
Tomohiro Takeda
2a03d33945 Merge "Fix ApplicationsState.Session memory leak in settings app" am: 00a2619a10
am: 7b357f0b55

Change-Id: I5d7d5041c32c18c2ce50b883656cdce28daa4d93
2016-09-17 15:53:11 +00:00
Paul Stewart
3766a2d7d3 Bad Wi-Fi: Change strings to carrier specs am: 49d703319b am: 00641d68c3 am: e089439788
am: 6e488ecf26

Change-Id: Id794f7c82c577dcd4824e3d6caab29712c7d4c9f
2016-09-17 04:00:08 +00:00
Paul Stewart
6e488ecf26 Bad Wi-Fi: Change strings to carrier specs am: 49d703319b am: 00641d68c3
am: e089439788

Change-Id: I894960bd05265da4f7dab8028c4fb508e8469cc1
2016-09-17 03:55:06 +00:00
Paul Stewart
e089439788 Bad Wi-Fi: Change strings to carrier specs am: 49d703319b
am: 00641d68c3

Change-Id: I12a333eeda4b90b3b20a59c55140a53a6c2b129d
2016-09-17 03:50:06 +00:00
Paul Stewart
00641d68c3 Bad Wi-Fi: Change strings to carrier specs
am: 49d703319b

Change-Id: I644d183683367280b3653750f84d9d2c9ee4c5ff
2016-09-17 03:47:35 +00:00
Paul Stewart
49d703319b Bad Wi-Fi: Change strings to carrier specs
Also add a checkbox to persist the value.  However, the logic to
pass this persistence to ConnectivityService has not yet been added.

Bug: 31075769
Test: Visual inspection of dialog (upcoming)
Change-Id: I370ab07ea276b024ce4adc61e10ca085be1c5549
2016-09-16 17:51:16 -07:00
Amit Mahajan
5892792b17 Changes to support read-only apn types.
User will not be allowed to add/modify APNs for the read-only types.

Bug: 31074581
Change-Id: I954bd68249a93ce9deb0146725c1432ea6cb0f38
2016-09-16 16:22:18 -07:00
Daniel Nishi
7f075a3c41 Use a config flag instead of a RO flag for showing Manage Storage.
Bug: 30455784
Test: make SettingsTests; run the instrumentation.
Change-Id: I860192c1c20fcaec2a5cbcdc085ff01dafa7351a
2016-09-16 15:56:47 -07:00
Hugo Benichi
e590183dcc Add a "Cellular data fallback" pref. am: a317684cfc am: aabd051f50 am: d294f58361
am: 56e754b446

Change-Id: Id2c098cf8df2c8f3b1dc5a6f6aa7cb4618f85ddd
2016-09-16 16:57:11 +00:00
Hugo Benichi
56e754b446 Add a "Cellular data fallback" pref. am: a317684cfc am: aabd051f50
am: d294f58361

Change-Id: Iceca5357dab0d1a2755070f9b3b2fd7964b6e8ca
2016-09-16 16:53:17 +00:00
Hugo Benichi
d294f58361 Add a "Cellular data fallback" pref. am: a317684cfc
am: aabd051f50

Change-Id: Iddbac3787f05e97bee559a8e991d1c2412ccbc37
2016-09-16 16:51:11 +00:00
Hugo Benichi
aabd051f50 Add a "Cellular data fallback" pref.
am: a317684cfc

Change-Id: I902d4039aefddbe38a7caa20afede7af20d03086
2016-09-16 16:45:15 +00:00
Julia Reynolds
2dcc7a8895 Merge "Add notification channel settings." 2016-09-16 15:35:23 +00:00
Hugo Benichi
a317684cfc Add a "Cellular data fallback" pref.
Also adjust working of the "lost internet" notification.

Bug: 31075769
Change-Id: I17e18516c9bfdc32b38686191327b6d6f87aed95
2016-09-17 00:30:05 +09:00
Julia Reynolds
b5ec2d71a2 Add notification channel settings.
If a user has set a preference at an app wide level, it cannot be
undone at a channel level, but channels can be more restrictive.

Tests: changing settings for apps and channels.

Change-Id: I7907b8179ffc24d68197c917f182e63d8e1ff7a7
2016-09-15 21:46:17 -04:00
TreeHugger Robot
19b062265e Merge "Extend MetricsFactory so it can log to different LogWriters" 2016-09-15 23:07:33 +00:00
Lei Yu
7976bb5b83 Merge "RTL: Navigate to previous tab when back." 2016-09-15 23:04:28 +00:00
Fan Zhang
66a9852a7b Extend MetricsFactory so it can log to different LogWriters
- Renamed MetricsFractory to MetricsFeatureProvider, and access it using
  FeatureFactory.
- Instead of containing exactly 1 logWriter, MetricsFeatureProvider now
  contain a list.
- Added OnAttach event in Lifecycle. This is needed when a mixin
  requires Context to initialize itself.
- Updated tests.

Bug: 29575437
Test: make RunSettingsRoboTests
Change-Id: I7cc1528b9a744cd40088701e2bd115f41a8bf744
2016-09-15 14:25:31 -07:00
Julia Reynolds
5de900acf9 Non-blockable notification packages can't be blocked. am: 77b1f52574 am: d8a033cca5
am: 77f405ae50

Change-Id: I22a588c12e61774a46e79f34e0a6190116c27c8f
2016-09-15 18:34:24 +00:00
Lorenzo Colitti
5a88e67aa5 Support displaying a dialog when Wi-Fi loses Internet access. am: 1449ecd460 am: a4aa79bb69 am: 0e92ddbc1b
am: e4d8284000

Change-Id: Ie207cae240bce6acee3211cbdb5291ffd1a0f702
2016-09-15 18:31:55 +00:00