OSDN Git Service
TreeHugger Robot [Fri, 19 Jan 2018 18:48:23 +0000 (18:48 +0000)]
Merge "Only show app action button if it is not instant app."
Leif Wilden [Fri, 19 Jan 2018 17:58:00 +0000 (17:58 +0000)]
Merge "Migrate to use instrumentation classes from settingslib."
TreeHugger Robot [Fri, 19 Jan 2018 15:33:44 +0000 (15:33 +0000)]
Merge "Renamed Storage Access to Directory Access."
Jeff Sharkey [Fri, 19 Jan 2018 05:26:03 +0000 (05:26 +0000)]
Merge "Add new no-op interface method." am:
78bfc6f55f am:
6f918104aa
am:
cd08de069a
Change-Id: Iae7e87a1965a549923875c13f142df09a2557672
TreeHugger Robot [Fri, 19 Jan 2018 03:54:32 +0000 (03:54 +0000)]
Merge "AR/FR: Settings changes."
TreeHugger Robot [Fri, 19 Jan 2018 03:49:34 +0000 (03:49 +0000)]
Merge "Fix the time format error in high usage dialog"
TreeHugger Robot [Fri, 19 Jan 2018 02:50:24 +0000 (02:50 +0000)]
Merge "Remove more things from search v1"
Carlos Valdivia [Tue, 16 Jan 2018 21:59:31 +0000 (13:59 -0800)]
AR/FR: Settings changes.
The basic AOSP settings infrastrucutre. Will add the Google specific
resources and tests to GoogleSettings in the next AR/FR change.
Test: make DEBUG_ROBOLECTRIC=1 RunSettingsRoboTests -j40
ROBOTEST_FILTER=com.android.settings.MasterClearTest.java
Change-Id: I7278b5c6d2a72e71d81c7fa5f937a2313d6c322c
jackqdyulei [Tue, 16 Jan 2018 22:21:42 +0000 (14:21 -0800)]
Fix the time format error in high usage dialog
It should show time string rather than milli seconds.
Fixes:
71960199
Test: RunSettingsRoboTests
Change-Id: I35acbad53069c06379b4b7884ff9bd8aa24c5697
Lei Yu [Fri, 19 Jan 2018 01:35:53 +0000 (01:35 +0000)]
Merge "Add database to store anomaly data"
Jeff Sharkey [Fri, 19 Jan 2018 01:12:04 +0000 (01:12 +0000)]
Merge "Add new no-op interface method." am:
78bfc6f55f
am:
6f918104aa
Change-Id: I4c6643c124838a6dd3d69d58be358f824461a632
Jeff Sharkey [Fri, 19 Jan 2018 01:04:49 +0000 (01:04 +0000)]
Merge "Add new no-op interface method."
am:
78bfc6f55f
Change-Id: I9dd3e64ad11886d852ed0db15830aa93f4f63dfc
Jeff Sharkey [Thu, 18 Jan 2018 23:58:30 +0000 (23:58 +0000)]
Merge "Add new no-op interface method."
Fan Zhang [Thu, 18 Jan 2018 21:07:49 +0000 (13:07 -0800)]
Remove more things from search v1
Test: robotests
Change-Id: Ide54d1cec69ae3a6782a979d3eeb7f3fc44f09b3
TreeHugger Robot [Thu, 18 Jan 2018 22:23:18 +0000 (22:23 +0000)]
Merge "Remove apps with usage access from security page"
Doris Ling [Thu, 18 Jan 2018 22:16:27 +0000 (14:16 -0800)]
Only show app action button if it is not instant app.
- for instant app, we are showing another set of buttons, and hence the
regular app action buttons should be not be available.
Change-Id: I53f2a10921451c281166e123671c088ab87b2b0d
Fixes:
71919219
Test: make RunSettingsRoboTests
jackqdyulei [Tue, 16 Jan 2018 18:12:40 +0000 (10:12 -0800)]
Add database to store anomaly data
1. Refactor HighUsageApp to AppInfo so it could be
reused both in dialog and app restriction
2. Add BatteryDatabaseHelper to store the anomaly log
Bug:
70570352
Test: RunSettingsRoboTests
Change-Id: I900cd9746ff7f1e19bd6f3948463588b7cf72b85
TreeHugger Robot [Thu, 18 Jan 2018 22:02:13 +0000 (22:02 +0000)]
Merge "Update suggestion card layout"
Felipe Leme [Thu, 18 Jan 2018 21:01:14 +0000 (13:01 -0800)]
Renamed Storage Access to Directory Access.
Test: manual verification
Test: make RunSettingsRoboTests -j40
Bug:
63720392
Bug:
72135562
Change-Id: I31e63456994d7a9cd2a83a260930835a1052e793
Jeff Sharkey [Thu, 18 Jan 2018 21:51:21 +0000 (14:51 -0700)]
Add new no-op interface method.
Test: bit FrameworksNetTests:android.net.,com.android.server.net.
Test: bit FrameworksTelephonyTests:com.android.internal.telephony.dataconnection.DataConnectionTest
Change-Id: I46ab8fab705a6467f72b13b7dbc7f8af5f76fecf
Exempt-From-Owner-Approval: trivial no-op overload
Bug:
64133169
Ningyuan Wang [Thu, 18 Jan 2018 21:20:51 +0000 (21:20 +0000)]
Merge "Remove roam scan developer settings"
TreeHugger Robot [Thu, 18 Jan 2018 20:37:42 +0000 (20:37 +0000)]
Merge "Add dynamic summaries to Slices"
Fan Zhang [Thu, 18 Jan 2018 20:17:11 +0000 (12:17 -0800)]
Remove apps with usage access from security page
Change-Id: I6791de77caa5d88a26bd2cddd8d5dcdee189a319
Fixes:
72164705
Test: robotests
TreeHugger Robot [Thu, 18 Jan 2018 19:54:09 +0000 (19:54 +0000)]
Merge changes Ic95d219b,I58d82cbc
* changes:
Don't add any trust agents if the controller is not available.
Introduce boolean flags to show/hide items in Security & location.
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
Leif Hendrik Wilden [Thu, 11 Jan 2018 18:15:36 +0000 (10:15 -0800)]
Migrate to use instrumentation classes from settingslib.
Test: Compiles. Manually tested.
Change-Id: Ie5515bb0fe3e621fc7723a9b04ba23e4bfa9c401
Michael Rosenfeld [Thu, 18 Jan 2018 19:11:39 +0000 (11:11 -0800)]
Fix build breakage dependency.
Test: manual, builds
Change-Id: I43bd8dedc48a268bdf6cfaaf1f4c524ef6d3b646
Ningyuan Wang [Wed, 17 Jan 2018 22:23:42 +0000 (14:23 -0800)]
Remove roam scan developer settings
Bug:
72116071
Test: compile
Test: m RunSettingsRoboTests -j40
Test: Manually check developer options, make sure roam scan is
gone
Change-Id: Ibe9fb31551962ecbb2979d0d2ec6885838b919b7
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."
Andrew Sapperstein [Thu, 18 Jan 2018 17:49:33 +0000 (17:49 +0000)]
Merge "Ignore first crash dialog."
Adrian Roos [Thu, 18 Jan 2018 17:31:59 +0000 (17:31 +0000)]
Merge "DisplayCutout: Add emulation option to DeveloperSettings"
TreeHugger Robot [Thu, 18 Jan 2018 17:12:42 +0000 (17:12 +0000)]
Merge "Show Toast with location of trace when trace is disabled"
Ashita Sriraman [Thu, 18 Jan 2018 17:02:17 +0000 (17:02 +0000)]
Merge "Moving Settings tests closer to the settings code"
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
TreeHugger Robot [Thu, 18 Jan 2018 10:59:21 +0000 (10:59 +0000)]
Merge "Remove aggressive handover developer setting"
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."
TreeHugger Robot [Thu, 18 Jan 2018 05:00:59 +0000 (05:00 +0000)]
Merge "Asynchronously load SliceData from SliceProvider"
TreeHugger Robot [Thu, 18 Jan 2018 04:14:24 +0000 (04:14 +0000)]
Merge "Specify package name when launching search UI"
TreeHugger Robot [Thu, 18 Jan 2018 03:03:02 +0000 (03:03 +0000)]
Merge "Move styleActionBar to onStart()"
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
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
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
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"
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
TreeHugger Robot [Thu, 18 Jan 2018 02:30:25 +0000 (02:30 +0000)]
Merge "Import translations. DO NOT MERGE"
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
tiansiming [Thu, 18 Jan 2018 02:15:29 +0000 (02:15 +0000)]
Merge "Fix NPE crash in AppInfoBase"
am:
e49cc3d659
Change-Id: I719b50356e890e57a8d6574aae23a2d5d0fd989b
Ben Lin [Wed, 17 Jan 2018 19:40:15 +0000 (11:40 -0800)]
Don't add any trust agents if the controller is not available.
TrustAgentListPreferenceController gets a list of trust agents and add
them to the security_category preference category at runtime. However,
this update process is always ran - even if the controller is explicitly
disabled/not available. This fixes this.
Bug: None
Test: Updated TrustAgentListPreferenceControllerTest.
Change-Id: Ic95d219bc1d0c7cfa0c4eed0d3dd12dec0e14df6
Ben Lin [Tue, 16 Jan 2018 23:51:57 +0000 (15:51 -0800)]
Introduce boolean flags to show/hide items in Security & location.
This adds 6 new boolean flags:
config_show_manage_device_admin
config_show_unlock_set_or_change
config_show_screen_pinning_settings
config_show_manage_trust_agents
config_show_show_password
config_show_trust_agent_click_intent
Which when individually set to false, will hide the item from "Security
& location". It will also hide them from surfacing in search results.
Bug:
62379222
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=com.android.settings.security
Change-Id: I58d82cbc7f366a9666cdb0f7cd1b90ebbaf418f4
Fan Zhang [Thu, 18 Jan 2018 00:52:30 +0000 (16:52 -0800)]
Move styleActionBar to onStart()
Change-Id: I002c266acc0e1095269e92eb7988b1ab505e48ff
Fixes:
72097389
Test: robotest
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
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
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
TreeHugger Robot [Thu, 18 Jan 2018 00:08:24 +0000 (00:08 +0000)]
Merge "Make LinearColorBar support RTL"
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
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
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
TreeHugger Robot [Wed, 17 Jan 2018 22:45:45 +0000 (22:45 +0000)]
Merge "Separate suggestions and conditions."
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
TreeHugger Robot [Wed, 17 Jan 2018 22:39:02 +0000 (22:39 +0000)]
Merge "Show current setting for Tap & Pay"
TreeHugger Robot [Wed, 17 Jan 2018 22:20:21 +0000 (22:20 +0000)]
Merge "Tweak bluetooth text alignment"
TreeHugger Robot [Wed, 17 Jan 2018 22:08:26 +0000 (22:08 +0000)]
Merge "Allow lines to be highlighted on managed service pages."
Akshay Joshi [Wed, 17 Jan 2018 21:41:25 +0000 (21:41 +0000)]
Merge "Update storage usage to be consistent in settings"
TreeHugger Robot [Wed, 17 Jan 2018 21:30:42 +0000 (21:30 +0000)]
Merge "Disable lowBatteryTip and ReducedBatteryTip"
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
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:
63703353,
70640329
Test: robotests, manual crashing with a test app
Change-Id: I2e625ed147dafc188b28c52eb1b9cee6b2330d50
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
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
Ashita Sriraman [Wed, 17 Jan 2018 18:27:29 +0000 (10:27 -0800)]
Moving Settings tests closer to the settings code
Change-Id: Ia456db3a8728b35390963c989d5788f4f23806cd
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
TreeHugger Robot [Wed, 17 Jan 2018 20:22:19 +0000 (20:22 +0000)]
Merge "Skip option missing on pattern lock screen"
Treehugger Robot [Wed, 17 Jan 2018 19:44:16 +0000 (19:44 +0000)]
Merge "Fix NPE crash in AppInfoBase"
TreeHugger Robot [Wed, 17 Jan 2018 19:34:24 +0000 (19:34 +0000)]
Merge "Keep access point list updated once in short time"
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
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
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
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
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
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>
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
TreeHugger Robot [Wed, 17 Jan 2018 17:32:15 +0000 (17:32 +0000)]
Merge "Remove "emergency alert" from Sound settings"
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
Lei Yu [Wed, 17 Jan 2018 03:30:55 +0000 (03:30 +0000)]
Merge "Only show one tip at a time"
TreeHugger Robot [Wed, 17 Jan 2018 02:17:19 +0000 (02:17 +0000)]
Merge "Block settings when DISALLOW_CONFIG_AMBIENT_DISPLAY."
Lei Yu [Wed, 17 Jan 2018 01:28:08 +0000 (01:28 +0000)]
Merge "Add early warning tip and detector"
TreeHugger Robot [Wed, 17 Jan 2018 00:34:39 +0000 (00:34 +0000)]
Merge "Implement PreferenceControllerMixin in TrustAgentController"
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
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
Fan Zhang [Tue, 16 Jan 2018 22:58:21 +0000 (14:58 -0800)]
Implement PreferenceControllerMixin in TrustAgentController
Change-Id: Iba7cfb139ec213ef6ebc605902a41165e52fb6a1
Fixes:
72056368
Test: robotests
Fan Zhang [Tue, 16 Jan 2018 17:55:11 +0000 (09:55 -0800)]
Remove search v1
Fixes:
69851037
Test: robotests
Change-Id: I53bc6408116031619053066055cb26cac67b9945
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
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
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
jackqdyulei [Tue, 16 Jan 2018 18:16:05 +0000 (10:16 -0800)]
Disable lowBatteryTip and ReducedBatteryTip
Change-Id: Ibc2e9f01396d6584764bb3deb8e2ebabdb2c1ffb
Fixes:
71921003
Test: RunSettingsRoboTests
TreeHugger Robot [Tue, 16 Jan 2018 20:16:16 +0000 (20:16 +0000)]
Merge "Add ability to show/hide airplane toggle."
TreeHugger Robot [Tue, 16 Jan 2018 19:21:32 +0000 (19:21 +0000)]
Merge "Fix plus position in about phone"
TreeHugger Robot [Tue, 16 Jan 2018 19:14:58 +0000 (19:14 +0000)]
Merge "Initial screens for Storage Access."
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
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
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