Commit Graph

37816 Commits

Author SHA1 Message Date
Bonian Chen
83b2253048 [Settings] Settings within each SIM not been displayed to the user
The display of content is in majority depending on the callback result
of SIM card (in order to display the content).

However, to reduce the number of access of SubscriptionManager and
improve performance, a proxy has been design in between to reduce the
traffic and the latency required.

Within this situation, content didn't get displayed when Activity get
restarted since Proxy avoid to reduce the traffic through reducing the
callback to the Activity and even not generating request for update when
Activity resume.

Bug: 188982508
Test: local & unit test
Change-Id: Ia3b946a853f87a469ce07a398f3811f605d38f1d
2021-07-13 06:58:10 +00:00
Bonian Chen
263c3eab44 Merge "[Settings] Hide subscriptions not existed within device" into sc-dev am: 9c1e8b7ccd am: 0cce02c985
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15220210

Change-Id: Iba5db461202a139d583f122bd4ef5048c0e20085
2021-07-13 06:30:35 +00:00
Bonian Chen
14e3cf37f7 Merge "[Settings] Hide subscriptions not existed within device" into sc-dev am: 9c1e8b7ccd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15220210

Change-Id: I17ab0779c169ec63959325a752abe9f20151155e
2021-07-13 06:21:28 +00:00
Bonian Chen
0cce02c985 Merge "[Settings] Hide subscriptions not existed within device" into sc-dev am: 9c1e8b7ccd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15220210

Change-Id: Ic019f1fb87a4f37c547c16aa6fb5189d108b3ff0
2021-07-13 06:17:04 +00:00
Rajeev Kumar
41af063858 Merge "Enable hibernation by default for Settings" into sc-dev am: 6311d1fe0d am: 2a5fb15097
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15167350

Change-Id: I09b4e8d3c90d2c4f89348bae948cb069ea721ec5
2021-07-13 06:09:09 +00:00
Bonian Chen
9c1e8b7ccd Merge "[Settings] Hide subscriptions not existed within device" into sc-dev 2021-07-13 06:08:17 +00:00
Rajeev Kumar
21d1d772a2 Merge "Enable hibernation by default for Settings" into sc-dev am: 6311d1fe0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15167350

Change-Id: Idf6f326627419c2952d3b14dbc61c69ffb640e7d
2021-07-13 05:49:51 +00:00
Rajeev Kumar
2a5fb15097 Merge "Enable hibernation by default for Settings" into sc-dev am: 6311d1fe0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15167350

Change-Id: Ia9fa607e0a9fe4cba4d425a634659676e6af09c6
2021-07-13 05:48:59 +00:00
Rajeev Kumar
6311d1fe0d Merge "Enable hibernation by default for Settings" into sc-dev 2021-07-13 05:35:34 +00:00
Curtis Belmonte
68c12f2e04 Add "eyes open" setting message to face enroll intro
Adds an additional message about the "Require eyes to be open" setting
for Face Unlock to the intro/consent screen of enrollment, gated by a
config flag.

Test: Manual

Bug: 192272785
Change-Id: Idcd2395a290b74f4578898fdfebd05b81cd74075
2021-07-12 17:05:45 -07:00
Bill Yi
7976c5bc51 Merge RQ3A.210705.001 to aosp-master - DO NOT MERGE
Merged-In: Ie37d07ed9cbce12b9dcd39b332ed2ae66f3edf6c
Merged-In: I777bae14ea865ecf1607e1d660fe3102a9b8fa6d
Merged-In: I777bae14ea865ecf1607e1d660fe3102a9b8fa6d
Change-Id: I0f793ed1ea64127903c6dc906c5afa1db15fff48
2021-07-12 11:08:29 -07:00
TreeHugger Robot
e47237f563 Merge "[Settings] Correct some typo" into sc-dev am: 5ab7e41f02 am: 04ab26b286
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15227881

Change-Id: Ifcf7e6ac5440bc12fc3e441e0f3fff848f0a81ba
2021-07-12 11:01:44 +00:00
TreeHugger Robot
04ab26b286 Merge "[Settings] Correct some typo" into sc-dev am: 5ab7e41f02
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15227881

Change-Id: I5332bed652128641d5cb23678a1336f6ac5aa3a9
2021-07-12 10:49:06 +00:00
TreeHugger Robot
e39365282c Merge "[Settings] Correct some typo" into sc-dev am: 5ab7e41f02
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15227881

Change-Id: I4f3a2d73374a9e51ea1da147d734b12e96767e0b
2021-07-12 10:48:08 +00:00
TreeHugger Robot
5ab7e41f02 Merge "[Settings] Correct some typo" into sc-dev 2021-07-12 10:39:07 +00:00
Bonian Chen
a239a6c53a [Settings] Hide subscriptions not existed within device
For non-active subscriptions, the one inserted in slot
but turned off need to be visible to the user. However,
the one un-plugged need to be invisble.

Since SubscriptionUtil#getSelectableSubscriptionInfoList() didn't cover all the cases required. Create this one to fit into the criteria required here.

Note: subscriptions with same group UUID will be displayed seperately.

Bug: 191228344
Test: local
Change-Id: Ia68c23b007164b7520456cb6c7427ca142558b59
(cherry picked from commit 75f1450bbf)
(cherry picked from commit 0726f263a8)
2021-07-12 17:32:59 +08:00
SongFerng Wang
048b174024 Merge "Fix internet panel doesn't show data rat after dds changed" into sc-dev am: cf327ae5ba am: fd3e430c52
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15222851

Change-Id: I93423015c63dab201502fca8872b5e6d6c37faeb
2021-07-09 18:14:40 +00:00
SongFerng Wang
fd3e430c52 Merge "Fix internet panel doesn't show data rat after dds changed" into sc-dev am: cf327ae5ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15222851

Change-Id: If41e1fba7f40d06f31707fb5c8692accad580767
2021-07-09 18:00:58 +00:00
SongFerng Wang
f407616398 Merge "Fix internet panel doesn't show data rat after dds changed" into sc-dev am: cf327ae5ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15222851

Change-Id: I886d0112022c82460d3a26b943502ed07f2d0a0c
2021-07-09 18:00:02 +00:00
SongFerng Wang
cf327ae5ba Merge "Fix internet panel doesn't show data rat after dds changed" into sc-dev 2021-07-09 17:47:13 +00:00
SongFerngWang
f7073adf80 Fix internet panel doesn't show data rat after dds changed
The internet panel does not listen dds changed.

Bug: 193029917
Test: atest NetworkProviderWorkerTest
Change-Id: I58544ec2fd3f2bba5c6590ce54bcf68d0c83b06b
2021-07-09 20:16:04 +08:00
TreeHugger Robot
e79f0fd9d7 Merge "Fix the flickering on display/font size page" into sc-dev am: 11c602bdf2 am: d968e76fc1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15233450

Change-Id: Idb1e60b14ab9a65a0a8f69f77a8ca5cc39178cae
2021-07-09 09:25:12 +00:00
TreeHugger Robot
d968e76fc1 Merge "Fix the flickering on display/font size page" into sc-dev am: 11c602bdf2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15233450

Change-Id: Ia0252f66841e0513b1e88623a174616844fc1df2
2021-07-09 09:15:43 +00:00
TreeHugger Robot
d33c3c4886 Merge "Fix the flickering on display/font size page" into sc-dev am: 11c602bdf2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15233450

Change-Id: I6e030882c3082556ce30218c6d206b2240bfddaa
2021-07-09 09:14:51 +00:00
TreeHugger Robot
11c602bdf2 Merge "Fix the flickering on display/font size page" into sc-dev 2021-07-09 09:00:40 +00:00
TreeHugger Robot
bdbbadf046 Merge "Fix it will auto switch back to "No data transfer" after selecting "USB Tethering"" into sc-dev am: b4dccf9b8e am: 7cbff10736
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15221930

Change-Id: Ia6407c21cb162fcc32f2891ae4e548f9b1a10896
2021-07-09 08:36:16 +00:00
TreeHugger Robot
7cbff10736 Merge "Fix it will auto switch back to "No data transfer" after selecting "USB Tethering"" into sc-dev am: b4dccf9b8e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15221930

Change-Id: I706d0ad598acd587e616903a9242c10c29078ab8
2021-07-09 08:23:35 +00:00
TreeHugger Robot
70edc357a9 Merge "Fix it will auto switch back to "No data transfer" after selecting "USB Tethering"" into sc-dev am: b4dccf9b8e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15221930

Change-Id: I84efecbce455f3d0879db85b7a313ae1d0a14367
2021-07-09 08:22:13 +00:00
TreeHugger Robot
b4dccf9b8e Merge "Fix it will auto switch back to "No data transfer" after selecting "USB Tethering"" into sc-dev 2021-07-09 08:07:37 +00:00
Tsung-Mao Fang
f9ff6344e4 Fix the flickering on display/font size page
In framework design, framework needs to have a snapshot
when there's a config change event since redrawing window
takes some time.
Flickering problem is caused by the timing issue between the
snapshot mechinsm and local preview update.

User can observe the flickering problem if config commit()->
snapshot in framework(old screenshot) -> app update the preview
-> snapshot(old screen) fade out.

To prevent this problem, we make sure that we update the local preview
first and then we do the commit later. In this proposal, snapshot action
is able to get the new snaptshot for the new preview.

So, the core workaround is commitOnNextFrame, we ask a delay before
we submit the commit(). Note: It doesn't matter that we use
Choreographer or main thread handler since the delay time is longer
than 1 frame. Use Choreographer to let developer understand it's a
window update.

Fix: 148192402
Test: manual test
Change-Id: I9bfc5eb39e7a9ebce2fe1414d6f0a9dd470708e8
2021-07-09 14:02:34 +08:00
Hugh Chen
112a638cba Fix it will auto switch back to "No data transfer" after selecting "USB Tethering"
Before this CL, the USB option didn't handle whether FUNCTION_NCM
existed in the intent extra when tethering was started which resulted
in some devices that enable NCM will have incorrect UI.

This CL added a condition to check whether FUNCTION_NCM existed in the
intent extra or not to fix this UI issue.

Bug: 192046902
Test: make -j42 RunSettingsRoboTests
Change-Id: Icb8548409930d59dc3a08c25e418c9a1ddb9f33c
2021-07-09 10:52:50 +08:00
TreeHugger Robot
c7fe39e102 Merge "Include new "dex2oat64" process to map into App Optimization name" into sc-v2-dev am: 550187d84b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15229962

Change-Id: Ic7c04f4cb93ebed1aeae86dc651d68577123721c
2021-07-08 22:46:13 +00:00
TreeHugger Robot
550187d84b Merge "Include new "dex2oat64" process to map into App Optimization name" into sc-v2-dev 2021-07-08 22:32:13 +00:00
Pyuli Naithani
0c6cfcfb55 Merge "Add stats log for sensor privacy." into sc-dev am: c0302ab306 am: c84cc4e1fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15193345

Change-Id: I0b2b3f4d1aad8c426d20126ad70863cacad55652
2021-07-08 17:39:33 +00:00
Pyuli Naithani
8ca543ca17 Merge "Add stats log for sensor privacy." into sc-dev am: c0302ab306
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15193345

Change-Id: I9121f7f700154679bf0320b3d0fa43430966b4aa
2021-07-08 17:31:21 +00:00
Pyuli Naithani
c84cc4e1fe Merge "Add stats log for sensor privacy." into sc-dev am: c0302ab306
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15193345

Change-Id: Id5b83cb13834554406fccbc6bf712981eaef404b
2021-07-08 17:28:52 +00:00
Pyuli Naithani
c0302ab306 Merge "Add stats log for sensor privacy." into sc-dev 2021-07-08 17:24:52 +00:00
ykhung
d76c12f69c Include new "dex2oat64" process to map into App Optimization name
Bug: 191991503
Test: make SettingsRoboTests
Change-Id: Ib392ed3adf7fe37fdaf73076dd1c3cd8361468eb
2021-07-09 00:19:31 +08:00
TreeHugger Robot
6482e5e1c1 Merge "Hide the entire progress header in Internet Settings" into sc-dev am: 2d90a6321a am: 630448d833
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15215910

Change-Id: I9fb2cd1cfaae19361de4abaf5d6424a8c0c1e9a8
2021-07-08 15:48:12 +00:00
TreeHugger Robot
630448d833 Merge "Hide the entire progress header in Internet Settings" into sc-dev am: 2d90a6321a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15215910

Change-Id: I51425b5d5d019c0cbd894707eb25c5024fc19d56
2021-07-08 15:36:27 +00:00
TreeHugger Robot
7cd80a4304 Merge "Hide the entire progress header in Internet Settings" into sc-dev am: 2d90a6321a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15215910

Change-Id: Ic89fdc0b534a45d05c9ce217d1689640c0eca8c8
2021-07-08 15:35:32 +00:00
TreeHugger Robot
2d90a6321a Merge "Hide the entire progress header in Internet Settings" into sc-dev 2021-07-08 15:21:25 +00:00
SongFerng Wang
1c1a6e5126 Merge "Network selection add NGRAN when device support SA" into sc-dev am: a73d199d5e am: 91bf9af2ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15210394

Change-Id: I03e795d818cee49ec1c0a2d927eee4369bb513f1
2021-07-08 09:08:25 +00:00
SongFerng Wang
91bf9af2ee Merge "Network selection add NGRAN when device support SA" into sc-dev am: a73d199d5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15210394

Change-Id: I1a130cc44aba068c5f4bf8141e148ff8b6007ef6
2021-07-08 08:31:11 +00:00
SongFerng Wang
9f06b36b3b Merge "Network selection add NGRAN when device support SA" into sc-dev am: a73d199d5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15210394

Change-Id: I1dfb9507da126f8e25ba12535581d40801837d89
2021-07-08 08:30:06 +00:00
SongFerng Wang
a73d199d5e Merge "Network selection add NGRAN when device support SA" into sc-dev 2021-07-08 08:17:19 +00:00
Menghan Li
2b9a74170f Merge "Provides TC ID for accessibility framework feature for "shortcut" part" into sc-v2-dev am: 2ceb52ea6b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15186114

Change-Id: I2ed1e81347c404b77d8325337396fd6e4d22e170
2021-07-08 05:28:06 +00:00
Menghan Li
2ceb52ea6b Merge "Provides TC ID for accessibility framework feature for "shortcut" part" into sc-v2-dev 2021-07-08 05:15:27 +00:00
YUKAI HUNG
7c1696899b Merge "Add new method to get URI to monitor battery history data is updated" into sc-v2-dev am: ff823c65d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15218952

Change-Id: Ib8e91b84726f607d16e1b8dc144d853bf906ecf6
2021-07-08 03:28:08 +00:00
YUKAI HUNG
ff823c65d5 Merge "Add new method to get URI to monitor battery history data is updated" into sc-v2-dev 2021-07-08 03:15:18 +00:00