192023 Commits

Author SHA1 Message Date
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
Wei Liu
f0c4f0ddb6 am 3d76e2f3: Merge "Create GpsLocationProvider only if GPS is supported." into lmp-mr1-modular-dev
* commit '3d76e2f35ae5e4557979c053aa35c3cf3b02f1c3':
  Create GpsLocationProvider only if GPS is supported.
2015-05-12 19:06:06 +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
Wei Liu
3d76e2f35a Merge "Create GpsLocationProvider only if GPS is supported." into lmp-mr1-modular-dev 2015-05-12 18:54:11 +00: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
Mady Mellor
58c9087137 Fix issue where handle is in front of word rather than end of word
Previous getWordEnd and getWordStart functions would return a boundary
rather than a word end / start boundary in some cases. This behavior is
most evident when moving between short lines -- the handle would go to
the next boundary rather than the word end on the next line (and the
start handle would go to the word end rather than the word start on
the prev line).

This CL ensures that word or punctuation boundaries are returned and moves
most of the punctuation boundary logic into WordIterator since it makes
a bit more sense there.

Bug: 21030788
Change-Id: I96c6aff7f2c213aa3c4f66ac87ca913ca16fd347
2015-05-12 11:09:37 -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
John Reck
4c9e59d03c Unify DrawProfiler/JankStats
Bug: 20822400

Change-Id: I24345c3120440bfce14e8cbe7e880b39f10b744a
2015-05-12 11:02:07 -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
P.Y. Laligand
ed896d4e59 DO NOT MERGE - Allowing only a subset of display attributes to get overridden.
b/20854184

Change-Id: If6b2486ba8ca93e8f96d3bdbe8e140c736353683
(cherry picked from commit 4b4c7f98869f5394b738bbc91b3775b6f4026189)
2015-05-12 10:44:08 -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
Doris Liu
4b403557bc Merge "Avoid setting mCurFrame to -1" into mnc-dev 2015-05-12 17:32:30 +00:00
Alex Klyubin
03064e25b2 Merge "Link to magic constants used by AndroidKeyStore API." into mnc-dev 2015-05-12 17:32:30 +00:00
Christopher Tate
54415439ca Merge "Deprecate Context.MODE_MULTI_PROCESS" into mnc-dev 2015-05-12 17:28:28 +00:00
Craig Mautner
61e1e09a2b Change attribute values per API council.
lockTaskModeDefault => default
lockTaskModeNever => never
lockTaskModeIfWhitelisted => if_whitelisted
lockTaskModeAlways => always

Fixes bug 20642190.

Change-Id: I29cc546e12c330df9ec9af3cc91faf0d0f3df3b4
2015-05-12 10:26:13 -07:00
Chris Craik
d2c05188b6 Merge "Fix build - Revert "Revert "Use default constructor to get anti-aliasing""" into mnc-dev 2015-05-12 17:22:34 +00:00
Chris Craik
7ed1431c83 Fix build - Revert "Revert "Use default constructor to get anti-aliasing""
This reverts commit dfe0a66ceca530e0777ebfab20f81103baa18f14.

Change-Id: I58a1bae649a284f3d3b6213064d903ea7fcf185a
2015-05-12 17:22:22 +00:00
Rich Slogar
b97afd4185 am a27dd186: am e78f136b: Merge "docs: renderscript using gradle settings" into lmp-docs
* commit 'a27dd186b265b58eae490d4e19ec11268ea54f12':
  docs: renderscript using gradle settings
2015-05-12 17:20:10 +00:00