Commit Graph

249922 Commits

Author SHA1 Message Date
Adam Lesinski
bb26248bbb Merge "Improve performance of LocaleList with Resources" into nyc-dev 2016-05-24 21:25:41 +00:00
Jean-Michel Trivi
2c5efb4827 Merge "Remove deprecated AudioManager.AudioRecordingCallback method" into nyc-dev
am: 3a91a8417a

* commit '3a91a8417a9de03a2f8f276fcd2d67dc43315464':
  Remove deprecated AudioManager.AudioRecordingCallback method

Change-Id: I1211c2411d052762d95896c0e22661bd718c3039
2016-05-24 21:24:03 +00:00
Adrian Roos
03174b8cca Merge "Keep notifications with active remote inputs" into nyc-dev
am: 0444314f8b

* commit '0444314f8b0f77519c47b567f970cc95dd568f7f':
  Keep notifications with active remote inputs

Change-Id: I478f812b2a6d347cc689652448de46eb922b86a9
2016-05-24 21:23:59 +00:00
Adrian Roos
8a78cbc1fa Merge "Fix janky swiping with RemoteInputViews" into nyc-dev
am: a9c0d3ff19

* commit 'a9c0d3ff19461b0384ac4a586cd67e2084193604':
  Fix janky swiping with RemoteInputViews

Change-Id: Ie462da81453bbd509ea3ae3c49fdedd611c98cbd
2016-05-24 21:23:54 +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
Rubin Xu
68a5aabde4 Elaborate on requirement to support PreRebootSecurityLogs
Bug: 28160645
Change-Id: I21220b33747b4f62d7c84146dd2705ebfb7892bf
2016-05-24 22:22:48 +01:00
Selim Cinek
ea66ca0225 Fixed a few battery issues in SystemUI
Fixed a bug where animators could run forever because of
a negative start delay.
Also fixed a bug where the shadow would continuously update
when it shouldn't.

Change-Id: Id115d179d99fecf72c5f2b3be1a4c8590361469e
Fixes: 28930837
2016-05-24 14:22:21 -07:00
Jean-Michel Trivi
3a91a8417a Merge "Remove deprecated AudioManager.AudioRecordingCallback method" into nyc-dev 2016-05-24 21:17:49 +00:00
Pavlin Radoslavov
2b016a1711 Reduced the impact of "synchronized" statements
* Removed "synchronized" statements that are not needed
* Replaced "synchronized" statements with Read/Write lock as
 appropriate. The lock protects the access to and the setting of
 BluetoothAdapter.mService and BluetoothManagerService.mBluetooth and
 associated state.

Bug: 28734075
Bug: 28799467
Change-Id: I8f8281c505f0a1ae0add1e14a3caba1f5b2a98e4
(cherry picked from commit eb50a39e98)
2016-05-24 21:17:42 +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
470c001355 Merge "Children should have backgrounds" into nyc-dev
am: 31e49b0964

* commit '31e49b0964cfba0b6b91e8ae67cbc04730098569':
  Children should have backgrounds

Change-Id: I4c123a7cf9efd38c46ff155a70f5b9c053e4df02
2016-05-24 21:09:33 +00:00
Mady Mellor
31e49b0964 Merge "Children should have backgrounds" into nyc-dev 2016-05-24 20:59:50 +00:00
Sid Soundararajan
8b1dce7186 Merge "Add Content Description for Focusable Elements in TV Recents UI" into nyc-dev
am: a95568b846

* commit 'a95568b84617e1c48e1eb6f505d58813f5227657':
  Add Content Description for Focusable Elements in TV Recents UI

Change-Id: I13991ffb3eec7e12a4e674523fe4259d90faad7e
2016-05-24 20:30:42 +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
Selim Cinek
26431282ec Merge changes I7773ed3a,I73d97d9a into nyc-dev
am: a4400059a3

* commit 'a4400059a307adfea00a2ae3726949c802d4e2ad':
  Process user events from service lifecycle callbacks.

Change-Id: Ia7436eba1886c9bd739cc3cda5029fd8caf0b109
2016-05-24 20:16:16 +00:00
Tony Mak
f03a50c4cb Merge "Fix first notification of each app is not shown" into nyc-dev
am: c178f519b9

* commit 'c178f519b94b239aa02633dae7127e619f5b0aa6':
  Added accessibility action for scrolling the notifications
  Fixed a bug where the text directionality was inconsistent

Change-Id: I42fa93677ccd0d58d7b71f274f77af867f065ac4
2016-05-24 20:16:05 +00:00
Android Build Merger (Role)
e60c649ada Merge "Merge "Fix misc-macro-parentheses warnings in common_time." am: c49d21f9c4 am: ba11b8e441" into nyc-dev-plus-aosp 2016-05-24 20:04:07 +00:00
Chih-Hung Hsieh
2473acbc0a Merge "Fix misc-macro-parentheses warnings in common_time." am: c49d21f9c4
am: ba11b8e441

* commit 'ba11b8e441ab8637b377183d2f5941fcc0a37717':
  Fix misc-macro-parentheses warnings in common_time.

Change-Id: I848549377eb4ad8834a09ef4f12de52d1fb683c3
2016-05-24 20:03:38 +00:00
Tony Mak
5e08d12331 Merge "Fix first notification of each app is not shown" into nyc-dev
am: ed353f1738

* commit 'ed353f173852551f0dc0b360512a9abc5c77c28e':
  Fix first notification of each app is not shown

Change-Id: Ib099efe0bbaa0b89e18116ea718a7ac462128ed1
2016-05-24 20:03:24 +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
Adarsh Fernando
8a7d7a26e2 Doc: delete old test_framework.png am: 05c98d5458 am: 734e7725ac
am: 130317181e

* commit '130317181ee2aeea0a5174bb332af2e313f93f1d':
  Doc: delete old test_framework.png

Change-Id: Ic27253fcbffc8742a6a7e40895d425f366f673f8
2016-05-24 19:50:48 +00:00
Chih-Hung Hsieh
ba11b8e441 Merge "Fix misc-macro-parentheses warnings in common_time."
am: c49d21f9c4

* commit 'c49d21f9c4ac128bf150ba7c78c0c416640b8f77':
  Fix misc-macro-parentheses warnings in common_time.

Change-Id: Id0a364de6bbd776dc01cc5298a4a38f62b491020
2016-05-24 19:50:27 +00: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
Treehugger Robot
c49d21f9c4 Merge "Fix misc-macro-parentheses warnings in common_time." 2016-05-24 19:39:17 +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
Alan Viverette
09deff1bd9 Prevent LayerDrawable bounds updates from being re-entrant
Collect child invalidations during layer bounds change, then dispatch a
single invalidation if any children requested invalidation. This prevents
re-entrance from, for example, a LayerDrawable.updateLayerBounds() call
invoking setBounds() on a child, which necessarily calls invalidateSelf()
and immediately propagates up to ImageView.invalidateDrawable(), which
then calls configureBounds() and puts us back in updateLayerBounds().

Bug: 28636072
Change-Id: I36c9eefc18904d493292d51b37e4b05cfddcf794
2016-05-24 15:14:38 -04:00
Wyatt Riley
0174dbfc24 Merge "Adding SBAS offset to Gps/Gnss SvStatus converter" into nyc-dev
am: 0f6363e8b3

* commit '0f6363e8b3b091508181ea6cef5f5f87a4f75016':
  Adding SBAS offset to Gps/Gnss SvStatus converter

Change-Id: If32179b0ea76b730b4944d0e487abf9427a69bc5
2016-05-24 19:12:28 +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
Android Build Merger (Role)
a90bd3a04a Merge "Merge "Fix misc-macro-parentheses warnings in audio media jni." am: 9ecb10d1b5 am: ca3f49d594" into nyc-dev-plus-aosp 2016-05-24 18:57:12 +00:00
Chih-Hung Hsieh
0b5608015b Merge "Fix misc-macro-parentheses warnings in audio media jni." am: 9ecb10d1b5
am: ca3f49d594

* commit 'ca3f49d594f5c00e6b5d6817bcdb0af02e7224e6':
  Fix misc-macro-parentheses warnings in audio media jni.

Change-Id: I3828c9720f7fe91bc60058daeca2d598f0302d32
2016-05-24 18:56:37 +00:00
Lajos Molnar
4493049a88 Merge "media: unhide codec levels" into nyc-dev
am: aba6e2c78f

* commit 'aba6e2c78f3188d201365a99f52be3074fc94962':
  media: unhide codec levels

Change-Id: I5a0253e8f8fe65551dadf8b3b024224fedd1042d
2016-05-24 18:56:32 +00: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
Chih-Hung Hsieh
ca3f49d594 Merge "Fix misc-macro-parentheses warnings in audio media jni."
am: 9ecb10d1b5

* commit '9ecb10d1b5a6cb0eb77beb432f2a4d657835414f':
  Fix misc-macro-parentheses warnings in audio media jni.

Change-Id: I201e57e87ae5eb52412f846e7652b695b1e15edb
2016-05-24 18:46:10 +00:00
Adarsh Fernando
b7349b2990 Docs: Changed URL references of relocated test_framework.png am: b4c6f2b637 am: 9b81008076
am: 7932d67607

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

Change-Id: I17beb0583813d51213fb977f3ffd68bb919bda26
2016-05-24 18:44:48 +00: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
Treehugger Robot
9ecb10d1b5 Merge "Fix misc-macro-parentheses warnings in audio media jni." 2016-05-24 18:33:48 +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
Amith Yamasani
23ef1f7653 Merge "Use correct synchronization lock" into nyc-dev
am: 638cc6cac9

* commit '638cc6cac9e35ec5a1410ba2fd63550b53e699ab':
  Use correct synchronization lock

Change-Id: I834766e3191a2bc4cef1587714522031fe3f24de
2016-05-24 18:29:50 +00: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