Doris Ling
f28283aef0
Adjust preference alignment.
...
Remove usage of preference_icon_frame style and re-adjust the layout
attributes to put the title/summary back to correct alignment.
Change-Id: I32a2167404979bad1d086dc871316890e043dff3
Fixes: 68654477
Test: visual
2017-10-31 15:21:47 -07:00
Fan Zhang
374b295da8
Merge "Set device credential's Window flag to be SECURE." into oc-dev am: e3d0bbcc80
-s ours am: 9bb4e0b794
-s ours am: fddccf0838
-s ours
...
am: c519347aee
-s ours
Change-Id: If6fd76c0dfb1980c4f0098c6fa6c6757e4dc84ac
2017-10-31 19:35:39 +00:00
Fan Zhang
c519347aee
Merge "Set device credential's Window flag to be SECURE." into oc-dev am: e3d0bbcc80
-s ours am: 9bb4e0b794
-s ours
...
am: fddccf0838
-s ours
Change-Id: I2a7a57a4b63b5ed34e65801f27582f26b3eb1baf
2017-10-31 19:08:16 +00:00
Fan Zhang
fddccf0838
Merge "Set device credential's Window flag to be SECURE." into oc-dev am: e3d0bbcc80
-s ours
...
am: 9bb4e0b794
-s ours
Change-Id: I139f18df764f1d888cc6d7687aba5a23ab30053f
2017-10-31 18:47:59 +00:00
Fan Zhang
9bb4e0b794
Merge "Set device credential's Window flag to be SECURE." into oc-dev
...
am: e3d0bbcc80
-s ours
Change-Id: I8be390dc1e5190029be41a55c014c9e2705c7aef
2017-10-31 18:36:12 +00:00
Fan Zhang
e3d0bbcc80
Merge "Set device credential's Window flag to be SECURE." into oc-dev
2017-10-31 18:25:36 +00:00
TreeHugger Robot
f60c99af53
Merge "Display network name in status bar"
2017-10-31 17:52:47 +00:00
TreeHugger Robot
9138de153c
Merge "Add a dialog when turning off oem unlock dialog."
2017-10-31 17:11:30 +00:00
Yoshinori Hirano
53cfd11793
Display network name in status bar
...
When config_showOperatorNameInStatusBar is true, "Network name" setting
is displayed in Settings app (Settings > Display).
The user can turn on/off the feature to display the network name in the
status bar from Settings app.
Fixes: 67620513
Test: manual - go to Settings > Display and turn on/off Network name.
Change-Id: I43f1d9cbea363527250639ce6146f1c5c6c8a482
2017-10-31 09:08:06 -07:00
Bill Yi
d1530813da
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev am: a68a0f0463
-s ours am: 9a983dd72f
-s ours
...
am: 2e841fd17e
-s ours
Change-Id: I422bdfa795c7cc91ac736c1e7eb0e8e254078034
2017-10-31 03:55:26 +00:00
Bill Yi
d90d7c5193
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 89688902b8
-s ours
...
am: d3528de4c9
-s ours
Change-Id: I05bcb32b3c013d15a76939a3a974f88d36d94aeb
2017-10-31 03:54:53 +00:00
Bill Yi
2e841fd17e
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev am: a68a0f0463
-s ours
...
am: 9a983dd72f
-s ours
Change-Id: I072b7f8f6e320f2339b1b134193aabc2c654604c
2017-10-31 03:46:08 +00:00
Bill Yi
d3528de4c9
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
...
am: 89688902b8
-s ours
Change-Id: I443ed7404e199e87ec76d7f4724f0b66de7f3e19
2017-10-31 03:45:23 +00:00
Bill Yi
9a983dd72f
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
...
am: a68a0f0463
-s ours
Change-Id: I4b9282935fe15d3c1418edb43506aad058a3e485
2017-10-31 03:41:23 +00:00
TreeHugger Robot
89688902b8
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
2017-10-31 03:35:52 +00:00
TreeHugger Robot
a68a0f0463
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
2017-10-31 03:34:28 +00:00
TreeHugger Robot
9fb5426315
Merge "Enable suggestion v2 experiment"
2017-10-31 02:55:03 +00:00
Fan Zhang
33ad251a38
Merge "Set device credential's Window flag to be SECURE." into oc-dr1-dev am: 83c49be1da
am: fb06488712
...
am: 601fdf83f9
Change-Id: I745f8ae697987149ec4d905f4607aae2966dfcfe
2017-10-31 02:53:09 +00:00
Fan Zhang
601fdf83f9
Merge "Set device credential's Window flag to be SECURE." into oc-dr1-dev am: 83c49be1da
...
am: fb06488712
Change-Id: I1153c5c89819e8083d77d0ecd9e3ca982d199f40
2017-10-31 02:48:01 +00:00
Fan Zhang
fb06488712
Merge "Set device credential's Window flag to be SECURE." into oc-dr1-dev
...
am: 83c49be1da
Change-Id: Iacdaedc972e9d8ba013860be1442620c46c4f19d
2017-10-31 02:44:34 +00:00
TreeHugger Robot
40ebbf01a5
Merge changes from topic "small_icons"
...
* changes:
Use small icon in location and vpn settings UI
Clean up: use AppPreference for PowerGaugePreference
Switch to use small icon for most app related pages
Update UI to use a smaller icon for ManageApplication page.
2017-10-31 02:44:21 +00:00
TreeHugger Robot
83c49be1da
Merge "Set device credential's Window flag to be SECURE." into oc-dr1-dev
2017-10-31 02:37:43 +00:00
TreeHugger Robot
f12dbf9333
Merge changes from topic "anomaly_metric_update"
...
* changes:
Add metric log for anomaly.
Add metric id for anomaly fragments.
2017-10-31 02:09:47 +00:00
TreeHugger Robot
1f88913674
Merge "Move the bluetooth icon logic to settingslib"
2017-10-31 01:59:37 +00:00
TreeHugger Robot
fd234a07be
Merge "Don't consider managedProfile in PowerUsageAdvanced"
2017-10-31 01:54:25 +00:00
Bill Yi
97eec4be9f
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: If1e768b33481061f37bac9612b862ece348f15fb
2017-10-30 18:16:54 -07:00
Bill Yi
e2dbd96742
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: Idb8eeaa4ee52a3d250c95a164a7bf28512d32901
2017-10-30 18:12:54 -07:00
Fan Zhang
f9e985d018
Enable suggestion v2 experiment
...
Bug: 68662574
Test: robotests
Change-Id: Ib8aeef45ebe1260e9c8699e231db37840a0ce3db
2017-10-30 18:06:40 -07:00
TreeHugger Robot
e06aa2e739
Merge "Remove DividerPreference and its corresponding usage."
2017-10-31 01:00:30 +00:00
Fan Zhang
47a50edf31
Add a dialog when turning off oem unlock dialog.
...
Change-Id: I93a93c0a110c2770d3701b5449c7939f941c7593
Fixes: 28199132
Test: robotests
2017-10-30 17:53:11 -07:00
jackqdyulei
e233162c3a
Add metric log for anomaly.
...
This cl creates metric log when anomaly surfaces in battery page or
anomaly dialog.
Each anomaly action contains two fields:
1. FIELD_CONTEXT(int): determine which fragment start this action.
2. FIELD_ANOMALY_ACTION_TYPE(int): determine action type for this
anomaly.
Bug: 68215016
Test: RunSettingsRoboTests
Change-Id: I83761e2a9c206ea7a04f7d031a6961fdab7ca9a0
2017-10-30 16:00:16 -07:00
Fan Zhang
fc29247da4
Use small icon in location and vpn settings UI
...
Fixes: 65182905
Test: rerun tests
Change-Id: I18aa5c5bb4c8f573872cda3d003506c4dff5177c
2017-10-30 14:24:49 -07:00
Doris Ling
afa12a41d5
Remove DividerPreference and its corresponding usage.
...
Change-Id: I64ff1b2d6ab77cf40159e6ad157ab2464e7970ed
Fixes: 37250410
Test: visual, make RunSettingsRoboTests
2017-10-30 12:42:50 -07:00
Fan Zhang
fdf96975e3
Clean up: use AppPreference for PowerGaugePreference
...
- And remove the code for customizing app icon size.
Bug: 65182905
Bug: 68426851
Test: robotests
Change-Id: I4e37bbee3636266f7c1a639b8e9faabb78d61110
2017-10-30 12:20:49 -07:00
Fan Zhang
1c3a4de93d
Switch to use small icon for most app related pages
...
- Renamed AppProgressPreference to AppPreference to handle most app
related prefs
- Add ed AppSwitchPreference - the same layout as AppPreference except
it's a SwitchPreference
- Use above 2 prefs in most app related pages.
- Everything under special access pages
- Recent app list in App & notifications
- App data usage detail page
- Default app picker pages
Bug: 65182905
Test: robotests
Change-Id: I96c980ba1db49e36dabe25b5eade1197215aad11
2017-10-30 12:20:49 -07:00
Fan Zhang
974d2fe080
Update UI to use a smaller icon for ManageApplication page.
...
- Rewrite preference_app.xml to have a small icon
- Update ApplicationViewHolder to hide/show summary row dynamically
- but only do this for notification settings - this UI has empty
summary for most row. For other UI, just keep the empty summary row
until summary comes in. If we also hide/show summary row there will
be a height change animation which is janky.
Bug : 65182905
Fixes: 63582851
Test: robotests
Change-Id: Ice67324f08c67e014a018dfc51e00fe4449036dd
2017-10-30 12:20:49 -07:00
jackqdyulei
725562c748
Add metric id for anomaly fragments.
...
1. PowerUsageAnomalyDetails
2. AnomalyDialogFragment
Bug: 37681923
Test: Build
Change-Id: Ia82fde0fa3e61b6284dc18db3018dd223a0e435b
2017-10-30 12:15:31 -07:00
TreeHugger Robot
10d0518fa3
Merge "Update confirm button label"
2017-10-30 19:09:34 +00:00
xiyuan.wang
c8e304aea6
Merge "Fix app crash while adding new user" am: 1e5cd4c3df
am: 5cf3dcd11c
...
am: 029aeca640
Change-Id: I0c10300fd1714d68769473ab28d90177cbf35162
2017-10-30 18:51:13 +00:00
TreeHugger Robot
056ee030c6
Merge "Clean up: remove dimmableIconPreference"
2017-10-30 18:35:36 +00:00
xiyuan.wang
029aeca640
Merge "Fix app crash while adding new user" am: 1e5cd4c3df
...
am: 5cf3dcd11c
Change-Id: I328ca5045b1fabf9f6756cc0265458bda531fccf
2017-10-30 18:17:47 +00:00
xiyuan.wang
5cf3dcd11c
Merge "Fix app crash while adding new user"
...
am: 1e5cd4c3df
Change-Id: I0cb1c3a228b85edb6303d4f6c33037e4f787f550
2017-10-30 18:03:09 +00:00
Treehugger Robot
1e5cd4c3df
Merge "Fix app crash while adding new user"
2017-10-30 17:43:46 +00:00
Fan Zhang
12b03b2794
Clean up: remove dimmableIconPreference
...
- DimmableIconPreference is not a support pattern.
- Also updated a few icon tint colors to match with the rest of screen.
Bug: 68426851
Test: visual
Change-Id: Ia18d9f74458237403b94d3474cf09050d2039428
2017-10-30 10:06:45 -07:00
TreeHugger Robot
ecb8355aff
Merge "Remove locale checking for indexing."
2017-10-30 16:48:29 +00:00
xiyuan.wang
b6fa43d980
Fix app crash while adding new user
...
Settings app crashes when tapping Home key while adding new user because
UserSettings#showDialog() is called after onSaveInstanceState().
To fix this issue, a dialog should not be shown after onPause().
Fixes: 68485787
Test: manual - tap Home key while adding new user
Change-Id: I2ddd119b6558927798a52c7977e6fd8137734c93
2017-10-30 19:55:56 +09:00
Bill Yi
b179a4e854
Import translations. DO NOT MERGE am: 198f1320b7
-s ours
...
am: 603e6e45b0
-s ours
Change-Id: Ieb87a6f8300891f3dd33ba57ee3b3bd5411422d6
2017-10-30 07:43:52 +00:00
Bill Yi
603e6e45b0
Import translations. DO NOT MERGE
...
am: 198f1320b7
-s ours
Change-Id: I7e6935fcc3adbe7bdf62bf60ca6635e3fb49b0de
2017-10-30 07:35:56 +00:00
Bill Yi
198f1320b7
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: I17237599107b5576cfc9261b866614c1a69fb531
2017-10-28 23:21:49 -07:00
Fan Zhang
f68e6ec2ae
Move app ops classes to their own package
...
Bug: 68426851
Test: robotests
Change-Id: I076b7adf59d4bf66792eb0aebaa3dc305d6d0c4b
2017-10-28 14:22:45 -07:00