237640 Commits

Author SHA1 Message Date
Rubin Xu
7f2bc45330 Merge "Clear caller identity when calling createConfirmDeviceCredentialIntent" into nyc-dev 2016-04-06 13:12:56 +00:00
Jaesung Chung
5905bf738c Merge "Fix build" into nyc-dev 2016-04-06 12:50:32 +00:00
Jaesung Chung
fd3446e0aa Fix build
Change-Id: I38aa2f70fef3cb5b4a6fe42a3e4aa8e0a16e6fe0
2016-04-06 21:44:13 +09:00
Benjamin Franz
4a53c8e702 Merge "Document which APIs are callable on the parent instance" into nyc-dev 2016-04-06 12:17:26 +00:00
Benjamin Franz
66b45f01ff Document which APIs are callable on the parent instance
In DPM it is possible to retrieve a parent instance to set policies
that are applied to the profile parent. Extend the javadoc to clarify
which APIs are actually callable on the parent instance.

Bug: 27532279
Change-Id: I7ed40f8c3c7c3089283489bff41a04c70239d5a4
2016-04-06 11:59:49 +01:00
Rubin Xu
0c9dd5b98a Clear caller identity when calling createConfirmDeviceCredentialIntent
Bug: 27893870
Change-Id: I9edcd170432f8a2bd852a5fa78ab868201093dcf
2016-04-06 11:54:59 +01:00
Erik Kline
36712853a9 Merge "Make public the registerDefaultNetworkCallback API" into nyc-dev 2016-04-06 08:51:08 +00:00
Jaewan Kim
4b12df6f7e Merge "PIP: Apply the latest Recents row animation when PIP control is focused" into nyc-dev 2016-04-06 06:35:41 +00:00
Jaewan Kim
04cbe870ae PIP: Apply the latest Recents row animation when PIP control is focused
Bug: 27540465
Change-Id: Ib3b40fb64953a175593eab789552db3c231f0227
2016-04-06 15:20:58 +09:00
Jaewan Kim
841b49bc3f Merge "PIP: Fix regressions caused by previous commit a0d4d25" into nyc-dev 2016-04-06 05:46:57 +00:00
Phil Burk
b2e4e98e7c Merge "MidiDevice: fix connectPorts for same Process" into nyc-dev 2016-04-06 03:51:46 +00:00
Erik Kline
f46600d074 Make public the registerDefaultNetworkCallback API
Change-Id: I89d7a6f49f5d6a0da3402a07407b0f8d93181b4f
2016-04-06 12:22:47 +09:00
Erik Kline
94887874e3 Don't flush DNS cache on route changes.
Since Lollipop, routes are isolated within Networks.  Flushing a
Network's DNS cache whenever that same Network's routes are updated
doesn't provide any benefit.  Any system components depending on this
behaviour need to uncovered and fixed.

Additionally, clean up no-longer-used flushNetworkDnsCache().  This
should be replaced, when needed, by a proper binder interface to netd.

Change-Id: I34bf79e4839da014d466058a876d754209d0c007
2016-04-06 11:30:51 +09:00
Erik Kline
49e2db1b10 Merge "Delete unused DnsPinger" into nyc-dev 2016-04-06 02:07:02 +00:00
Svetoslav Ganov
f13f14ef30 Merge "Remove unusable a11y APIs for ClickableSpans." into nyc-dev 2016-04-06 02:05:42 +00:00
Jorim Jaggi
8eb8a32f98 Fix divider touchable region
Make sure to update the touchable region whenever the layout
changes. The layout is wrong if the window is invisible during
the first layout.

Bug: 27854148
Change-Id: Ic0501eccf7b919d10491c6f5aa0c0f1765a07c52
2016-04-06 01:20:25 +00:00
Eino-Ville Talvala
255490c33c Merge "Camera: Null check remote binder interface" into nyc-dev 2016-04-06 01:19:13 +00:00
Eino-Ville Talvala
0305624f3d Camera: Null check remote binder interface
For LEGACY mode, there's no remote binder, so need to null check for
that case.

Bug: 28000512
Change-Id: I31035f16fd32875d0bd84ca801927498e86133b3
2016-04-05 18:12:11 -07:00
Makoto Onuki
ca94f29366 Merge "Make FastXmlSerializer more suitable to persist arbitrary strings" into nyc-dev 2016-04-06 00:36:52 +00:00
Mady Mellor
b7da9ce4f0 Merge "Close inline controls / hide the gear when interaction outside occurs" into nyc-dev 2016-04-06 00:26:51 +00:00
Joe Onorato
9b87cc2b8b Merge "Add stack traces to logs about mismatched sequenece numbers in procstats." into nyc-dev 2016-04-06 00:21:56 +00:00
Deepanshu Gupta
bad02b0ec9 Merge "Add properties from textAppearance to property map" into nyc-dev 2016-04-05 23:59:02 +00:00
Deepanshu Gupta
91253ed046 Add properties from textAppearance to property map
The default property map is used to get the list of XML properties that
a view queried. For things like textAppearance, these are additional
attributes that the TextView queries, but wasn't added to  the property
map. Add them too.

Change-Id: I1e03fbeced224866de1dcc51b93d5aa5d5886ade
2016-04-05 16:58:00 -07:00
Sanket Agarwal
a951a593c0 Merge "PBAP connect to alternate device." into nyc-dev 2016-04-05 23:39:20 +00:00
Philip P. Moltmann
7a27611646 Merge "Allow to provide only a component name prefix to 'am instrument'" into nyc-dev 2016-04-05 23:28:05 +00:00
Abhijith Shastry
7f376b9e8e Merge "Remove deprecated API launchManageBlockedNumbersActivity" into nyc-dev 2016-04-05 23:24:42 +00:00
Makoto Onuki
3ae3557ea3 Make FastXmlSerializer more suitable to persist arbitrary strings
- Encode '\u000' - '\u001F', so KXmlParser can read them properly.
Otherwise KXmlParser will ignore CRs/LFs in attributes, and CRs
in text.

- Originally FastXmlSerializer would throw if a string contains
dangling surrogate pairs.  Now we REPLACE them with.

Bug 27792649

Change-Id: I10c547dad2475b68f60e9e8208d9a3eae8e20063
2016-04-05 16:12:07 -07:00
Eino-Ville Talvala
2a6f476836 Merge "Camera2: Unlink camera device death listener on disconnect" into nyc-dev 2016-04-05 23:07:43 +00:00
Rob Carr
5323c58fc0 Merge "Do not set docked divider as IME target." into nyc-dev 2016-04-05 22:44:58 +00:00
Craig Donner
1314d087d1 Merge "Downgrades error messages about not being able to detect whether we are in protected mode or not to informational messages. If there is no GL context, then we are by definition not in protected mode, and still return false as advertised, thus there's no need for an error message." into nyc-dev 2016-04-05 22:29:02 +00:00
Phil Burk
80299748cc MidiDevice: fix connectPorts for same Process
If connectPorts() was called for a device in the same process then
the connection would die when the ParcelFileDescriptor was closed.

Bug: 26406775
Change-Id: Id0538452593b4761ac2a93d366ade76d2e35ce73
Signed-off-by: Phil Burk <philburk@google.com>
2016-04-05 15:27:53 -07:00
Jeremy Joslin
b770ed1328 Merge "Have the NetworkScoreService bind to the scorer." into nyc-dev 2016-04-05 22:27:11 +00:00
Craig Donner
59ee472c95 Downgrades error messages about not being able to detect whether we are in protected mode or not to informational messages. If there is no GL context, then we are by definition not in protected mode, and still return false as advertised, thus there's no need for an error message.
Bug: 27926028

Change-Id: Ia791a989b92be17bc31f9221654168347d60eed9
2016-04-05 15:18:34 -07:00
Philip P. Moltmann
c05a7a04c2 Merge "We only have one mock service." into nyc-dev 2016-04-05 22:17:44 +00:00
Philip P. Moltmann
f4eadc5c53 We only have one mock service.
Fixes: 28024464
Change-Id: I1392704c4fdb9e7c3a4b1540131af8a14359c8f4
2016-04-05 15:16:54 -07:00
Svetoslav Ganov
6c773c5daa Merge "UID appop state should always override package appop" into nyc-dev 2016-04-05 22:15:45 +00:00
Jaewan Kim
10a86910aa PIP: Fix regressions caused by previous commit a0d4d25
This includes two fixes
- Restore PIP location when PIP menu is closed.
- Prevent PIP from moving to fullscreen when it's resized directly
  via ActivityManager with animation.

These are regressions caused by
a0d4d25 PIP: Apply the animation spec for the PIP in Recents

Bug: 27540465
Change-Id: Id5b131faa3052a809138ab058bcfe65ce6a820b7
2016-04-06 07:10:18 +09:00
Alex Klyubin
f2cf5987a6 Merge "Permit package downgrades on debuggable platforms." into nyc-dev 2016-04-05 21:57:12 +00:00
Chris Tate
71f4e14402 Merge "API feedback: clarify onQuotaExceeded() documentation" into nyc-dev 2016-04-05 21:51:20 +00:00
Joseph Pirozzo
c76c857c26 PBAP connect to alternate device.
Fix connect to first disconnect from all connected devices before
attempting to connect to a new device for PBAP Client.

Bug: 28003503
Change-Id: I1299fc146c881f359832dae2da814a4aebbfec59
2016-04-05 14:50:20 -07:00
Kirill Grouchnikov
12454dcab1 Merge "Return correct unfocused month date color for pre-Material themes." into nyc-dev 2016-04-05 21:48:32 +00:00
Kirill Grouchnikov
7cf1586ce4 Return correct unfocused month date color for pre-Material themes.
Also deprecate setter / getter for showWeekNumber field.

Bug: 28022795
Change-Id: Ie0c33353f76c2a3d9666959a07f6809b7b85183f
2016-04-05 17:42:34 -04:00
Phil Burk
21e8e96f04 Merge "UsbMidiDevice: fix MIDI flush()" into nyc-dev 2016-04-05 21:41:18 +00:00
Mady Mellor
7a9b2a67b7 Close inline controls / hide the gear when interaction outside occurs
This CL adds the behavior so that if the gear or inline controls are
visible, they will close if the user interacts with another area of
the screen (e.g. scrolls, pulls down QS, etc) this is on the lock screen
as well as the shade.

This CL makes an additional change to remove the GearDisplayedListener
and use the StackScroller to maintain state of the gear / reset as
appropriate.

Bug: 27598072
Bug: 27335311

Change-Id: Iebff9aa542c9d91389054a4ff292d0dda11fe950
2016-04-05 14:27:26 -07:00
Robert Carr
9da141fe5c Do not set docked divider as IME target.
If we do this, we will fail to adjust the proper IME target
to make it visible. Accomplish relative ordering of IME and
Docked Divider in WindowLayersController instead.

We need to take care that adjustSpecialWindows won't push windows
down if they are already positioned above the highest application
layer. We also take care to not adjust the IME if the docked divider
isn't really visible.

Bug: 26387930
Change-Id: I26ca36c4f7ecf9d97f44e15c67df82b8154a169c
2016-04-05 14:24:22 -07:00
Jeff Sharkey
e1412415d1 Merge "Invalidate caches when locale changes." into nyc-dev 2016-04-05 21:21:19 +00:00
Yohei Yukawa
1bc62ce846 Merge "Don't give IME focus to temporarily detached View." into nyc-dev 2016-04-05 21:21:09 +00:00
Chris Craik
74af6e282f Fix OffscreenBuffer leak
Fixes: 27941148

Make OffscreenBuffer lifecycle an explicit (and tested) contract between
FrameBuilder and BakedOpRenderer, entirely separate from dispatch. This
makes it safe to reject any rendering work via overdraw content
rejection (before it gets to a BakedOpDispatcher).

Adds a couple tests around OffscreenBuffer leaks, and switches
OffscreenBuffer tests to RENDERTHREAD_TEST macro, as appropriate.

Change-Id: Id114b835d042708ae921028fb4b17e5fa485fe64
2016-04-05 20:42:37 +00:00
Chong Zhang
505a8d9ddf Merge "Fix meminfo accounting for visible apps" into nyc-dev 2016-04-05 20:42:14 +00:00
Svetoslav Ganov
1984bba8c8 UID appop state should always override package appop
bug:27831867

Change-Id: I32829137f84a2f1d70363b6d1481ccbb87c15d1c
2016-04-05 13:40:02 -07:00