OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoUpdate suggestion card layout
Doris Ling [Thu, 18 Jan 2018 19:36:21 +0000 (11:36 -0800)]
Update suggestion card layout

- set card corner radius
- update card margin according to number of card and card position
- update text alignment for title and summary

Bug: 70573674
Test: visual
Change-Id: Icfceed5614ded97ce2a7767667ae97f92b89b2fa

6 years agoMerge "Change Settings to use URL_FILTERED and blocks menu options when DPC Apns...
TreeHugger Robot [Thu, 18 Jan 2018 18:01:40 +0000 (18:01 +0000)]
Merge "Change Settings to use URL_FILTERED and blocks menu options when DPC Apns are enforced."

6 years agoMerge "Ignore first crash dialog."
Andrew Sapperstein [Thu, 18 Jan 2018 17:49:33 +0000 (17:49 +0000)]
Merge "Ignore first crash dialog."

6 years agoMerge "DisplayCutout: Add emulation option to DeveloperSettings"
Adrian Roos [Thu, 18 Jan 2018 17:31:59 +0000 (17:31 +0000)]
Merge "DisplayCutout: Add emulation option to DeveloperSettings"

6 years agoMerge "Show Toast with location of trace when trace is disabled"
TreeHugger Robot [Thu, 18 Jan 2018 17:12:42 +0000 (17:12 +0000)]
Merge "Show Toast with location of trace when trace is disabled"

6 years agoMerge "Moving Settings tests closer to the settings code"
Ashita Sriraman [Thu, 18 Jan 2018 17:02:17 +0000 (17:02 +0000)]
Merge "Moving Settings tests closer to the settings code"

6 years agoChange Settings to use URL_FILTERED and blocks menu options when DPC Apns are enforced.
yuemingw [Wed, 10 Jan 2018 21:22:09 +0000 (21:22 +0000)]
Change Settings to use URL_FILTERED and blocks menu options when DPC Apns are enforced.

Change-Id: I64f55d9a625097baa17c0fa05250d944dea09896
Fix: 68208277
Test: manual

6 years agoMerge "Remove aggressive handover developer setting"
TreeHugger Robot [Thu, 18 Jan 2018 10:59:21 +0000 (10:59 +0000)]
Merge "Remove aggressive handover developer setting"

6 years agoMerge "Disable UI in Settings app when DISALLOW_CONFIG_LOCATION_MODE is set."
Yueming Wang [Thu, 18 Jan 2018 10:26:57 +0000 (10:26 +0000)]
Merge "Disable UI in Settings app when DISALLOW_CONFIG_LOCATION_MODE is set."

6 years agoMerge "Asynchronously load SliceData from SliceProvider"
TreeHugger Robot [Thu, 18 Jan 2018 05:00:59 +0000 (05:00 +0000)]
Merge "Asynchronously load SliceData from SliceProvider"

6 years agoMerge "Specify package name when launching search UI"
TreeHugger Robot [Thu, 18 Jan 2018 04:14:24 +0000 (04:14 +0000)]
Merge "Specify package name when launching search UI"

6 years agoMerge "Move styleActionBar to onStart()"
TreeHugger Robot [Thu, 18 Jan 2018 03:03:02 +0000 (03:03 +0000)]
Merge "Move styleActionBar to onStart()"

6 years agoMerge "DO NOT MERGE: Keep access point list updated once in short time" am: d7682e6d3...
Bolun Shan [Thu, 18 Jan 2018 03:01:29 +0000 (03:01 +0000)]
Merge "DO NOT MERGE: Keep access point list updated once in short time" am: d7682e6d3c  -s ours am: bc00e361d5
am: b50162415a  -s ours

Change-Id: I9f7850dfd0836b6e3e6c40bca8295e515a476bef

6 years agoMerge "DO NOT MERGE: Keep access point list updated once in short time" am: d7682e6d3...
Bolun Shan [Thu, 18 Jan 2018 02:59:45 +0000 (02:59 +0000)]
Merge "DO NOT MERGE: Keep access point list updated once in short time" am: d7682e6d3c  -s ours
am: bc00e361d5

Change-Id: Ie4be52fa2e0d304aa268a4610ba03cb52997dd5d

6 years agoMerge "DO NOT MERGE: Keep access point list updated once in short time"
Bolun Shan [Thu, 18 Jan 2018 02:57:28 +0000 (02:57 +0000)]
Merge "DO NOT MERGE: Keep access point list updated once in short time"
am: d7682e6d3c  -s ours

Change-Id: I134755ec0ec77dea80649440b969f9bcee8eab17

6 years agoMerge "DO NOT MERGE: Keep access point list updated once in short time"
Treehugger Robot [Thu, 18 Jan 2018 02:48:31 +0000 (02:48 +0000)]
Merge "DO NOT MERGE: Keep access point list updated once in short time"

6 years agoMerge "Fix NPE crash in AppInfoBase" am: e49cc3d659 am: abcb069d95
tiansiming [Thu, 18 Jan 2018 02:34:11 +0000 (02:34 +0000)]
Merge "Fix NPE crash in AppInfoBase" am: e49cc3d659 am: abcb069d95
am: b5697b2d45

Change-Id: I5e40dde6e0f98a8ba046df78f9b9e3ddcc3f2ce9

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 18 Jan 2018 02:30:25 +0000 (02:30 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Fix NPE crash in AppInfoBase" am: e49cc3d659
tiansiming [Thu, 18 Jan 2018 02:25:19 +0000 (02:25 +0000)]
Merge "Fix NPE crash in AppInfoBase" am: e49cc3d659
am: abcb069d95

Change-Id: Id60245ba109dc977ee1078e8d3f50288e5bdbcc7

6 years agoMerge "Fix NPE crash in AppInfoBase"
tiansiming [Thu, 18 Jan 2018 02:15:29 +0000 (02:15 +0000)]
Merge "Fix NPE crash in AppInfoBase"
am: e49cc3d659

Change-Id: I719b50356e890e57a8d6574aae23a2d5d0fd989b

6 years agoMove styleActionBar to onStart()
Fan Zhang [Thu, 18 Jan 2018 00:52:30 +0000 (16:52 -0800)]
Move styleActionBar to onStart()

Change-Id: I002c266acc0e1095269e92eb7988b1ab505e48ff
Fixes: 72097389
Test: robotest

6 years agoDO NOT MERGE: Keep access point list updated once in short time
Bolun Shan [Thu, 12 Oct 2017 07:17:08 +0000 (15:17 +0800)]
DO NOT MERGE: Keep access point list updated once in short time

The function onAccessPointsChanged will be called many times
and access points will be updated many times in 300ms. So check
if the same event exists before calling postDelayed.

Bug: 68230819
Test: Manual test
Change-Id: Id098e1b77c28b62a5495c3369ed950531e59dba2

6 years agoAsynchronously load SliceData from SliceProvider
Matthew Fritze [Wed, 10 Jan 2018 19:40:28 +0000 (11:40 -0800)]
Asynchronously load SliceData from SliceProvider

The slices paradigm is to return a slice as soon as possible
whith whatever information is currently available. Then, load the
longer information in the background and broadcast on the Uri when
the changes are ready.

This CL incorprates a cache system for SettingsSliceProvider to
load that data in the background to solve the issues of multiple
simultaneous callers.

Bug: 67996923
Test: robotests
Change-Id: I0e3f9984181e1c989fed139707cdb27956cf6de6

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 18 Jan 2018 00:21:55 +0000 (16:21 -0800)]
Import translations. DO NOT MERGE

Change-Id: I00ad95c01ca523ce726292a376a797f85c9648f4
Auto-generated-cl: translation import

6 years agoMerge "Make LinearColorBar support RTL"
TreeHugger Robot [Thu, 18 Jan 2018 00:08:24 +0000 (00:08 +0000)]
Merge "Make LinearColorBar support RTL"

6 years agoSpecify package name when launching search UI
Fan Zhang [Wed, 17 Jan 2018 23:57:34 +0000 (15:57 -0800)]
Specify package name when launching search UI

Test: robotests
Change-Id: Ib8cc2aa1a6d4de82b32cbe3da8473bb61cf0c530

6 years agoRevert "DO NOT MERGE Add metric log for anomaly."
Lei Yu [Wed, 17 Jan 2018 23:47:37 +0000 (23:47 +0000)]
Revert "DO NOT MERGE Add metric log for anomaly."
am: 00322c0f83  -s ours

Change-Id: Id2350a188c34d5f5f2146da4ae08cf8c09c6c597

6 years agoRevert "DO NOT MERGE Add metric log for anomaly."
Lei Yu [Wed, 17 Jan 2018 23:22:47 +0000 (23:22 +0000)]
Revert "DO NOT MERGE Add metric log for anomaly."

This reverts commit adf11594d3510cd947e186ce4dec254223f1da10.

Merged-In: I83761e2a9c206ea7a04f7d031a6961fdab7ca9a0
Change-Id: I015d8c0d05c7ae9abfd4939f7a95e1f0daecc1fc

6 years agoMerge "Separate suggestions and conditions."
TreeHugger Robot [Wed, 17 Jan 2018 22:45:45 +0000 (22:45 +0000)]
Merge "Separate suggestions and conditions."

6 years agoMake LinearColorBar support RTL
Fan Zhang [Wed, 17 Jan 2018 18:38:49 +0000 (10:38 -0800)]
Make LinearColorBar support RTL

- Move the class to widget package
- Remove a bunch of useless drawing

Change-Id: I82f840819c89eaf3cf9b7a87e56f1031989e3262
Fixes: 62700884
Test:  robotest

6 years agoMerge "Show current setting for Tap & Pay"
TreeHugger Robot [Wed, 17 Jan 2018 22:39:02 +0000 (22:39 +0000)]
Merge "Show current setting for Tap & Pay"

6 years agoMerge "Tweak bluetooth text alignment"
TreeHugger Robot [Wed, 17 Jan 2018 22:20:21 +0000 (22:20 +0000)]
Merge "Tweak bluetooth text alignment"

6 years agoMerge "Allow lines to be highlighted on managed service pages."
TreeHugger Robot [Wed, 17 Jan 2018 22:08:26 +0000 (22:08 +0000)]
Merge "Allow lines to be highlighted on managed service pages."

6 years agoMerge "Update storage usage to be consistent in settings"
Akshay Joshi [Wed, 17 Jan 2018 21:41:25 +0000 (21:41 +0000)]
Merge "Update storage usage to be consistent in settings"

6 years agoMerge "Disable lowBatteryTip and ReducedBatteryTip"
TreeHugger Robot [Wed, 17 Jan 2018 21:30:42 +0000 (21:30 +0000)]
Merge "Disable lowBatteryTip and ReducedBatteryTip"

6 years agoDO NOT MERGE Add metric log for anomaly. am: adf11594d3
jackqdyulei [Wed, 17 Jan 2018 21:29:54 +0000 (21:29 +0000)]
DO NOT MERGE Add metric log for anomaly. am: adf11594d3
am: 2755f3de0a  -s ours

Change-Id: Ib6d037a6cf3c8e8a24a1e99befb611c81a1493ac

6 years agoIgnore first crash dialog.
Andrew Sapperstein [Mon, 15 Jan 2018 21:46:41 +0000 (13:46 -0800)]
Ignore first crash dialog.

By default, no longer show the crash dialog the first time an app
crashes. Instead, only multiple crashes will show by default.

Add developer setting to control behavior, so app developers can
ensure dialog always shows when a crash happens.

Bug: 6370335370640329
Test: robotests, manual crashing with a test app
Change-Id: I2e625ed147dafc188b28c52eb1b9cee6b2330d50

6 years agoDO NOT MERGE Add metric log for anomaly.
jackqdyulei [Wed, 17 Jan 2018 21:22:12 +0000 (21:22 +0000)]
DO NOT MERGE Add metric log for anomaly.
am: adf11594d3

Change-Id: I2b55df61278b9c64d80cd9ba43b8d9b1686ff6e4

6 years agoDisable UI in Settings app when DISALLOW_CONFIG_LOCATION_MODE is set.
yuemingw [Wed, 3 Jan 2018 18:09:31 +0000 (18:09 +0000)]
Disable UI in Settings app when DISALLOW_CONFIG_LOCATION_MODE is set.

Bug: 67674888
Test: m -j RunSettingsRoboTest

Change-Id: I13a4fa4a3122bfd9b84f935c0aa83c019490eac9

6 years agoMoving Settings tests closer to the settings code
Ashita Sriraman [Wed, 17 Jan 2018 18:27:29 +0000 (10:27 -0800)]
Moving Settings tests closer to the settings code

Change-Id: Ia456db3a8728b35390963c989d5788f4f23806cd

6 years agoTweak bluetooth text alignment
jackqdyulei [Wed, 17 Jan 2018 03:40:36 +0000 (19:40 -0800)]
Tweak bluetooth text alignment

1. Remove the placeholder summary so it won't show blank summary
2. Update settings_entity_header to make text center_vertical,
so it could align with the icon.

Bug: 71742145
Test: Screenshot
Change-Id: I185114a4e0c8d996f218075a8633e802fabf3c66

6 years agoMerge "Skip option missing on pattern lock screen"
TreeHugger Robot [Wed, 17 Jan 2018 20:22:19 +0000 (20:22 +0000)]
Merge "Skip option missing on pattern lock screen"

6 years agoMerge "Fix NPE crash in AppInfoBase"
Treehugger Robot [Wed, 17 Jan 2018 19:44:16 +0000 (19:44 +0000)]
Merge "Fix NPE crash in AppInfoBase"

6 years agoMerge "Keep access point list updated once in short time"
TreeHugger Robot [Wed, 17 Jan 2018 19:34:24 +0000 (19:34 +0000)]
Merge "Keep access point list updated once in short time"

6 years agoShow current setting for Tap & Pay
Antony Sargent [Wed, 10 Jan 2018 22:51:32 +0000 (14:51 -0800)]
Show current setting for Tap & Pay

In Settings > Apps & notifications > Advanced > Default apps > Tap & pay
the setting labeled "Use default" is a drop down preference but wasn't
showing the current value it's set to in its summary. This CL fixes
that.

Change-Id: I891289abad781c3eeafa2d7979373f0d53faafc6
Fixes: 67754372
Test: make -j64 RunSettingsRoboTests

6 years agoUpdate storage usage to be consistent in settings
Akshay Joshi [Tue, 16 Jan 2018 22:23:19 +0000 (14:23 -0800)]
Update storage usage to be consistent in settings

Storage usage is calculated differently accross multiple settings pages.
Update the logic to be consistent throughout.

Bug: 70475659
Test: Manual
Change-Id: Id01f39ead76fac505daa20998b0b326b1947a6a4

6 years agoSeparate suggestions and conditions.
Doris Ling [Thu, 11 Jan 2018 01:26:48 +0000 (17:26 -0800)]
Separate suggestions and conditions.

This is the initial change for updating the suggestion cards:
- add a feature flag to swap between the new and current UI
- change suggestions to a standalone dashboard item. It becomes a
  horizontal scroll list that won't collapse/expand.
- the expand/collapse logic now only control the conditions list
- add draft for the new suggestion UI elements, but detail to fine-tune
to match the UI spec will come in following changes.

Bug: 70573674
Test: make RunSettingsRoboTests
Change-Id: I00c901e2598b26a34288fc73fd6031cc26a29ac6

6 years agoAllow lines to be highlighted on managed service pages.
Julia Reynolds [Wed, 17 Jan 2018 16:19:14 +0000 (11:19 -0500)]
Allow lines to be highlighted on managed service pages.

Test: manual
Change-Id: I4d20b7b146b17dea8bc0ed3957d18394931889a8
Fixes: 72067617

6 years agoDisplayCutout: Add emulation option to DeveloperSettings
Adrian Roos [Wed, 10 Jan 2018 12:56:31 +0000 (13:56 +0100)]
DisplayCutout: Add emulation option to DeveloperSettings

Bug: 65689439
Test: Go to Developer Settings > Toggle "Emulate display with a cutout"
Change-Id: Id3387c026df9868d42e0a7b0d7e623115f41452b

6 years agoFix NPE crash in AppInfoBase
tiansiming [Sun, 14 Jan 2018 08:46:05 +0000 (16:46 +0800)]
Fix NPE crash in AppInfoBase

This crash can hardly happen under the normal operation of the user,
but it may have a chance to appear in monkey test. To enhance the
robustness of the program, intent.getData() here should not be null
in any situations.

Bug: N/A
Test: adb shell am start -n
'com.android.settings/.Settings\$AppDrawOverlaySettingsActivity'

Change-Id: I732b564056e3e585405f146d99efe3b410edbc41
Signed-off-by: tiansiming <tiansiming@xiaomi.com>
6 years agoRemove aggressive handover developer setting
Michael Plass [Wed, 17 Jan 2018 01:02:55 +0000 (17:02 -0800)]
Remove aggressive handover developer setting

The developer setting for aggressive wifi to mobile data handover is no
longer used by the framework, so it should not appear in the settings UI.

Bug: 72063774
Test: m RunSettingsRoboTests -j40
Test: Manually check developer options, make sure aggressive handover is gone
Change-Id: Id54c714fc82fb27abc0b4116f2b82be68cc6d151

6 years agoMerge "Remove "emergency alert" from Sound settings"
TreeHugger Robot [Wed, 17 Jan 2018 17:32:15 +0000 (17:32 +0000)]
Merge "Remove "emergency alert" from Sound settings"

6 years agoKeep access point list updated once in short time
Fan Zhang [Wed, 17 Jan 2018 17:12:48 +0000 (09:12 -0800)]
Keep access point list updated once in short time

The function onAccessPointsChanged will be called many times
and access points will be updated many times in 300ms. So check
if the same event exists before calling postDelayed.

Fixes: 68230819
Test: Manual test
Change-Id: Id098e1b77c28b62a5495c3369ed950531e59dba2

6 years agoMerge "Only show one tip at a time"
Lei Yu [Wed, 17 Jan 2018 03:30:55 +0000 (03:30 +0000)]
Merge "Only show one tip at a time"

6 years agoMerge "Block settings when DISALLOW_CONFIG_AMBIENT_DISPLAY."
TreeHugger Robot [Wed, 17 Jan 2018 02:17:19 +0000 (02:17 +0000)]
Merge "Block settings when DISALLOW_CONFIG_AMBIENT_DISPLAY."

6 years agoMerge "Add early warning tip and detector"
Lei Yu [Wed, 17 Jan 2018 01:28:08 +0000 (01:28 +0000)]
Merge "Add early warning tip and detector"

6 years agoMerge "Implement PreferenceControllerMixin in TrustAgentController"
TreeHugger Robot [Wed, 17 Jan 2018 00:34:39 +0000 (00:34 +0000)]
Merge "Implement PreferenceControllerMixin in TrustAgentController"

6 years agoBlock settings when DISALLOW_CONFIG_AMBIENT_DISPLAY.
yuemingw [Wed, 10 Jan 2018 21:02:14 +0000 (21:02 +0000)]
Block settings when DISALLOW_CONFIG_AMBIENT_DISPLAY.

Test: m -j RunSettingsRoboTests
Fix: 67675787

Change-Id: Ibf5786982e258decea4486431faa45ff1b7480ef

6 years agoShow Toast with location of trace when trace is disabled
Vishnu Nair [Wed, 17 Jan 2018 00:00:03 +0000 (16:00 -0800)]
Show Toast with location of trace when trace is disabled

- Rename Layer Trace development tile to Surface Flinger Trace

Bug: 64831661
Test: Manually toggle trace
Test: make RunSettingsRoboTests ROBOTEST_FILTER=LayerTraceTest && make RunSettingsRoboTests ROBOTEST_FILTER=WindowTraceTest
Change-Id: I438efca251688774f0d6f29ba93d02d116f1e574

6 years agoImplement PreferenceControllerMixin in TrustAgentController
Fan Zhang [Tue, 16 Jan 2018 22:58:21 +0000 (14:58 -0800)]
Implement PreferenceControllerMixin in TrustAgentController

Change-Id: Iba7cfb139ec213ef6ebc605902a41165e52fb6a1
Fixes: 72056368
Test: robotests

6 years agoRemove search v1
Fan Zhang [Tue, 16 Jan 2018 17:55:11 +0000 (09:55 -0800)]
Remove search v1

Fixes: 69851037
Test: robotests
Change-Id: I53bc6408116031619053066055cb26cac67b9945

6 years agoOnly show one tip at a time
jackqdyulei [Thu, 11 Jan 2018 02:21:11 +0000 (18:21 -0800)]
Only show one tip at a time

1. Update the order for each tip.
2. Change BatteryTipPreferenceController and only show one precedent
tip.
3. Update the SummaryDetector since now it doesn't need visibleTips

Bug: 70570352
Test: RunSettingsRoboTests
Change-Id: I9e2b8e72aad263f8a210c9320e0ea1eaaf8d5042

6 years agoAdd early warning tip and detector
jackqdyulei [Wed, 10 Jan 2018 22:29:57 +0000 (14:29 -0800)]
Add early warning tip and detector

When battery cannot make to usual charging time, this tip would
suggest user to turn on battery saver.

This tip has two visible state(NEW, HANDLED) and display different
information.

This cl also adds an action to turn on the battery saver.

Bug: 70570352
Test: RunSettingsRoboTests
Change-Id: I0e96554df12a0d6508c27174e16d8dca7f4e1fce

6 years agoRemove "emergency alert" from Sound settings
Fan Zhang [Tue, 16 Jan 2018 22:01:23 +0000 (14:01 -0800)]
Remove "emergency alert" from Sound settings

It's already in "App & notification" page

Change-Id: I858999f8e097d5712eee1b8d34f47e0e900bf859
Fixes: 71813931
Test: rebuild/visual/atest UniquePreferenceTest

6 years agoDisable lowBatteryTip and ReducedBatteryTip
jackqdyulei [Tue, 16 Jan 2018 18:16:05 +0000 (10:16 -0800)]
Disable lowBatteryTip and ReducedBatteryTip

Change-Id: Ibc2e9f01396d6584764bb3deb8e2ebabdb2c1ffb
Fixes: 71921003
Test: RunSettingsRoboTests

6 years agoMerge "Add ability to show/hide airplane toggle."
TreeHugger Robot [Tue, 16 Jan 2018 20:16:16 +0000 (20:16 +0000)]
Merge "Add ability to show/hide airplane toggle."

6 years agoMerge "Fix plus position in about phone"
TreeHugger Robot [Tue, 16 Jan 2018 19:21:32 +0000 (19:21 +0000)]
Merge "Fix plus position in about phone"

6 years agoMerge "Initial screens for Storage Access."
TreeHugger Robot [Tue, 16 Jan 2018 19:14:58 +0000 (19:14 +0000)]
Merge "Initial screens for Storage Access."

6 years agoMerge "DO NOT MERGE Add developer menu to select max number of connected audio device...
Hansong Zhang [Tue, 16 Jan 2018 18:47:13 +0000 (18:47 +0000)]
Merge "DO NOT MERGE Add developer menu to select max number of connected audio devices" am: ea5243e28d  -s ours am: b4ed2b2005
am: 43c58ddfe6  -s ours

Change-Id: I1e0b733fcc666c1f34232fbab5fb97d3c9f6e0ad

6 years agoAdd ability to show/hide airplane toggle.
Ben Lin [Wed, 10 Jan 2018 23:55:40 +0000 (15:55 -0800)]
Add ability to show/hide airplane toggle.

This introduces a new boolean flag:
config_show_toggle_airplane

Which when set to false, will hide the airplane mode toggle in network &
internet.

Bug: 69813881
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=AirplaneModePreferenceControllerTest

Change-Id: I2cf682bf78231040eba5573fbcb55a65be2a13df

6 years agoMerge "DO NOT MERGE Add developer menu to select max number of connected audio device...
Hansong Zhang [Tue, 16 Jan 2018 18:13:44 +0000 (18:13 +0000)]
Merge "DO NOT MERGE Add developer menu to select max number of connected audio devices" am: ea5243e28d  -s ours
am: b4ed2b2005

Change-Id: I0b80d8c673b680ab530f34420bb330665ab904b8

6 years agoMerge "DO NOT MERGE Add developer menu to select max number of connected audio devices"
Hansong Zhang [Tue, 16 Jan 2018 18:04:48 +0000 (18:04 +0000)]
Merge "DO NOT MERGE Add developer menu to select max number of connected audio devices"
am: ea5243e28d  -s ours

Change-Id: I57c326c97f19597bd2865c328e024de4da889e77

6 years agoFix plus position in about phone
Wu Qiang [Fri, 7 Jul 2017 10:18:16 +0000 (18:18 +0800)]
Fix plus position in about phone

Settings has phone number in about phone, "+"
is shown with incorrect position in Bidi layout.
Then it needs to use BidiFormatter

Fixes: 70700094
Test: manual
Change-Id: I1d63f773926136c38ce1ac811869476dc6a89eac

6 years agoMerge "DO NOT MERGE Add developer menu to select max number of connected audio devices"
Treehugger Robot [Tue, 16 Jan 2018 17:48:53 +0000 (17:48 +0000)]
Merge "DO NOT MERGE Add developer menu to select max number of connected audio devices"

6 years agoMerge "Adopt robolectric 3.6.1"
TreeHugger Robot [Sat, 13 Jan 2018 11:32:30 +0000 (11:32 +0000)]
Merge "Adopt robolectric 3.6.1"

6 years agoMerge "Tweak app notification page title and expand button cutoff"
TreeHugger Robot [Sat, 13 Jan 2018 02:48:37 +0000 (02:48 +0000)]
Merge "Tweak app notification page title and expand button cutoff"

6 years agoInitial screens for Storage Access.
Felipe Leme [Fri, 12 Jan 2018 21:00:24 +0000 (13:00 -0800)]
Initial screens for Storage Access.

This new settings will be accessed through Apps -> Special Apps and it will let
users change the status of granted (or denied) Scoped Access Permissions.

This initial CL implements the landing activity that shows all packages and an
initial version of the detailed activity for a specific page, althouth the
detailed activity is not ready yet.

Test: manual verification
Test: export ROBOTEST_FILTER=com.android.settings.core.codeinspection.CodeInspectionTest && make RunSettingsRoboTests -j40
Bug: 63720392

Change-Id: Id0419c2c4aaaec365803218d6947e230e4776f13

6 years agoMerge "Block settings when DISALLOW_CONFIG_BRIGHTNESS."
TreeHugger Robot [Sat, 13 Jan 2018 01:01:48 +0000 (01:01 +0000)]
Merge "Block settings when DISALLOW_CONFIG_BRIGHTNESS."

6 years agoMerge "Add smart battery tip."
TreeHugger Robot [Fri, 12 Jan 2018 23:11:23 +0000 (23:11 +0000)]
Merge "Add smart battery tip."

6 years agoBlock settings when DISALLOW_CONFIG_BRIGHTNESS.
yuemingw [Wed, 10 Jan 2018 20:59:43 +0000 (20:59 +0000)]
Block settings when DISALLOW_CONFIG_BRIGHTNESS.

Test: m -j RunSettingsRoboTests
Change-Id: I667c76dfef20158ab2a72178fb82b8183b448976
Fix: 67675654

Change-Id: I83f2e0086e16cd2a0dbc4cbcc31d4e2d454934cd

6 years agoTweak app notification page title and expand button cutoff
Fan Zhang [Fri, 12 Jan 2018 23:00:09 +0000 (15:00 -0800)]
Tweak app notification page title and expand button cutoff

Change-Id: If9b93023ac9ab946b7c2b0dd65852948029da896
Fixes: 71813209
Test: visual

6 years agoMerge "Rename trySetQuietModeEnabled to requestQuietModeEnabled as per ... the feedba...
TreeHugger Robot [Fri, 12 Jan 2018 22:26:02 +0000 (22:26 +0000)]
Merge "Rename trySetQuietModeEnabled to requestQuietModeEnabled as per ... the feedback from API council"

6 years agoMerge "Introduce boolean flag to show/hide Location Scanning preference."
TreeHugger Robot [Fri, 12 Jan 2018 21:53:12 +0000 (21:53 +0000)]
Merge "Introduce boolean flag to show/hide Location Scanning preference."

6 years agoAdopt robolectric 3.6.1
James Lemieux [Fri, 12 Jan 2018 02:07:54 +0000 (18:07 -0800)]
Adopt robolectric 3.6.1

Bug: 71596155
Test: make RunSettingsRoboTests
Change-Id: I46362bae1e3ddd3ce19ade1c93250d272f3366e6

6 years agoMerge "Add ability to show/hide individual settings in Sounds page."
TreeHugger Robot [Fri, 12 Jan 2018 20:11:30 +0000 (20:11 +0000)]
Merge "Add ability to show/hide individual settings in Sounds page."

6 years agoIntroduce boolean flag to show/hide Location Scanning preference.
Ben Lin [Thu, 11 Jan 2018 23:32:36 +0000 (15:32 -0800)]
Introduce boolean flag to show/hide Location Scanning preference.

This introduce one new flag:
config_show_location_scanning

Which when set to false, will hide "Scanning" in Location preference.

Some OEMs may control Bluetooth/Wi-Fi scanning themselves, so they may
want to hide the page from users.

Bug: 62418710
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=LocationScanningPreferenceControllerTest

Change-Id: I19f0020a2c94f70b3b7956529f57af098ccc79fd

6 years agoMerge "Add string variants for "device" products."
TreeHugger Robot [Fri, 12 Jan 2018 19:03:34 +0000 (19:03 +0000)]
Merge "Add string variants for "device" products."

6 years agoAdd smart battery tip.
jackqdyulei [Wed, 10 Jan 2018 17:51:52 +0000 (09:51 -0800)]
Add smart battery tip.

Also move the action method from BatteryTip to TipAction. Since it
need extra data that we don't want to store it in parcel.

Bug: 71502850
Test: RunSettingsRoboTests
Change-Id: Ib658426725158d26fcdd437fa8bf6bf24e9a8c14

6 years agoMerge "Follow slice refactor"
TreeHugger Robot [Fri, 12 Jan 2018 18:17:26 +0000 (18:17 +0000)]
Merge "Follow slice refactor"

6 years agoMerge "Make a strong reference to LifecycleOwner in tests"
TreeHugger Robot [Fri, 12 Jan 2018 18:01:23 +0000 (18:01 +0000)]
Merge "Make a strong reference to LifecycleOwner in tests"

6 years agoMerge "Add support for early warning query"
Salvador Martinez [Fri, 12 Jan 2018 17:33:00 +0000 (17:33 +0000)]
Merge "Add support for early warning query"

6 years agoMerge "Override switch bar string for wifi/battery saver screen"
Fan Zhang [Fri, 12 Jan 2018 17:15:22 +0000 (17:15 +0000)]
Merge "Override switch bar string for wifi/battery saver screen"

6 years agoMerge "Zen Mode messages + calls are ListPreferences (radio button dialog)"
TreeHugger Robot [Fri, 12 Jan 2018 15:33:14 +0000 (15:33 +0000)]
Merge "Zen Mode messages + calls are ListPreferences (radio button dialog)"

6 years agoZen Mode messages + calls are ListPreferences (radio button dialog)
Beverly [Mon, 8 Jan 2018 21:31:04 +0000 (16:31 -0500)]
Zen Mode messages + calls are ListPreferences (radio button dialog)

Bug: 63077372
Test: ZenModeCallsPreferenceControllerTest
Test: ZenModeMessagesPreferenceControllerTest
Change-Id: I5d2516402b261413c51a1b4eba5153ffadf1459b

6 years agoFollow slice refactor
Jason Monk [Wed, 10 Jan 2018 01:40:41 +0000 (20:40 -0500)]
Follow slice refactor

Test: make
Bug: 68378561
Change-Id: Ifb35d39e54b2c292017b7866d7a52b120b4f6685

6 years agoRename trySetQuietModeEnabled to requestQuietModeEnabled as per ...
Tony Mak [Fri, 12 Jan 2018 12:12:15 +0000 (12:12 +0000)]
Rename trySetQuietModeEnabled to requestQuietModeEnabled as per ...
the feedback from API council

Fix: 71818127

Test: Build
Change-Id: Iab976fefcf00e0d5abada123b7c19344241b928a

6 years agoMerge changes from topic "tz_picker"
Joachim Sauer [Fri, 12 Jan 2018 11:25:32 +0000 (11:25 +0000)]
Merge changes from topic "tz_picker"

* changes:
  New manual time zone picker.
  Data loading component for new time zone picker.

6 years agoMerge "Fix test crash in UniquePreferenceTest"
TreeHugger Robot [Fri, 12 Jan 2018 01:57:37 +0000 (01:57 +0000)]
Merge "Fix test crash in UniquePreferenceTest"

6 years agoFix test crash in UniquePreferenceTest
jackqdyulei [Fri, 12 Jan 2018 00:16:10 +0000 (16:16 -0800)]
Fix test crash in UniquePreferenceTest

Change-Id: I0393018dfe8c12541548d7b3900503a0d78c8e26
Fixes: 71794134
Test: atest UniquePreferenceTest.java

6 years agoMerge "Update screen pinning state whenever it changes."
TreeHugger Robot [Fri, 12 Jan 2018 00:03:44 +0000 (00:03 +0000)]
Merge "Update screen pinning state whenever it changes."