Eric Schwarzenbach
c069669ddf
Fix "Add Network" button on SavedAccessPoints page.
...
The old onSubmit was a no-op. It now correctly pipes onSubmit to
WifiManager#save() with the new WifiConfiguration. On successful save,
it displays the new network in the list, and on failure, it displays a
toast indicating that the save action failed. Adds a test for the
WifiDialog behaviors on this page.
Bug: 66177765
Test: make RunSettingsRoboTests, manual - tested with Wifi enabled and
disabled, and with networks that were visible and not.
Change-Id: I27446aa49bc9efaf1ea1d6c6158928b62ce01ba2
Merged-In: I27446aa49bc9efaf1ea1d6c6158928b62ce01ba2
2017-10-02 15:05:59 -07:00
Bill Yi
2032410de4
Import translations. DO NOT MERGE
...
am: 6fe50e7224 -s ours
Change-Id: I2ac5d233d10ca35a6d8ed24b29f8eb05fe4bba9c
2017-10-02 19:09:02 +00:00
Carsten Hauge
143b31959b
Merge "Avoid NullPointerException when updating preference intents" am: c4b0fa5858 am: f38ed428dc
...
am: 5d2919907b
Change-Id: I542ba13fe05f1027e0199c2a57ade93c6dd0bccb
2017-10-02 18:10:49 +00:00
Carsten Hauge
5d2919907b
Merge "Avoid NullPointerException when updating preference intents" am: c4b0fa5858
...
am: f38ed428dc
Change-Id: I3fcc041677b4d739952902076184a8fa1dd73dad
2017-10-02 18:06:32 +00:00
Carsten Hauge
f38ed428dc
Merge "Avoid NullPointerException when updating preference intents"
...
am: c4b0fa5858
Change-Id: I403d380ebfbbb0c70fdf5b6c9ff51267a5163e6f
2017-10-02 18:03:40 +00:00
Treehugger Robot
c4b0fa5858
Merge "Avoid NullPointerException when updating preference intents"
2017-10-02 17:56:02 +00:00
Bill Yi
6fe50e7224
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: Ib580d3bc9d6b979d5da92cc4ef3f207acdfaa48e
2017-10-02 08:23:49 -07:00
Carsten Hauge
f35cb6bc91
Avoid NullPointerException when updating preference intents
...
Comparisons changed on the intent action. Sometimes an account
preference intent does not have an action specified.
Fixes: 67075850
Test: manual - go to Settings > Users & accounts and tap an account.
Change-Id: I54cebbc983b55aa1487a122d37ccd5c79bbf519d
2017-10-02 02:01:49 +00:00
songkailun
806af289e8
Merge "Fix wrong format in AndroidManifest.xml" am: de795d12d1 am: 39ddac51b6
...
am: 109d0bafd4
Change-Id: I8aa124be1d911d0fd72df1596436514231cc6fd6
2017-09-29 19:04:56 +00:00
songkailun
109d0bafd4
Merge "Fix wrong format in AndroidManifest.xml" am: de795d12d1
...
am: 39ddac51b6
Change-Id: Ife3991761d4fcbf5cecdb6745536f9ed99069a2e
2017-09-29 14:46:23 +00:00
songkailun
39ddac51b6
Merge "Fix wrong format in AndroidManifest.xml"
...
am: de795d12d1
Change-Id: I443534ac7e122e337102d41c4138a0e94be72f7f
2017-09-29 09:37:17 +00:00
Treehugger Robot
de795d12d1
Merge "Fix wrong format in AndroidManifest.xml"
2017-09-29 06:45:30 +00:00
songkailun
7d2a5901f7
Fix wrong format in AndroidManifest.xml
...
N/A
Change-Id: Idf3b9c22e65d15013f5e3e2f5a1e9719d35ede3a
Signed-off-by: songkailun <songkailun@xiaomi.com >
2017-09-29 09:42:05 +08:00
Bill Yi
532f150227
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
...
am: d5b9fec389 -s ours
Change-Id: Iec1b837215cf09e1904287f9eee0082fa4f00097
2017-09-28 19:33:32 +00:00
TreeHugger Robot
d5b9fec389
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
2017-09-28 19:17:32 +00:00
Bill Yi
fe3b62fd1e
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: If92f24f85c26217b251503d846183f80da8b75ba
2017-09-27 19:51:32 -07:00
jackqdyulei
da9247d645
Merge "Hide summary for type system" into oc-mr1-dev
...
am: aadee0997c
Change-Id: I99a8cfefe4253ee223b91d2a3e0b9e7721e73ee4
2017-09-28 02:17:08 +00:00
TreeHugger Robot
aadee0997c
Merge "Hide summary for type system" into oc-mr1-dev
2017-09-28 02:11:54 +00:00
Doris Ling
eccb0fcff9
Merge "Move listening to brightness changes to onStart/onStop." into oc-mr1-dev
...
am: d52c4482e4
Change-Id: I2206805a6b9dada11576a6e6667980585acc8472
2017-09-28 02:05:10 +00:00
TreeHugger Robot
d52c4482e4
Merge "Move listening to brightness changes to onStart/onStop." into oc-mr1-dev
2017-09-28 01:58:47 +00:00
Chien-Yu Chen
f0c328ed78
Settings: Show HAL HDR+ option in user build
...
am: 4d26fa03a8
Change-Id: I9b94c91b0a212ca727b9ba2ee7fc75902f2590e4
2017-09-27 23:33:01 +00:00
Chien-Yu Chen
4d26fa03a8
Settings: Show HAL HDR+ option in user build
...
Test: CameraHalHdrplusPreferenceControllerTest
Bug: 66919557
Change-Id: I02e89d34db56398e64e12616f34b8584df25c48b
2017-09-27 14:03:12 -07:00
Bill Yi
bcac4b4c7b
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
...
am: 56555e0403 -s ours
Change-Id: Ic83e7a755169fb3a2336c2f8d9489c22619ba46c
2017-09-27 02:55:05 +00:00
TreeHugger Robot
56555e0403
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
2017-09-27 02:50:26 +00:00
Lei Yang
255b8a219a
Merge "Fix "Set up Wi-Fi NFC Tag" dialog cannot be scrolled" am: d2f42970bf am: a40f7c0f5e
...
am: 17b5110539
Change-Id: I5d6198eca00d835e46d90c28e51251fbfd0cbd57
2017-09-26 23:43:48 +00:00
Lei Yang
17b5110539
Merge "Fix "Set up Wi-Fi NFC Tag" dialog cannot be scrolled" am: d2f42970bf
...
am: a40f7c0f5e
Change-Id: Id39f30a8d87b5798f12c7e4129351f8735e61c6d
2017-09-26 23:39:35 +00:00
Bill Yi
e566ed9e17
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: I55b6e616f1dd402c1c0cb7d17f593d4b7d904d85
2017-09-26 16:36:49 -07:00
Lei Yang
a40f7c0f5e
Merge "Fix "Set up Wi-Fi NFC Tag" dialog cannot be scrolled"
...
am: d2f42970bf
Change-Id: Iecac3e7e8a04356f377a2d8886bb86f70c0ab96e
2017-09-26 23:35:26 +00:00
Treehugger Robot
d2f42970bf
Merge "Fix "Set up Wi-Fi NFC Tag" dialog cannot be scrolled"
2017-09-26 23:21:44 +00:00
Lei Yang
58fca6385a
Fix "Set up Wi-Fi NFC Tag" dialog cannot be scrolled
...
"Set up Wi-Fi NFC Tag" dialog cannot be scrolled and "Show password"
is not displayed when setting Font size and Display size to Largest.
To fix this issue, ScrollView should be added.
Fixes: 66936807
Test: manual - long tap a connected Wi-Fi AP and
tap "Write to NFC tag".
Change-Id: I3edcf3c2b9db47319e18405066bcb835b064b690
2017-09-26 10:20:29 +00:00
Rajeev Kumar
49034b4796
Get rid of unnecessary KEY_RESTRICT_BACKGROUND preference.
...
am: 298ffee39e
Change-Id: Ia322a81e7fa521679d57a5d654c17af148e1ed68
2017-09-26 08:00:58 +00:00
Colin Cross
b4e93fe704
Merge "Remove unnecessary core-oj library" am: a37bf5616a am: 00c0d436f4
...
am: d3802f9ff4
Change-Id: Ic4a6b40e2ff4a8a232b2f60c61765757262b2120
2017-09-26 01:27:39 +00:00
Colin Cross
d3802f9ff4
Merge "Remove unnecessary core-oj library" am: a37bf5616a
...
am: 00c0d436f4
Change-Id: I88adb043f9fbd9d35ff4ba49c15bddb8125c7b1c
2017-09-26 01:23:12 +00:00
Colin Cross
00c0d436f4
Merge "Remove unnecessary core-oj library"
...
am: a37bf5616a
Change-Id: I9a2fa6cb15e5a908f37f6a85967f93419f5e22db
2017-09-26 01:18:50 +00:00
Treehugger Robot
a37bf5616a
Merge "Remove unnecessary core-oj library"
2017-09-26 01:12:30 +00:00
Rajeev Kumar
298ffee39e
Get rid of unnecessary KEY_RESTRICT_BACKGROUND preference.
...
This preference is not needed for Data plan settings page. This change
fixes the NPE which happens because we try to remove a preference which
is not added to the settings preference fragment.
Test: make RunSettingsRoboTests -j40
Bug: 64068792
Change-Id: Ibbcf1637b8aed1a94542ea3786170f2f318df4a9
2017-09-25 11:34:10 -07:00
Adrian Roos
fce69dbb56
Merge "FRP: Fix positioning of cancel button in ConfirmCredential screens with internal theme" into oc-mr1-dev
...
am: eafcc98ab8
Change-Id: I3da818a64d47a397c2380cbd0ae36a714612d8f0
2017-09-25 11:17:22 +00:00
TreeHugger Robot
eafcc98ab8
Merge "FRP: Fix positioning of cancel button in ConfirmCredential screens with internal theme" into oc-mr1-dev
2017-09-25 11:11:53 +00:00
Colin Cross
6be287a209
Remove unnecessary core-oj library
...
core-oj is part of the default java libraries and should not be
explicitly included by a package.
Test: m -j checkbuild
Change-Id: Idccd326ebbbfb9121ce556037e79c173bfd08580
2017-09-23 22:09:31 -07:00
Ng Zhi An
7c94fcc9bc
Merge "Reflect device encryption status" into oc-mr1-dev
...
am: 3de3cf85f4
Change-Id: I0c64feb4eaa3b675cf0e6269279da04fe220f323
2017-09-23 00:32:05 +00:00
TreeHugger Robot
3de3cf85f4
Merge "Reflect device encryption status" into oc-mr1-dev
2017-09-23 00:28:27 +00:00
Soroosh Mariooryad
2aab11772d
Fix ANR issue caused by sharedpref commit() on suggestion event logging
...
Test: RunSettingsRoboTests
Fixes: 66719302
Change-Id: I5e99a279d5c72409b8ca982148396f7d1e0d46b7
2017-09-22 16:10:13 -07:00
jackqdyulei
0b6a3bc9c4
Hide summary for type system
...
Bug: 66573821
Test: RunSettingsRoboTests
Change-Id: I9d0f829cbe3577665d1c3d593e2ae95c0bbfa8b6
2017-09-22 13:45:51 -07:00
Winson Chung
078d01c8c1
Merge "Fixing issue with PiP settings not showing apps for other profiles." into oc-mr1-dev
...
am: 625b1dd13a
Change-Id: I5904804d9407a279de508fc8e071bc4132856545
2017-09-22 20:43:39 +00:00
Winson Chung
625b1dd13a
Merge "Fixing issue with PiP settings not showing apps for other profiles." into oc-mr1-dev
2017-09-22 20:30:28 +00:00
Alison Cichowlas
6c76550a73
Notification importance/selected sound conflict fixes.
...
am: ad1158169c
Change-Id: I7b921e8845bcd549790318cc074838a24fe22182
2017-09-22 18:23:34 +00:00
Ng Zhi An
f0c0320c82
Reflect device encryption status
...
On the Settings & Location settings page, the
encryption_and_credential preference will statically show
"Phone encrypted" regardless of encryption status of phone.
This change changes Settings to check for encryption status
of the phone and update the summary as required.
This requires adding a string saying that the device is not encrypted.
And translations will have to happen after this is merged.
Change-Id: I2f5bd281d8f1ed32801446fcdd453ebbaa04bd32
Bug: 65535239
Fixes: 65535239
Test: manual, I had a gobo phone that was not encrypted,
made sure that it said "Phone not encrypted", then tap through
to encrypt phone, and then check that it is now "Phone encrypted".
2017-09-22 09:48:43 -07:00
Alison Cichowlas
ad1158169c
Notification importance/selected sound conflict fixes.
...
- When you've selected "Silent" as your sound, update notification
importance messaging to match.
- When you explicitly move from a silent type of notifications to a
loud type, but have "Silent" selected as the sound, change the
sound to the default notification sound also.
Change-Id: I462785d593e1d6c7d1e87388aeee1bdcbcf6aa3d
Fixes: 63109928
Test: RunSettingsRoboTests, manual
2017-09-22 10:55:27 -04:00
Adrian Roos
d5e3c38bbe
FRP: Fix positioning of cancel button in ConfirmCredential screens with internal theme
...
Change-Id: I152a777b60ac6bfb4c8e1399e31cc0d4b2ab9758
Fixes: 65408626
Test: manual
2017-09-22 13:28:54 +02:00
Ng Zhi An
a81e3e3c8e
Fix icon for sim card in settings
...
am: 097f4184fa
Change-Id: Ifdd84f460091d4d9e3310e70c31199c29320ecd6
2017-09-22 06:35:24 +00:00