Doris Ling
17ca0975d3
Fix Data warning title not translated. am: 1cf0dfd3b2
...
am: 432ff5e455
Change-Id: I22bdb65a2d91b1992a4890a1fdca6a01fca925aa
2018-04-24 15:55:40 -07:00
Doris Ling
432ff5e455
Fix Data warning title not translated.
...
am: 1cf0dfd3b2
Change-Id: I8bb8187c3a70afbaa32674e56c4ede29b503b1e8
2018-04-24 15:44:52 -07:00
Doris Ling
1cf0dfd3b2
Fix Data warning title not translated.
...
- change to use the title resource id instead of getting the title from
the preference, so that it can react to language change properly.
Change-Id: I7f4b3c49ef1622b3d90bf035597742cac6f7af3c
Fixes: 78318536
Test: run i18nscreenshots
2018-04-24 13:42:19 -07:00
HJ ChangLiao
7cd4cc9c61
Merge "Add intent receiver in BatterySaverCondition" into pi-dev am: 465f6da15b
...
am: f1a94be5d4
Change-Id: I2f04be621d0a121cfc51e6fefa02a493426172ad
2018-04-24 10:35:46 -07:00
HJ ChangLiao
f1a94be5d4
Merge "Add intent receiver in BatterySaverCondition" into pi-dev
...
am: 465f6da15b
Change-Id: Ie34ee8d62197bf7e4cfb2e25d5ff71445f2aa9a4
2018-04-24 10:23:56 -07:00
TreeHugger Robot
465f6da15b
Merge "Add intent receiver in BatterySaverCondition" into pi-dev
2018-04-24 17:19:52 +00:00
Rubin Xu
032bdf4f84
Merge "Switch to new checkPasswordHistory method" into pi-dev am: 4a1b84e613
...
am: 399675408d
Change-Id: I53198b254e2e93aee0ab8a7e980e46bd20745e05
2018-04-24 06:33:31 -07:00
Rubin Xu
399675408d
Merge "Switch to new checkPasswordHistory method" into pi-dev
...
am: 4a1b84e613
Change-Id: Ife2084277acf19f93352e23eae82eb38519a8be1
2018-04-24 06:23:16 -07:00
TreeHugger Robot
4a1b84e613
Merge "Switch to new checkPasswordHistory method" into pi-dev
2018-04-24 13:06:57 +00:00
HJ ChangLiao
3b7f08d1ee
Add intent receiver in BatterySaverCondition
...
Receive ACTION_POWER_SAVE_MODE_CHANGING
to listen state and update immediately.
Change-Id: Iff2ebb262d95f43d0c970b32f326e3a3e6981a2a
Fixes: 78104542
Test: make RunSettingsRoboTests
2018-04-24 11:12:29 +08:00
George Huang
bb2c8a3147
Merge "Fix RTL alignmnet of "eSIMs" in "Erase all data" page."
2018-04-24 02:28:35 +00:00
Doris Ling
d63e19aa1d
Fix footer text not translated in Magnification settings. am: b0877b390d
...
am: 84506b36c5
Change-Id: Iab1c7df7fb56b76f3dcacc13608d23bbdcfeda51
2018-04-23 19:00:53 -07:00
Doris Ling
84506b36c5
Fix footer text not translated in Magnification settings.
...
am: b0877b390d
Change-Id: I3ad2795e60b3f2147f9611b54b014aa491077ce7
2018-04-23 18:49:08 -07:00
Doris Ling
b0877b390d
Fix footer text not translated in Magnification settings.
...
- pass in the summary res id instead of the actual text when building
the launch bundle for the magnification settings.
- remove the title argument as we are passing the title res already,
which takes precedence.
Change-Id: I4ba624e1d9722aa980ea94c306df9a015a159555
Fixes: 78126057
Test: run i18nscreenshots
2018-04-23 17:07:32 -07:00
TreeHugger Robot
ddd0f98c75
Merge "Use entity header to show account name in sync detail page"
2018-04-23 23:35:23 +00:00
TreeHugger Robot
5f1a6a94cb
Merge "Create a new string for keyboard disconnected state"
2018-04-23 23:00:37 +00:00
Fan Zhang
11e8d2f293
Use entity header to show account name in sync detail page
...
Also removed a bunch of outdated layout and drawables.
Change-Id: I38094d72b84fab1309163f641c4019349f5d6ee7
Fixes: 77657624
Test: visual
2018-04-23 15:25:32 -07:00
Salvador Martinez
f0fce68a9b
Merge "Disable hidden network spinner on existing networks" into pi-dev am: ac951a69aa
...
am: 062dbc2054
Change-Id: I29b27335730594d70805a14ac74d948d6dbef509
2018-04-23 15:11:47 -07:00
Fan Zhang
ee3b74a61f
Create a new string for keyboard disconnected state
...
Change-Id: I454bbb3b8e0ee22c0f7a5a340b86dfd5607de86e
Fixes: 77957016
Test: robotests
2018-04-23 14:59:19 -07:00
TreeHugger Robot
7f48b1293a
Merge "TrustAgentSettings use DashboardFragment"
2018-04-23 21:57:05 +00:00
Salvador Martinez
062dbc2054
Merge "Disable hidden network spinner on existing networks" into pi-dev
...
am: ac951a69aa
Change-Id: I2fcd1b9dbd807dee783ea0027ab7c9b8e2ff369e
2018-04-23 14:55:19 -07:00
TreeHugger Robot
ac951a69aa
Merge "Disable hidden network spinner on existing networks" into pi-dev
2018-04-23 21:38:55 +00:00
Lei Yu
1ddcf81ddc
Update insert method for battery database am: 4bfbaa6047
...
am: 71dca7d131
Change-Id: Id7d1247efd12ead31584e46126108b5370bd1101
2018-04-23 14:37:30 -07:00
Lei Yu
8ae849a8a6
Add primary key for anomaly database. am: 0fcddc77c7
...
am: 8870486f65
Change-Id: Ic89ea460dd33f740b3c7fe66cd0cbdd4de84e1ad
2018-04-23 14:37:11 -07:00
Lei Yu
71dca7d131
Update insert method for battery database
...
am: 4bfbaa6047
Change-Id: I69bed4d6ae38dc101878e342e14aa33199f2e810
2018-04-23 14:28:14 -07:00
Lei Yu
8870486f65
Add primary key for anomaly database.
...
am: 0fcddc77c7
Change-Id: I92c7aae2bf77c31863fa1f8191bec104f73097b4
2018-04-23 14:27:59 -07:00
Mill Chen
fc64a6c8ad
TrustAgentSettings use DashboardFragment
...
- Remove dummy preference from trust_agent_setting.xml.
- Build a controller to generate/manage a list of preferences.
- Move some logics to the controller and add tests.
Bug: 73899467
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.security
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.core
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.search
Test: atest SettingsGatewayTest UniquePreferenceTest
Change-Id: Ideae0c1e7311d7647cf522e01592822e565a0ff7
2018-04-23 13:36:45 -07:00
Lei Yu
4bfbaa6047
Update insert method for battery database
...
1. Add conflict code to ignore the confliction and return -1 when
insert fails.
2. Add boolean return value to show whether insert sucessfully
3. Add unit test. We don't write robo test because robolectirc use
"update" to shadow "insert" operation, which returns the wrong data.
Bug: 77968649
Test: SettingsUnitTest
Change-Id: Ibd3b53cdb1796d74ea4a2ca1f067e2b302b939e9
2018-04-23 13:13:56 -07:00
Lei Yu
0fcddc77c7
Add primary key for anomaly database.
...
In this case it won't insert the duplicate data. We don't do migration since
anomaly database only contains transient data.
Bug: 77968649
Test: test still pass
Change-Id: I638564d89ead008ec184b9a4db137436d47df5bc
2018-04-23 13:08:33 -07:00
jackqdyulei
02aaca9529
Fix the wrong import
...
Use androidx.annotation.VisibleForTesting
Test: Build
Change-Id: I666118ac61c6ba36391203af0a5b51dc02024793
2018-04-23 11:17:52 -07:00
Salvador Martinez
35b76437e0
Disable hidden network spinner on existing networks
...
We only want this to be modifiable if you are adding a network
manually, so this CL disables it for existing networks. You
can still see what the spinner is set to though.
Test: robotests
Bug: 78436456
Change-Id: If660e432eca2dabf5bd16881368657ee89fe5a57
2018-04-23 10:50:22 -07:00
TreeHugger Robot
b1f1ebad89
Merge "Reload APNs setting page when receive the intent ACTION_SUBSCRIPTION_CARRIER_IDENTITY_CHANGED"
2018-04-23 17:48:12 +00:00
Lei Yu
fca1b345cc
Merge "Fix bugs in auto restriction." into pi-dev am: f6e2c19fcc
...
am: a9e4d4a42a
Change-Id: If82969696eb492ea3875a0e0fb92f038024f00f9
2018-04-23 10:13:31 -07:00
Lei Yu
58625937e3
Merge "Fix the bug using wrong TimeUnit" into pi-dev am: 10280a53b0
...
am: a4ef6f51be
Change-Id: I6585d866d4a8e2c54783a874d09821dc727e4941
2018-04-23 10:12:29 -07:00
Lei Yu
a9e4d4a42a
Merge "Fix bugs in auto restriction." into pi-dev
...
am: f6e2c19fcc
Change-Id: I2fd187d163c789ade85c40e00d44f58fea18d0be
2018-04-23 10:09:08 -07:00
Lei Yu
a4ef6f51be
Merge "Fix the bug using wrong TimeUnit" into pi-dev
...
am: 10280a53b0
Change-Id: I8d90eec324ddfcb0123247e2e0e37aa6f6f94ab8
2018-04-23 10:08:33 -07:00
Lei Yu
f6e2c19fcc
Merge "Fix bugs in auto restriction." into pi-dev
2018-04-23 17:03:39 +00:00
Lei Yu
10280a53b0
Merge "Fix the bug using wrong TimeUnit" into pi-dev
2018-04-23 16:59:47 +00:00
Pavel Grafov
2548326afc
Merge "Pick default notification setting for work profile" into pi-dev am: bb839f81e3
...
am: 0bdd7cf4f2
Change-Id: Id9c0d04e816f891df7e180974af104edac04905e
2018-04-23 09:51:49 -07:00
Pavel Grafov
0bdd7cf4f2
Merge "Pick default notification setting for work profile" into pi-dev
...
am: bb839f81e3
Change-Id: I8ccd32b12b9da892b5f38d4a95e3217bc8183dcc
2018-04-23 09:48:26 -07:00
TreeHugger Robot
bb839f81e3
Merge "Pick default notification setting for work profile" into pi-dev
2018-04-23 16:38:43 +00:00
George Huang
2ee0e2960d
Fix RTL alignmnet of "eSIMs" in "Erase all data" page.
...
"eSIMs" is not a RTL string, so it will align to left even we change to
RTL language like Urdu. We must set the textDirection of TextView to
"locale" to force it follow locale's direction. We don't use
textAlignment to set string direction because it contains list bullets,
and list bullets will still align to left.
Change-Id: I0eea2bed9f324bb071e413673227839b830921cf
Fixes: 77946796
Test: visual
2018-04-23 11:37:26 +08:00
Bill Yi
159a9d3b42
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 77e716e463
-s ours
...
am: 993bc3fcc6
-s ours
Change-Id: Ie3f3ccfe4883b4c03787305b49886babaad498b0
2018-04-20 22:17:53 -07:00
Bill Yi
993bc3fcc6
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
...
am: 77e716e463
-s ours
Change-Id: I9696a4c10e97d66c36a4eaca2c1947cb528ecb01
2018-04-20 22:13:51 -07:00
TreeHugger Robot
77e716e463
Merge "Import translations. DO NOT MERGE" into pi-dev
2018-04-21 05:09:44 +00:00
TreeHugger Robot
cc821bc131
Merge "Import translations. DO NOT MERGE"
2018-04-21 04:58:43 +00:00
Fan Zhang
b1a9222dfb
[automerger skipped] Merge "Catch exception when failing to create slice" into pi-dev am: 524babb389
...
am: f060f89b6f
-s ours
Change-Id: I0ae2d9494634c7bb98b28a9022e4177f54a6414e
2018-04-20 20:37:34 -07:00
Matthew Fritze
04926f35b7
Merge "Add keywords to Slices" into pi-dev am: 2f911e2e9e
...
am: 21521826d9
Change-Id: I38d9efabcdecf3c40f1af28ecd167e58c2586ca7
2018-04-20 20:27:02 -07:00
Fan Zhang
f060f89b6f
Merge "Catch exception when failing to create slice" into pi-dev
...
am: 524babb389
Change-Id: Iecb03d8889bb0a1b6f6f43f3b28070bfcc429dff
2018-04-20 19:24:45 -07:00
TreeHugger Robot
524babb389
Merge "Catch exception when failing to create slice" into pi-dev
2018-04-21 02:03:49 +00:00