191821 Commits

Author SHA1 Message Date
Yorke Lee
32f2473160 More video related API fixes
android.telecom.Connection.VideoProvider
* onSetPauseImage takes Uri instead of String
* changeCallDataUsage -> setCallDataUsage
* add quality constants to changeVideoQuality() docs

android.telecom.InCallService.VideoCall
* setPauseImage takes Uri instea dof String

android.telecom.VideoProfile.VideoState
* Move constants to VideoProfile, prefix with STATE_

Bug: 21040387
Bug: 21066505
Change-Id: I764e72aced9d1e2d30d6d0cf0862100860d47c79
2015-05-12 16:45:14 -07:00
Roozbeh Pournader
0ca0f58000 Merge "Add hyphenationFrequency attribute to TextView and StaticLayout." into mnc-dev 2015-05-12 22:59:47 +00:00
Xiyuan Xia
55e603ee9d Merge "Make PIN/Password/Pattern check async" into mnc-dev 2015-05-12 22:08:10 +00:00
Mike Lockwood
62975ae43d Merge "MidiManager: Address API Council feedback:" into mnc-dev 2015-05-12 22:02:45 +00:00
Roozbeh Pournader
95c7a13f2a Add hyphenationFrequency attribute to TextView and StaticLayout.
This patch adds plumbing to TextView and StaticLayout to control the
frequency of automatic hyphenation used in laying out paragraphs.

Bug: 21038249
Change-Id: Ib45de190eb0a1ed738e69fd61f2b39561b11aec7
2015-05-12 14:56:57 -07:00
Jinsuk Kim
6dda58e7ac Merge "CEC: Let playback device send <Standby> upon power off" into mnc-dev 2015-05-12 21:34:31 +00:00
Yang Ni
20e16f4f76 Merge "Elaborate on description of ScriptGroup.execute" into mnc-dev 2015-05-12 21:25:29 +00:00
Santos Cordon
115cdd488b Merge "Fix build break." into mnc-dev 2015-05-12 21:23:06 +00:00
Jason Sams
0cf42ffbbe Merge "Fix API name based on API review" into mnc-dev 2015-05-12 21:20:15 +00:00
Santos Cordon
4055d64899 Fix build break.
Change-Id: Icca3603d3f4a38146fb9bc04a384a22ece4014f4
2015-05-12 14:19:24 -07:00
Adrian Roos
51cfdd622f Merge "Only dispatch systemUiVisibility when it actually changes" into mnc-dev 2015-05-12 21:16:24 +00:00
Adrian Roos
389beec68d Only dispatch systemUiVisibility when it actually changes
Bug: 19000727
Change-Id: I9302746281188186d18256d45fee681bd2ab50d5
2015-05-12 14:12:40 -07:00
Jason Sams
f76423062a Fix API name based on API review
rename getMinorID to getMinorVersion

bug 21039492

Change-Id: I03908dba508e30a605818d81a085ad627fa202fb
2015-05-12 14:06:56 -07:00
Yorke Lee
d74c31e253 Merge "Fixes for APi review" into mnc-dev 2015-05-12 21:00:04 +00:00
Yang Ni
4356389606 Elaborate on description of ScriptGroup.execute
b/21039492

ScriptGroup.execute(Object...): Describe input and output order.

Change-Id: I88668338ab2ac50e602b97891b86509c81dedf4d
2015-05-12 13:53:38 -07:00
Alan Viverette
01193e031b Specify tint on top-level vector tag, rather than fillColor
Ensures that setting the tint programatically or from a view XML
attribute works as expected, masking against a solid color rather
than a non-opaque theme color.

Also specifies missing tint on ic_audio_ring_notif.

Change-Id: Ib65e41eb23c5e5a2f44264ee32681f7ac943ecc4
2015-05-12 13:49:43 -07:00
Mike Lockwood
7eb441cb4a MidiManager: Address API Council feedback:
Rename MidiDeviceInfo.getPortList() to getPorts()

Rename MidiManager.getDeviceList() to getDevices()

Rename MidiReceiver.onReceive() to onSend()

Replace MidiManager.DeviceOpenCallback and BluetoothOpenCallback
with new interface MidiManager.OnDeviceOpenedListener

Add MidiSender.onConnect() and onDisconnect()

Add MidiReceiver.onFlush()

Ensure that MidiReceiver max message size is immutable

Bug: 21044677
Change-Id: I7711734a45e831e9744849a6f569e906feff9f80
2015-05-12 13:39:56 -07:00
Yorke Lee
400470fab9 Fixes for APi review
Move CameraCapabilities into VideoProfile
Make PhoneAccount and PhoneAccountHandle final

Bug: 21040387
Bug: 21066505
Change-Id: I72453c89ae3765f9b9cf263938fce96d5978d2e0
2015-05-12 13:31:25 -07:00
Santos Cordon
3aea94ff56 Merge "Rename Connection time APIs for Conference.java" into mnc-dev 2015-05-12 20:25:59 +00:00
Jeff Sharkey
bf6fbb0040 Merge "Ignore abandon after install relinquished." into mnc-dev 2015-05-12 20:22:44 +00:00
Jeff Sharkey
497c05218a Ignore abandon after install relinquished.
We recently changed the install flow to fully dexopt before renaming
the staging directory.  This exposed the ability for the session owner
to abandon and destroy the stage contents while dexopt was still
happening.

Due to SELinux rules, the abandon would fail to clean up the stage
directory, and PackageManager would "successfully" rename and install
that stage, which now only contained the oat/ directory.

To avoid this case, we now ignore abandon requests once we've passed
the "point of no return" and relinquished our stage over to
PackageManagerService.

Bug: 20175072
Change-Id: I4ad5b1eba0e38f1315b8330bd95be6e3bc6c635a
2015-05-12 13:21:16 -07:00
Dianne Hackborn
f931e3c284 Merge "Always use REGISTERED_ONLY when appropriate." into mnc-dev 2015-05-12 20:17:19 +00:00
Santos Cordon
2d9a9c2ad9 Merge "Add RemoteConference javadocs." into mnc-dev 2015-05-12 20:10:53 +00:00
Chien-Yu Chen
4f6615a30c Merge "Camera2: stream configs for reprocessible session" into mnc-dev 2015-05-12 20:09:15 +00:00
Wale Ogunwale
f99bde92c2 Merge "Determine if TaskRecord is privilaged from creating ActivityInfo." into mnc-dev 2015-05-12 20:03:56 +00:00
John Spurlock
e12931f6a5 Merge "DNDTile: Notify of value changes." into mnc-dev 2015-05-12 19:58:49 +00:00
Santos Cordon
b804f8d8ff Add RemoteConference javadocs.
Bug: 21066411
Change-Id: Ie4cdfef58e6442531c3377cec4a708d67b790945
2015-05-12 12:57:43 -07:00
Alex Klyubin
c5a142f82b Merge "Flatten KeyStoreKeyProperties constants." into mnc-dev 2015-05-12 19:57:10 +00:00
John Spurlock
e66ba47366 Merge "Zen: Ringer mode integration fixes." into mnc-dev 2015-05-12 19:54:48 +00:00
Alex Klyubin
622fd932fd Flatten KeyStoreKeyProperties constants.
This moves constants/flags declared in inner classes of
KeyStoreKeyProperties into KeyStoreKeyProperties, as requested by API
Council.

Bug: 21039983
Change-Id: I84a3c983e13644a027bed9f605ab8044220a352c
2015-05-12 12:53:23 -07:00
John Spurlock
b1688f6af6 DNDTile: Notify of value changes.
Bug: 21055789
Change-Id: If9008b13a6a5583832fc4dfaa8ec3e21b61cb25c
2015-05-12 15:52:38 -04:00
Santos Cordon
5d2e4f20fe Rename Connection time APIs for Conference.java
Bug: 21072487
Change-Id: I7bed9957770639f2adf3c7bd31a4821c0ff0f0dd
2015-05-12 12:47:45 -07:00
Xiyuan Xia
6e38058908 Make PIN/Password/Pattern check async
- Add LockPatternChecker to support async security check;
- Migrate Keyguard UI to use the async check;

Bug: 20697812
Change-Id: I77002a12931feb17cc20923d7c917b3e37f2cd31
2015-05-12 12:42:38 -07:00
Chris Craik
6af2857ae0 Merge "Revert "Fix build - Revert "Revert "Use default constructor to get anti-aliasing"""" into mnc-dev 2015-05-12 19:40:26 +00:00
Yohei Yukawa
f038295e98 Merge "Remove obsolete fields from InputMethodManager." into mnc-dev 2015-05-12 19:16:31 +00:00
Wale Ogunwale
a7afaa211d Determine if TaskRecord is privilaged from creating ActivityInfo.
It is not reliable to try to get it from the process since it might
not be running yet.

Bug: 20016740
Change-Id: If3e748a97015c6623741d9374ab4ed1ed5f4b11f
2015-05-12 11:54:42 -07:00
Dan Sandler
dbd90f0329 Merge "Tests for Notification object construction and parceling." into mnc-dev 2015-05-12 18:51:09 +00:00
John Spurlock
50ced3f323 Zen: Ringer mode integration fixes.
- Properly mute media + alarm streams in total silence.
 - Allow system components to update the "ringer mode affected"
   streams dynamically.
 - Improve dumpsys output for ringer mode streams (include names).
 - Remember last ringer mode properly when entering dnd via a
   volume down (so we can restore it properly when exiting).

Bug: 20854925
Bug: 20950463
Bug: 20756527
Change-Id: I80afc1f639ff802c541020e25ade1b23e9997ef9
2015-05-12 14:42:48 -04:00
Jason Monk
ba6a72fd66 Merge "Fix crash in setup wizard" into mnc-dev 2015-05-12 18:37:25 +00:00
Jason Monk
a42ee81368 Fix crash in setup wizard
Clear out any unhandled worker messages before stopping tracking.

Bug: 21048197
Change-Id: I3792215a1e7799bdb93587cd7158c4d5d86de348
2015-05-12 14:20:25 -04:00
Yohei Yukawa
6d090c42a7 Remove obsolete fields from InputMethodManager.
IMM#mViewTopLeft and IMM#mViewToScreenMatrix are no longer used.
They should have not been removed in
I4a577bfd02b37b9e56c80b8b41bb25afa95dd8ef.

Change-Id: Ia685956c8f7dda1143135345ee9a3873705975ef
2015-05-12 11:11:27 -07:00
Dianne Hackborn
e0d90c8221 Always use REGISTERED_ONLY when appropriate.
Previously we would only check mProcessesReady when going
through the public calls to send broadcasts; now handle it
even if the activity manager is calling its internal
implementation.

Change-Id: I702b4cb85b35a7a051ef05c9875a39f5fa03f0f1
2015-05-12 11:04:37 -07:00
Rich Slogar
389d5ac6ac am 353232ec: am b97afd41: am a27dd186: am e78f136b: Merge "docs: renderscript using gradle settings" into lmp-docs
* commit '353232ecee06d1828d8628c4e3917e3b428485aa':
  docs: renderscript using gradle settings
2015-05-12 17:48:30 +00:00
Chris Craik
6a49ddef62 Revert "Fix build - Revert "Revert "Use default constructor to get anti-aliasing"""
Fix import

This reverts commit 7ed1431c83286abc83b9e5afc45fbd21ecb777b1.

Change-Id: Id93eba3ed1d47a90384ba20dea6f74d78755792b
2015-05-12 10:44:30 -07:00
Wei Jia
0cd3881aaf Merge "MediaSync: rename bufferIndex to bufferId." into mnc-dev 2015-05-12 17:43:47 +00:00
Olawale Ogunwale
e0b2cad093 Merge "Change attribute values per API council." into mnc-dev 2015-05-12 17:43:03 +00:00
Wale Ogunwale
2a857f0011 Merge "Move visibleBehind activities into stop state when sleeping/powerDown" into mnc-dev 2015-05-12 17:40:17 +00:00
P.Y. Laligand
e6c47686f6 Merge "DO NOT MERGE - Display mode switches." into mnc-dev 2015-05-12 17:39:57 +00:00
Wei Jia
9e62c75132 MediaSync: rename bufferIndex to bufferId.
Bug: 20887706
Change-Id: I98887832bc2211614a19a3718b46d6da100f6c9b
2015-05-12 10:38:43 -07:00
Rich Slogar
353232ecee am b97afd41: am a27dd186: am e78f136b: Merge "docs: renderscript using gradle settings" into lmp-docs
* commit 'b97afd418558fbe5cf37a17302a84a9d907490e6':
  docs: renderscript using gradle settings
2015-05-12 17:36:17 +00:00