309070 Commits

Author SHA1 Message Date
TreeHugger Robot
5644f67e2c Merge "Removed config_networkRecommendationPackageNames." 2017-02-28 18:32:23 +00:00
Tomasz Wasilczyk
895447e663 Merge "Fix few typos." 2017-02-28 18:09:02 +00:00
Robin Lee
abaa0695c5 Delete ParcelableString, add StringParceledListSlice
Both inherit from package private BaseParceledListSlice.

This is still bad, but it's not as bad. The existing code that uses
this can just do Foo.bar().getList() now instead of having to marshal
to and from an oddball type at either end as well.

In the longer term ParceledListSlice<> should be eliminated, but it's
not clear how far into the future that is going to happen.

Test: runtest -x services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java
Test: runtest -x core/tests/coretests/src/android/content/pm/ParceledListSliceTest.java
Change-Id: Ie69b96b5215d6e04990f6d31345772cdfee21d78
2017-02-28 18:07:08 +00:00
Abodunrinwa Toki
117240cc0e Don't trigger textclassifier in a11y action.
Support for smart text share in a11y mode needs to be done differently.
See: b/34779222

Test: Manually tested
Bug: 35252502
Change-Id: Ia268065c21fc5ac716ca06a0ec9d3866fbd13aa4
2017-02-28 18:02:53 +00:00
Julia Reynolds
a11d0b18ec Api review feedback.
Change-Id: I4628fcec43ec5dbacd208401d9ace2dbe658da64
Fixes: 35812235
Fixes: 35812334
Fixes: 35812179
Test: make
2017-02-28 17:59:31 +00:00
Hassan Shojania
8606c335c3 Earlier processing of DrmInfo notification
Bug:  35681236
Test: Manual through the test app
Change-Id: I652e3c9742d7c55ab639c9df3ed1e6a0e035e6a4
2017-02-28 09:54:23 -08:00
Derek Sollenberger
95c1a069f2 Revert "deprecate replayClips"
This reverts commit 82d3b17f6dff9372ec531d90b5d9180671e0ee2c.

Bug: 35831173
Change-Id: I467e7204a5e4bcbab1c12d3fcf52e52188830ed5
2017-02-28 17:49:07 +00:00
Hridya Valsaraju
f6423ba1ef Check hwbinder status before checking the returned result
Test: Able to get a location lock on Google Maps on Pixel.

Change-Id: I1e3689ba139bec7d21c12be91bd46fe008ff8278
2017-02-28 09:42:33 -08:00
David Stevens
910ac520d0 Merge "Only kill processes on default display density change" 2017-02-28 17:39:49 +00:00
Robert Carr
693f3432ae Modify SurfaceView to use SurfaceFlinger child surfaces.
Here we have SurfaceView bypass the WindowManager and speak
directly to SurfaceFlinger using child surfaces. We also
implement some logic in the WM to handle child surfaces
in various Surface replacement scenarios.

Bug: 28858420
Bug: 31518219
Bug: 34888808
Bug: 35588318
Bug: 35396882
Test: Existing tests still pass (except for the ones that don't and will be deleted).
Change-Id: Icb7259365b51ebe8c7f6c7cd4f9ba29f9fce08a4
2017-02-28 09:39:07 -08:00
Amin Shaikh
c515d6b776 Merge "Setting for RecommendedNetworkEvaluator cache TTL" am: 924878a752 am: 8bd0af0210
am: a9bace4f2c

Change-Id: If8538336a045291f73f4b18c788d49a4704776af
2017-02-28 17:21:11 +00:00
Amin Shaikh
a9bace4f2c Merge "Setting for RecommendedNetworkEvaluator cache TTL" am: 924878a752
am: 8bd0af0210

Change-Id: Ia18ef46b48d701eafad4c29988fca90d70005573
2017-02-28 17:16:35 +00:00
Amin Shaikh
8bd0af0210 Merge "Setting for RecommendedNetworkEvaluator cache TTL"
am: 924878a752

Change-Id: I945898d88baa26f210cd0d86cdf064844af6f92e
2017-02-28 17:11:35 +00:00
Treehugger Robot
924878a752 Merge "Setting for RecommendedNetworkEvaluator cache TTL" 2017-02-28 17:05:45 +00:00
Jeremy Joslin
0bc56b78e4 Removed config_networkRecommendationPackageNames.
Use config_defaultNetworkRecommendationProviderPackage instead.

Test: Built & run
Bug: 35095406
Change-Id: I7cad63ca55983bbffc2bdd278d9284f75dc805e6
2017-02-28 17:03:18 +00:00
Jeremy Joslin
e9052a3cbc Cleanup else blocks on security checks.
Addresses post-submit comments from ag/1922454.

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Bug: 35095406
Change-Id: Idccad9400f4f6ae4708b03d6b3a66373683f635b
2017-02-28 17:01:49 +00:00
Tyler Gunn
662ae090a2 Support confirmation of international calls while on WFC only.
Add new carrier config which enables a confirmation message when the user
dials an international number while on WFC only.

Add new @hide PhoneNumberUtils method which is used to determine if a
number dialed is an international number.

Test: Manual, unit.
Bug: 33272455
Change-Id: Ia7ffe10eee7d782ddc3355db616af0a48f19556e
2017-02-28 08:37:42 -08:00
Tomasz Wasilczyk
4d3453637c Fix few typos.
Test: manual (watching logs)
Bug: b/35805636
Change-Id: I066e8f94e73232eb59bef86fff4a4eef5d84fbb4
2017-02-28 08:27:52 -08:00
TreeHugger Robot
b1dc328990 Merge "Have WM use token info. from IMMS to determine IME target window" 2017-02-28 16:26:18 +00:00
Paul Lawrence
dcb0fb3dfd Merge "Move seccomp policy logic to bionic" am: ef64558393 am: da6d5f702d
am: 310c26ee6d

Change-Id: I24331cef5f8fb90a6964258a1bb8cc048b0e8c04
2017-02-28 15:52:00 +00:00
Paul Lawrence
310c26ee6d Merge "Move seccomp policy logic to bionic" am: ef64558393
am: da6d5f702d

Change-Id: I474f127d2924190e1154cc9d3f1afdfa064154ae
2017-02-28 15:47:48 +00:00
Paul Lawrence
da6d5f702d Merge "Move seccomp policy logic to bionic"
am: ef64558393

Change-Id: I9c9e6c9cc1f8b1617a0c7e627b94d0d643f22a3e
2017-02-28 15:41:57 +00:00
Treehugger Robot
ef64558393 Merge "Move seccomp policy logic to bionic" 2017-02-28 15:36:08 +00:00
Chet Haase
c5a6fdb57e Fix javadocs for layout attributes
Bug: 35763496  API Review: layout_marginVertical
Test: doc fixes only, no test
Change-Id: I63248874465d887a81b582be5f9a7d476fb24ea1
2017-02-28 06:19:45 -08:00
TreeHugger Robot
56fee637e9 Merge "Import translations. DO NOT MERGE" 2017-02-28 13:41:54 +00:00
TreeHugger Robot
d3669c1a81 Merge "Import translations. DO NOT MERGE" 2017-02-28 13:34:17 +00:00
Wale Ogunwale
daab865344 Have WM use token info. from IMMS to determine IME target window
Window Manager currently places the IME above the highest window
that can possibly be using the IME. While this method works for
most cases, it does cause some animation jank if the window making
the IME visible is below an other window that could possibly make
the IME visible, but isn't. When this happens the IME is displayed
on-top of which we don't want since the top app isn't making the
IME visible.
We now rely on a strong signal from the input method manager service
WMS.updateInputMethodWindowStatus() to depend which window is actually
using the IME so the window manager can z-order things correctly.

Fixes: 31559891
Test: bit FrameworksServicesTests:com.android.server.wm.DisplayContentTests
Change-Id: I524aa9dbeb764aac15034a13adf9381304c38fa6
2017-02-28 05:33:51 -08:00
TreeHugger Robot
e3f28aef28 Merge "Import translations. DO NOT MERGE" 2017-02-28 13:25:22 +00:00
Bill Yi
a1b35d339f Import translations. DO NOT MERGE
Change-Id: I69afa2c75c5334244598a13ebd17217ec0dcb66e
Auto-generated-cl: translation import
2017-02-28 01:32:37 -08:00
Bill Yi
4eabb5dff8 Import translations. DO NOT MERGE
Change-Id: I585aa8798b0ebebe1b6290dfa18783259a0f413b
Auto-generated-cl: translation import
2017-02-28 00:44:48 -08:00
Bill Yi
2a830815a1 Import translations. DO NOT MERGE
Change-Id: Ie8189227b7840495e79f5b3bbefac9e3eda81d6f
Auto-generated-cl: translation import
2017-02-28 00:20:21 -08:00
Jaewan Kim
158cd7b1f2 Merge "Add callback for AVRCP 1.6 support" 2017-02-28 06:19:49 +00:00
Amin Shaikh
21496f6ee1 Setting for RecommendedNetworkEvaluator cache TTL
Bug: 19948759
Bug: 33694078
Test: runtest frameworks-core
Change-Id: Ic1820dc3d70170e6b7c740696abf87d284c6e2ea
Merged-In: Ic1820dc3d70170e6b7c740696abf87d284c6e2ea
2017-02-27 21:49:05 -08:00
Chong Zhang
c3013b5bda Merge "MediaCas: move *.aidl files from frameworks/base to frameworks/av" 2017-02-28 05:02:23 +00:00
TreeHugger Robot
47d663fcb8 Merge "Document future removal or move of fonts.xml" 2017-02-28 04:52:26 +00:00
Jaewan Kim
bd16f457a1 Add callback for AVRCP 1.6 support
Bug: 33828042
Test: Build
Change-Id: Iaf5cecfa38065cfeed096929952559d7cb2e248b
2017-02-28 04:29:38 +00:00
Jaewan Kim
2584ba6bf4 Merge "Send long-press of KEYCODE_HEADSETHOOK to the media key listener" 2017-02-28 04:28:46 +00:00
TreeHugger Robot
ee3aa6ceab Merge "Treat Telephony as legacy app for now." 2017-02-28 04:18:18 +00:00
TreeHugger Robot
f561734e9c Merge "Fix crash in onRestoreInstanceState" 2017-02-28 03:15:33 +00:00
David Stevens
d057cf8e21 Only kill processes on default display density change
This means pre-N apps launched on secondary displays might not work
properly after a density change, but multiwindow (let alone
multidisplay) isn't something truly supported by those apps.

Test: manual
Change-Id: I80e18c6db19faa716ec1d653caef410c67327546
2017-02-27 19:15:14 -08:00
TreeHugger Robot
bf5bc5fd14 Merge "Setting for RecommendedNetworkEvaluator cache TTL" 2017-02-28 02:52:10 +00:00
Jaewan Kim
98003d36dd Send long-press of KEYCODE_HEADSETHOOK to the media key listener
For the key events with the code KEYCODE_HEADSETHOOK, the
MediaSessionService always starts the voice input for long-presses
regardless of the media key listener, and only short-presses can be sent
to the media key listener.

This CL sends all media key events to the media key listener first
if the listener is set. If the key event isn't consumed, short-presses
will be sent to the media session and long-presses will start the voice
input.

Bug: 35348856
Test: Manual test (Install the OnMediaKeyListener test app and confirm
that the app can consume the media key long-press)
Change-Id: I82f8e5f355efe16867e6f4345c46470c690e1f80
2017-02-28 02:51:47 +00:00
Yuichi Araki
2650af949f Merge "Recycle TypedArrays in Fade and TransitionInflater" 2017-02-28 02:41:38 +00:00
TreeHugger Robot
df0b8da82e Merge "Add private consumer and producer flags to AHardwareBuffer." 2017-02-28 02:29:42 +00:00
TreeHugger Robot
423d3b90fd Merge "Fix issue #34327404: AppOpsManager.stopWatchingMode(callback)..." 2017-02-28 02:13:10 +00:00
Jim Miller
7e1cb55230 Don't crash if client token is null.
Test: verify that fingerprint clients still work and that
null client no longer crashes systemui.

Fixes bug 35806157

Change-Id: Icda7fb538caf50ba44297fe8e47c35aed1275280
2017-02-27 18:09:48 -08:00
Jean-Michel Trivi
34a6663d08 Merge "Audio focus API with AudioAttributes and more options" 2017-02-28 01:57:15 +00:00
Jaewan Kim
5b30c1bc34 Merge "MediaSessionService: Synchronize isGlobalPriorityActive()" 2017-02-28 01:51:56 +00:00
Vladislav Kaznacheev
41ac866961 More accurate cascading submenu position
The current submenu positioning logic is based on the assumption
that the parent menu was displayed at the exact offset which was
passed to the framework. The actual parent menu position
could have been adjusted to fit the screen.

Bug: 35767083

Test: manual
Change-Id: Ib72eb7808ebf894c526d2c44c6116ee72542fd03
2017-02-27 17:28:49 -08:00
Jaewan Kim
5125501099 MediaSessionService: Synchronize isGlobalPriorityActive()
Test: Manual test (Press the headset button while the phone is ringing)
Change-Id: I682d4d07a1e238892afe8b03b2b824bb40345ab8
2017-02-28 10:25:24 +09:00