OSDN Git Service
Wyatt Riley [Mon, 4 Mar 2019 15:11:25 +0000 (07:11 -0800)]
Merge "DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot" into oc-dev am:
809231680f
am:
21c4a58435
Change-Id: I3d4e666268ac37f41c6d94e10f5e5e1f2928ef7f
WyattRiley [Mon, 4 Mar 2019 15:02:56 +0000 (07:02 -0800)]
[automerger] DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot am:
b5e7bbe5b8 am:
1bb102e37d am:
1c348395f5 am:
26fda93676 skipped:
cf76183e6c am:
cf81345649
am:
94029593c4
Change-Id: I816c914fd79f9589efa0e6b587649cd6264113bc
Wyatt Riley [Mon, 4 Mar 2019 14:56:23 +0000 (06:56 -0800)]
Merge "DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot" into oc-dev
am:
809231680f
Change-Id: If2f27dd775d4d5d543d23d10dcce10bc1bc4f51a
WyattRiley [Mon, 4 Mar 2019 14:51:02 +0000 (06:51 -0800)]
[automerger] DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot am:
b5e7bbe5b8 am:
1bb102e37d am:
1c348395f5 am:
26fda93676 skipped:
cf76183e6c
am:
cf81345649
Change-Id: I8f2f2edaaa607378d75e3c852d0b8cedbc4fbb67
Wyatt Riley [Mon, 4 Mar 2019 14:29:06 +0000 (14:29 +0000)]
Merge "DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot" into oc-dev
WyattRiley [Thu, 28 Feb 2019 19:43:12 +0000 (11:43 -0800)]
DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot
Safe order of pointer setting and background thread start
Verifying mCallEndElapsedRealtimeMillis is not the initial value
Bug:
112159033
Bug:
115361555
Bug:
125124724
Test: Verified not-after-boot with test code b/
115361555#comment14
Test: Reproed NPE with test thread sleep and verify fix
Change-Id: Icd2ea91d71da71c8fda109ceb70514733d35060b
Android Build Merger (Role) [Fri, 1 Mar 2019 21:01:49 +0000 (21:01 +0000)]
[automerger] DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot am:
b5e7bbe5b8 am:
1bb102e37d am:
1c348395f5 am:
26fda93676 skipped:
cf76183e6c
Change-Id: Ifd0a52ac469b9d59aa43b3849b5cfbabeac99ed5
Android Build Merger (Role) [Fri, 1 Mar 2019 21:01:39 +0000 (21:01 +0000)]
[automerger] DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot am:
b5e7bbe5b8 am:
1bb102e37d am:
1c348395f5 am:
26fda93676
Change-Id: I87431bd661f6d5243d4c442e3caf6db247dc89bd
Android Build Merger (Role) [Fri, 1 Mar 2019 21:01:31 +0000 (21:01 +0000)]
[automerger] DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot am:
b5e7bbe5b8 am:
1bb102e37d am:
1c348395f5
Change-Id: I5c7df1fd86ece1f84fba51250568a0d049b591f9
Android Build Merger (Role) [Fri, 1 Mar 2019 21:01:22 +0000 (21:01 +0000)]
[automerger] DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot am:
b5e7bbe5b8 am:
1bb102e37d
Change-Id: I0499fab6407457adb226a0fef751e22c9566179f
Android Build Merger (Role) [Fri, 1 Mar 2019 21:01:11 +0000 (21:01 +0000)]
[automerger] DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot am:
b5e7bbe5b8
Change-Id: I6a05a6ca8ad3313c901a2ad692851d2096b21e7b
WyattRiley [Tue, 19 Feb 2019 21:19:13 +0000 (13:19 -0800)]
DO NOT MERGE - SUPL ES Extension - Safer Init and Not After Boot
Safe order of pointer setting and background thread start
Verifying mCallEndElapsedRealtimeMillis is not the initial value
Bug:
112159033
Bug:
115361555
Bug:
125124724
Test: Verified not-after-boot with test code b/
115361555#comment14
Test: Reproed NPE on Nexus 5x with test thread sleep and verify fix
Change-Id: I596f913bc79873274c2743132c93ef2381d9f3c7
Abodunrinwa Toki [Fri, 8 Feb 2019 01:43:56 +0000 (17:43 -0800)]
[automerger skipped] DO NOT MERGE No smart text assist for unprovisioned device. am:
7c8a46e0dd -s ours
am:
67722b0557 -s ours
am skip reason: change_id I360250a5c2a92d09c8d8f559b51c74f490f70c2c with SHA1
9796a1bd00 is in history
Change-Id: I7a33224747c5eb233032dfa905112067d2c61c39
Abodunrinwa Toki [Fri, 8 Feb 2019 01:38:52 +0000 (17:38 -0800)]
[automerger skipped] DO NOT MERGE No smart text assist for unprovisioned device.
am:
7c8a46e0dd -s ours
am skip reason: change_id I360250a5c2a92d09c8d8f559b51c74f490f70c2c with SHA1
9796a1bd00 is in history
Change-Id: I431250313c81a1aee082503e3b39798ff4e5056e
Abodunrinwa Toki [Wed, 28 Jun 2017 01:49:07 +0000 (02:49 +0100)]
DO NOT MERGE No smart text assist for unprovisioned device.
Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest
bit FrameworksCoreTests:android.widget.TextViewActivityTest
bit FrameworksCoreTests:android.widget.TextViewActivityMoutseTest
Bug:
120866126
Bug:
62745625
Merged-In: I360250a5c2a92d09c8d8f559b51c74f490f70c2c
Change-Id: I360250a5c2a92d09c8d8f559b51c74f490f70c2c
Guliz Tuncay [Fri, 11 Jan 2019 00:44:22 +0000 (16:44 -0800)]
[automerger skipped] [automerger] Select only preinstalled Spell Checker Services am:
ed5973b8a8 am:
5ab7f995ba am:
d71a5db522 am:
276e18c147 am:
d962aabf4c am:
3c2abaa4da
am:
04206067b9 -s ours
am skip reason: change_id Idab3ecc246fe9344a09e6907a0ba39f8ea6506f9 with SHA1
dd8b0a6bc8 is in history
Change-Id: I8be93eede6f7dcffc94905b5a790b1a813f28699
Bryan Ferris [Fri, 11 Jan 2019 00:36:37 +0000 (16:36 -0800)]
[automerger skipped] [automerger] Revert "Select only preinstalled Spell Checker Services" am:
170e24d4e1 am:
fb3b187f10 am:
7abf49d3b7 am:
1684713f2e am:
cd6eba50ba am:
576e4ac184
am:
d596c0e4ef -s ours
am skip reason: change_id Idab3ecc246fe9344a09e6907a0ba39f8ea6506f9 with SHA1
dd8b0a6bc8 is in history
Change-Id: Ie171e4463c7d5ba062f5c978c47ff5560037acb6
Guliz Tuncay [Fri, 11 Jan 2019 00:21:07 +0000 (16:21 -0800)]
[automerger] Select only preinstalled Spell Checker Services am:
ed5973b8a8 am:
5ab7f995ba am:
d71a5db522 am:
276e18c147 am:
d962aabf4c
am:
3c2abaa4da
Change-Id: I2b4a8618280a602b4eb42db9bf822a14324b587f
Bryan Ferris [Fri, 11 Jan 2019 00:14:19 +0000 (16:14 -0800)]
[automerger] Revert "Select only preinstalled Spell Checker Services" am:
170e24d4e1 am:
fb3b187f10 am:
7abf49d3b7 am:
1684713f2e am:
cd6eba50ba
am:
576e4ac184
Change-Id: I304213f41d8b6f499d022f453392234ae901b36c
Android Build Merger (Role) [Thu, 10 Jan 2019 17:55:03 +0000 (17:55 +0000)]
[automerger] Select only preinstalled Spell Checker Services am:
ed5973b8a8 am:
5ab7f995ba am:
d71a5db522 am:
276e18c147 am:
d962aabf4c
Change-Id: I4fa4b56b1472ed6c25bc431ef9ce8060cb04a1f1
Android Build Merger (Role) [Thu, 10 Jan 2019 17:54:53 +0000 (17:54 +0000)]
[automerger] Select only preinstalled Spell Checker Services am:
ed5973b8a8 am:
5ab7f995ba am:
d71a5db522 am:
276e18c147
Change-Id: I2a8463e8e885a81229b28e7e99e7432a08a04c93
Android Build Merger (Role) [Thu, 10 Jan 2019 17:54:43 +0000 (17:54 +0000)]
[automerger] Select only preinstalled Spell Checker Services am:
ed5973b8a8 am:
5ab7f995ba am:
d71a5db522
Change-Id: I9e0504f59437cc8fd72e96630a6fb753a4cbb423
Android Build Merger (Role) [Thu, 10 Jan 2019 17:54:29 +0000 (17:54 +0000)]
[automerger] Select only preinstalled Spell Checker Services am:
ed5973b8a8 am:
5ab7f995ba
Change-Id: I51fbf27831b8b981a7b1a6e2af9cf46d8e544c12
Android Build Merger (Role) [Thu, 10 Jan 2019 17:54:16 +0000 (17:54 +0000)]
[automerger] Select only preinstalled Spell Checker Services am:
ed5973b8a8
Change-Id: I8da1dd728ff244a1363d9274aa3f41d1c6081ee8
Guliz Tuncay [Wed, 16 Aug 2017 19:02:31 +0000 (12:02 -0700)]
Select only preinstalled Spell Checker Services
When we are setting a new spell checker as the default one in
Secure.Settings, TSMS#findAvailSpellCheckerLocked can pick up
any available spell checker service. This violates the principle
that user should be warned whenever we are setting an untrusted
spell checker service as the default service, since the warning
dialog is never shown.
Fixes:
64764051
Bug:
118694079
Test: Manually as follows:
1. Open 'packages/inputmethods/LatinIME/java/AndroidManifest.xml'
and remove 'AndroidSpellCheckerService'
2. lunch aosp_buillhead-userdebug && make -j
3. Flash the image
4. adb shell dumpsys textservices
-> no spell checker is recognized
5. adb shell settings get secure selected_spell_checker
-> null
6. tapas SampleSpellCheckerService
7. make -j
8. adb install -r $OUT/system/app/SampleSpellCheckerService/SampleSpellCheckerService.apk
9. adb shell dumpsys textservices
-> SampleSpellCheckerService is recognized
10. adb shell settings get secure selected_spell_checker
-> null
Change-Id: I16f12293d15258c9148677c7ee09fe6dcf81e81d
Merged-In: Idab3ecc246fe9344a09e6907a0ba39f8ea6506f9
Android Build Merger (Role) [Thu, 10 Jan 2019 00:44:52 +0000 (00:44 +0000)]
[automerger] Revert "Select only preinstalled Spell Checker Services" am:
170e24d4e1 am:
fb3b187f10 am:
7abf49d3b7 am:
1684713f2e am:
cd6eba50ba
Change-Id: I9b15a7332565cc39eee4abb9faccb2d148281bf0
Android Build Merger (Role) [Thu, 10 Jan 2019 00:44:47 +0000 (00:44 +0000)]
[automerger] Revert "Select only preinstalled Spell Checker Services" am:
170e24d4e1 am:
fb3b187f10 am:
7abf49d3b7 am:
1684713f2e
Change-Id: Ib4cbddb955c57d2d59fb3b7fe656e21bc56266aa
Android Build Merger (Role) [Thu, 10 Jan 2019 00:44:41 +0000 (00:44 +0000)]
[automerger] Revert "Select only preinstalled Spell Checker Services" am:
170e24d4e1 am:
fb3b187f10 am:
7abf49d3b7
Change-Id: I019b36991306a8f7887b7a0b8233b2c9f1c9ed32
Android Build Merger (Role) [Thu, 10 Jan 2019 00:44:36 +0000 (00:44 +0000)]
[automerger] Revert "Select only preinstalled Spell Checker Services" am:
170e24d4e1 am:
fb3b187f10
Change-Id: Idfe048ca52ab0eb317e9313f56b884d264c14fd5
Android Build Merger (Role) [Thu, 10 Jan 2019 00:44:29 +0000 (00:44 +0000)]
[automerger] Revert "Select only preinstalled Spell Checker Services" am:
170e24d4e1
Change-Id: I11efc66592aada0a9b54299b6d782e92e247f811
Bryan Ferris [Wed, 9 Jan 2019 23:22:20 +0000 (15:22 -0800)]
Revert "Select only preinstalled Spell Checker Services"
This reverts commit
fa265ed97026e3b8675a2ccbf4035cad6dc1523f.
Reason for revert: The backport for b/
118694079 was applied improperly.
The fix involved filtering the class members list of spell checkers into a new list before searching it. The backport filtered the list but failed to update references to the class member into references to the local variable, creating no change in observable behavior. A new version of this commit will be simultaneously uploaded, which both fixes the bad behavior and allows us to have exactly 1 CL per branch that fixes the issue.
Bug:
118694079
Change-Id: Ic38a2ca2ddede7f0929779b0f2292b7823c11e87
Merged-In: Idab3ecc246fe9344a09e6907a0ba39f8ea6506f9
Bryan Ferris [Thu, 10 Jan 2019 00:04:26 +0000 (16:04 -0800)]
Empty commit for automerge manipulation
The backport for nyc-dev through oc-dev in b/
118694079 was improperly
applied. Therefore, we need to apply changes to oc-dev but not
oc-mr1-dev. Since the different CL's had the same Change ID we cannot
use MERGED IN with the original Change ID, and RESTRICT AUTOMERGE
can't stop us from jumping to oc-mr1-dev. This commit gives us a
Change ID that we can use for proper behavior.
Test: No code or configuration changes were made in this CL
Bug:
118694079
Change-Id: Idab3ecc246fe9344a09e6907a0ba39f8ea6506f9
Adrian Roos [Tue, 8 Jan 2019 18:45:44 +0000 (18:45 +0000)]
Merge "DPM: Fix regression from I54376f60ac53451ace22965d331b47cd8c2e614e" into oc-mr1-dev
Tony Mak [Tue, 8 Jan 2019 12:33:52 +0000 (04:33 -0800)]
Merge changes from topic "am-
5969704d-c4c1-4e63-afae-
e851b95f3e2b" into oc-dev am:
5ee2efb484
am:
340620b4cb
Change-Id: I9b544c70edf909ad82edf45207286168e63ffcd6
Tony Mak [Tue, 8 Jan 2019 12:18:40 +0000 (04:18 -0800)]
Merge changes from topic "am-
5969704d-c4c1-4e63-afae-
e851b95f3e2b" into oc-dev
am:
5ee2efb484
Change-Id: I03962452c1ff5c3a25ed319e7b32e209f8fab5f4
TreeHugger Robot [Tue, 8 Jan 2019 11:55:30 +0000 (11:55 +0000)]
Merge changes from topic "am-
5969704d-c4c1-4e63-afae-
e851b95f3e2b" into oc-dev
* changes:
[automerger] RESTRICT AUTOMERGE Do not linkify text with RLO/LRO characters. am:
73f398d306 am:
363e47e676 am:
efb165f557 am:
b2b98a008b skipped:
3823545fee
[automerger] RESTRICT AUTOMERGE Do not linkify text with RLO/LRO characters. am:
73f398d306 am:
363e47e676 am:
efb165f557 am:
b2b98a008b
[automerger] RESTRICT AUTOMERGE Do not linkify text with RLO/LRO characters. am:
73f398d306 am:
363e47e676 am:
efb165f557
[automerger] RESTRICT AUTOMERGE Do not linkify text with RLO/LRO characters. am:
73f398d306 am:
363e47e676
[automerger] RESTRICT AUTOMERGE Do not linkify text with RLO/LRO characters. am:
73f398d306
RESTRICT AUTOMERGE Do not linkify text with RLO/LRO characters.
Adrian Roos [Mon, 7 Jan 2019 15:57:31 +0000 (16:57 +0100)]
DPM: Fix regression from I54376f60ac53451ace22965d331b47cd8c2e614e
Fixes an issue where setting a password via DPM would never
satisfy a QUALITY_COMPLEX password requirement.
Change-Id: I3fbc952bd44291ac22728c626b128fc0c1aae232
Merged-In: I3fbc952bd44291ac22728c626b128fc0c1aae232
Fixes:
120915644
Bug:
110172241
Test: atest 'com.android.cts.devicepolicy.DeviceAdminHostSideTestApi24#testRunDeviceOwnerPasswordTest'
Test: Set credential via DPM.resetPassword(), factory reset device to trigger FRP, verify FRP shows.
Tony Mak [Tue, 8 Jan 2019 11:01:16 +0000 (03:01 -0800)]
[automerger skipped] RESTRICT AUTOMERGE Do not linkify text with RLO/LRO characters. am:
d9e75a497e
am:
3f552669e3 -s ours
am skip reason: change_id Ib2ee544b5783234fba8ee2f93adf0b36b039520f with SHA1
4e3507d544 is in history
Change-Id: I71dac905e55f732d839549d15700ee6d4db537e7
Tony Mak [Tue, 8 Jan 2019 10:50:57 +0000 (02:50 -0800)]
RESTRICT AUTOMERGE Do not linkify text with RLO/LRO characters.
am:
d9e75a497e
Change-Id: Id1b62f552f29ef9a20d78bb7487201452dfda601
Abodunrinwa Toki [Fri, 4 Jan 2019 17:18:39 +0000 (17:18 +0000)]
RESTRICT AUTOMERGE Do not linkify text with RLO/LRO characters.
Also don't show smart actions for selections in text with unsupported
characters.
Bug:
116321860
Test: runtest -x cts/tests/tests/text/src/android/text/util/cts/LinkifyTest.java
Change-Id: Ib2ee544b5783234fba8ee2f93adf0b36b039520f
Tony Mak [Thu, 29 Nov 2018 17:37:42 +0000 (17:37 +0000)]
RESTRICT AUTOMERGE Do not linkify text with RLO/LRO characters.
Also don't show smart actions for selections in text with unsupported
characters.
Bug:
116321860
Test: runtest -x cts/tests/tests/text/src/android/text/util/cts/LinkifyTest.java
Change-Id: Ib2ee544b5783234fba8ee2f93adf0b36b039520f
Merged-In: Ib2ee544b5783234fba8ee2f93adf0b36b039520f
Android Build Merger (Role) [Thu, 3 Jan 2019 14:08:07 +0000 (14:08 +0000)]
[automerger] RESTRICT AUTOMERGE Do not linkify text with RLO/LRO characters. am:
73f398d306 am:
363e47e676 am:
efb165f557 am:
b2b98a008b skipped:
3823545fee
Change-Id: I3c673c0d4337914308f5cdd1081e564f96cc3383
Android Build Merger (Role) [Thu, 3 Jan 2019 14:07:59 +0000 (14:07 +0000)]
[automerger] RESTRICT AUTOMERGE Do not linkify text with RLO/LRO characters. am:
73f398d306 am:
363e47e676 am:
efb165f557 am:
b2b98a008b
Change-Id: I29c3f97af12987c8a1dd8a69529641d32d2dd172
Android Build Merger (Role) [Thu, 3 Jan 2019 14:07:52 +0000 (14:07 +0000)]
[automerger] RESTRICT AUTOMERGE Do not linkify text with RLO/LRO characters. am:
73f398d306 am:
363e47e676 am:
efb165f557
Change-Id: Ibc588da08fbb6069989c7c97110e4cecea0b0ce5
Android Build Merger (Role) [Thu, 3 Jan 2019 14:07:43 +0000 (14:07 +0000)]
[automerger] RESTRICT AUTOMERGE Do not linkify text with RLO/LRO characters. am:
73f398d306 am:
363e47e676
Change-Id: I828e0c99ab41935d20033c970b5131f2fcbf9085
Android Build Merger (Role) [Thu, 3 Jan 2019 14:07:33 +0000 (14:07 +0000)]
[automerger] RESTRICT AUTOMERGE Do not linkify text with RLO/LRO characters. am:
73f398d306
Change-Id: I423ddd8df74bee8dbf7cd96009bbdffebf81b93a
Tony Mak [Thu, 29 Nov 2018 17:37:42 +0000 (17:37 +0000)]
RESTRICT AUTOMERGE Do not linkify text with RLO/LRO characters.
Also don't show smart actions for selections in text with unsupported
characters.
Bug:
116321860
Test: runtest -x cts/tests/tests/text/src/android/text/util/cts/LinkifyTest.java
Change-Id: Id271cab8aef6b9b13ef17f1a8654c7616f75cf13
WyattRiley [Fri, 21 Dec 2018 19:17:41 +0000 (11:17 -0800)]
[automerger skipped] [automerger] Adding SUPL NI Emergency Extension Time am:
64306e1e7b am:
882e4e7ba0 am:
478d13d664 am:
17232346f0 skipped:
46f972fea5 am:
5cf98f1399 -s ours
am:
5420e91d1e -s ours
Change-Id: I9ca3e797b1efe6c41e3dd958dd2657a467f690f7
WyattRiley [Fri, 21 Dec 2018 19:07:09 +0000 (11:07 -0800)]
[automerger skipped] [automerger] Adding SUPL NI Emergency Extension Time am:
64306e1e7b am:
882e4e7ba0 am:
478d13d664 am:
17232346f0 skipped:
46f972fea5
am:
5cf98f1399 -s ours
Change-Id: Ic83aa8cd0eb564e27264dfb3f929bc86fe7ec4f6
Android Build Merger (Role) [Fri, 21 Dec 2018 16:50:53 +0000 (16:50 +0000)]
[automerger] Adding SUPL NI Emergency Extension Time am:
64306e1e7b am:
882e4e7ba0 am:
478d13d664 am:
17232346f0 skipped:
46f972fea5
Change-Id: I93997d7383990bd70492944411196c8fbb6b319e
Android Build Merger (Role) [Fri, 21 Dec 2018 16:49:09 +0000 (16:49 +0000)]
[automerger] Adding SUPL NI Emergency Extension Time am:
64306e1e7b am:
882e4e7ba0 am:
478d13d664 am:
17232346f0
Change-Id: I896fbc8000b44041f54f7e314eb1b970c4644389
Android Build Merger (Role) [Fri, 21 Dec 2018 16:49:03 +0000 (16:49 +0000)]
[automerger] Adding SUPL NI Emergency Extension Time am:
64306e1e7b am:
882e4e7ba0 am:
478d13d664
Change-Id: Ifd8d821683c3c61e2a0e10ac4ce0c24e74e06282
Android Build Merger (Role) [Fri, 21 Dec 2018 16:48:57 +0000 (16:48 +0000)]
[automerger] Adding SUPL NI Emergency Extension Time am:
64306e1e7b am:
882e4e7ba0
Change-Id: I2bb3f878634f4ab80f400fccbd4d1fe6610e5a82
Android Build Merger (Role) [Fri, 21 Dec 2018 16:48:50 +0000 (16:48 +0000)]
[automerger] Adding SUPL NI Emergency Extension Time am:
64306e1e7b
Change-Id: I944dc076c63ba9fd5101bc0366a342e057a13d47
WyattRiley [Fri, 21 Dec 2018 01:31:48 +0000 (17:31 -0800)]
Adding SUPL NI Emergency Extension Time am:
1cd7883a76
am:
75c5850b4c
Change-Id: I8a8d54e909fcf43f3ce421b5f893337251544e75
WyattRiley [Fri, 21 Dec 2018 01:23:22 +0000 (17:23 -0800)]
Adding SUPL NI Emergency Extension Time
am:
1cd7883a76
Change-Id: I22286211589cbcc8739c5dfed3a839bada35646a
WyattRiley [Thu, 6 Dec 2018 19:43:58 +0000 (11:43 -0800)]
Adding SUPL NI Emergency Extension Time
Configurable by carrier config.xml resource
Bug:
118839234
Bug:
115361555
Bug:
112159033
Test: On device, see b/
115361555#comment14
Change-Id: I52e61656cca8b6fa6468d32d2e69bf60f4c83c61
Merged-In: I52e61656cca8b6fa6468d32d2e69bf60f4c83c61
WyattRiley [Thu, 6 Dec 2018 19:43:58 +0000 (11:43 -0800)]
Adding SUPL NI Emergency Extension Time
Configurable by carrier config.xml resource
Bug:
118839234
Bug:
115361555
Bug:
112159033
Test: On device, see b/
115361555#comment14
Change-Id: I52e61656cca8b6fa6468d32d2e69bf60f4c83c61
Merged-In: I52e61656cca8b6fa6468d32d2e69bf60f4c83c61
Adrian Roos [Thu, 6 Dec 2018 16:50:41 +0000 (17:50 +0100)]
FRP: save password quality in DPM.resetPassword
When setting a password from DPM.resetPassword(), the actual quality of the
password was not passed to LockSettingsService (instead, the minimum required
quality was passed which is often UNSPECIFIED). As a result, during FRP we
would see inconsistent state and skip it.
Bug:
110172241
Test: Set credential via DPM.resetPassword(), factory reset device to trigger FRP, verify FRP shows.
Change-Id: I54376f60ac53451ace22965d331b47cd8c2e614e
Merged-In: I54376f60ac53451ace22965d331b47cd8c2e614e
Jakub Pawlowski [Fri, 30 Nov 2018 16:32:04 +0000 (08:32 -0800)]
Bluetooth: Check descriptors size in BluetoothHidDeviceAppSdpSettings am:
f843ccbf9e
am:
0712542a6f
Change-Id: Ia2cd4c36a357350f203aa34c42ee0a7711e18a67
Jakub Pawlowski [Fri, 30 Nov 2018 16:22:48 +0000 (08:22 -0800)]
Bluetooth: Check descriptors size in BluetoothHidDeviceAppSdpSettings
am:
f843ccbf9e
Change-Id: I73800fa61a09d6a5e603582a0a4046a8bb7fd5d8
Jakub Pawlowski [Thu, 29 Nov 2018 17:54:21 +0000 (18:54 +0100)]
Bluetooth: Check descriptors size in BluetoothHidDeviceAppSdpSettings
Bug:
119819889
Test: compilation
Change-Id: If51d0e2af74d99758f79a603d40cc2f5c84e4dde
Merged-In: If51d0e2af74d99758f79a603d40cc2f5c84e4dde
Varun Shah [Mon, 19 Nov 2018 23:19:59 +0000 (15:19 -0800)]
Merge "RESTRICT AUTOMERGE: Added an app id security check in isAppForeground." into oc-dev am:
546ba589a2
am:
84376cb95a
Change-Id: I096470de6d03ab34591b12bc7172056a1ffe38ed
Varun Shah [Mon, 19 Nov 2018 23:11:59 +0000 (15:11 -0800)]
Merge "RESTRICT AUTOMERGE: Added an app id security check in isAppForeground." into oc-dev
am:
546ba589a2
Change-Id: I0b63c0bef57320b7465c2fe4e45304fd637e712d
TreeHugger Robot [Mon, 19 Nov 2018 22:49:58 +0000 (22:49 +0000)]
Merge "RESTRICT AUTOMERGE: Added an app id security check in isAppForeground." into oc-dev
Guliz Tuncay [Fri, 16 Nov 2018 22:03:29 +0000 (14:03 -0800)]
[automerger skipped] [automerger] Select only preinstalled Spell Checker Services am:
fa265ed970 am:
c008f3df63 am:
8df481923f am:
6e652225ad am:
6bd38ca2aa am:
608d567e43
am:
e5322fa084 -s ours
Change-Id: I42907e9163fc5b58600b2fcd99088f7c49ddbcf0
Guliz Tuncay [Fri, 16 Nov 2018 21:46:12 +0000 (13:46 -0800)]
[automerger] Select only preinstalled Spell Checker Services am:
fa265ed970 am:
c008f3df63 am:
8df481923f am:
6e652225ad am:
6bd38ca2aa
am:
608d567e43
Change-Id: I5d09ecdb574e347f5f8c8c86a7f6a8ecb26e42c4
Android Build Merger (Role) [Wed, 14 Nov 2018 20:07:40 +0000 (20:07 +0000)]
[automerger] Select only preinstalled Spell Checker Services am:
fa265ed970 am:
c008f3df63 am:
8df481923f am:
6e652225ad am:
6bd38ca2aa
Change-Id: I63d8639a52f0be081b397e1bb7813d1e7e4b8aa4
Android Build Merger (Role) [Wed, 14 Nov 2018 20:07:32 +0000 (20:07 +0000)]
[automerger] Select only preinstalled Spell Checker Services am:
fa265ed970 am:
c008f3df63 am:
8df481923f am:
6e652225ad
Change-Id: Iece38d8723b40e22f86f4aa599d42dbf9a2fcbab
Android Build Merger (Role) [Wed, 14 Nov 2018 20:07:25 +0000 (20:07 +0000)]
[automerger] Select only preinstalled Spell Checker Services am:
fa265ed970 am:
c008f3df63 am:
8df481923f
Change-Id: If661d9f3206b0e9da2a98ffb14b0ff38154cd757
Android Build Merger (Role) [Wed, 14 Nov 2018 20:07:20 +0000 (20:07 +0000)]
[automerger] Select only preinstalled Spell Checker Services am:
fa265ed970 am:
c008f3df63
Change-Id: I9541ff6206955ed3479d5b4aa6c78f23304d3165
Android Build Merger (Role) [Wed, 14 Nov 2018 20:07:12 +0000 (20:07 +0000)]
[automerger] Select only preinstalled Spell Checker Services am:
fa265ed970
Change-Id: I6a0825a14c8b0f38415cccacc315ba84eb88f5b9
Guliz Tuncay [Wed, 16 Aug 2017 19:02:31 +0000 (12:02 -0700)]
Select only preinstalled Spell Checker Services
When we are setting a new spell checker as the default one in
Secure.Settings, TSMS#findAvailSpellCheckerLocked can pick up
any available spell checker service. This violates the principle
that user should be warned whenever we are setting an untrusted
spell checker service as the default service, since the warning
dialog is never shown.
Fixes:
64764051
Bug:
118694079
Test: Manually as follows:
0. Make sure AOSP keyboard is pre-installed.
1. adb shell settings put --user 0 secure selected_spell_checker com.android.inputmethod.latin/.spellcheck.AndroidSpellCheckerService
2. tapas SampleSpellCheckerService
3. make -j
4. adb install --user 0 -r out/target/product/generic/system/app/SampleSpellCheckerService/SampleSpellCheckerService.apk
5. adb shell pm disable com.android.inputmethod.latin
6. adb shell settings get --user 0 secure selected_spell_checker
-> com.android.inputmethod.latin/.spellcheck.AndroidSpellCheckerService
7. adb reboot
8. adb shell settings get --user 0 secure selected_spell_checker
-> com.android.inputmethod.latin/.spellcheck.AndroidSpellCheckerService
Change-Id: I298ffbcfa5e32f43753f54fbebc40a414a5c0f9e
Merged-In: I298ffbcfa5e32f43753f54fbebc40a414a5c0f9e
Bill Yi [Sun, 11 Nov 2018 04:12:56 +0000 (20:12 -0800)]
Merge changes from topic "am-
9fd37bbd-f227-4135-a674-
78c7ef1f0468" into oc-dev am:
bc7da75f87
am:
8c06bfb6a4
Change-Id: Ic8f5a84eac8899a07f504c450a549f6d0a6668d0
Bill Yi [Sun, 11 Nov 2018 04:06:18 +0000 (20:06 -0800)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
f77737395b skipped:
640fb0a793 am:
c9590c8fc1 -s ours
am:
0881f3bb25 -s ours
Change-Id: I75c047e0e331d90ff7660f3484ee3d72cdd45cfa
Bill Yi [Sun, 11 Nov 2018 03:55:02 +0000 (19:55 -0800)]
Merge changes from topic "am-
6c55709f-f895-4072-8c00-
5133d079d8d8" into oc-dev am:
cff099466e
am:
21060a9e0d
Change-Id: I404b2530e16205e480bcb3524c8d070700b15961
Bill Yi [Sun, 11 Nov 2018 03:49:37 +0000 (19:49 -0800)]
Merge changes from topic "am-
9fd37bbd-f227-4135-a674-
78c7ef1f0468" into oc-dev
am:
bc7da75f87
Change-Id: Ibdf168a787a6208e78afce6ee311cfd84b198c4b
Bill Yi [Sun, 11 Nov 2018 03:48:37 +0000 (19:48 -0800)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
0697e9e6d7 skipped:
b702eb1807 am:
5e3def3f70 -s ours
am:
599b561ff1 -s ours
Change-Id: I6931f8b42325661d01f6a58c969bb571675038f1
Bill Yi [Sun, 11 Nov 2018 03:47:36 +0000 (19:47 -0800)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
f77737395b skipped:
640fb0a793
am:
c9590c8fc1 -s ours
Change-Id: I8c87d21d8f99ea3a8e9639a56e8acb10712e7366
Bill Yi [Sun, 11 Nov 2018 03:43:45 +0000 (19:43 -0800)]
Merge changes from topic "am-
6c55709f-f895-4072-8c00-
5133d079d8d8" into oc-dev
am:
cff099466e
Change-Id: I173094597612750f9c4645236ddeb972aa5ad7c5
Bill Yi [Sun, 11 Nov 2018 03:41:31 +0000 (19:41 -0800)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
0697e9e6d7 skipped:
b702eb1807
am:
5e3def3f70 -s ours
Change-Id: Iab399a5abfc4c27aac2956e4d048ef491bd64a3e
TreeHugger Robot [Sun, 11 Nov 2018 03:33:51 +0000 (03:33 +0000)]
Merge changes from topic "am-
9fd37bbd-f227-4135-a674-
78c7ef1f0468" into oc-dev
* changes:
[automerger skipped] Import translations. DO NOT MERGE skipped:
f77737395b skipped:
640fb0a793
[automerger skipped] Import translations. DO NOT MERGE skipped:
f77737395b
Import translations. DO NOT MERGE
TreeHugger Robot [Sun, 11 Nov 2018 03:33:51 +0000 (03:33 +0000)]
Merge changes from topic "am-
9fd37bbd-f227-4135-a674-
78c7ef1f0468" into nyc-mr2-dev
* changes:
[automerger skipped] Import translations. DO NOT MERGE skipped:
f77737395b
Import translations. DO NOT MERGE
TreeHugger Robot [Sun, 11 Nov 2018 03:33:51 +0000 (03:33 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Sun, 11 Nov 2018 03:26:32 +0000 (03:26 +0000)]
Merge changes from topic "am-
6c55709f-f895-4072-8c00-
5133d079d8d8" into oc-dev
* changes:
[automerger skipped] Import translations. DO NOT MERGE skipped:
0697e9e6d7 skipped:
b702eb1807
[automerger skipped] Import translations. DO NOT MERGE skipped:
0697e9e6d7
Import translations. DO NOT MERGE
TreeHugger Robot [Sun, 11 Nov 2018 03:26:32 +0000 (03:26 +0000)]
Merge changes from topic "am-
6c55709f-f895-4072-8c00-
5133d079d8d8" into nyc-mr2-dev
* changes:
[automerger skipped] Import translations. DO NOT MERGE skipped:
0697e9e6d7
Import translations. DO NOT MERGE
TreeHugger Robot [Sun, 11 Nov 2018 03:26:32 +0000 (03:26 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Sun, 11 Nov 2018 02:52:44 +0000 (18:52 -0800)]
Merge changes from topic "am-
8da5d3f1-21c0-4b80-9cbb-
748987f515da" into oc-dev am:
cfbf7a21c3
am:
d2eb52dd7b
Change-Id: I81c9ccd2c72f1e7df73c45c7f667c5b8b34b0f81
Bill Yi [Sun, 11 Nov 2018 02:46:15 +0000 (18:46 -0800)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
faba866b30 skipped:
38e04d8b0a am:
39a2390fb9 -s ours
am:
497cb6d257 -s ours
Change-Id: I023423567ab71703b9411c498ef904010d39f04d
Bill Yi [Sun, 11 Nov 2018 02:44:48 +0000 (18:44 -0800)]
Merge changes from topic "am-
a4f2313d-91d9-4723-8d15-
dc7e5aa52970" into oc-dev am:
8c5514b186
am:
fefdff353f
Change-Id: Ib2772d84dc02ef1b3ec12e7347528b7c3d601a5f
Bill Yi [Sun, 11 Nov 2018 02:38:08 +0000 (18:38 -0800)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
cfd1e141b9 skipped:
d9cf1de3e4 am:
cbaf1505a0 -s ours
am:
82f5bd65de -s ours
Change-Id: I36df2a13e12e8050327edc47232a501de40357a3
Bill Yi [Sun, 11 Nov 2018 02:20:38 +0000 (18:20 -0800)]
Merge changes from topic "am-
707d9054-0085-4add-8cb5-
07f6cb10d135" into oc-dev am:
3fa917c8bc
am:
51ec5967af
Change-Id: If8018f95a4a1ce3431d5fd28979056cd5e0f6535
Bill Yi [Sun, 11 Nov 2018 02:15:34 +0000 (18:15 -0800)]
Merge changes from topic "am-
8da5d3f1-21c0-4b80-9cbb-
748987f515da" into oc-dev
am:
cfbf7a21c3
Change-Id: I26bdbcd48705c30189d55904823cfd03a0fd11dc
Bill Yi [Sun, 11 Nov 2018 02:13:08 +0000 (18:13 -0800)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
65cfd97b69 skipped:
79dc3a3343 am:
204f727404 -s ours
am:
519fa54629 -s ours
Change-Id: I993fdf5434f660d1b91925fd85241b2b49e4fc39
Bill Yi [Sun, 11 Nov 2018 02:13:06 +0000 (18:13 -0800)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
faba866b30 skipped:
38e04d8b0a
am:
39a2390fb9 -s ours
Change-Id: I7ce95669411440d93e113c1f6facd374a9c36241
Bill Yi [Sun, 11 Nov 2018 02:11:36 +0000 (18:11 -0800)]
Merge changes from topic "am-
e8cf3957-7e41-48c5-b339-
2114401da749" into oc-dev am:
568344a776
am:
8b1df08930
Change-Id: I9702562624983fc18ffccb5f3b40da55f0f0bb0b
Bill Yi [Sun, 11 Nov 2018 02:07:06 +0000 (18:07 -0800)]
Merge changes from topic "am-
a4f2313d-91d9-4723-8d15-
dc7e5aa52970" into oc-dev
am:
8c5514b186
Change-Id: I20cb7234b5b7a48b57af23b71311989978503de9
Bill Yi [Sun, 11 Nov 2018 02:04:59 +0000 (18:04 -0800)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
cfd1e141b9 skipped:
d9cf1de3e4
am:
cbaf1505a0 -s ours
Change-Id: I362c59a89efba73b45a9a5d81474cac8448c2f84
Bill Yi [Sun, 11 Nov 2018 02:04:52 +0000 (18:04 -0800)]
[automerger skipped] Import translations. DO NOT MERGE skipped:
c82e0b36ed skipped:
985e4a2c7f am:
176758a8cb -s ours
am:
1da1b80a9f -s ours
Change-Id: I51dd2717412247842355cfab15242e7b26d8e0ac
Bill Yi [Sun, 11 Nov 2018 02:01:59 +0000 (18:01 -0800)]
Merge changes from topic "am-
6f74b9fb-4f7a-4949-a2b2-
4de2e4256447" into oc-dev am:
ef0d8b4472
am:
d72f7d1d9e
Change-Id: Id74e8948cfb2e7bb2cd94bbb7e7b87315f3b4332