313907 Commits

Author SHA1 Message Date
Derek Sollenberger
0f89539de6 Disable Vulkan backend when running hwui_unit_tests.
The Vulkan backend fails to run on devices without vulkan drivers.
Until we can stub out the vulkan drivers for those devices we find
an acceptable solution.

Test: hwui_unit_tests on device w/out vulkan
Bug: 37422708
Change-Id: I3d7c21882053459f25ca1eb5648cdf5dfd4c333e
2017-04-27 11:30:20 -04:00
Andrei Stingaceanu
635d9dd864 Merge "AutoSize TextView - API polish - no RuntimeException in signature" into oc-dev 2017-04-20 13:14:06 +00:00
Abodunrinwa Toki
fa9d889d3e Merge "TRON: Log "textAssist" actions." into oc-dev 2017-04-20 13:08:52 +00:00
TreeHugger Robot
96d27d826f Merge "Add shell command for turning on/off WebView multiprocess." into oc-dev 2017-04-20 12:59:34 +00:00
TreeHugger Robot
1ef45a8bed Merge "Api Council: hide FontsContract.Columns constructor" into oc-dev 2017-04-20 12:52:43 +00:00
Andrei Stingaceanu
1b59a21c5c AutoSize TextView - API polish - no RuntimeException in signature
Do not mention RuntimeException subclasses in throws clauses in
method signatures.

Bug: 37514926
Test: cts-tradefed run cts-dev -m CtsWidgetTestCases -t \
      android.widget.cts.TextViewTest

Change-Id: Ia5bf4cd64e12c53dd7c409b6e44efec4983ae62e
2017-04-20 12:09:11 +01:00
Clara Bayarri
7fea2e264e Api Council: hide FontsContract.Columns constructor
Bug: 37515256
Test: none
Change-Id: I2a9de7ea30ffa39af5104977f6604ce3bda220fb
2017-04-20 11:56:09 +01:00
TreeHugger Robot
017f5df1e7 Merge "AOD: Fix broken triggers after failed prox check" into oc-dev 2017-04-20 07:34:13 +00:00
Adrian Roos
d35d4ca69f AOD: Fix broken triggers after failed prox check
Fixes an issue where after a failed prox check
we would not correctly reset mPulsePending and
thus never trigger a pulse again until the
DozeService restarts.

Also adds logging for dropped and canceled pulses
to aid diagnosing similar or different bugs
in the future.

Also adds a regression test.

Fixes: 37477968
Test: runtest -x /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/DozeTriggersTest.java
Change-Id: Ic465b7686ae1937a29d07a66fe44cf7ad18419ef
2017-04-20 05:25:29 +00:00
Adrian Roos
5403f387d4 Merge "A11y: Better label status bar icons" into oc-dev 2017-04-20 05:20:44 +00:00
Jocelyn Dang
b2aa0ceb0d Merge "Add min and max learned battery capacity to batterystats." into oc-dev 2017-04-20 04:34:14 +00:00
Hugo Benichi
addfe673d8 Merge changes Ic029cc9f,Id917f3a2 into oc-dev
* changes:
  NsdService: minor cleanups
  Nsdmanager/NsdService: add logging
2017-04-20 04:27:50 +00:00
TreeHugger Robot
fb4fb03cc3 Merge "Address API council comments" into oc-dev 2017-04-20 03:53:37 +00:00
TreeHugger Robot
08ca0a5a9e Merge "Loading gps_debug configuration before use" into oc-dev 2017-04-20 03:44:34 +00:00
Ashutosh Joshi
bf2e5bd0f9 Merge "Ensure that LLOB sensor is names similr to other android sensors." into oc-dev 2017-04-20 03:10:26 +00:00
TreeHugger Robot
2891f34ea9 Merge "MediaSessionService: Clear calling identity for incoming calls from apps" into oc-dev 2017-04-20 03:08:26 +00:00
TreeHugger Robot
949b512761 Merge "Fixing issue with positioning tasks when moving to fullscreen." into oc-dev 2017-04-20 02:45:20 +00:00
TreeHugger Robot
aa6b649a35 Merge "Revert "Introduce PACKAGE_FIRST_ADDED broadcast"" into oc-dev 2017-04-20 02:15:14 +00:00
Peng Xu
37658383b4 Merge "Intern Sensor object string using java String.intern()" into oc-dev 2017-04-20 02:01:32 +00:00
Hugo Benichi
681570acb6 NsdService: minor cleanups
Minor cleanups in switches of processMessage and handleNativeEvent.

Test: no functional changes
Bug: 33074219

(cherry picked from commit 23dba85fff01a9f51beea8ce811fc98b582f8e71)

Merged-In: I9ad4ce812c0d2c02a671a7a871ad427e4ce29b4a
Change-Id: Ic029cc9fa007d8c485f64f4afcbd4dc10da1ae29
2017-04-20 01:36:30 +00:00
TreeHugger Robot
aca246565a Merge "Delay PiP transition to fullscreen until activities draw." into oc-dev 2017-04-20 01:23:24 +00:00
TreeHugger Robot
a0aa7c3093 Merge "Validate incoming data properly." into oc-dev 2017-04-20 01:12:34 +00:00
Wyatt Riley
3e1cd0bdf8 Loading gps_debug configuration before use
Was calling this after (one of) the SUPL value injections,
now calling before.

Also masking an overly verbose related log message.

Test: Build, loaded on Marlin, GPS & Xtra delete works.
Bug: 37500417
Change-Id: I768048c8b2d2a6af97a3b4b8a059b08650d616a5
2017-04-19 18:08:35 -07:00
TreeHugger Robot
1fb3e56998 Merge "Add a null check for visibleFile." into oc-dev 2017-04-20 01:01:07 +00:00
TreeHugger Robot
4f3ba1aeed Merge "Move expensive TextClock operations to onAttach" into oc-dev 2017-04-20 00:26:52 +00:00
Selim Cinek
947be6bed9 Merge changes Ic76d996f,Ib9eefacb,If1b63340,I399c66af into oc-dev
* changes:
  Changed the documentation of the colorization
  Fixed the appearance of colorized fullscreenintent notifications
  Adapted the interpolator when using fingerprint
  The row is now labeling the expand button
2017-04-20 00:08:57 +00:00
TreeHugger Robot
232ff0bdc8 Merge "Fix issue #37470038: API Review: ServiceConnection.onBindingDead()" into oc-dev 2017-04-19 23:55:40 +00:00
TreeHugger Robot
a875bf3ebe Merge "Prevent settings from crashing when ContentProvider crashes" into oc-dev 2017-04-19 23:53:39 +00:00
TreeHugger Robot
4b26576175 Merge "Treat the intent filter verifier app as foreground" into oc-dev 2017-04-19 23:49:42 +00:00
TreeHugger Robot
52312298b6 Merge "Package installer related changes to javadoc" into oc-dev 2017-04-19 23:34:27 +00:00
Jocelyn Dang
c627d10650 Add min and max learned battery capacity to batterystats.
BUG: 32645990
Test: manual

Change-Id: I3da569e48571cb86c640aed732abdf6c46a2bc73
2017-04-19 16:19:32 -07:00
TreeHugger Robot
9d9d31d6b0 Merge "Adjust the bind timeout" into oc-dev 2017-04-19 23:07:38 +00:00
TreeHugger Robot
9b32a057c7 Merge "don't blindly reuse content providers" into oc-dev 2017-04-19 23:07:12 +00:00
TreeHugger Robot
6a08dfab0e Merge "Opt out default focus highlight for TV." into oc-dev 2017-04-19 22:57:51 +00:00
TreeHugger Robot
269e549e44 Merge "Fix tint on accessibility stream" into oc-dev 2017-04-19 22:56:26 +00:00
Christopher Tate
94b91dbbb8 Revert "Introduce PACKAGE_FIRST_ADDED broadcast"
This reverts commit ee3b42af3f23c37cbd2799c1527f89ac623844be.

Bug 37219124
Test: manual
2017-04-19 15:49:17 -07:00
Adrian Roos
f76600e742 A11y: Better label status bar icons
Some apps put just their app name as
the title. For those we should probably
show the text instead.

Fixes: 30739573
Test: receive notification that has the same title as app name, observe that the content description shows the title
Change-Id: I2e066507beee50c669ce34c6de33876a2474fca6
2017-04-19 15:32:44 -07:00
Dianne Hackborn
8305a1fb38 Merge "Fix issue #37306208: CTS: ServiceTest#testForegroundService..." into oc-dev 2017-04-19 22:20:57 +00:00
Garfield Tan
d21af53763 Add a null check for visibleFile.
It's null if we're operating on an external thumbdrive/sd card etc. Add
a null check as we do in moveInMediaStore().

Test: Manual tests.
Bug: 37412897
Change-Id: Idd2c1d67a36893f980a239a9999c32369da27abd
2017-04-19 15:17:40 -07:00
Martijn Coenen
932b504865 Validate incoming data properly.
Make sure calls to readBuffer() and readEmbeddedBuffer()
get the correct size, parent and offset passed in, so
these can be validated by libhwbinder.

Modified HwBlob to take a length argument as well,
so it can be validated.

Bug: 30498700
Test: hidl_test, hidl_test_java, Youtube, Maps, Netflix, Camera
Change-Id: I28712db97ae29b46acfe952d3d92d1ce5f666a4d
2017-04-19 15:14:20 -07:00
Selim Cinek
5bb18a14f1 Changed the documentation of the colorization
There was still a reference to ongoing, which wasn't needed

Test: non, documentation change
Fixes: 34469375
Change-Id: Ic76d996f92f339db869f25d7696313eefc0c07bb
2017-04-19 15:00:52 -07:00
Selim Cinek
622c64a9ce Fixed the appearance of colorized fullscreenintent notifications
Previously the background would stay grey.

Test: manual, add fullscreen intent colorized notification
Change-Id: Ib9eefacba58256d2cb0c6f0d70cf0e9b5afdaf06
Fixes: 35968024
2017-04-19 15:00:50 -07:00
Dianne Hackborn
ac26534996 Fix issue #37470038: API Review: ServiceConnection.onBindingDead()
Renamed.

Test: booted and ran.

Change-Id: Ic21f7ef66d43fb6db9f7ebbc833f28c09474ea59
2017-04-19 14:53:43 -07:00
TreeHugger Robot
8ffd8f7848 Merge "Allow verifier to be optional" into oc-dev 2017-04-19 21:51:26 +00:00
TreeHugger Robot
f9f8120e56 Merge "Change mask path to only use cubicTo notation so that isConvex is always true. Bug: 37100106" into oc-dev 2017-04-19 21:36:07 +00:00
Jiaquan He
85cee7ab38 Opt out default focus highlight for TV.
Test: Checked that the default focus highlight doesn't show on TV.
Bug: 37160940
Change-Id: Id3719ce1aa602ba6792cc94c9fa034670509cda0
2017-04-19 21:14:05 +00:00
Todd Kennedy
798cc9d0bc Adjust the bind timeout
We were using a timeout of 5s when it should have always
been in the hundreds of ms. Setting the timeout to 300ms
for 'eng' build and 200ms for all other builds.

Change-Id: I31e17457e7bfdb3bf703be430074b718cae8c17a
Fixes: 37474581
Test: Manual; still resolve instant apps
2017-04-19 14:12:34 -07:00
Abodunrinwa Toki
54486c16ba TRON: Log "textAssist" actions.
- Logs when the assist menu item appears in the text selection menu.
- Logs when the assist menu item is selected.
- Logs the the type of the assist menu item that was presented.

Test: Manually tested by looking at the logs. See: go/tron-howto
Bug: 32572232
Change-Id: Ibbbf59423b3f510ab6f2f072962a556c3d6e2f65
2017-04-19 22:10:51 +01:00
TreeHugger Robot
af12b17674 Merge "Log when an app targeting O does not specify a channel" into oc-dev 2017-04-19 21:10:13 +00:00
TreeHugger Robot
e53b00c6d1 Merge "Set the color space as nullptr on native bitmaps when sRGB is requested" into oc-dev 2017-04-19 21:09:46 +00:00