Commit Graph

37812 Commits

Author SHA1 Message Date
jackqdyulei
010c9d9535 Merge "Add action active check for anomaly action." into oc-dr1-dev
am: e7735b8d52

Change-Id: I01b51abb73fdc39597388878a846266c339815e2
2017-06-13 22:43:26 +00:00
TreeHugger Robot
e7735b8d52 Merge "Add action active check for anomaly action." into oc-dr1-dev 2017-06-13 22:36:06 +00:00
Katsiaryna Naliuka
9922ec065d Merge "Added support for external tiles to the lockscreen activity" into oc-dr1-dev
am: 9871df58f1

Change-Id: I0f5e5069ff4a69004dce46921f894cde9d4d854f
2017-06-13 22:22:13 +00:00
Tony Mantler
1c9e2f65a2 Use Settings.ACTION_ADD_ACCOUNT
Bug: 62586588
Test: No functional change
Change-Id: I01ffc240fe7299a6d5f08c390870eaf3ba0f4260
2017-06-13 15:16:50 -07:00
Katsiaryna Naliuka
9871df58f1 Merge "Added support for external tiles to the lockscreen activity" into oc-dr1-dev 2017-06-13 22:15:34 +00:00
Kevin Chyn
f475bc2fbe Move assist gestures settings to overlay
Bug: 37427306

Test: make -j RunSettingsRoboTests && manual testing of settings
Change-Id: If2b0ec9a966334a91f090051dee661011bfc0d70
2017-06-13 14:56:43 -07:00
Maurice Lam
d7c7c44d3c Merge "Allow skipping PIN setup screen" 2017-06-13 21:50:22 +00:00
jackqdyulei
0966eeb919 Merge "Update dialogs for anomaly" into oc-dr1-dev
am: d907b99d79

Change-Id: Icb92d38004bbbc109e7867638528bc7d80b9ac29
2017-06-13 21:48:51 +00:00
TreeHugger Robot
d907b99d79 Merge "Update dialogs for anomaly" into oc-dr1-dev 2017-06-13 21:36:42 +00:00
jackqdyulei
9453e89aca Add action active check for anomaly action.
This cl adds the action active check for the following actions:
1. ForceStopAction: check whether app is stopped
2. BackgroundActivityAction: check whether background activity
is turned on

If related action is not active, we won't report anomaly
to users. Future cl will add active check for bluetooth anomaly.

Bug: 62452014
Test: RunSettingsRoboTests

Change-Id: Ib490227f4570accf8ca4840a99bf85a022c42a5b
2017-06-13 13:23:46 -07:00
TreeHugger Robot
0c69b5bea9 Merge "ActivityPicker shouldn't grant permissions." 2017-06-13 19:27:50 +00:00
Tony Mak
3bef8ce30a Fix searching work app in settings
Test: m -j RunSettingsRoboTests
Test: Observe search result with badged icon and showing work app info
when tapping on it.
Test: personal app search result is still working
Test: Non app search result is working

Fix: 62366873

Change-Id: I333372699b263d02cc4083289dc746c7aacd414d
2017-06-13 18:11:30 +01:00
Alison Cichowlas
7fe3dfc46d Merge "Fix build - fix import of SettingsRobolectricTestRunner." into oc-dr1-dev am: 39efd4ec44
am: 8421bc0d29

Change-Id: Idd4c4eb94d2dde5ec9038c43271769db3d6064a9
2017-06-13 11:20:39 +00:00
Alison Cichowlas
8421bc0d29 Merge "Fix build - fix import of SettingsRobolectricTestRunner." into oc-dr1-dev
am: 39efd4ec44

Change-Id: Ic059dc659f8e32a64c5fa018f48ce0470c64ccd8
2017-06-13 11:17:07 +00:00
Alison Cichowlas
39efd4ec44 Merge "Fix build - fix import of SettingsRobolectricTestRunner." into oc-dr1-dev 2017-06-13 11:08:34 +00:00
Katsiaryna Naliuka
7e4fc2b59f Added support for external tiles to the lockscreen activity
Bug: 62487664
Test: Built and flashed a system image.
Change-Id: I75e42a042f9212e247f02c5523979bcd5ea57baa
2017-06-13 12:34:33 +02:00
Bill Yi
b82e7ac9f5 Merge "Import translations. DO NOT MERGE" into oc-dr1-dev am: 42e494228b -s ours
am: af27a8fd5b  -s ours

Change-Id: Iec8c0e5e73100ebd98e09ac488684266796573b3
2017-06-13 09:54:32 +00:00
Bill Yi
af27a8fd5b Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am: 42e494228b  -s ours

Change-Id: Ia4b841e5b804c887d6c381d6d2e500a82509fac5
2017-06-13 09:51:01 +00:00
TreeHugger Robot
42e494228b Merge "Import translations. DO NOT MERGE" into oc-dr1-dev 2017-06-13 09:45:21 +00:00
Bill Yi
8b39f5f66c Merge "Merge "Import translations. DO NOT MERGE" into oc-dev am: 327b9119d7 -s ours am: 0c2bb34f5c -s ours" into oc-dr1-dev-plus-aosp
am: 8315525c76  -s ours

Change-Id: Ib1cb17bc34c42d8510a6ae862f37da8496c7d175
2017-06-13 08:19:20 +00:00
Bill Yi
d45aaae866 Merge "Import translations. DO NOT MERGE" into oc-dev am: 327b9119d7 -s ours am: e637b663e8 -s ours
am: 52eb891200  -s ours

Change-Id: Ie74f6de413268659df89f43356ffbc6be208ec74
2017-06-13 08:18:38 +00:00
Android Build Merger (Role)
8315525c76 Merge "Merge "Import translations. DO NOT MERGE" into oc-dev am: 327b9119d7 -s ours am: 0c2bb34f5c -s ours" into oc-dr1-dev-plus-aosp 2017-06-13 08:15:27 +00:00
Bill Yi
1c6a01293a Merge "Import translations. DO NOT MERGE" into oc-dev am: 327b9119d7 -s ours
am: 0c2bb34f5c  -s ours

Change-Id: I12f734080ccfbaa17c16b8664ebe266b10fa1a57
2017-06-13 08:15:09 +00:00
Bill Yi
52eb891200 Merge "Import translations. DO NOT MERGE" into oc-dev am: 327b9119d7 -s ours
am: e637b663e8  -s ours

Change-Id: Ia3a3e2f45af0f493327ab9dc64bdc20af791c5fa
2017-06-13 08:14:54 +00:00
Bill Yi
e637b663e8 Merge "Import translations. DO NOT MERGE" into oc-dev
am: 327b9119d7  -s ours

Change-Id: I894b154c6d428d8ff35098dcee354892d89cdca4
2017-06-13 08:11:23 +00:00
Bill Yi
0c2bb34f5c Merge "Import translations. DO NOT MERGE" into oc-dev
am: 327b9119d7  -s ours

Change-Id: I24da3a236478e91b06710a4065ba29663921f940
2017-06-13 08:11:23 +00:00
TreeHugger Robot
327b9119d7 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-06-13 08:07:08 +00:00
TreeHugger Robot
ca96da9718 Merge "Import translations. DO NOT MERGE" 2017-06-13 07:58:28 +00:00
Alison Cichowlas
b81004dd35 Fix build - fix import of SettingsRobolectricTestRunner.
Test: Only changing imports in test files.
Change-Id: Ib0d1433983da36416b979a0eaa1bb57419150374
2017-06-12 23:04:40 -04:00
Alison Cichowlas
8531fbc05e Limit unconfigurability to specified channels. am: 80fa6b5833 am: 665384a8eb
am: c8752ca07c

Change-Id: I0f0dcd3e02ada12e10459a17c7fe7777e66ce4b0
2017-06-13 03:04:08 +00:00
Alison Cichowlas
a29b0f6a00 Limit unconfigurability to specified channels. am: 80fa6b5833 am: 0320d4e69f
am: 79f12ed51e  -s ours

Change-Id: I536f9cf36eb0b1f9bd726b39359b4a9e1e6bc577
2017-06-13 03:03:24 +00:00
Alison Cichowlas
c8752ca07c Limit unconfigurability to specified channels. am: 80fa6b5833
am: 665384a8eb

Change-Id: Iefb97be4d3c6a73c748347f37a25a4233a65aead
2017-06-13 01:59:42 +00:00
Alison Cichowlas
79f12ed51e Limit unconfigurability to specified channels. am: 80fa6b5833
am: 0320d4e69f

Change-Id: Icc6ba97501c229ae8d5bf5a7169feae2af85f3a2
2017-06-13 01:49:37 +00:00
Alison Cichowlas
665384a8eb Limit unconfigurability to specified channels.
am: 80fa6b5833

Change-Id: I63c40ae241f6891fa1e6b85a78dc78d2b918ca6d
2017-06-13 01:45:10 +00:00
Alison Cichowlas
0320d4e69f Limit unconfigurability to specified channels.
am: 80fa6b5833

Change-Id: I259952cbd22ef6a98d45cb3e077e07d5eb797b67
2017-06-13 01:41:39 +00:00
Bill Yi
118be8a9d7 Import translations. DO NOT MERGE
Change-Id: I9e652a0921b8e6c0c084b4deeb2949ce84896319
Auto-generated-cl: translation import
2017-06-12 18:23:15 -07:00
Bill Yi
b8f1d3129b Import translations. DO NOT MERGE
Change-Id: I7690f708e8eef5505a3508bbf7998d9638504920
Auto-generated-cl: translation import
2017-06-12 18:16:46 -07:00
Maurice Lam
0f897d79f6 Allow skipping PIN setup screen
So that setup wizard can show PIN option by default.

Test: Added Robolectric and instrumentation tests
Bug: 38509560
Change-Id: Id72744dd444b9b026ca5f28f230bae3bec254b2f
2017-06-12 18:03:02 -07:00
Bill Yi
16c263ebff Import translations. DO NOT MERGE
Change-Id: Iacbdf7b56f66a2b58565ed9e693c7e1a1037d203
Auto-generated-cl: translation import
2017-06-12 17:55:51 -07:00
Salvador Martinez
5efe05119c Merge "Increase length of string for pref title" into oc-dr1-dev am: 34373c8f33
am: 303daecc2e

Change-Id: Id8f53be571159b5bb39862afe2312f9e021bef0b
2017-06-13 00:40:37 +00:00
Tarandeep Singh
4803267106 Replace showSoftInput with ImeAwareEditText.scheduleShowSoftInput
Both View focus (which is triggered by View.requestFocus()) and IME focus
(which is internally handled inside InputMethodManager), are implemented
as delayed tasks on the UI thread. The goal here is to make sure that
InputMethodManager.showSoftInput() always gets called only after the target
EditText gained IME focus.
This requires some tricks, but is basically a solved problem with
ImeAwareEditText introduced by
I182b05d3ff59fb3b4732d60d0d5a464f0e0e0235. Here we can just reuse it.

Note that ConfirmLockPassword & ChooseLockPassword are the only ones
using ScrollToParentEditText. Latter doesn't call IMM.showSoftInput().

Fixes: 62542157
Test: Verified keyboard still shows-up on the ConfirmLock screen.

Change-Id: I892d639f3cc5d43db553b682d5278b8ce2fe72da
2017-06-12 17:24:39 -07:00
Salvador Martinez
303daecc2e Merge "Increase length of string for pref title" into oc-dr1-dev
am: 34373c8f33

Change-Id: I4a3d05aade72fc2de50a8fc6df574d8073bdafd6
2017-06-13 00:22:47 +00:00
TreeHugger Robot
b631e0ac86 Merge "settings: Add Camera HAL HDR+ preference" 2017-06-13 00:15:58 +00:00
TreeHugger Robot
34373c8f33 Merge "Increase length of string for pref title" into oc-dr1-dev 2017-06-13 00:13:43 +00:00
Jeff Sharkey
3f218e8431 ActivityPicker shouldn't grant permissions.
This picker has no business granting any Uri permissions, so remove
any grant flags that malicious apps may have tried sneaking in.

Test: builds, boots
Bug: 32879772
Change-Id: I91c48c73287a271bd6c99e60e216dead22e68764
2017-06-12 18:11:41 -06:00
Alison Cichowlas
80fa6b5833 Limit unconfigurability to specified channels.
Bug: 62426259
Test: Unit test in NotificationBackendTest.java
Change-Id: I79d069cee0b641d520b02f8a25751ec3e0d4632d
2017-06-12 23:17:11 +00:00
Tarandeep Singh
8cc4c712da Fix keyboard not launching on screen lock settings. am: 86b8f4460d
am: 521240a317

Change-Id: Ib056e3677477f1a8b6886095996fe5bc39549e25
2017-06-12 22:39:37 +00:00
Tarandeep Singh
521240a317 Fix keyboard not launching on screen lock settings.
am: 86b8f4460d

Change-Id: I21b872ac9edacd625c0995b9c878cbe91f82cc2b
2017-06-12 22:33:08 +00:00
Chien-Yu Chen
9f713db83d settings: Add Camera HAL HDR+ preference
Add an option for camera HAL HDR+ preference to developer options.

Test: System settings, RunSettingsRoboTests
Bug: 62108454
Change-Id: Ide053e8cc3fd7ad6add0493939a27af5bfb65e42
2017-06-12 15:22:19 -07:00
TreeHugger Robot
b272d673dc Merge "Updates strings for "Emergency broadcast"." 2017-06-12 20:43:12 +00:00