OSDN Git Service
Sunny Goyal [Wed, 2 Nov 2016 18:20:17 +0000 (11:20 -0700)]
Adding a customizable development mode tile
User can configure the active state for development mode
which would allow enabling multiple options at once
Test: make -j40 RunSettingsRoboTests
Change-Id: I545b790f8c7097945f39ca003e5985b23cb53636
Bill Yi [Fri, 30 Dec 2016 10:57:05 +0000 (10:57 +0000)]
Import translations. DO NOT MERGE am:
0be5ccb7cd -s ours
am:
8678ee3d56 -s ours
Change-Id: I8ba7002bd34373b9a4b6bfba9b284a2e8015474b
Bill Yi [Fri, 30 Dec 2016 10:50:02 +0000 (10:50 +0000)]
Import translations. DO NOT MERGE
am:
0be5ccb7cd -s ours
Change-Id: I140febe4d647261616e2e3a186addac58a7a7064
Bill Yi [Fri, 30 Dec 2016 08:59:18 +0000 (00:59 -0800)]
Import translations. DO NOT MERGE
Change-Id: Id7a36307bc781734e2647f01af6b07b5ed3a600a
Auto-generated-cl: translation import
Bill Yi [Fri, 30 Dec 2016 08:54:08 +0000 (00:54 -0800)]
Import translations. DO NOT MERGE
Change-Id: I6ab2ff8df48768cf86bbddf6dfc5b592c86b1cd9
Auto-generated-cl: translation import
Lei Yu [Wed, 28 Dec 2016 22:28:10 +0000 (22:28 +0000)]
Merge "Add NPE check for method assignDefaultPhoto in Utils.java"
TreeHugger Robot [Wed, 28 Dec 2016 21:26:27 +0000 (21:26 +0000)]
Merge "Remove System Updates in Phone status."
TreeHugger Robot [Wed, 28 Dec 2016 21:02:13 +0000 (21:02 +0000)]
Merge "Dump the default broswer in SettingsDumpService"
Doris Ling [Wed, 28 Dec 2016 19:15:43 +0000 (11:15 -0800)]
Remove System Updates in Phone status.
If new IA is enabled, System updates is shown under System, so
Phone status page should not show it.
Change-Id: Ied857a28d27eae2782920d4cee38777fae40e7b6
Fix:
33839778
Test: make RunSettingsRoboTests
jackqdyulei [Tue, 27 Dec 2016 18:15:27 +0000 (10:15 -0800)]
Add NPE check for method assignDefaultPhoto in Utils.java
When user press back button while adding user, app may crash because
of null context. In this cl, I add NPE check for context in method
assignDefaultPhoto and change this method to return boolean value.
If the return value is false, then stop the following steps(e.g.
creating a dialog after pressing button may also cause crash.)
Bug:
33829308
Test: make -j40 RunSettingsRoboTests
Change-Id: I811b92c268fb20f8c43ab3b0a9ceebe76f5d83be
jackqdyulei [Tue, 20 Dec 2016 18:08:19 +0000 (10:08 -0800)]
Dump the default broswer in SettingsDumpService
In SettingsDumpService, add the feature to dump the default
broswer. When there is no default broswer, dump nothing.
Bug:
27043208
Test: make -j40 RunSettingsRoboTests
Change-Id: I5ce8180d419f8a0e921da72da28eccb36a523668
gaochong [Wed, 28 Dec 2016 19:11:25 +0000 (19:11 +0000)]
Merge "Handle SubSettings instance leaks in Index.java" am:
527b2b220a am:
bf4a67ec0f am:
28688c3ba3
am:
802b2f8561
Change-Id: I3bab1fcdd3ce7de7cbc6015011ec12a86ab76dca
gaochong [Wed, 28 Dec 2016 19:03:46 +0000 (19:03 +0000)]
Merge "Handle SubSettings instance leaks in Index.java" am:
527b2b220a am:
bf4a67ec0f
am:
28688c3ba3
Change-Id: I31cd7f083c529342ac2b07f054d82b4a9191937b
gaochong [Wed, 28 Dec 2016 18:55:47 +0000 (18:55 +0000)]
Merge "Handle SubSettings instance leaks in Index.java" am:
527b2b220a
am:
bf4a67ec0f
Change-Id: I89d30398cfe13e72ccbcbb92d5d4e0eda5f350ae
gaochong [Wed, 28 Dec 2016 18:48:16 +0000 (18:48 +0000)]
Merge "Handle SubSettings instance leaks in Index.java"
am:
527b2b220a
Change-Id: Iccfeef38ca133bb63708b9f6ce90c457aadf62f6
Treehugger Robot [Wed, 28 Dec 2016 18:43:26 +0000 (18:43 +0000)]
Merge "Handle SubSettings instance leaks in Index.java"
Robin Lee [Wed, 28 Dec 2016 11:47:25 +0000 (11:47 +0000)]
Clarify meaning of vpn_lockdown_{active,inactive}
Change-Id: I7ea1c91c800717ba5f8349a064ad94e24b87afdb
Fix:
33837714
TreeHugger Robot [Wed, 28 Dec 2016 02:16:48 +0000 (02:16 +0000)]
Merge "Removed emergency info and add user when locked from Users settings."
gaochong [Wed, 21 Dec 2016 12:06:37 +0000 (20:06 +0800)]
Handle SubSettings instance leaks in Index.java
Index's constructor will hold context of caller.
context.getApplicationContext() instead of context to prevent activity
leaks.
Bug: https://code.google.com/p/android/issues/detail?id=223322
Test: manual-start a new activity call Index constructor ,then pressed
back.
Change-Id: Ic12af62f9b718d328610a57985f64ca4629bab99
Signed-off-by: gaochong <gaochong@xiaomi.com>
Doris Ling [Wed, 28 Dec 2016 00:18:45 +0000 (16:18 -0800)]
Removed emergency info and add user when locked from Users settings.
If new IA is enabled, Emergency Info and Add user when locked has been moved to
Users & accounts page, so Users page should not show them.
Also fix the issue that update for the add user when locked switch does
not persist correctly.
Change-Id: I26d9f59d0f4bf3fd36a7d07d13f95127b40a8a3e
Fix:
33703736
Test: make RunSettingsRoboTests
TreeHugger Robot [Wed, 28 Dec 2016 00:02:47 +0000 (00:02 +0000)]
Merge "Update bluetooth summary text when state changes."
Fan Zhang [Tue, 27 Dec 2016 21:56:42 +0000 (13:56 -0800)]
Update bluetooth summary text when state changes.
- Refresh connected state before setting summary text.
- Detect inconsistent state (BT manager says connected but doesn't
provide a connected device)
(This basically syncs implementation between settings and QS tile)
Change-Id: Id23138f8432b9aecd194f5016bf2576e33e8ca98
Fixes:
33341275
Test: RunSettingsRoboTests
TreeHugger Robot [Tue, 27 Dec 2016 20:06:41 +0000 (20:06 +0000)]
Merge "Align seek bar type preferences to reserve icon space"
TreeHugger Robot [Tue, 27 Dec 2016 19:54:02 +0000 (19:54 +0000)]
Merge "Add the key extraction method in PowerUsageSummary"
Fan Zhang [Thu, 22 Dec 2016 20:34:27 +0000 (12:34 -0800)]
Align seek bar type preferences to reserve icon space
Bug:
33775510
Fixes:
33787883
Test: visual
Change-Id: I886e75551f3510d85b6047cc55c26dd21c5c55df
Robin Lee [Fri, 23 Dec 2016 12:16:19 +0000 (12:16 +0000)]
resolve merge conflicts of
6446d2f to master
Change-Id: Ibf37d7fed8f8fbb32a601944f504494101c21a3e
Robin Lee [Fri, 23 Dec 2016 10:45:23 +0000 (10:45 +0000)]
Merge "Update VPN preference state after disallow configuring VPN policy has changed." am:
601d339868 am:
4395176792
am:
7779d9ee91
Change-Id: I7d7b4c181ba94d662f4d1946513fdaf6bdb6e9dd
Robin Lee [Fri, 23 Dec 2016 10:39:24 +0000 (10:39 +0000)]
Merge "Update VPN preference state after disallow configuring VPN policy has changed." am:
601d339868
am:
4395176792
Change-Id: Ie71a58c50fde7c5ecc4f80dfe5eb854428044480
Robin Lee [Fri, 23 Dec 2016 10:33:22 +0000 (10:33 +0000)]
Merge "Update VPN preference state after disallow configuring VPN policy has changed."
am:
601d339868
Change-Id: I94666d5f7812b15432b44ed50d8d396b373d3e69
Robin Lee [Fri, 23 Dec 2016 10:29:02 +0000 (10:29 +0000)]
Merge "Update VPN preference state after disallow configuring VPN policy has changed."
Tadashi G. Takaoka [Fri, 23 Dec 2016 06:05:04 +0000 (06:05 +0000)]
Merge "Refactor DynamicIndexableContentMonitor"
Nathan Harold [Fri, 23 Dec 2016 01:26:43 +0000 (01:26 +0000)]
Merge "Always include BAND_MODE=AUTOMATIC in the Radio Band Mode List" into nyc-mr2-dev am:
94dee56f8d
am:
4bf8e85005
Change-Id: I5ab9d8f8808e2a35da59b330271a081a0102eec7
Nathan Harold [Fri, 23 Dec 2016 01:26:25 +0000 (01:26 +0000)]
Always include BAND_MODE=AUTOMATIC in the Radio Band Mode List am:
d18b9fcde0
am:
edb79b6222
Change-Id: Ic070095efab29f077050622fb519be7a30c447d3
Nathan Harold [Fri, 23 Dec 2016 01:19:55 +0000 (01:19 +0000)]
Merge "Always include BAND_MODE=AUTOMATIC in the Radio Band Mode List" into nyc-mr2-dev
am:
94dee56f8d
Change-Id: I001ddbd12794ce1cb09826cf07c7d1993adf5c65
Nathan Harold [Fri, 23 Dec 2016 01:19:54 +0000 (01:19 +0000)]
Always include BAND_MODE=AUTOMATIC in the Radio Band Mode List
am:
d18b9fcde0
Change-Id: I37594a773398fea40a4aeb1a7611bf424624f075
Nathan Harold [Fri, 23 Dec 2016 01:11:39 +0000 (01:11 +0000)]
Merge "Always include BAND_MODE=AUTOMATIC in the Radio Band Mode List" into nyc-mr2-dev
Pankaj Kanwar [Thu, 22 Dec 2016 21:11:22 +0000 (21:11 +0000)]
Merge "DO NOT MERGE: Add UI toggle to control connections to carrier networks." into nyc-mr2-dev am:
642e48e527
am:
fbb870c94e -s ours
Change-Id: I598948bc8f424760e0dc95f9829ae4a4a10cc401
pkanwar [Thu, 22 Dec 2016 21:06:34 +0000 (21:06 +0000)]
DO NOT MERGE: Add UI toggle to control connections to carrier networks. am:
675122ad51 -s ours
am:
7c4809a9c3 -s ours
Change-Id: I4470aabef829cc4c4e389e11d6bbac356f8d0728
Pankaj Kanwar [Thu, 22 Dec 2016 20:57:57 +0000 (20:57 +0000)]
Merge "DO NOT MERGE: Add UI toggle to control connections to carrier networks." into nyc-mr2-dev
am:
642e48e527
Change-Id: I70ce7b3276eeb2be9f79b427a72d6fdb66e0ff74
pkanwar [Thu, 22 Dec 2016 20:54:05 +0000 (20:54 +0000)]
DO NOT MERGE: Add UI toggle to control connections to carrier networks.
am:
675122ad51 -s ours
Change-Id: I3a78730b1af0d4e6eaa221cc0ccfbf28daeb57a6
Pankaj Kanwar [Thu, 22 Dec 2016 20:41:54 +0000 (20:41 +0000)]
Merge "DO NOT MERGE: Add UI toggle to control connections to carrier networks." into nyc-mr2-dev
TreeHugger Robot [Thu, 22 Dec 2016 18:36:47 +0000 (18:36 +0000)]
Merge "Update typo in string"
Maurice Lam [Thu, 22 Dec 2016 18:15:54 +0000 (18:15 +0000)]
Merge "Depend on gingerbread variant of SuwLib"
jackqdyulei [Mon, 19 Dec 2016 18:31:20 +0000 (10:31 -0800)]
Add the key extraction method in PowerUsageSummary
This cl is to fix the preference flicker issue. The main reason is
that we cannot find cached preference because of the inconsistent
search key. The search key is calculated without considering
uidObj, but the key in preference(aka changed preference) maybe
changed later based on the existence of uidObj. So when we search
the changed preference using the wrong key, we won't get it even
though it exists in the cache.
In my cl, I group two parts(search key calc + considering uidObj)
together in a method to extract the key.
Bug:
33663705
Test: make RunSettingsRoboTests
Change-Id: I2ca0c558ffc0d49ed9576321ecbc02542b568d65
pkanwar [Sun, 11 Dec 2016 23:36:34 +0000 (15:36 -0800)]
DO NOT MERGE: Add UI toggle to control connections to carrier networks.
Bug:
31003437
Change-Id: Ieb6dfc0dc989068e151a1d0e376f56f67c9790b2
Fan Zhang [Thu, 22 Dec 2016 17:14:04 +0000 (09:14 -0800)]
Update typo in string
Change-Id: If3be29b785a05198984b0f990629499befcaed88
Fixes:
33738394
Test: compiles
Tadashi G. Takaoka [Mon, 21 Nov 2016 05:20:19 +0000 (14:20 +0900)]
Refactor DynamicIndexableContentMonitor
Refactor content monitoring code into a few singletons to keep alive
while Settings app is running.
Bug:
32995210
Test: Manually installing/uninstalling AOSP LatinIME.apk while
Settings app is/isn't running, then search AOSP.
Test: Connecting/Disconnecting Anker bluetooth keyboard while Settings
app is/isn't running, then search Anker.
Test: Added Robolectric test for DynamicIndexableContentMonitor.
Change-Id: I588e33be169fc9677d41c3daa59ab400f04f6419
Bill Yi [Thu, 22 Dec 2016 08:33:22 +0000 (08:33 +0000)]
Import translations. DO NOT MERGE am:
54e5382136 -s ours
am:
e41df7b27c -s ours
Change-Id: Id860b3f8409ba4d7bc810ab41d9e1c0a1e95d880
Bill Yi [Thu, 22 Dec 2016 07:57:23 +0000 (07:57 +0000)]
Import translations. DO NOT MERGE
am:
54e5382136 -s ours
Change-Id: Ie55ae75412f7a8e89763679c2e179d1bae2c7619
TreeHugger Robot [Thu, 22 Dec 2016 07:54:19 +0000 (07:54 +0000)]
Merge "Import translations. DO NOT MERGE"
insight.lee [Thu, 22 Dec 2016 07:14:44 +0000 (16:14 +0900)]
Update VPN preference state after disallow configuring VPN policy has changed.
1. When Settings > More and change disallow configuring VPN policy
and resume Settings, update VPN preference state.
2. When Settings > More > VPN and change disallow configuring VPN policy
and resume VPN Settings, update its state.
Test: manual
Signed-off-by : Sungmin Lee <insight.lee@lge.com>
Change-Id: I4f3c85733ca6ba05cba46e2f4854f54a42b10c21
Bill Yi [Thu, 22 Dec 2016 05:59:21 +0000 (21:59 -0800)]
Import translations. DO NOT MERGE
Change-Id: Id3458a153f2db98b0035caac52eb1933cb9fd18f
Auto-generated-cl: translation import
Bill Yi [Thu, 22 Dec 2016 05:54:11 +0000 (21:54 -0800)]
Import translations. DO NOT MERGE
Change-Id: Ia651171b7f07833e707c6c81dc6045d9650ea7a2
Auto-generated-cl: translation import
TreeHugger Robot [Thu, 22 Dec 2016 01:01:41 +0000 (01:01 +0000)]
Merge "Change Network & Internet to Network & internet."
TreeHugger Robot [Thu, 22 Dec 2016 00:29:06 +0000 (00:29 +0000)]
Merge "Align more prefs for icon space."
TreeHugger Robot [Thu, 22 Dec 2016 00:28:19 +0000 (00:28 +0000)]
Merge "Expose signals being sent to support in a fragment to the user"
Jaewoong Jung [Wed, 21 Dec 2016 22:57:32 +0000 (22:57 +0000)]
Merge "Implements additional battery info menu behavior."
TreeHugger Robot [Wed, 21 Dec 2016 22:42:01 +0000 (22:42 +0000)]
Merge "Changed string to notify user of effects"
TreeHugger Robot [Wed, 21 Dec 2016 22:19:17 +0000 (22:19 +0000)]
Merge "Removed fake data"
nharold [Wed, 21 Dec 2016 22:16:28 +0000 (22:16 +0000)]
Merge "Always include BAND_MODE=AUTOMATIC in the Radio Band Mode List" am:
c98ca3da26 am:
9b0c6a525d am:
f44fd8d98d
am:
5e322a0e4c
Change-Id: I1783f994c13db62fca8dd16061ea97d0f569500b
TreeHugger Robot [Wed, 21 Dec 2016 22:11:59 +0000 (22:11 +0000)]
Merge "Add first inline switch result."
TreeHugger Robot [Wed, 21 Dec 2016 22:05:28 +0000 (22:05 +0000)]
Merge "Use MetricsEvent to log page views for new IA pages."
nharold [Wed, 21 Dec 2016 21:59:18 +0000 (21:59 +0000)]
Merge "Always include BAND_MODE=AUTOMATIC in the Radio Band Mode List" am:
c98ca3da26 am:
9b0c6a525d
am:
f44fd8d98d
Change-Id: I6845ff460b0b2d7c1960568b920685673dcba6fc
nharold [Wed, 21 Dec 2016 21:53:18 +0000 (21:53 +0000)]
Merge "Always include BAND_MODE=AUTOMATIC in the Radio Band Mode List" am:
c98ca3da26
am:
9b0c6a525d
Change-Id: I94f2d7b9234e4fb6a2bfe15171a5145f446a0233
nharold [Wed, 21 Dec 2016 21:49:04 +0000 (21:49 +0000)]
Merge "Always include BAND_MODE=AUTOMATIC in the Radio Band Mode List"
am:
c98ca3da26
Change-Id: Ic7b16572aab3a3d10ee06d1810ce0aa05a9e5b1d
Doris Ling [Wed, 21 Dec 2016 21:44:46 +0000 (13:44 -0800)]
Change Network & Internet to Network & internet.
Make "Internet" lowercase to be consistent with other settings title and
match the UI spec.
Bug:
33677629
Test: make SettingsFunctionalTests
Change-Id: I76d20c15e65db3c43e208ab8a48b7626c2103961
nharold [Wed, 21 Dec 2016 21:40:21 +0000 (21:40 +0000)]
Merge "Always include BAND_MODE=AUTOMATIC in the Radio Band Mode List"
Julia Reynolds [Wed, 21 Dec 2016 21:15:39 +0000 (21:15 +0000)]
Merge "Support showing notifications as badges."
Fan Zhang [Wed, 21 Dec 2016 20:12:32 +0000 (12:12 -0800)]
Use MetricsEvent to log page views for new IA pages.
Bug:
33812754
Test: RunSettingsRoboTests
Change-Id: Ib49daa1078df44f50ecfa351c061d36849708fd7
Sean Stout [Wed, 21 Dec 2016 19:36:49 +0000 (19:36 +0000)]
Merge "Renamed "Demo mode" to "System UI demo mode""
Fan Zhang [Wed, 21 Dec 2016 17:06:38 +0000 (17:06 +0000)]
Align more prefs for icon space.
Bug:
33775510
Fixes:
33798492
Test: Visual
Test: RunSettingsRoboTests
Change-Id: I9b296e4148be8c1ae537b6418b4f384bbc63a8db
Matthew Fritze [Thu, 15 Dec 2016 21:34:29 +0000 (13:34 -0800)]
Add first inline switch result.
Adds gestures as Inline switch results to Settings Search.
Change-Id: Ie9b69ac2a54756d5b756401e348cae0a02c907c9
Fixes:
33669037
Test: make RunSettingsRoboTests
Fan Zhang [Wed, 21 Dec 2016 17:04:04 +0000 (17:04 +0000)]
Merge "Revert "Align more prefs for icon space.""
Fan Zhang [Wed, 21 Dec 2016 17:03:00 +0000 (17:03 +0000)]
Revert "Align more prefs for icon space."
Bug:
33798492
This reverts commit
ded9fc9b0726bae0e7500fa98e6876b6d003d279.
Change-Id: I9831858ffda263496617dff29249e243c007fa12
Jaewoong Jung [Tue, 20 Dec 2016 02:39:41 +0000 (18:39 -0800)]
Implements additional battery info menu behavior.
Bug:
33352540
Test: Updated existing tests.
Change-Id: I990029d2ea9032301362d614959259965b8ecb10
Youhan Wang [Wed, 21 Dec 2016 00:42:10 +0000 (00:42 +0000)]
DO NOT MERGE OMADM Trigger in *#*#INFO#*#* hidden menu. am:
d9b3709fc1
am:
70b47859fa -s ours
Change-Id: I95e1db20b25b33a7bc29281f7ecb46524eb15116
Youhan Wang [Wed, 21 Dec 2016 00:37:24 +0000 (00:37 +0000)]
DO NOT MERGE OMADM Trigger in *#*#INFO#*#* hidden menu.
am:
d9b3709fc1
Change-Id: I4f10d79d7dcd29a59c1ac0823f394cbb3e76256d
TreeHugger Robot [Wed, 21 Dec 2016 00:36:06 +0000 (00:36 +0000)]
Merge "Remove shortcut metadata from a few activities."
Salvador Martinez [Wed, 21 Dec 2016 00:20:29 +0000 (16:20 -0800)]
Changed string to notify user of effects
Currently when a system app is removed we
only warn a user that other apps may stop working.
The two strings used for this have been modified to
inform the user that android itself may misbehave as
well if the app is uninstalled.
Test: Manual (string change)
Bug:
32789204
Change-Id: I2c1515ef078d7a96f20ed7db656d4769b02f4ecf
Salvador Martinez [Fri, 18 Nov 2016 21:28:08 +0000 (13:28 -0800)]
Expose signals being sent to support in a fragment to the user
The signals we are sending to support when a user
requests for support can now be accessed by clicking
on "system information" in the disclaimer.
Test: robotests
Bug:
32462840
Change-Id: Ibc941d51af117ec0e31d77972ac60d67fd1cecf1
TreeHugger Robot [Wed, 21 Dec 2016 00:02:29 +0000 (00:02 +0000)]
Merge "Refresh support screen more often"
TreeHugger Robot [Tue, 20 Dec 2016 23:59:39 +0000 (23:59 +0000)]
Merge "Don't convert string to lower case in zen mode pref summary"
TreeHugger Robot [Tue, 20 Dec 2016 23:04:53 +0000 (23:04 +0000)]
Merge "Align more prefs for icon space."
Fan Zhang [Tue, 20 Dec 2016 23:03:51 +0000 (15:03 -0800)]
Remove shortcut metadata from a few activities.
This removes them from settings widget list.
Bug:
33209678
Test: manual
Change-Id: I7350f97e0318998dc2bf752caad36fea776187d1
Fan Zhang [Tue, 20 Dec 2016 22:25:16 +0000 (14:25 -0800)]
Don't convert string to lower case in zen mode pref summary
Change-Id: Ibddf6d70b71cfd88b9de70feb12c2a3f01e31b18
Fixes:
32195605
Test: RunSettingsRoboTests
Matthew Fritze [Tue, 20 Dec 2016 21:49:17 +0000 (21:49 +0000)]
Merge "SearchFeatureProvider's context field is removed"
Fan Zhang [Tue, 20 Dec 2016 19:59:23 +0000 (11:59 -0800)]
Align more prefs for icon space.
- Extend preference_category to support summary text
- Removed work_profile_category, used by account list
- align prefs in storage settings
- Use Preference instead of PrefScreen in xmls
- Use proper footer preference in NightDisplaySettings, BatterySaver,
DataSaver, AutomaticStorageManage
- Remove WallOfTextPreference
Bug:
33775510
Test: visual
Change-Id: I28156b857ff5acac8746c42384dc03d5997ebd9d
Youhan Wang [Fri, 16 Dec 2016 23:53:16 +0000 (15:53 -0800)]
DO NOT MERGE OMADM Trigger in *#*#INFO#*#* hidden menu.
Failed Treehugger automerge to master, will be cherry-picked to master
manually.
Bug:
32874442
Change-Id: Ie64eb28671ec4afafd352d1f86b61c4ce1108338
Matthew Fritze [Tue, 20 Dec 2016 17:37:21 +0000 (09:37 -0800)]
SearchFeatureProvider's context field is removed
SearchFeatureProvider was holding on to a context and
outlived the SettingsActivity, thus leaking the activity.
The context was passed into most methods, and thus it
makes more sense to pass it in to every method.
Bug:
33677967
Test: Run MakeSettingsRoboTests
Change-Id: Ia82f30e7e0b83587b4baeef28e81da6b8e4303fe
Nathan Harold [Tue, 20 Dec 2016 02:04:52 +0000 (18:04 -0800)]
Always include BAND_MODE=AUTOMATIC in the Radio Band Mode List
To facilitate user recovery from issues where the band mode
list is incomplete and may not report the full list of bands,
the user should *always* have the ability to set the band mode
selection to AUTOMATIC.
Bug:
28124606
Test: compilation, UI check
Change-Id: Ib961d9b058ade5a51dfec0777971c8c98dee2033
(cherry picked from commit
f8555e481263e936ab853a32431c188d34419467)
Julia Reynolds [Fri, 16 Dec 2016 20:51:59 +0000 (15:51 -0500)]
Support showing notifications as badges.
And remove unneeded app level settings.
Change-Id: I88f506b0704195181d1748a3135f8ee0f39b774f
Test: manual for now. will add tests when have real mocks for the pages
Fan Zhang [Tue, 20 Dec 2016 17:48:33 +0000 (09:48 -0800)]
Hide unnecessary toggle on nightlight display preference.
Change-Id: I8ef7cbc1e065c34071d3e0ca8f91f419e269236d
Fixes:
33761785
Test: Visual
Sean Stout [Sat, 17 Dec 2016 02:14:53 +0000 (18:14 -0800)]
Renamed "Demo mode" to "System UI demo mode"
Test: Manually verified string in "Developer options"
Bug:
33694332
Change-Id: I9597b35b4a0a4f475a01ae8712123ca49c8f9b8b
TreeHugger Robot [Tue, 20 Dec 2016 16:45:47 +0000 (16:45 +0000)]
Merge "Implement always-on VPN separate lockdown setting"
Robin Lee [Fri, 16 Dec 2016 12:05:04 +0000 (12:05 +0000)]
Implement always-on VPN separate lockdown setting
Allows Settings to control whether always-on VPN is required for the
connection to complete, or if it is offered on a best-efforts basis.
Change-Id: I5eb273a99e7559adc66b05e647c9130a819f99d4
Test: runtest -x tests/app/src/com/android/settings/vpn2/VpnTests.java
Fix:
32420810
Nathan Harold [Tue, 20 Dec 2016 02:04:52 +0000 (18:04 -0800)]
Always include BAND_MODE=AUTOMATIC in the Radio Band Mode List
To facilitate user recovery from issues where the band mode
list is incomplete and may not report the full list of bands,
the user should *always* have the ability to set the band mode
selection to AUTOMATIC.
Bug:
28124606
Test: compilation, UI check
Change-Id: Ib961d9b058ade5a51dfec0777971c8c98dee2033
Doris Ling [Mon, 19 Dec 2016 23:53:34 +0000 (23:53 +0000)]
Merge "Add new method getExtraIntentAction() in DashboardFeatureProvider."
TreeHugger Robot [Mon, 19 Dec 2016 23:11:15 +0000 (23:11 +0000)]
Merge "Left align preferences and graphs to leave space for icon."
Salvador Martinez [Mon, 19 Dec 2016 19:35:34 +0000 (11:35 -0800)]
Refresh support screen more often
Support screen is now refreshed in the onResume.
This will prevent the situation where you open the
support tab and then you cross a hours of operation
boundary and the button is not updated.
Test: make RunSettingsRoboTests
Bug:
33272736
Change-Id: I9312b3b6f711eda91d5d60b3ff30e5ac12bf89c1
Doris Ling [Tue, 13 Dec 2016 00:20:22 +0000 (16:20 -0800)]
Add new method getExtraIntentAction() in DashboardFeatureProvider.
Add a new method to get the extra intent-filter action to be used
to query the dynamic dashboard tiles.
Bug:
32739952
Test: make RunSettingsRoboTests
Change-Id: I96d9d8bd32ebe34b7c0df00c3fb4d8900b476c94