Commit Graph

52597 Commits

Author SHA1 Message Date
TreeHugger Robot
51eeea8680 Merge "Secure => global bubble settings pt 2" into qt-r1-bubbles-dev 2019-07-15 18:04:34 +00:00
Bill Yi
d6c2681911 [automerger skipped] Import translations. DO NOT MERGE am: 8d229d7090 -s ours
am: 09be23ffaa -s ours
am skip reason: subject contains skip directive

Change-Id: Ibe55cf198621fef719bb27d1d7773a724458dfda
2019-07-15 01:28:12 -07:00
Bill Yi
09be23ffaa [automerger skipped] Import translations. DO NOT MERGE
am: 8d229d7090 -s ours
am skip reason: subject contains skip directive

Change-Id: I4989ac93f690299f130945cc4b2ae4984974345f
2019-07-15 01:21:17 -07:00
Bill Yi
8d229d7090 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I9ecaff62cfd0370a1ff7e5f6eb36a871c8486dee
2019-07-14 22:26:37 -07:00
Bill Yi
d1002fc748 [automerger skipped] Import translations. DO NOT MERGE
am: 941e94d689 -s ours
am skip reason: subject contains skip directive

Change-Id: I6e5471fb31bd2e5820f5f4930d33c016e99edd65
2019-07-14 21:51:26 -07:00
Bill Yi
941e94d689 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Id33f437d9b802519be1544de7616b3a5b0528680
2019-07-13 22:19:58 -07:00
Lyn Han
a978ab4526 Secure => global bubble settings pt 2
Follow up to http://ag/8222583
- Replace references to Secure.NOTIFICATION_BUBBLES with
Global.NOTIFICATION_BUBBLES

Fixes: 136034310
Bug: 129158983
Test: atest SystemUITests
Test: manual - work profile bubbles show up
Change-Id: I03ffd7f1126f2c20d819f741cd4f7dcced81a405
2019-07-12 11:32:39 -07:00
Andrew Sapperstein
6971e3d4cc Merge "Fix erasing of eSIMs for some devices" into qt-dev am: 1f942d9857
am: 44f731c1c7

Change-Id: I5f6f9c95d0495c09f3514e7356ed7409ffd9eb7e
2019-07-11 20:59:39 -07:00
Andrew Sapperstein
44f731c1c7 Merge "Fix erasing of eSIMs for some devices" into qt-dev
am: 1f942d9857

Change-Id: I44e11b7a63c329883b01dc03f820e807c15953cf
2019-07-11 20:51:32 -07:00
Andrew Sapperstein
1f942d9857 Merge "Fix erasing of eSIMs for some devices" into qt-dev 2019-07-12 03:13:39 +00:00
joshmccloskey
5c571b8896 Ensure feature is supported and enabled.
am: a96a84e256

Change-Id: Ie607b615a64665c91cccffc50901c8099c0413ca
2019-07-11 14:56:08 -07:00
joshmccloskey
a96a84e256 Ensure feature is supported and enabled.
Fixes: 137285390
Test: Verified that SecuritySettings no longer crashes.
Test: Verified that this PrefenceController no longer shows up
if the device does not support it.
Test: Verified that this PreferenceController no longer
shows up when the work profile is disabled.

Change-Id: I10f015e18491b203db6f942f07034d55f620cfe5
2019-07-11 21:31:31 +00:00
joshmccloskey
cab111d8a5 Update FaceSlice to use correct pref & FaceManager
am: 365beaebdb

Change-Id: If26b32c83bfbda5f6268985c4d8812ff25d76e05
2019-07-11 14:05:56 -07:00
Antony Sargent
5f612a4b44 Fix erasing of eSIMs for some devices
Doing a factory data reset used to always erase eSIMs. Then a few months
ago we added a default-on checkbox to let users opt out of erasing the
eSIM during this process, but only had it show for some devices (ones
which support the "fastboot oem esim_erase" command) by adding a system
property named masterclear.allow_retain_esim_profiles_after_fdr.

When recently updating the strings shown in the factory data reset
screen and the confirmation dialog, we changed the code so that if that
the checkbox is hidden we'll pass false for the ERASE_ESIMS_EXTRA
parameter sent to the factory data reset confirmation dialog. This had
the unintended side effect of making devices that don't specify true for
masterclear.allow_retain_esim_profiles_after_fdr skip erasing the eSIM.

This CL fixes that by removing the "is the checkbox hidden" check, going
back to the previous behavior of just using the checkbox value, which is
on by default even if hidden.

Fixes: 135284765
Test: make RunSettingsRoboTests
Change-Id: Ia9f335920e4e3c4a90f0a6a49d1722a0c19ea83d
2019-07-11 20:23:58 +00:00
joshmccloskey
365beaebdb Update FaceSlice to use correct pref & FaceManager
Fixes: 137137134
Test: Manual.
Change-Id: Idc707a7d2009975f81902867e4c37a8ee5775700
2019-07-11 16:28:21 +00:00
Bill Yi
a037c5b89e [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: 433e625341 -s ours
am: 3e9da03d0c -s ours
am skip reason: subject contains skip directive

Change-Id: Iad91c18121a564cc1ef7a6f0b704c16a7fa37c06
2019-07-11 03:16:27 -07:00
Bill Yi
3e9da03d0c [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 433e625341 -s ours
am skip reason: subject contains skip directive

Change-Id: Ic5c4e1030a1f9907e3274be1a14c49d30783d839
2019-07-11 03:10:27 -07:00
TreeHugger Robot
433e625341 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-07-11 09:54:20 +00:00
tmfang
9b961232be Improve Settings launch performance am: 496d3f6f9c
am: 49d575b91c

Change-Id: I36d43b032a7ac815c680b1b875e0d7b5cf5e7e96
2019-07-11 01:12:16 -07:00
tmfang
49d575b91c Improve Settings launch performance
am: 496d3f6f9c

Change-Id: I16eb11d8850cbd75dd3571d16fce5758e5280bfd
2019-07-11 00:54:14 -07:00
TreeHugger Robot
9df6623b73 Merge "Import translations. DO NOT MERGE" into qt-r1-bubbles-dev 2019-07-11 07:40:47 +00:00
Bill Yi
0336f3b4a8 [automerger skipped] Import translations. DO NOT MERGE
am: fa674d85ae -s ours
am skip reason: subject contains skip directive

Change-Id: I4b932251009efe11f3fc0dbaf547aa25d15a45d8
2019-07-11 00:06:07 -07:00
tmfang
496d3f6f9c Improve Settings launch performance
From traces analysis, we found getFreeBytes
was taking a long time to return.

getFreeBytes was used when storage controller
tried to get storage information.

In order to prevent this case, we put the action
which takes too much time in background thread.

Test: I can't reproduce it locally. From code view,
this is a reasonable root cause.
Fixes: 136268875

Change-Id: I78e42cde88553c003f198cffb5747b352055f59a
(cherry picked from commit 0c37f019f6)
2019-07-11 04:19:42 +00:00
Bill Yi
1889efe2d0 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ia7da4c89d6e06b3d4dce7175a996decf1ea4af22
2019-07-10 20:45:25 -07:00
Bill Yi
fa674d85ae Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I67ba6e489c14dc511d485a4895c9e12fce1c3ee1
2019-07-10 20:08:17 -07:00
Bill Yi
f74a94db37 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I09ed37fffcf0bbcf61cdfa0b1f8cf22f5828d23b
2019-07-10 19:31:11 -07:00
Joshua Mccloskey
915a4e127b Merge changes I5e0a72a1,Iefcbf498 into qt-r1-dev
am: 0839185647

Change-Id: I3d79f210409ffbeea116882368f82abf218e6de7
2019-07-09 19:45:57 -07:00
Joshua Mccloskey
0839185647 Merge changes I5e0a72a1,Iefcbf498 into qt-r1-dev
* changes:
  Favor setup face in search settings.
  Remove highlighting for work profile
2019-07-10 02:29:45 +00:00
Bill Yi
58a42a9565 [automerger skipped] Import translations. DO NOT MERGE am: 13d6e13166 -s ours
am: 49175304a4 -s ours
am skip reason: subject contains skip directive

Change-Id: I874777f8257c403ea12b844c273fded69cebd48e
2019-07-09 17:28:50 -07:00
Bill Yi
49175304a4 [automerger skipped] Import translations. DO NOT MERGE
am: 13d6e13166 -s ours
am skip reason: subject contains skip directive

Change-Id: I9cadf1b43bc055fffa72a6bb96f929c5e5ed28dc
2019-07-09 17:16:02 -07:00
Bill Yi
160d7e3906 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am: 41a7f9de31 -s ours
am skip reason: subject contains skip directive

Change-Id: Ic3eb1d5258c1893b7b7e355216fc0d51ddce706b
2019-07-09 17:10:26 -07:00
TreeHugger Robot
41a7f9de31 Merge "Import translations. DO NOT MERGE" into qt-r1-dev 2019-07-09 23:10:22 +00:00
joshmccloskey
e97a459b6d Merge "Diversity extra no longer gets overwritten." into qt-r1-dev
am: 007a1aee1b

Change-Id: Iff53397eed65d53a1cc53b01b85d9dab1f004ee3
2019-07-09 16:05:43 -07:00
joshmccloskey
8bbbe545f2 Favor setup face in search settings.
Test: Manual.
Fixes: 137135217
Change-Id: I5e0a72a117e2af6d9262d07616cc539ee7a7e55e
2019-07-09 22:41:33 +00:00
TreeHugger Robot
007a1aee1b Merge "Diversity extra no longer gets overwritten." into qt-r1-dev 2019-07-09 22:24:00 +00:00
joshmccloskey
85081a4f7e Remove highlighting for work profile
Test: Manual.
Fixes: 137126517
Change-Id: Iefcbf498cc0805cd130981e522177a7c16b7adfc
2019-07-09 15:23:37 -07:00
Bill Yi
43682f3f27 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I84335ed2cdca77f9f506c084b11c5bb3215dd05f
2019-07-09 12:31:21 -07:00
joshmccloskey
97a95798ac Diversity extra no longer gets overwritten.
Test: Manual.
Fixes: 136963876
Change-Id: Ia62e7ac1ff942fa078a2fd5f1d7efc339132aaa3
2019-07-09 18:59:20 +00:00
Bill Yi
13d6e13166 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I1c15e397059f357be547ce32fcdbae885bff5925
2019-07-09 11:46:23 -07:00
Curtis Belmonte
99396a13d8 Fix work account setup lock screen content for face auth
am: 5604585930

Change-Id: I4c17bde1aa4d4a07c2d9b4bb72fbc07832d1bd1f
2019-07-08 17:10:19 -07:00
TreeHugger Robot
03b2efe619 Merge "Import translations. DO NOT MERGE" into qt-r1-bubbles-dev 2019-07-08 21:27:57 +00:00
Curtis Belmonte
5604585930 Fix work account setup lock screen content for face auth
For devices which provide biometric authentication options, such as
fingerprint or face, we should be showing different content on the lock
setup screen during the corp account setup wizard. Namely, the title
should read "Choose screen lock", and the "Not now" option should be
changed to "Continue without [auth method]". However, we currently only
check for whether fingerprint authentication is available, leading to
incorrect text for devices with face authentication.

This CL fixes the issue by changing the introducing a private method to
check for any biometric authentication (currently just mForFingerprint ||
mForFace). It then uses this method in place of the existing
mForFingerprint checks in SetupChooseLockGeneric.

Test: On a device with fingerprint auth and one with face auth:
1. Set a work profile with TestDPC and add some password quality requirement
2. adb shell settings put global device_provisioned
3. adb shell am start -a android.app.action.SET_NEW_PARENT_PROFILE_PASSWORD
4. Verify that the correct content is now shown (screenshot/xZPVtpa3j3Z)
5. Verify that setting lock with and without biometric auth still works

Fixes: 136556653

Change-Id: I46d3c964f05986aa97cc8ed77fe0ac125337ddd0
2019-07-08 19:03:56 +00:00
Bill Yi
5485db52e7 [automerger skipped] Import translations. DO NOT MERGE am: 292e7ad110 -s ours
am: ce4d5fbff9 -s ours
am skip reason: subject contains skip directive

Change-Id: If3c82155189da3a0564c2eb682eee98245e91e82
2019-07-05 19:13:54 -07:00
Bill Yi
0dc89a0510 [automerger skipped] Import translations. DO NOT MERGE
am: bad6060727 -s ours
am skip reason: subject contains skip directive

Change-Id: I2cd9425cab5d5da12695fd2d58c5335687f8ed3c
2019-07-05 19:09:11 -07:00
Bill Yi
35939a6189 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Icdaa795f233501177a08cdce04829dd97ded4e98
2019-07-05 19:08:40 -07:00
Bill Yi
ce4d5fbff9 [automerger skipped] Import translations. DO NOT MERGE
am: 292e7ad110 -s ours
am skip reason: subject contains skip directive

Change-Id: I1957817bdae8c4294cc6cc144a4dafea472004a6
2019-07-05 19:04:54 -07:00
Bill Yi
bad6060727 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I9933f3eb0721fab73ff7776324de6ce088469a67
2019-07-05 16:53:24 -07:00
Bill Yi
292e7ad110 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I9307e8b79d695e33e0b76b36de1fefc21a0b835e
2019-07-05 14:38:28 -07:00
Bill Yi
d04d159ff9 [automerger skipped] Import translations. DO NOT MERGE am: a0fb9000bb -s ours
am: b038d65f4c -s ours
am skip reason: subject contains skip directive

Change-Id: I9ecb0c88a6ecd0b7feb5bcfbfa815b4da71a1df4
2019-07-03 17:16:33 -07:00
Mark Chien
d6971f763d Merge "Fix entitlement failed when device is on CBRS" into qt-r1-dev
am: 8a44e4f274

Change-Id: I68703e3184557d1cd2597f0601a6e2fec1710c71
2019-07-03 16:37:08 -07:00