Commit Graph

37002 Commits

Author SHA1 Message Date
Sundeep Ghuman
0c02e22c99 Merge "Allow WifiSettings to show old APs on app resume." into oc-dev
am: 683a7e2bf5

Change-Id: Id9ef9060ce76f96d36338e5ba4ddd0701b538a08
2017-06-15 06:39:40 +00:00
TreeHugger Robot
683a7e2bf5 Merge "Allow WifiSettings to show old APs on app resume." into oc-dev 2017-06-15 06:30:58 +00:00
Sundeep Ghuman
6ab460c354 Allow WifiSettings to show old APs on app resume.
am: 4ae59dde43

Change-Id: I57cb72fcdcbe98223ccda71f1ae6de2756b7ec08
2017-06-15 04:21:38 +00:00
Sundeep Ghuman
60b814ba43 Allow WifiSettings to show old APs on app resume.
If we do not have any recent scan results, show the previous APs from
when the app was last paused, by not triggering a force update.

Accompanying changes are also made in WifiTracker to prevent
onAccessPointsChanged callbacks from being invoked until the tracker
receives a new 'SCAN_RESULTS_AVAILABLE' broadcast (ag/2409026).

Bug: b/38212080
Test: runtest --path
packages/apps/Settings/tests/unit/src/com/android/settings/wifi/WifiSettingsUiTest.java
one minute later.

Change-Id: I4f9b2ec855e057e28235b0253ab42c6b4521bebc
Merged-In: I4f9b2ec855e057e28235b0253ab42c6b4521bebc
2017-06-14 19:07:05 -07:00
Sundeep Ghuman
4ae59dde43 Allow WifiSettings to show old APs on app resume.
MANUAL MERGE of ag/2398149 to avoid merge conflicts when trying to
submit to oc-dev.

If we do not have any recent scan results, show the previous APs from
when the app was last paused, by not triggering a force update.

Accompanying changes are also made in WifiTracker to prevent
onAccessPointsChanged callbacks from being invoked until the tracker
receives a new 'SCAN_RESULTS_AVAILABLE' broadcast (ag/2409026).

Bug: b/38212080
Test: runtest --path
packages/apps/Settings/tests/unit/src/com/android/settings/wifi/WifiSettingsUiTest.java
one minute later.

Change-Id: I4f9b2ec855e057e28235b0253ab42c6b4521bebc
2017-06-14 19:05:21 -07:00
Kevin Chyn
36d4b81119 Merge "Move assist gestures settings to overlay" into oc-dr1-dev
am: 6f365765f7

Change-Id: I23f3bdbcbd60c80842a51da61a16225252dc179c
2017-06-14 01:51:50 +00:00
Kevin Chyn
6f365765f7 Merge "Move assist gestures settings to overlay" into oc-dr1-dev 2017-06-14 01:43:48 +00:00
Tarandeep Singh
4c2ef7c144 Merge "Replace showSoftInput with ImeAwareEditText.scheduleShowSoftInput" into oc-dr1-dev
am: fc9622ef53

Change-Id: I4390c0d04e56726950b9a404e4d5fe6483d6b9ee
2017-06-14 00:06:44 +00:00
TreeHugger Robot
fc9622ef53 Merge "Replace showSoftInput with ImeAwareEditText.scheduleShowSoftInput" into oc-dr1-dev 2017-06-13 23:53:33 +00:00
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
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
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
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
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
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
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
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
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
34373c8f33 Merge "Increase length of string for pref title" into oc-dr1-dev 2017-06-13 00:13:43 +00: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
521240a317 Fix keyboard not launching on screen lock settings.
am: 86b8f4460d

Change-Id: I21b872ac9edacd625c0995b9c878cbe91f82cc2b
2017-06-12 22:33:08 +00: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
Maurice Lam
546cae8e38 Merge "Increase CHAR LIMIT" into oc-dr1-dev
am: cd2cb4511a

Change-Id: I96a2e76f42d2972eaa2542c7d4d94a728c48ead2
2017-06-12 18:38:52 +00:00
Maurice Lam
cd2cb4511a Merge "Increase CHAR LIMIT" into oc-dr1-dev 2017-06-12 18:34:33 +00:00
Salvador Martinez
928b763792 Increase length of string for pref title
Translators needed a few more characters in a preference that still
had ample space. This cl simply changes the comment to allow for
the requested character count.

Test: Ensure 25 chars fit (screenshot)
Bug: 62433109
Change-Id: I1bd31c969cc4fea8bcfec794a2d8a7b98778853c
2017-06-12 18:30:21 +00:00
Andrew Sapperstein
4aba04c690 Update advanced battery screen to use headline font.
am: e2a276f2b6

Change-Id: I920fe5c52fae1f8ec873f999dff72d79bcc2cd9a
2017-06-12 17:41:10 +00:00
Maurice Lam
225d4f2ea8 Increase CHAR LIMIT
Test: Existing tests pass
Bug: 62362729
Bug: 62401881
Change-Id: I4416db079d35cfdedd69670eaa92ef62bcacca80
2017-06-11 21:17:09 +00:00
Andrew Sapperstein
e2a276f2b6 Update advanced battery screen to use headline font.
Change-Id: I8e70cc8093cccbe67b7c363a60a03f0eb1cda2e5
Fixes: 62507326
Test: robotests
2017-06-10 18:00:45 -07:00
Bill Yi
7fb248e126 Import translations. DO NOT MERGE
am: 5a3748e39a  -s ours

Change-Id: Ie76608b1e36973b34eb896cbf5871fa9b658fc39
2017-06-10 06:09:16 +00:00
Bill Yi
5a3748e39a Import translations. DO NOT MERGE
Change-Id: I2cf44e9a52a89c9d4ebdfa3e05897e68e6ea505f
Auto-generated-cl: translation import
2017-06-09 18:36:51 -07:00
Andrew Sapperstein
3c8b5fa905 Update SummaryPreference to use config_headlineFontFamily.
am: be3972d7c2

Change-Id: I794adde11115dbcbcdc07f3307c284253a4a33b0
2017-06-09 22:50:29 +00:00