Commit Graph

243828 Commits

Author SHA1 Message Date
Jim Miller
0db3ad2410 Merge "resolve merge conflicts of f950ec9 to nyc-dev" into nyc-dev 2016-05-25 00:09:46 +00:00
TreeHugger Robot
0810732a2a Merge "Add missing "try ... finally" safeguards" into nyc-dev 2016-05-25 00:09:29 +00:00
Dianne Hackborn
7a1aa92610 Merge "Fix issue #28931042: wtf in system server" into nyc-dev 2016-05-25 00:00:07 +00:00
Dianne Hackborn
ae02bfdd28 Merge "Fix issue #28931042: wtf in system server" into nyc-dev 2016-05-24 23:23:35 +00:00
Jim Miller
18347a3289 resolve merge conflicts of f950ec9 to nyc-dev
Change-Id: I131632cb9d64156d10001b3555e8b3bfa471690d
2016-05-24 16:08:15 -07:00
Pavlin Radoslavov
e957a8a0b4 Add missing "try ... finally" safeguards
Safeguards for code protected by ReentrantReadWriteLock.

Bug: 28734075
Bug: 28799467
Change-Id: Ib7f598a92e8df6bd855ca48cdd094c1c73a935f2
2016-05-24 22:57:14 +00:00
Sid Soundararajan
a3cb77a9b4 Merge "Add support for dismissing in Talkback Mode" into nyc-dev 2016-05-24 22:46:27 +00:00
Dianne Hackborn
a8e6f875bc Fix issue #28931042: wtf in system server
More broadcasts (from telephony) that should be protected.

Also put a little more information in the wtf message to
help determine where broadcasts from out of the system process
are coming from.

Change-Id: Ie3df25c883482ca54c7a7c5db57ca609950f5cbc
2016-05-24 15:35:27 -07:00
Jim Miller
f950ec9b1a Merge "Fix missing permission check when saving pattern/password" into mnc-dev am: 45c77d951a am: 9bf8474c27
am: 89e3f2ba98

* commit '89e3f2ba98ea6d69b1846e996c4c279a9b20c4e9':
  Fix missing permission check when saving pattern/password

Change-Id: Ice157c9ee86cf29380766d3ec266cb57594a5868
2016-05-24 22:20:09 +00:00
Jim Miller
89e3f2ba98 Merge "Fix missing permission check when saving pattern/password" into mnc-dev am: 45c77d951a
am: 9bf8474c27

* commit '9bf8474c27642f48aa27e2edf1bdd83b27d692c1':
  Fix missing permission check when saving pattern/password

Change-Id: I4238a43dc30be54375b6db129b360cc7d0a90b0e
2016-05-24 22:14:24 +00:00
Jim Miller
9bf8474c27 Merge "Fix missing permission check when saving pattern/password" into mnc-dev
am: 45c77d951a

* commit '45c77d951ab5203b8e19c2ed2ce3a0816e42b118':
  Fix missing permission check when saving pattern/password

Change-Id: I81947e95d5365bbf6a4927435f43c73dc4ac2bb0
2016-05-24 22:08:16 +00:00
Jim Miller
45c77d951a Merge "Fix missing permission check when saving pattern/password" into mnc-dev 2016-05-24 22:04:37 +00:00
Amith Yamasani
fc2a7ce7ac Merge "Don't deliver broadcast to apps that are being backed up" into nyc-dev 2016-05-24 21:43:53 +00:00
Dianne Hackborn
a8c16935d9 Fix issue #28931042: wtf in system server
Broadcast needs to have a valid action.  We'll just pick
a generic one, since the receiver here doesn't care.

Change-Id: Ifff87626d11dd9fafb4e68819e8c8cecdf7fe1aa
2016-05-24 14:43:47 -07:00
Tianjie Xu
86f97177e9 Merge "Report OTA time statistics" into nyc-dev 2016-05-24 21:35:25 +00:00
Allen Hair
f298f4a7c7 Merge "Deprecate shell-based UI Automator." into nyc-dev 2016-05-24 21:29:45 +00:00
Amanda Kassay
0a6d5112f1 Add check for \'.end-content-title\' to force the end of content section in an accordion. Fixes js error on mobile when the footer is appended inside of a content section. am: 85b7df2697 am: e468c2380d
am: 5a00e9d345

* commit '5a00e9d3450e0baccc89a88e586f8ce558e14aac':
  Add check for '.end-content-title' to force the end of content section in an accordion. Fixes js error on mobile when the footer is appended inside of a content section.

Change-Id: I1d972ef1511ff8205ec54f1af7241db104ea976a
2016-05-24 21:28:50 +00:00
Adam Lesinski
bb26248bbb Merge "Improve performance of LocaleList with Resources" into nyc-dev 2016-05-24 21:25:41 +00:00
Amanda Kassay
5a00e9d345 Add check for \'.end-content-title\' to force the end of content section in an accordion. Fixes js error on mobile when the footer is appended inside of a content section. am: 85b7df2697
am: e468c2380d

* commit 'e468c2380ddcc1a7c1f2fa3c9995ad999e9c0ca8':
  Add check for '.end-content-title' to force the end of content section in an accordion. Fixes js error on mobile when the footer is appended inside of a content section.

Change-Id: Ibb8848aed348e85fff5a47562212e88172557b0b
2016-05-24 21:23:50 +00:00
Jean-Michel Trivi
3a91a8417a Merge "Remove deprecated AudioManager.AudioRecordingCallback method" into nyc-dev 2016-05-24 21:17:49 +00:00
Adrian Roos
0444314f8b Merge "Keep notifications with active remote inputs" into nyc-dev 2016-05-24 21:13:30 +00:00
Adrian Roos
a9c0d3ff19 Merge "Fix janky swiping with RemoteInputViews" into nyc-dev 2016-05-24 21:13:21 +00:00
Amanda Kassay
e468c2380d Add check for \'.end-content-title\' to force the end of content section in an accordion. Fixes js error on mobile when the footer is appended inside of a content section.
am: 85b7df2697

* commit '85b7df26975997826a738a46ae4ab797941175ea':
  Add check for '.end-content-title' to force the end of content section in an accordion. Fixes js error on mobile when the footer is appended inside of a content section.

Change-Id: If25728a85efb5b0ed46e87c45916621d8ad1d9ab
2016-05-24 21:12:15 +00:00
Mady Mellor
31e49b0964 Merge "Children should have backgrounds" into nyc-dev 2016-05-24 20:59:50 +00:00
Amanda Kassay
85b7df2697 Add check for '.end-content-title' to force the end of content section in an accordion. Fixes js error on mobile when the footer is appended inside of a content section.
b/28917925

Related CL (critique): cl/123138252

Staged:
https://android-dot-devsite.googleplex.com/preview/setup-sdk.html?hl=es

Change-Id: I4eb606c0205af2315896fc0587cc1c4c2502f282
2016-05-24 20:25:47 +00:00
Sid Soundararajan
a95568b846 Merge "Add Content Description for Focusable Elements in TV Recents UI" into nyc-dev 2016-05-24 20:21:35 +00:00
Winson Chung
a4400059a3 Merge "Process user events from service lifecycle callbacks." into nyc-dev 2016-05-24 20:02:53 +00:00
Selim Cinek
c178f519b9 Merge changes I7773ed3a,I73d97d9a into nyc-dev
* changes:
  Added accessibility action for scrolling the notifications
  Fixed a bug where the text directionality was inconsistent
2016-05-24 20:01:24 +00:00
Winson
57c9e16d04 Process user events from service lifecycle callbacks.
- Instead of waiting for the broadcast to start loading the user’s 
  widgets, handle them in the service callbacks to ensure the app widget
  update broadcasts are enqueued earlier.

Bug: 27262341
Change-Id: I095abe5e15fe46412d00438986f7a9aee50872ca
2016-05-24 20:00:50 +00:00
Tianjie Xu
dcd3644f22 Report OTA time statistics
Read time and I/O for OTA update from last_install, and report the
statistics using MetricsLogger.histogram.

Bug: 28658632
Change-Id: I7fd06a82cbabd346d6d44f81ebad08f6baf4b8d0
2016-05-24 13:00:30 -07:00
Adam Lesinski
b61e405397 Improve performance of LocaleList with Resources
We allow each individual Resources object to select the best
Locale for the given APK. This allows one update to the configuration
instead of multiple updates, once the locale is chosen.

The Java locale is selected from the app context's locale.

Bug:28625993
Bug:27325465
Change-Id: I99e1e53f522e560f3b80bbd1e1c605f552dbdff0
2016-05-24 12:54:48 -07:00
Tony Mak
ed353f1738 Merge "Fix first notification of each app is not shown" into nyc-dev 2016-05-24 19:46:12 +00:00
Adarsh Fernando
130317181e Doc: delete old test_framework.png am: 05c98d5458
am: 734e7725ac

* commit '734e7725ac142264025cb292a6d22b1e618c8e81':
  Doc: delete old test_framework.png

Change-Id: I5d3e86ad0acc0837d4476b5ff2897764ec7487de
2016-05-24 19:33:17 +00:00
Adarsh Fernando
734e7725ac Doc: delete old test_framework.png
am: 05c98d5458

* commit '05c98d54583b84160ab8d7957989c8448fc06301':
  Doc: delete old test_framework.png

Change-Id: I54e69e3123b993e9e6e6b9a8a0c1a2e89011ed76
2016-05-24 19:20:55 +00:00
Jean-Michel Trivi
602dc777c5 Remove deprecated AudioManager.AudioRecordingCallback method
Remove AudioRecordingCallback.onRecordingConfigChanged(
         AudioRecordingConfiguration[] configs)

Bug 28819230

Change-Id: I3b85bb9313267499ac407099939b5889bdba996b
2016-05-24 12:11:59 -07:00
Amith Yamasani
b5f3b5c2e5 Don't deliver broadcast to apps that are being backed up
When doing a full backup, mark the process as being in
backup and don't deliver any broadcasts to an app in
that state.

Bug: 25350780
Change-Id: I1adc95431f709495d3c1141c7c5d3616cf9cc1f0
2016-05-24 12:11:03 -07:00
Wyatt Riley
0f6363e8b3 Merge "Adding SBAS offset to Gps/Gnss SvStatus converter" into nyc-dev 2016-05-24 18:52:51 +00:00
Sid Soundararajan
0a02df5310 Add Content Description for Focusable Elements in TV Recents UI
Reusing strings from phone version. Will need new strings in MR1.

BUG: 28594452
Change-Id: I49dda83bb1d0d032a22d5171541123525fee929e
2016-05-24 11:49:46 -07:00
Mady Mellor
b0a824687f Children should have backgrounds
To add a background to children of a group, a couple of things
are changed when a group is in the expanded state:
- The parent's shadow + background is removed
- The group header is given a background and elevation
- The children are elevated to cast a shadow and have backgrounds
- When it's fully expanded the dividers won't be shown
- There's extra height added to the parent so that the child
  may cast the bottom shadow of the group
- As the children move into the bottom stack the last visible
  one alters its height and the ones below it are hidden
  to achieve the clipping effect

Fixes: 27591195
Fixes: 28655641
Change-Id: I0484308843e9b8bc10391387e54de07973a48f7d
2016-05-24 11:39:12 -07:00
TreeHugger Robot
aba6e2c78f Merge "media: unhide codec levels" into nyc-dev 2016-05-24 18:36:57 +00:00
Sid Soundararajan
1103bfca8d Add support for dismissing in Talkback Mode
This should let the user be able to access dismiss in talkback
mode. However, because talkback relies on focus changes to work,
the focus change animator is disabled. This means some visuals
will not work the same as when talkback is turned off.

BUG: 28594452
Change-Id: Idb443fe559bd7a636ff381e6727f81d41d0bd325
2016-05-24 11:33:01 -07:00
Adarsh Fernando
7932d67607 Docs: Changed URL references of relocated test_framework.png am: b4c6f2b637
am: 9b81008076

* commit '9b810080769b26b1aecd97b96b3a1ffcd69341c1':
  Docs: Changed URL references of relocated test_framework.png

Change-Id: Ibcd8728ed898c32cac19eeff5ab55cb919acc14d
2016-05-24 18:25:31 +00:00
Adarsh Fernando
9b81008076 Docs: Changed URL references of relocated test_framework.png
am: b4c6f2b637

* commit 'b4c6f2b63713c958e46b02b6c520271ec77fdda2':
  Docs: Changed URL references of relocated test_framework.png

Change-Id: Ief551478b2fa023cdea013c766017e3bc0eba79e
2016-05-24 18:11:43 +00:00
Amith Yamasani
638cc6cac9 Merge "Use correct synchronization lock" into nyc-dev 2016-05-24 18:10:57 +00:00
Allen Hair
3fb03313e9 Deprecate shell-based UI Automator.
Change-Id: I15aee7a6aba551b737d2c41b4fafd5b0ced9a4b7
2016-05-24 11:10:44 -07:00
Adarsh Fernando
05c98d5458 Doc: delete old test_framework.png
- file now relocated to /studio/images/test/test-framework.png

Change-Id: Ieb2d93472e29741be73f104bf319911b09accf6f
2016-05-24 10:58:43 -07:00
Tony Mak
fd30332708 Fix first notification of each app is not shown
When app tries to post its first notification,
value of now is equal to that of mLastEventTime.
And hence getRate return a very large number.

Bug: 28902358

Change-Id: If5b5b3c46e2bb80a9b40988ba7f7d777e40cc8e7
2016-05-24 18:57:50 +01:00
TreeHugger Robot
efd3a1749f Merge "Fixed enforceMeteredApnPolicy when Data Saver is on." into nyc-dev 2016-05-24 17:51:36 +00:00
Ben Lin
5d5ddfa80e Merge "Register change Uri and notify changes in bugreportServices." into nyc-dev 2016-05-24 17:48:24 +00:00
Lajos Molnar
6c2e08083a media: unhide codec levels
Bug: 28930361
Change-Id: Ic9c55389c75ef0b789722aa0a7bddd5f56b15049
2016-05-24 10:24:47 -07:00