Commit Graph

18143 Commits

Author SHA1 Message Date
Maurice Lam
d7c7c44d3c Merge "Allow skipping PIN setup screen" 2017-06-13 21:50:22 +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
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
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
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
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
TreeHugger Robot
b631e0ac86 Merge "settings: Add Camera HAL HDR+ preference" 2017-06-13 00:15:58 +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
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
Tarandeep Singh
86b8f4460d Fix keyboard not launching on screen lock settings.
calling requestFocus() on EditText fixes the issue.

Bug: 62344628
Test: manual
Change-Id: If8321cb646dca5882d5a44bd1ec2f66f0f4ec5aa
2017-06-12 19:38:03 +00:00
Alison Cichowlas
bbd4fc124a Limit unconfigurability to specified channels.
Bug: 62426259
Test: Unit test in NotificationBackendTest.java
Change-Id: I79d069cee0b641d520b02f8a25751ec3e0d4632d
2017-06-12 13:44:38 -04:00
TreeHugger Robot
c37e0c1e47 Merge "Update restricted list prefrences before dialog creation." 2017-06-12 11:47:13 +00:00
Andrew Sapperstein
2ce5649a67 Update SummaryPreference to use config_headlineFontFamily. am: be3972d7c2
am: 3c8b5fa905

Change-Id: I5de459efc257a13d17ffe520c783f5cf9582563e
2017-06-09 23:16:33 +00:00
jackqdyulei
bf4a2a1afe Update dialogs for anomaly
1. Add dialog for background activity action
2. Use new strings in anomaly dialogs

Bug: 62490179
Test: RunSettingsRoboTests

Change-Id: Ide836a4aca939963bd3b15c6d728eed68a6d7f43
2017-06-09 15:14:28 -07:00
Andrew Sapperstein
be3972d7c2 Update SummaryPreference to use config_headlineFontFamily.
Also deleted a couple of unused files.

Change-Id: I42b6f6c79c3a7ba00040d657204830c5a468a2b2
Fixes: 62385826
Test: manual
2017-06-09 13:41:06 -07:00
Daniel Nishi
82facf0ca8 Merge "Add "Free up space" to the Settings search." into oc-dr1-dev am: 1dc3f38506
am: d60511d6ca

Change-Id: Ic688f627e055fca2e461d394625c1ade1a6ca06c
2017-06-09 18:20:19 +00:00
Daniel Nishi
1dc3f38506 Merge "Add "Free up space" to the Settings search." into oc-dr1-dev 2017-06-09 17:56:51 +00:00
Antony Sargent
96b40a284f Merge "Set advanced battery usage items as non-selectable" into oc-dev am: d77b699e60 am: 6a5f36a494
am: e20b2ea043

Change-Id: I0c081383954104ab3d22439dffb3a6aefd6efe3a
2017-06-09 16:06:09 +00:00
Antony Sargent
92661526d4 Merge "Set advanced battery usage items as non-selectable" into oc-dev
am: d77b699e60

Change-Id: I2f7f524ee29224ee02a881c368bc058e55e98fec
2017-06-09 15:49:11 +00:00
Antony Sargent
6a5f36a494 Merge "Set advanced battery usage items as non-selectable" into oc-dev
am: d77b699e60

Change-Id: Ib647c80d06ed0cda957759f0250277531ac46f13
2017-06-09 15:49:10 +00:00
Antony Sargent
d77b699e60 Merge "Set advanced battery usage items as non-selectable" into oc-dev 2017-06-09 15:41:27 +00:00
Hugo Benichi
5d02b8b85f Merge "Instrument sign-in-captive-portal button" into oc-dr1-dev 2017-06-09 08:56:19 +00:00
jackqdyulei
3aae1f336e Merge "Make flag "showAllapps" persistent in PowerUsageSummary" into oc-dev
am: 4f02eebab8

Change-Id: Id02583309a3e547855b7ffc69e065c2293fb172e
2017-06-09 08:34:46 +00:00
TreeHugger Robot
4f02eebab8 Merge "Make flag "showAllapps" persistent in PowerUsageSummary" into oc-dev 2017-06-09 08:29:57 +00:00
jackqdyulei
6a9c5edc98 Merge "Make flag "showAllapps" persistent in PowerUsageSummary" into oc-dr1-dev am: 4c4e780577
am: 3f3e44114e

Change-Id: I2494d08a3a40a23c5f71eacde8733d98dc0510ac
2017-06-09 04:57:22 +00:00
jackqdyulei
82fcadad65 Make flag "showAllapps" persistent in PowerUsageSummary
This flag is used to decide whether to show all the apps
(including system app, service..) in battery settings

Handle it in onCreate() and onSaveInstanceState()

Bug: 62422948
Test: RunSettingsRoboTests
Change-Id: I30c0d6e1e25902f1192fc2564aa09d635b5e0f4f
Merged-In: I30c0d6e1e25902f1192fc2564aa09d635b5e0f4f
2017-06-08 21:49:15 -07:00
TreeHugger Robot
4c4e780577 Merge "Make flag "showAllapps" persistent in PowerUsageSummary" into oc-dr1-dev 2017-06-09 04:39:41 +00:00
Fan Zhang
2cc1669ed3 Merge "Merge "Use support feature provider to provide intro url." into oc-dr1-dev am: bdc0816982" into oc-dr1-dev-plus-aosp
am: afa34b1cc4

Change-Id: Iac1d851fb89ea51827bca764004ff3741f54dd14
2017-06-09 03:03:14 +00:00
jackqdyulei
1ba91b2568 Merge "Update subtitle for apps in battery settings" into oc-dev am: 031b90541f am: 424edd3064
am: b0490baa77

Change-Id: I07e2f7c98bdd73703d6c8b153491cbf5bc9d01f6
2017-06-09 03:02:45 +00:00
Android Build Merger (Role)
afa34b1cc4 Merge "Merge "Use support feature provider to provide intro url." into oc-dr1-dev am: bdc0816982" into oc-dr1-dev-plus-aosp 2017-06-09 03:00:46 +00:00
jackqdyulei
b0490baa77 Merge "Update subtitle for apps in battery settings" into oc-dev am: 031b90541f
am: 424edd3064

Change-Id: I36aba85cd1deb78fef15092996e6cc1b364dd79f
2017-06-09 03:00:16 +00:00
jackqdyulei
424edd3064 Merge "Update subtitle for apps in battery settings" into oc-dev
am: 031b90541f

Change-Id: I7ec1ee37eb42d5523502ae3a17694f61ea6197ba
2017-06-09 02:57:46 +00:00
jackqdyulei
6525053801 Merge "Update subtitle for apps in battery settings" into oc-dev
am: 031b90541f

Change-Id: Ia0581b295824b73ef36f931066b883cff51fc0e9
2017-06-09 02:57:46 +00:00
TreeHugger Robot
bdc0816982 Merge "Use support feature provider to provide intro url." into oc-dr1-dev 2017-06-09 02:54:32 +00:00
TreeHugger Robot
031b90541f Merge "Update subtitle for apps in battery settings" into oc-dev 2017-06-09 02:53:36 +00:00
Hugo Benichi
2c06009ad6 Instrument sign-in-captive-portal button
Bug: 36203355
Bug: 34901696
Bug: 36532213
Test: WifiDetailPreferenceControllerTest updated
Change-Id: I03dbcdd6efbd0d7aaf2ef67d541fceeb6acc2acf
(cherry picked from commit 539211a718)
2017-06-09 02:51:46 +00:00
Hugo Benichi
391f3fa30d Merge "Instrument sign-in-captive-portal button" 2017-06-09 02:42:26 +00:00
jackqdyulei
f9a5c39c4c Make flag "showAllapps" persistent in PowerUsageSummary
This flag is used to decide whether to show all the apps
(including system app, service..) in battery settings

Handle it in onCreate() and onSaveInstanceState()

Bug: 62422948
Test: RunSettingsRoboTests
Change-Id: I30c0d6e1e25902f1192fc2564aa09d635b5e0f4f
2017-06-08 19:20:05 -07:00
Matthew Fritze
812ad7b329 Merge "Search results always highlight proper results" into oc-dev am: 2a32cb6a33 am: 824f25320a
am: 0514c19273

Change-Id: Ia9baa982a544d126bd175c0112f240aa73412857
2017-06-09 01:28:48 +00:00
Matthew Fritze
d07e14fb5b Merge "Search results always highlight proper results" into oc-dev
am: 2a32cb6a33

Change-Id: I649a4122952a41b31ee66b0daab8607b683d3e19
2017-06-09 01:23:39 +00:00
Matthew Fritze
824f25320a Merge "Search results always highlight proper results" into oc-dev
am: 2a32cb6a33

Change-Id: I1bc6297cc75aa833184a00598f5930aa3ca114dc
2017-06-09 01:23:39 +00:00
TreeHugger Robot
2a32cb6a33 Merge "Search results always highlight proper results" into oc-dev 2017-06-09 01:19:38 +00:00
Doris Ling
24ab7be89f Merge "Update text for Languages & Input." into oc-dr1-dev am: 73e03e6ca2
am: 94fa9d8f6e

Change-Id: I7ae8afa33248302f55126cbc6d4f0e89a7f41eee
2017-06-09 01:15:38 +00:00
TreeHugger Robot
cfda7bf224 Merge "Increase visibilities in SearchFragment and SearchResutlsAdapter for testing" 2017-06-09 01:10:48 +00:00