Commit Graph

46243 Commits

Author SHA1 Message Date
Peiyong Lin
add03324df Add developer option to opt-in updatable graphics driver.
am: 5a92a74f23

Change-Id: Ib73af7ac9e9e4e33d8a5eca24a5b76f60af77132
2019-04-17 14:04:05 -07:00
Peiyong Lin
5a92a74f23 Add developer option to opt-in updatable graphics driver.
To facilitate developers to develop their applications against the updated
graphics driver, we provide a developer option to select one application to
opt-in. The selected application will always use updated graphics driver by
default.

BUG: 119221883
Test: Build, flash, boot, select a game and verify with prototype.
Change-Id: I8c3905fd5c1cbfb3ce12e589b48f57396c7776e3
Merged-In: I8c3905fd5c1cbfb3ce12e589b48f57396c7776e3
2019-04-16 18:49:19 -07:00
Jordan Liu
1636344325 Merge "Do not reuse phonestatelistener"
am: c99fddfe75

Change-Id: I52e311da7ae9a9477b74fc25f6bb122935e14582
2019-04-15 12:37:48 -07:00
Jordan Liu
c99fddfe75 Merge "Do not reuse phonestatelistener" 2019-04-15 19:27:06 +00:00
Bill Yi
ad53ebb2da [automerger skipped] Merge "Import translations. DO NOT MERGE"
am: bea1ed8666 -s ours
am skip reason: subject contains skip directive

Change-Id: Iec39c3c20fdb63b908c40ca9273a17e1baef8612
2019-04-13 04:57:24 -07:00
Treehugger Robot
bea1ed8666 Merge "Import translations. DO NOT MERGE" 2019-04-13 11:45:22 +00:00
Bill Yi
691efb9036 Import translations. DO NOT MERGE
Change-Id: I3445f31f0d5fb57f93a26c58cc8686a453bb8c46
Auto-generated-cl: translation import
2019-04-13 03:41:31 -07:00
Jordan Liu
e431f6337f Do not reuse phonestatelistener
Due to b/117555407, the same PhoneStateListener object can not be used
to register on different subIds, so we workaround this by recreating
the PhoneStateListener when reregistering.

Fixes: 129989656
Test: manual
Change-Id: I9d6631da628351511e285afeb5b6d4331aaab7e5
Merged-In: I9d6631da628351511e285afeb5b6d4331aaab7e5
Merged-In: I7630e74a9361093d8cbe72fa72c14aaaab9fcc17
2019-04-12 17:26:10 +00:00
Brad Ebinger
c91d33798b Merge "Fix issue that user can't edit WFC mode for SIM2"
am: d2727d5d9f

Change-Id: I1bbbe7efe7f057dfcf55f9685f2b10ebd94e3f38
2019-04-10 16:17:17 -07:00
Brad Ebinger
d2727d5d9f Merge "Fix issue that user can't edit WFC mode for SIM2" 2019-04-10 21:57:56 +00:00
Amit Mahajan
afa7f96768 Merge "Treat mcx apn type as not wild-cardable."
am: 61841ba690

Change-Id: I422e025bcacbae3f0c52b71f3e21d3881a42d553
2019-04-09 17:32:34 -07:00
Amit Mahajan
61841ba690 Merge "Treat mcx apn type as not wild-cardable." 2019-04-10 00:08:43 +00:00
Amit Mahajan
ac0244e572 Treat mcx apn type as not wild-cardable.
Test: manual
Bug: 130167974
Merged-in: Ic3e643646491e5a187505fd54ca767ad91e285f5
Change-Id: Ic3e643646491e5a187505fd54ca767ad91e285f5
(cherry picked from commit 2fa0b7ed85)
2019-04-09 14:52:48 -07:00
sj.cha
2c0ba8b48e Merge "Fix code for NPE when click add and cancel repeatly VPN profile"
am: 70cae1ce8d

Change-Id: Ie18c7977bb0c48ba5f9524130cbe6649f8840153
2019-04-09 11:20:55 -07:00
Treehugger Robot
70cae1ce8d Merge "Fix code for NPE when click add and cancel repeatly VPN profile" 2019-04-09 17:46:23 +00:00
Malcolm Chen
d6875ddf82 Merge "Correct name of PRIMARY_SUBSCRIPTION_LIST_CHANGED."
am: bf857c7374

Change-Id: I2422f31d45e1b7242f8f73decd7eab5d4f33da3d
2019-04-08 16:06:13 -07:00
Treehugger Robot
bf857c7374 Merge "Correct name of PRIMARY_SUBSCRIPTION_LIST_CHANGED." 2019-04-08 21:53:58 +00:00
Malcolm Chen
e0cf5ece32 Correct name of PRIMARY_SUBSCRIPTION_LIST_CHANGED.
Correct name of PRIMARY_SUBSCRIPTION_LIST_CHANGED in manifest.
Also, make sure SimSelectNotification only listens to that intent.

Bug: 128645056
Test: manual
Change-Id: I008e5346ff1e015d1aa57ca31844426e33bd99b8
Merged-In: I008e5346ff1e015d1aa57ca31844426e33bd99b8
2019-04-08 12:52:04 -07:00
Lei Yu
544f60909b Merge "Settings: [BT] Wrong Pairing Popup is shown on new pairing request."
am: 11ce64450c

Change-Id: I1bf0ed7400e556f8f8f6ad3e7a4b58b383a67034
2019-04-05 11:09:52 -07:00
Lei Yu
11ce64450c Merge "Settings: [BT] Wrong Pairing Popup is shown on new pairing request." 2019-04-05 17:36:54 +00:00
Jordan Liu
7d59c48038 Merge "Make RadioInfo settings menu work for mSIM"
am: a85fa6c51d

Change-Id: I0c83baafa8d30638b26c5dce3f23c722d3628991
2019-04-04 15:03:03 -07:00
Hall Liu
2e5cc974dd Merge "Show the disclaimer for WFC emergency call limitation"
am: 2188a0040a

Change-Id: I51288ccdd1cee609ed5e6f159a7c4d6fc144d092
2019-04-04 14:59:19 -07:00
Treehugger Robot
a85fa6c51d Merge "Make RadioInfo settings menu work for mSIM" 2019-04-04 21:56:10 +00:00
Hall Liu
2188a0040a Merge "Show the disclaimer for WFC emergency call limitation" 2019-04-04 21:40:34 +00:00
Jordan Liu
b69e8f2615 Make RadioInfo settings menu work for mSIM
Just add a spinner to the top of the screen which lets you select the
phoneIndex. Upating this value updates the mTelephonyManager
mImsManager, and mPhoneStateListener to use the selected phoneIndex and
the subscription associated with it.

Also adds fields for current subId and default data sim subId.

Test: manual test
Fixes: 128033739
Change-Id: Id075e3bffe20523d8ceeb8f2e4320f995abdab55
Merged-In: Id075e3bffe20523d8ceeb8f2e4320f995abdab55
2019-04-04 10:54:53 -07:00
Xiangyu/Malcolm Chen
681bf8a664 Merge "Clean up a few names of Telephony intent extra."
am: 6bb737c5b9

Change-Id: I1a2232458ab8fd4a89c1ada1e5195bf346e31074
2019-04-03 16:25:05 -07:00
Xiangyu/Malcolm Chen
6bb737c5b9 Merge "Clean up a few names of Telephony intent extra." 2019-04-03 23:06:47 +00:00
Malcolm Chen
ae5d719382 Clean up a few names of Telephony intent extra.
Bug: 128645056
Test: build
Change-Id: I5d47b132abb722282bd10b9fbb362fb1f1d32f11
Merged-In: I5d47b132abb722282bd10b9fbb362fb1f1d32f11
2019-04-02 19:12:40 -07:00
Hao Zhang
459180e775 Show the disclaimer for WFC emergency call limitation
The emergency calls might not work properly via wifi calling, especially
in areas with no 2G/3G coverage. Display the disclaimer for the this
limitation when a user enabled the wifi calling setting.

Test: manual - Checked that the disclaimer for emergency call limitation
is shown when changing wifi calling setting to turned on.
Test: auto - Passed EmergencyCallLimitationDisclaimerTest.
Bug: 68115846

Change-Id: I881d479c1e02525ac614c66594637a5e0347d70c
Merged-In: I881d479c1e02525ac614c66594637a5e0347d70c
2019-04-02 20:06:20 +00:00
Hall Liu
fa412244c8 Merge "Show the disclaimer regarding WFC location privacy policy"
am: 5697a7e85d

Change-Id: Iddb15758aefffade3138d0d8c42a953d50640b14
2019-04-01 16:25:49 -07:00
Hall Liu
5697a7e85d Merge "Show the disclaimer regarding WFC location privacy policy" 2019-04-01 22:55:51 +00:00
Fan Zhang
3a19c32bfe Merge "WifiCallingSettingsForSubTest: Solve casting problem in setup"
am: 8877dc8fd0

Change-Id: I34fd41dfc4e12c069f78cb017f8f754a43689b74
2019-04-01 14:45:32 -07:00
Fan Zhang
8877dc8fd0 Merge "WifiCallingSettingsForSubTest: Solve casting problem in setup" 2019-04-01 21:11:38 +00:00
Xiangyu/Malcolm Chen
d42dcf04db Merge "Move SIM select logic from SimSelectNotification to Telephony."
am: 6fca0c9495

Change-Id: I85ec9746b8df4a5eb53d6e0fe7e29434f12ec812
2019-04-01 14:06:49 -07:00
Xiangyu/Malcolm Chen
6fca0c9495 Merge "Move SIM select logic from SimSelectNotification to Telephony." 2019-04-01 20:51:54 +00:00
Torbjorn Eklund
428ba7cde6 WifiCallingSettingsForSubTest: Solve casting problem in setup
Solves casting problem in WifiCallingSettingsForSubTest that causes all
tests in this file to fail in the setup-function.

The wfc mode buttons has changed from being a ListPreference to be a
ListWithEntrySummaryPreference. The test cases have now been updated
accordingly.

Problem was introduced by the following two patches that conflict with
each other. The test cases in WifiCallingSettingsForSubTest works
correctly when each patch is tested in isolation, but failed when they
were both merged:
73ffcf4999
8498436a96

Bug: 129545431
Test: make RunSettingsRoboTests \
ROBOTEST_FILTER=WifiCallingSettingsForSubTest
Change-Id: Ib6988e514bbad2023ba6cfc2e1d8734b68cabc31
2019-04-01 07:27:04 +00:00
Malcolm Chen
5cc16b2cc0 Move SIM select logic from SimSelectNotification to Telephony.
SimSelectNotification used to listen to SIM_STATE_CHANGED from Telephony
and do checkings to decide whether to pop up notification and
SimDialogActivity. The logic needs updated and only Telephony knows it
well. So this change moves the logic into Telephony. SimSelectNotification
only listens to Telephony's decision, brings up notification and trigger
SimDialogActivity.

Bug: 128645056
Test: sanity and manual
Change-Id: I6153e27dd00dd9cdf8682f135eb39f8af3a75608
Merged-In: I6153e27dd00dd9cdf8682f135eb39f8af3a75608
2019-03-29 14:42:48 -07:00
Sumit Deshmukh
b4bbe9488a Settings: [BT] Wrong Pairing Popup is shown on new pairing request.
Usecase:
1. Start advertising from DUT (using BLE Smartertooth app).
2. Scan and connect from central device.
3. Now initiate bond from central and accept pairing request.
   (Consent Pairing Dialog will be shown on DUT)
4. Notification will be received for PASSKEY CONFIRMATION Dialog.
   Do not open notification and let it timeout.
5. Repeat steps 2 and 3. At step 3, Passkey Confirmation pairing
   dialog is show instead of Consent pairing dialog.

Issue:
Wrong Pairing Popup is shown. Passkey Confirmation pairing
dialog is show instead of Consent pairing dialog.

Reproducible Rate: 100%

Root Cause:
PendingIntent created for showing pairing notification are getting
reused as only FLAG_ONE_SHOT is used. This flag is not updating new
extra's in the pending intent.

Fix:
Use flag FLAG_UPDATE_CURRENT in pending Intent.

Test: Tested above mentioned testcase and pairing scenarios.

Bug: 129456113

Change-Id: I46813f355cd796cee1b472774b494c8580b39784
2019-03-28 11:11:38 +00:00
Qingxi Li
bd5f4328f5 [automerger skipped] Merge "[DO NOT MERGE] Fix the typo of the error message of eSIM reset"
am: bdef91f964 -s ours
am skip reason: subject contains skip directive

Change-Id: I362517c36ff77b36336fcc52a684dd29b50bab94
2019-03-27 17:46:52 -07:00
Treehugger Robot
bdef91f964 Merge "[DO NOT MERGE] Fix the typo of the error message of eSIM reset" 2019-03-28 00:27:30 +00:00
Qingxi Li
6f096fd706 [DO NOT MERGE] Fix the typo of the error message of eSIM reset
Bug: 129085179
Test: N/A
Change-Id: Iad8fdc7368a4d91aff9eb3035bfe91592d6bce1b
2019-03-27 23:32:28 +00:00
sj.cha
36b314c6e0 Fix code for NPE when click add and cancel repeatly VPN profile
Symptom: NPE is happened when click add and cancel repeatly VPN profile

Root Cause: Exception handling for ConfigDialog object

Steps to reproduce :
1. Go to VPN menu in Settings without Secure LockScreen
2. Click add VPN profile button
3. Keyguard dialog show
4. Click cancel button
5. Repeat 2 - 4 step

Test: refer a "Steps to reproduce"

Solution: Add exception handling for ConfigDialog object. This is a very rare case. But exception handling code should be needed.

Signed-off-by: SangJin Cha <sj.cha@lge.com>
Change-Id: I4c680b383f94c86a1c806d986e56f9f00d2be10e
2019-03-27 09:19:33 +09:00
Yong Shi
cfb4ca74c1 Show the disclaimer regarding WFC location privacy policy
In some countries the rules is very strict about responsibility and
liability around location data during emergency calls. The purpose of
this feature is to notify end user that the location information will
be shared for calls over wifi calling.

Test: manual - Checked that WFC locatopn privacy policy is shown when
changing wifi calling setting to turned on.
Test: auto - Passed LocationPolicyDisclaimerTest.
Bug: 67872298

Change-Id: I03895743fb8da95269069ad7eda9a7b3e282857e
Merged-In: I03895743fb8da95269069ad7eda9a7b3e282857e
2019-03-25 23:33:17 +00:00
Lucas Lin
8701e18275 Merge "Modify dialog message for partial connectivity"
am: f467ee4a28

Change-Id: I9a022578e14327bfe98a3efa74a99d9f623a031e
2019-03-21 18:31:47 -07:00
Lucas Lin
f467ee4a28 Merge "Modify dialog message for partial connectivity" 2019-03-22 01:16:42 +00:00
lucaslin
411435b669 Modify dialog message for partial connectivity
In some networks, network validation may only get success
result for http probe but fail result for https probe.
For this kind of network, it may still work at some websites
or apps, but user didn't know about that. In order to fix this
issue, we will check if network has partial connectivity and
notify user to make a choice if they want to use this partial
connectivity or not.

Bug: 113450764
Bug: 128489091
Test: 1. Build pass.
      2. make -j44 RunSettingsRoboTests
      ROBOTEST_FILTER=WifiDetailPreferenceControllerTest
      3. Change captive_portal_https_url to https://invalid.com
      to simulate partial connectivity.

Change-Id: I0e87f6f2ede173f45a7b6fcf842b4f9a83d8efa1
Merged-In: I0e87f6f2ede173f45a7b6fcf842b4f9a83d8efa1
2019-03-21 12:10:02 +08:00
Brad Ebinger
76b4661f56 Merge "Do not show Provisioning items for IMS if it is not enabled."
am: be10b45fe6

Change-Id: Ie8c404d980d7437550019fccdcac0868fa5d845d
2019-03-18 13:29:25 -07:00
Brad Ebinger
be10b45fe6 Merge "Do not show Provisioning items for IMS if it is not enabled." 2019-03-18 17:35:27 +00:00
Hall Liu
257e6f71ee Merge "Base implementation of WFC disclaimer UI"
am: 7e2c23aa0d

Change-Id: Ib89de5bf801b6669795e7c49010136a0e966324a
2019-03-15 17:33:26 -07:00
Hall Liu
7e2c23aa0d Merge "Base implementation of WFC disclaimer UI" 2019-03-16 00:23:23 +00:00