Commit Graph

14141 Commits

Author SHA1 Message Date
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
Doris Ling
08886a0e91 Use default switch preference view if gesture animations video is not
available.

Check to see if animation video is available. If so, use the customized
view. Otherwise, use the default switch preference layout.

Test: make and run SettingsGoogleTests

Bug: 30701118
Change-Id: I0b25f41f8425b92834b45f706690648fb35a885d
2016-09-20 16:34:04 -07: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
c0b33f70ed Use a config flag instead of a RO flag for showing Manage Storage.
Bug: 30455784
Test: make SettingsTests; run the instrumentation.
Change-Id: I860192c1c20fcaec2a5cbcdc085ff01dafa7351a
(cherry picked from commit 7f075a3c41)
2016-09-19 20:39: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
Daniel Nishi
355390da93 Move private volume storage calculations into a shared lib.
Bug: 30895163
Test: m RunStorageManagerRoboTests
Change-Id: I3e464c8b721373ebc1527eb5411622c69bf587d1
2016-09-19 12:16:21 -07: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
Todd Kennedy
6ed0c7e8d7 Add remote control of Instant Apps
Bug: 31470039
Test: manual
Change-Id: I82eb47f4d24fb88d0f264eca1176aec55364867c
2016-09-15 13:55:44 -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
jackqdyulei
e54dd3a0cd RTL: Navigate to previous tab when back.
When go back from RTL language, user should be navigated to the
previous setting tab.

Bug: 31145366
Test: make RunSettingsRoboTests

Change-Id: I2f2ec727f9737ea0e52dac9950c8af34559e3d9a
2016-09-15 11:22:53 -07:00
Julia Reynolds
77f405ae50 Non-blockable notification packages can't be blocked. am: 77b1f52574
am: d8a033cca5

Change-Id: Ibf527a51f6f16348b8ca245685f5325cbdab31b4
2016-09-15 17:16:44 +00:00
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