Commit Graph

61229 Commits

Author SHA1 Message Date
Mark Lu
f9537d2a05 docs: Fix typo and broken link in AsyncTask.java am: 53415ff24e
am: fc68813e5c

Change-Id: I1be966d00de19afcef968093e0583e6da1eaff98
2016-08-26 01:15:54 +00:00
Mark Lu
2721e7db4a docs: fix link in Loader reference page am: 9f52b7a4a8
am: c6612637bb

Change-Id: I0472093b0019a421319c2acf29a4e36b87e75cd6
2016-08-26 01:15:49 +00:00
Mark Lu
fc68813e5c docs: Fix typo and broken link in AsyncTask.java
am: 53415ff24e

Change-Id: Ib4fadd74bcf640bd28cb19e757e2cc7b605a69dd
2016-08-26 01:03:17 +00:00
Mark Lu
c6612637bb docs: fix link in Loader reference page
am: 9f52b7a4a8

Change-Id: I98f4ca957005ffc795e41be321b6b4995c6242f0
2016-08-26 01:02:36 +00:00
Mark Lu
b49a7f8602 docs: fix broken links in Activity reference am: fa43485910 am: 497c2907fd am: eab610d0a6
am: b03a1b8b25

Change-Id: Iadf3e62a1e8b93ead2e341644a7b0f6f0ee0e17d
2016-08-26 00:50:13 +00:00
Hemal Patel
ac0b242755 resolve merge conflicts of a544221 to nyc-dev-plus-aosp
am: 309813c8af

Change-Id: Ia316e53bf0fd163da67676acfd52d3e31d9e2149
2016-08-26 00:42:38 +00:00
Dianne Hackborn
ccc9f7a59e Try to mitigate issue #31016187: system_server crash in ArraySet.
am: dd28b7b5f3

Change-Id: Id493898997e0745ac2f3c65c0dfb3e4ab5ea03ae
2016-08-26 00:42:22 +00:00
Mark Lu
c4e81b64f1 docs: fix broken links in Activity reference
am: fa43485910

Change-Id: I67134251790b12d53d31c6854073884f498ef1e5
2016-08-26 00:42:01 +00:00
Hemal Patel
309813c8af resolve merge conflicts of a544221 to nyc-dev-plus-aosp
Change-Id: Ie7a3a85fdd2e59eea4f74760010190ce9f5f9b02
2016-08-25 17:30:34 -07:00
Mark Lu
b03a1b8b25 docs: fix broken links in Activity reference am: fa43485910 am: 497c2907fd
am: eab610d0a6

Change-Id: Idfc3c5edf2afd5f5b7c60b43a719dad943bcc61c
2016-08-25 22:34:20 +00:00
Hemal Patel
ac438b21ba Docs: Fixed the Bluetooth guide link am: 65813dff14 am: a544221abd am: d6a64d788b
am: 42708fa473

Change-Id: I90c2d41cda51f1e95d84cbfce641085fed533b79
2016-08-25 22:31:14 +00:00
Mark Lu
eab610d0a6 docs: fix broken links in Activity reference am: fa43485910
am: 497c2907fd

Change-Id: I35f07a633757dc83970accbe78b3173090e71099
2016-08-25 22:14:14 +00:00
Hemal Patel
42708fa473 Docs: Fixed the Bluetooth guide link am: 65813dff14 am: a544221abd
am: d6a64d788b

Change-Id: I52619fde80addd87e0ef18b48bc93184ddf347f1
2016-08-25 22:10:49 +00:00
Mark Lu
497c2907fd docs: fix broken links in Activity reference
am: fa43485910

Change-Id: I72cebe96e1ea0c1950ca316bc80c337bfdde9002
2016-08-25 21:54:49 +00:00
Hemal Patel
d6a64d788b Docs: Fixed the Bluetooth guide link am: 65813dff14
am: a544221abd

Change-Id: I0cbd8fa416f4d0b00d7cb3c65eef9748439abe48
2016-08-25 21:37:59 +00:00
Hemal Patel
a544221abd Docs: Fixed the Bluetooth guide link
am: 65813dff14

Change-Id: I4502828940c4f2e33363e10728e97f484bc15651
2016-08-25 21:31:56 +00:00
Dianne Hackborn
dd28b7b5f3 Try to mitigate issue #31016187: system_server crash in ArraySet.
Instead of crashing, log a wtf and recover.  This is not a problem
in ArraySet, but caused by someone else using an ArraySet without
protecting access to it.  So whoever is calling at this point is
not the cause, and it isn't worthwhile to let them crash.

Change-Id: Iaefa4315b620c9fe24b31507e4aa47a8525c8540
(cherry picked from commit 92aa4b2ba3)
2016-08-25 19:49:41 +00:00
Teng-Hui Zhu
d607d75790 Add TestApi to ValueAnimator for AnimationScaleListDrawable CTS test. am: 0a815bb94f
am: 3687be955f

Change-Id: I3de20fb11eaf1fc98c769f0aae1751a2b5549b1f
2016-08-25 18:36:06 +00:00
Teng-Hui Zhu
3687be955f Add TestApi to ValueAnimator for AnimationScaleListDrawable CTS test.
am: 0a815bb94f

Change-Id: I9b5d851f95349a7c8981ab8868608e21996a1bb5
2016-08-25 18:28:21 +00:00
Tenghui Zhu
1e37cc2f8a Merge "Add TestApi to ValueAnimator for AnimationScaleListDrawable CTS test." into nyc-mr1-dev 2016-08-25 18:24:12 +00:00
Phil Weaver
381e4fdc7c Revert "Dispatch a11y events in separate thread." am: 5de2feab26
am: f0b8302109

Change-Id: I22e5ca5b0ecfd98e89d8546e287be56ec342ce57
2016-08-25 18:15:47 +00:00
Phil Weaver
f0b8302109 Revert "Dispatch a11y events in separate thread."
am: 5de2feab26

Change-Id: I0dcc9172c397dd44888de3295e5a34245b122096
2016-08-25 18:09:50 +00:00
Phil Weaver
1bb2cc8cc3 Merge "Revert "Dispatch a11y events in separate thread."" into nyc-mr1-dev 2016-08-25 18:05:36 +00:00
Dianne Hackborn
5827257521 Try to mitigate issue #31016187: system_server crash in ArraySet. am: 92aa4b2ba3
am: d43d248848

Change-Id: Ie499c3b715325c23fc5b85442f742453df14e471
2016-08-25 17:30:33 +00:00
Dianne Hackborn
d43d248848 Try to mitigate issue #31016187: system_server crash in ArraySet.
am: 92aa4b2ba3

Change-Id: I0c44548aad0761dc0c87ac5bd129061e69c39795
2016-08-25 17:22:42 +00:00
Dianne Hackborn
09cb4f2007 Merge "Try to mitigate issue #31016187: system_server crash in ArraySet." into nyc-mr1-dev 2016-08-25 17:17:36 +00:00
Dianne Hackborn
92aa4b2ba3 Try to mitigate issue #31016187: system_server crash in ArraySet.
Instead of crashing, log a wtf and recover.  This is not a problem
in ArraySet, but caused by someone else using an ArraySet without
protecting access to it.  So whoever is calling at this point is
not the cause, and it isn't worthwhile to let them crash.

Change-Id: Iaefa4315b620c9fe24b31507e4aa47a8525c8540
2016-08-25 10:12:02 -07:00
Phil Weaver
5de2feab26 Revert "Dispatch a11y events in separate thread."
This reverts commit c34649411d.

Dispatching accessibility events in their own thread is causing Chrome and gmail to crash. We've identified two issues: Chrome is allocating strings natively using references that aren't valid outside of their thread, and the text is being set to values that are changed in the UI thread. 

I'm going to resolve these issues on master by making deep copies of the strings, but that change will have its own performance implications.

Since we were bit almost immediately by an unexpected result of this change, and I need to erode its benefit by making deep copies, I think it's a bad bet to push it into MR1.

Bug: 31042124
Change-Id: I6f5c225a9197036db43fd0ac6008447b22617525
2016-08-25 16:31:25 +00:00
Andrew Scull
1aea3e73d1 Explain the IAE thrown by resetPassword. am: 60df33da54
am: aa96b68b66

Change-Id: I9bd4270f54e13b0ade22bace4c6899eef9fa1ae4
2016-08-25 15:12:33 +00:00
Andrew Scull
aa96b68b66 Explain the IAE thrown by resetPassword.
am: 60df33da54

Change-Id: Ia827b77a55544f6e815e13a86256ebcb80aea326
2016-08-25 15:06:33 +00:00
Andrew Scull
56bfc1cecf Merge "Explain the IAE thrown by resetPassword." into nyc-mr1-dev 2016-08-25 15:01:18 +00:00
Svetoslav Ganov
11bd5718a1 Store the event of settings db downgrade am: 264c7a90c7
am: f813a5a1c4

Change-Id: I21a6ebdde23a0df93872105d91a54d64a2e6adf4
2016-08-25 02:31:48 +00:00
Svetoslav Ganov
f813a5a1c4 Store the event of settings db downgrade
am: 264c7a90c7

Change-Id: I5b9d5a9bd3c2df337776921a34960ceef8fda1ce
2016-08-25 02:25:47 +00:00
TreeHugger Robot
49af952a92 Merge "Store the event of settings db downgrade" into nyc-mr1-dev 2016-08-25 02:18:11 +00:00
Doris Ling
7eeeb0d90e Add the Moves setting values to the backup list. am: 8a33273620 am: cdc758d555
am: b790a1e6ab

Change-Id: I440af4d5aafdc48e4d4333a5f708c86f97ffe556
2016-08-25 01:46:48 +00:00
Doris Ling
b790a1e6ab Add the Moves setting values to the backup list. am: 8a33273620
am: cdc758d555

Change-Id: I8fd42b0b5e9f9471a659f6ae0205482ad0c800e8
2016-08-25 01:39:39 +00:00
Doris Ling
cdc758d555 Add the Moves setting values to the backup list.
am: 8a33273620

Change-Id: I8f64074acbe6d85a0f2402695925e7f75c20569b
2016-08-25 01:31:28 +00:00
Doris Ling
8a33273620 Add the Moves setting values to the backup list.
Add Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED,
Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED, and
Secure.SYSTEM_NAVIGATION_KEYS_ENABLED (used by Settings->Moves)
to Secure.SETTINGS_TO_BACKUP, so that they will be backed up and
restored automatically.

Fixes: 31023788

Test: Manual - Setup device using "Copy your data", verify that
Settings->Moves toggles are set to previous selected values.

Change-Id: I509c997641bb693009bec703e5272b5aad517f0f
2016-08-25 00:48:33 +00:00
Svetoslav Ganov
264c7a90c7 Store the event of settings db downgrade
bug:30561721

Change-Id: I8f2252bbf99603976c7efc32c54aa88b314ba815
2016-08-24 17:31:21 -07:00
Fyodor Kupolov
44811aba74 Update services info before returning authenticators am: 814464894c am: 7540b79fee
am: 69192b00e6

Change-Id: I4615e7480647b1d15d6e083f11e21acb4dbfefc6
2016-08-25 00:21:11 +00:00
Fyodor Kupolov
69192b00e6 Update services info before returning authenticators am: 814464894c
am: 7540b79fee

Change-Id: I3626a735bb408f78db627897d75b5cb7f7a5f837
2016-08-25 00:15:14 +00:00
Fyodor Kupolov
7540b79fee Update services info before returning authenticators
am: 814464894c

Change-Id: I3d7eb42ef73ad77cb44c251a493ae967bcc0f651
2016-08-25 00:08:38 +00:00
Fyodor Kupolov
02e54d3c6a Merge "Update services info before returning authenticators" into nyc-dr1-dev 2016-08-25 00:02:51 +00:00
Guang Zhu
a3924f78f9 Merge "use threadtime when collecting logcat" into nyc-mr1-dev am: 333680114d
am: 3c5b0dffe3

Change-Id: I0203a2bc1b36c32902d78d778f231e5009cb7d22
2016-08-24 23:28:20 +00:00
Adam Powell
3c5b0dffe3 Always report visibility to new ImageView drawables am: 37b44dd592
am: a35c182637

Change-Id: Iff4507bf0607d33d9525c8695260f75b381a7ba8
2016-08-24 23:18:47 +00:00
Adam Powell
a35c182637 Always report visibility to new ImageView drawables
am: 37b44dd592

Change-Id: Ib8e1cc5d3ee91aae74875cc70fda9d8d4104892e
2016-08-24 23:12:27 +00:00
Teng-Hui Zhu
0a815bb94f Add TestApi to ValueAnimator for AnimationScaleListDrawable CTS test.
Also rename an internal class.

b/30877925

Change-Id: Ib971ed090907a0ab387dd7c768e2b77eb9b69f75
2016-08-24 16:12:20 -07:00
Adam Powell
37b44dd592 Always report visibility to new ImageView drawables
Fix a regression where some drawables would not be correctly updated
with their visibility state if set while an ImageView was not attached
to a window.

Bug 30216207

Change-Id: Ia30326a78168141c8f85bad9c782710f965623b7
2016-08-24 22:57:09 +00:00
Fyodor Kupolov
814464894c Update services info before returning authenticators
Added RegisteredServicesCache.updateServices method which allows callers
to request an update to services for which package has been updated.

Added a call to updateServices in getAuthenticatorTypesInternal

Test: Manually tested update flow on test authenticator with an artificial
      delay in broadcast handling
Bug: 30979262
Change-Id: I499b2ee0be53fed01201c56068d929b6d621a78e
2016-08-24 22:47:38 +00:00
Adam Powell
84d7f577d6 Focus behavior for scroll containers in watch mode
am: 2fe301db75

Change-Id: I748e941fcce1355a226bf56609511c8db8bb788e
2016-08-24 21:16:24 +00:00