Commit Graph

75747 Commits

Author SHA1 Message Date
Roozbeh Pournader
35ea7b7d5b Merge "Use text input for various internationalized listeners" into oc-dev
am: 94b6b532c0

Change-Id: I38faf86ec475154d437cc7dc7a363d58fd5962da
2017-04-05 23:42:32 +00:00
Dmitry Dementyev
a110bdd0d2 Merge "Don't show empty account list in account chooser." into oc-dev
am: 6343bd8ffc

Change-Id: I64110a80d61e66876dd332ab01c8757a0beca082
2017-04-05 23:41:22 +00:00
George Mount
4f5654cc8c Merge "Call noteStateNotSaved on child fragment managers." into oc-dev
am: a62a3d8ec1

Change-Id: I2a7a54b69c69efaf27a2edd18e2adbb179e660b2
2017-04-05 23:34:30 +00:00
TreeHugger Robot
94b6b532c0 Merge "Use text input for various internationalized listeners" into oc-dev 2017-04-05 23:32:55 +00:00
TreeHugger Robot
6343bd8ffc Merge "Don't show empty account list in account chooser." into oc-dev 2017-04-05 23:29:26 +00:00
TreeHugger Robot
a62a3d8ec1 Merge "Call noteStateNotSaved on child fragment managers." into oc-dev 2017-04-05 23:23:54 +00:00
Felipe Leme
260945be5f Merge "Changed FillResponse.setAuthentication() to require field ids." into oc-dev
am: a9baa4c851

Change-Id: I59736bcc35281b038bcb19b822cb00b44cac2a60
2017-04-05 22:34:13 +00:00
Felipe Leme
a9baa4c851 Merge "Changed FillResponse.setAuthentication() to require field ids." into oc-dev 2017-04-05 22:25:16 +00:00
Bookatz
30a17ef2d4 Merge "Collect background stats: scheduled jobs" into oc-dev
am: f68766f666

Change-Id: I5123fabe0976652cecf31fa3c786fa4f10a4e1dc
2017-04-05 22:23:15 +00:00
TreeHugger Robot
f68766f666 Merge "Collect background stats: scheduled jobs" into oc-dev 2017-04-05 22:13:10 +00:00
Phil Weaver
03babf9174 Merge "Consolidate a11y unit tests and get them working" into oc-dev
am: 101b151548

Change-Id: Iae2179b65f758779979e15937c9a0c6b6f6efa4b
2017-04-05 21:48:55 +00:00
TreeHugger Robot
101b151548 Merge "Consolidate a11y unit tests and get them working" into oc-dev 2017-04-05 21:41:27 +00:00
Tobias Thierer
8283da42a4 Merge "Document the fact that StatFs.restat() and ctor can throw." am: 183c93f6a0 am: e11ed001dd
am: a426851da0

Change-Id: Ife49443ed8e5e4e90723e4e46c0e8c48a6ee5547
2017-04-05 21:14:46 +00:00
Tobias Thierer
a426851da0 Merge "Document the fact that StatFs.restat() and ctor can throw." am: 183c93f6a0
am: e11ed001dd

Change-Id: Ia2ee1c65e6cd7992d0761a7eeb6e9bb7964de3bc
2017-04-05 21:09:14 +00:00
Roozbeh Pournader
889c6503a1 Use text input for various internationalized listeners
Since the characters that need to be entered for an internationalized
input type may not be available on the old non-internationalized
layouts, switch to the full text layout if there are any such
characters.

TextView is also modified to call the locale-aware listeners if
the target SDK is set to O or later.

Test: Manual
Bug: https://code.google.com/p/android/issues/detail?id=2626
Bug: https://code.google.com/p/android/issues/detail?id=82993
Bug: 8319249
Bug: 33276673
Bug: 34394455
Change-Id: I544bf0cc893a475ab5bf88cbad01cb981c6fef91
2017-04-05 14:07:22 -07:00
Tobias Thierer
0ad48dc8aa Document the fact that StatFs.restat() and ctor can throw.
StatFs.restat() and the StatFs constructor can throw
IllegalArgumentException. This was not previously documented;
not all callers took this into account, for example:
   http://r.android.com/251290

This CL adds documentation to those methods. It also adds
comments to two of the callers.

Separately from this CL, we may in addition consider adding
new API StatFs.checkedRestat() and StatFs.checkedCreate()
or similar that throw IOException; we cannot change the
existing constructor and method since they are public.

Test: Checked that "make" still completed successfully.

Change-Id: I6a0b3cb7718939408937c61de7c3b000b948fa59
2017-04-05 20:52:04 +00:00
Christopher Tate
9e8672a482 Merge "Allow background default container service in a less crashy way" into oc-dev
am: 0283544c49

Change-Id: I863c9c8ae1d3760eb68d7169b8d60260731d6190
2017-04-05 20:51:16 +00:00
Adam Lesinski
9f887687fd Merge "Fix NPE when adding WebView to ResourcesManager" into oc-dev
am: 7e5205137c

Change-Id: Ifb45086ba1c53e4de5abe83de66118e026c3c297
2017-04-05 20:49:06 +00:00
Dianne Hackborn
ec5feb873e Merge "Deliver start service args with ParcelledListSlice." into oc-dev
am: 1cf2c97459

Change-Id: Iacdd90c6081e93e38cfe932f5210545f33562f7a
2017-04-05 20:46:48 +00:00
TreeHugger Robot
0283544c49 Merge "Allow background default container service in a less crashy way" into oc-dev 2017-04-05 20:43:42 +00:00
TreeHugger Robot
7e5205137c Merge "Fix NPE when adding WebView to ResourcesManager" into oc-dev 2017-04-05 20:42:01 +00:00
Dianne Hackborn
1cf2c97459 Merge "Deliver start service args with ParcelledListSlice." into oc-dev 2017-04-05 20:37:36 +00:00
Felipe Leme
dae23dab8c Merge "Removed deprecated auto(F)ill classes." into oc-dev
am: b44feb154b

Change-Id: I95768d5e62af9f9fd6469b8a8e36c6e6a196091a
2017-04-05 20:32:10 +00:00
TreeHugger Robot
b44feb154b Merge "Removed deprecated auto(F)ill classes." into oc-dev 2017-04-05 20:25:40 +00:00
Rubin Xu
b9b4825c8b Merge "Tweak javadoc of setResetPasswordToken" into oc-dev
am: ae23290ef5

Change-Id: Ib8988c2c0c07aba71fe995a64c7bb7d8fe504141
2017-04-05 20:07:18 +00:00
TreeHugger Robot
ae23290ef5 Merge "Tweak javadoc of setResetPasswordToken" into oc-dev 2017-04-05 20:02:04 +00:00
Kang Li
e9b280bbec Merge "Revert "Add a service to rank apps for ResolverActivity."" into oc-dev
am: b24399547c

Change-Id: I45e96d0b5e88eb280e6dbc5981e6a6a7f1a4b6e2
2017-04-05 19:57:08 +00:00
Kang Li
b24399547c Merge "Revert "Add a service to rank apps for ResolverActivity."" into oc-dev 2017-04-05 19:50:10 +00:00
Kang Li
c88749fb5a Revert "Add a service to rank apps for ResolverActivity."
This reverts commit 90370e0b24.

b: 36952725

Change-Id: Ifa8f182c707cdbbc989b1f61630f7a8fa856d32d
2017-04-05 19:44:02 +00:00
Rubin Xu
f7b036db0b Tweak javadoc of setResetPasswordToken
Bug: 34600579
Test: make -j32 docs
Change-Id: Ib4593c20fb78f52d5e75cafdfea32d747cc340c9
2017-04-05 19:17:48 +01:00
Adam Lesinski
cd7197dd26 Fix NPE when adding WebView to ResourcesManager
Framework resources have their mResDir set to null, since the framework
resources are implicitly always included. Guard against null
when checking to see if the Resources mResDir matches the asset path
WebView wants to inject itself into.

Bug: 36953234
Test: manual
Change-Id: Ie3dc0cc1240441a2466585224cdc7c15555c66bf
2017-04-05 11:04:17 -07:00
Tony Wickham
dfa3edb2ee Merge "Add AppWidgetManager#getInstalledProvidersForPackage()" into oc-dev
am: 8fdf051346

Change-Id: Ieda874c08955647005b9545fa7587e123339247b
2017-04-05 17:41:29 +00:00
Tony Wickham
8fdf051346 Merge "Add AppWidgetManager#getInstalledProvidersForPackage()" into oc-dev 2017-04-05 17:37:15 +00:00
Phil Weaver
7a6cc9b5a7 Consolidate a11y unit tests and get them working
Moving tests for accessibility manager into the a11y
directory and getting them to use some of the newer
test infrastructure. Minor tweaks to
AccessibilityManager to make it testable.

Deleting the AccessibilityManagerService tests entirely.
This class is difficult to unit test with the current
infrastructure, but is covered in CTS tests to a large
degree. I wasn't able to get these working quickly, and
they rely on timeouts that make them run much slower than
the other tests. They also throw exceptions when their
mock accessibility services receive accessibility events,
which causes the system to blacklist those services, causing
the tests to fail differently until the system is reset.
I think it's better to focus on writing new, more robust
tests than on rewriting these tests to pass.

Bug: 36614219
Test: A11y unit tests now work.
Change-Id: I8effe44f22110d55ebb700dc46f59b7e7a1aa946
(cherry picked from commit 9213d23178)
2017-04-05 16:34:29 +00:00
George Mount
74af07647d Call noteStateNotSaved on child fragment managers.
Bug 36740474

When onNewIntent() is called, it calls noteStateNotSaved on
the FragmentManager. It wasn't propagating that to child
FragmentManagers. This CL properly propagates the
noteStateNotSaved().

Test: I7cf360a4ed82ee34797896dc110477731c8206c0

Change-Id: Icfcbc385ef68657145b05cb59d5b2a70fe020992
2017-04-05 07:36:28 -07:00
Alan Viverette
ee4b52afd8 Merge "Automatic casts for more findViewById implementations" into oc-dev
am: 7458ea3827

Change-Id: I7c77634f1a5b2551830796118e1fe69d389d6884
2017-04-05 13:58:51 +00:00
Alan Viverette
7458ea3827 Merge "Automatic casts for more findViewById implementations" into oc-dev 2017-04-05 13:54:51 +00:00
Alejandro Fernández
91266901dc Merge "Updating javadoc string for DevicePolicyManager.EXTRA_PROVISIONING_SUPPORT_URL to indicate that only HTTPS urls are supported." into oc-dev
am: 8d41ad08c0

Change-Id: I2a0f80a5da207243aa39c6d19e0743261f655f62
2017-04-05 11:31:29 +00:00
TreeHugger Robot
8d41ad08c0 Merge "Updating javadoc string for DevicePolicyManager.EXTRA_PROVISIONING_SUPPORT_URL to indicate that only HTTPS urls are supported." into oc-dev 2017-04-05 11:25:31 +00:00
Seigo Nonaka
97b35a7089 Merge "Pass weight/italic pair instead of style." into oc-dev
am: b4e3b344fa

Change-Id: I9d430af9489878fd0c7eb8d26dce186a13059450
2017-04-05 10:12:26 +00:00
TreeHugger Robot
b4e3b344fa Merge "Pass weight/italic pair instead of style." into oc-dev 2017-04-05 10:04:52 +00:00
Felipe Leme
b3c3537566 Changed FillResponse.setAuthentication() to require field ids.
Currently, authenticate FillResponses do not support partition and follows
the "Highlander approach" (There can be just only one), which causes the
authentication UI to show on all views.

This CL overloads FillResponse.setAuthentication() so it requires the
AutofillIds of the autofillable fields, although behind the scenes it
calls the old method - once clients use the new method, the old method
will be removed and the underlying implementation changed.

The new behavior will be tested by testFillResponseAuthJustOneField()
on LoginActivityTest, although currently it's testing the old behavior.

Test: LoginActivityTest.testFillResponseAuthJustOneField

Bug: 35707731
Bug: 36855717

Change-Id: I601f3e4776aa8763415a06d8d802901a930728d2
2017-04-04 20:17:57 -07:00
Sam Lin
4a4b6b6211 Merge "Add a feature flag for CTS." into oc-dev
am: 9ff3ec4872

Change-Id: I1b2e8026cf2db083fb17ab03d0e1972addffdbbb
2017-04-05 01:37:26 +00:00
Sam Lin
9ff3ec4872 Merge "Add a feature flag for CTS." into oc-dev 2017-04-05 01:29:20 +00:00
Felipe Leme
f78e952d8d Removed deprecated auto(F)ill classes.
Bug: 35956626
Test: manual verification
Test: CtsAutoFillServiceTestCases pass
Change-Id: Icb622589c41e6a286d51e3f85bd5a813e483b5ea
2017-04-04 18:28:09 -07:00
Adam Powell
3da2903a18 Merge "Don't crash when passing null to requestChildFocus" into oc-dev
am: df50b64860

Change-Id: I77afb7ee544c08cdc927b0b2e66aa3f229a72892
2017-04-05 00:50:12 +00:00
TreeHugger Robot
df50b64860 Merge "Don't crash when passing null to requestChildFocus" into oc-dev 2017-04-05 00:42:38 +00:00
Christopher Tate
424b03f75e Allow background default container service in a less crashy way
Turns out we run this code during early boot, before the device idle
service has even been constructed yet.  Find another way to achieve
the needed service execution.

Bug 36865930
Test: manual

Change-Id: I8e3304f37c3a5ee125b73aef2b7d7c7b387aa200
2017-04-04 16:50:40 -07:00
Chen Xu
7abbc20610 Merge "move ACTION_SERVICE_STATE to system api" into oc-dev
am: 5effb5f645

Change-Id: I5b61b20b646a9bfae4e0f89c70f7af71f626c740
2017-04-04 23:49:02 +00:00
Adrian Roos
60c0420907 Merge "AOD: update AOD2 views to spec" into oc-dev
am: 146293b35c

Change-Id: I383dae263347ea0719bbbb8af07e6d0a665aee27
2017-04-04 23:44:39 +00:00