OSDN Git Service

android-x86/frameworks-base.git
9 years agoam 37d0c94f: (-s ours) am 0cbd0cbd: Merge "Reduce display device log spam." into...
Joe LaPenna [Wed, 13 May 2015 17:25:07 +0000 (17:25 +0000)]
am 37d0c94f: (-s ours) am 0cbd0cbd: Merge "Reduce display device log spam." into lmp-mr1-modular-dev

* commit '37d0c94f7a4a1e2ca31b5cbc269222ded7495ca0':
  Reduce display device log spam.

9 years agoMerge "resolved conflicts for merge of f0c4f0dd to mnc-dev" into mnc-dev
Wei Liu [Wed, 13 May 2015 16:59:53 +0000 (16:59 +0000)]
Merge "resolved conflicts for merge of f0c4f0dd to mnc-dev" into mnc-dev

9 years agoresolved conflicts for merge of f0c4f0dd to mnc-dev
Wei Liu [Wed, 13 May 2015 16:57:33 +0000 (09:57 -0700)]
resolved conflicts for merge of f0c4f0dd to mnc-dev

Change-Id: I16df088016c010aa25ee73ea8e68b3db8c0449e3

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 13 May 2015 16:55:44 +0000 (16:55 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoMerge "Unify DrawProfiler/JankStats" into mnc-dev
John Reck [Wed, 13 May 2015 16:30:03 +0000 (16:30 +0000)]
Merge "Unify DrawProfiler/JankStats" into mnc-dev

9 years agoMerge "API Council Change Phase 2 - add/remove callback" into mnc-dev
Paul McLean [Wed, 13 May 2015 16:18:59 +0000 (16:18 +0000)]
Merge "API Council Change Phase 2 - add/remove callback" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 13 May 2015 16:05:02 +0000 (09:05 -0700)]
Import translations. DO NOT MERGE

Change-Id: If88312e77d2b5b89b00097db2923a8953ac460ff
Auto-generated-cl: translation import

9 years agoMerge "Ensure activity visiblity when moving task" into mnc-dev
Stefan Kuhne [Wed, 13 May 2015 16:04:44 +0000 (16:04 +0000)]
Merge "Ensure activity visiblity when moving task" into mnc-dev

9 years agoMerge "Zen: Map external ringer mode = silent to zen = alarms." into mnc-dev
John Spurlock [Wed, 13 May 2015 15:49:31 +0000 (15:49 +0000)]
Merge "Zen: Map external ringer mode = silent to zen = alarms." into mnc-dev

9 years agoMerge "Fix Floating Toolbar appearing after ActionMode was cancelled" into mnc-dev
Clara Bayarri [Wed, 13 May 2015 15:46:57 +0000 (15:46 +0000)]
Merge "Fix Floating Toolbar appearing after ActionMode was cancelled" into mnc-dev

9 years agoMerge "Show IME switcher also when hardware keyboard is connected." into mnc-dev
Yohei Yukawa [Wed, 13 May 2015 15:25:19 +0000 (15:25 +0000)]
Merge "Show IME switcher also when hardware keyboard is connected." into mnc-dev

9 years agoZen: Map external ringer mode = silent to zen = alarms.
John Spurlock [Wed, 13 May 2015 15:19:19 +0000 (11:19 -0400)]
Zen: Map external ringer mode = silent to zen = alarms.

Bug: 21109517
Change-Id: I0e9506dad05ce4edf709ee879367b9f6aeba8dfd

9 years agoMerge "Update API." into mnc-dev
Tobias Sargeant [Wed, 13 May 2015 15:18:47 +0000 (15:18 +0000)]
Merge "Update API." into mnc-dev

9 years agoMerge "Fix crash from WPS" into mnc-dev
Jason Monk [Wed, 13 May 2015 15:15:06 +0000 (15:15 +0000)]
Merge "Fix crash from WPS" into mnc-dev

9 years agoUpdate API.
Tobias Sargeant [Wed, 13 May 2015 15:12:26 +0000 (16:12 +0100)]
Update API.

Bug: 21043955
Change-Id: Ibc012c1e60336f1f070982d27b8c75be8590dc5a

9 years agoFix crash from WPS
Jason Monk [Wed, 13 May 2015 15:07:53 +0000 (11:07 -0400)]
Fix crash from WPS

Also fix the tests to handle the new threadedness while here.

Bug: 20067687
Change-Id: I116bf14c71886b251c2e8bcaeb2c9b0e5f9ec817

9 years agoFix Floating Toolbar appearing after ActionMode was cancelled
Clara Bayarri [Wed, 13 May 2015 14:12:12 +0000 (15:12 +0100)]
Fix Floating Toolbar appearing after ActionMode was cancelled

The Views created for the Toolbar were not cleaned up properly when the
mode was cancelled by the client in onCreateActionMode, leading to the
toolbar appearing over other views when it shouldn't due to
onWindowFocusChanged showing the Toolbar if it exists.

We don't actually need the views if we don't know whether they are
going to be shown yet, so moved view creation to after onCreateActionMode

Bug: 20713912
Change-Id: Ic0c31d1634e1e96d9981a77b2c769306a8bf1a8d

9 years agoAPI Council Change Phase 2 - add/remove callback
Paul McLean [Tue, 12 May 2015 22:36:56 +0000 (15:36 -0700)]
API Council Change Phase 2 - add/remove callback

Change-Id: Ic7d374c67ef46a2bc8427fa3555e3ad1a4b0723e

9 years agoMerge "NoMan: Specify all users for noman broadcasts." into mnc-dev
John Spurlock [Wed, 13 May 2015 14:54:00 +0000 (14:54 +0000)]
Merge "NoMan: Specify all users for noman broadcasts." into mnc-dev

9 years agoNoMan: Specify all users for noman broadcasts.
John Spurlock [Wed, 13 May 2015 14:47:05 +0000 (10:47 -0400)]
NoMan: Specify all users for noman broadcasts.

Change-Id: I347bc25b09506dd5fd695e68f23e9654bab8103c

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 13 May 2015 14:13:23 +0000 (14:13 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 13 May 2015 14:11:45 +0000 (07:11 -0700)]
Import translations. DO NOT MERGE

Change-Id: I931cdc19e6e7855a627c8bc139769ae06d1ecd2d
Auto-generated-cl: translation import

9 years agoEnsure activity visiblity when moving task
Stefan Kuhne [Tue, 12 May 2015 20:42:18 +0000 (13:42 -0700)]
Ensure activity visiblity when moving task

There was a visibility problem when multiple already running
activity got resized at the same time.
Only the last activity launched that got focus was shown and all others
were not.

The problem arose when a new ActivityStack got created and the
(existing) window got attached which led to the divergence of the
visibility states in different objects. The WindowState thinks
that it is visible, but the AppWindowToken thinks that it is not.
Subsequent calls to WindowState::ShowLw ignore calls to show the window
and the application logic enters the GONE state until it recieves focus.

Bug: 20692085

Change-Id: Ifc0e3686398ccd1d1ff32e1a266163b8db5b7f26

9 years agoMerge "Removed unused Face Unlock aidl files" into mnc-dev
Brian Colonna [Wed, 13 May 2015 13:27:14 +0000 (13:27 +0000)]
Merge "Removed unused Face Unlock aidl files" into mnc-dev

9 years agoMerge "Initial IpReachabilityMonitor implementation." into mnc-dev
Erik Kline [Wed, 13 May 2015 13:11:12 +0000 (13:11 +0000)]
Merge "Initial IpReachabilityMonitor implementation." into mnc-dev

9 years agoInitial IpReachabilityMonitor implementation.
Erik Kline [Thu, 7 May 2015 07:04:54 +0000 (16:04 +0900)]
Initial IpReachabilityMonitor implementation.

Add a class that monitors on-link IP reachability and notifies
callers whenever any on-link addresses of interest appear to have
become unresponsive.

Bug: 18581716
Change-Id: I333eee6fe30fa97a21297c6745de14ceb95bb661

9 years agoMerge "Improve documentation and rename insertVisualStateCallback to postVisualStateC...
Tobias Sargeant [Wed, 13 May 2015 11:33:16 +0000 (11:33 +0000)]
Merge "Improve documentation and rename insertVisualStateCallback to postVisualStateCallback." into mnc-dev

9 years agoImprove documentation and rename insertVisualStateCallback to postVisualStateCallback.
Tobias Sargeant [Wed, 13 May 2015 10:23:57 +0000 (11:23 +0100)]
Improve documentation and rename insertVisualStateCallback to postVisualStateCallback.

Bug: 21043955
Change-Id: I077cad68fb519581387d1b474f27d43222f68e3b

9 years agoMerge "Add basic netlink library code." into mnc-dev
Erik Kline [Wed, 13 May 2015 07:04:58 +0000 (07:04 +0000)]
Merge "Add basic netlink library code." into mnc-dev

9 years agoMerge "Fix a race when removing from LegacyTypeTracker." into mnc-dev
Lorenzo Colitti [Wed, 13 May 2015 06:31:36 +0000 (06:31 +0000)]
Merge "Fix a race when removing from LegacyTypeTracker." into mnc-dev

9 years agoAdd basic netlink library code.
Erik Kline [Tue, 20 Jan 2015 03:28:26 +0000 (12:28 +0900)]
Add basic netlink library code.

Add netlink socket helpers and parsing code for basic netlink messages.
Additionally, support from some neighbor discovery -specific messages
is included.

Bug: 18581716
Change-Id: Ib2aa924222b63cdbebf09a8bf8ff35ee24269fc5

9 years agoMerge "New "sm" shell tool to call StorageManager." into mnc-dev
Jeff Sharkey [Wed, 13 May 2015 05:27:28 +0000 (05:27 +0000)]
Merge "New "sm" shell tool to call StorageManager." into mnc-dev

9 years agoMerge "Lower protection level of permissions of permissions" into mnc-dev
Svet Ganov [Wed, 13 May 2015 03:55:36 +0000 (03:55 +0000)]
Merge "Lower protection level of permissions of permissions" into mnc-dev

9 years agoLower protection level of permissions of permissions
Svet Ganov [Wed, 13 May 2015 03:50:14 +0000 (20:50 -0700)]
Lower protection level of permissions of permissions

Permissions ACCESS_NETWORK_STATE, INTERNET, NFC, DISABLE_KEYGUARD
do not lead to unrecoverable damage and do not lead to PII leaks,
hence they do not meet the bar to be runtime permissions and we
are lowering their protection level.

bug:21078873

Change-Id: I30c8e742d6a69474171994b65ce070068402ae47

9 years agoMade sure that HUNS with full screen intents stay pinned
Selim Cinek [Tue, 12 May 2015 02:04:49 +0000 (19:04 -0700)]
Made sure that HUNS with full screen intents stay pinned

When a HUN came in with a full screen intent came in and the shade
was open, the notification was not pinned and therefore got lost
when the shade was closed, potentially leading to missed alarms
or calls.

Bug: 20431566
Change-Id: I0d5da0f9baba8d9f68ba2755c40c5fd9a8471191

9 years agoMerge "Add IntentFilter auto verification - part 9" into mnc-dev
Fabrice Di Meglio [Wed, 13 May 2015 01:53:08 +0000 (01:53 +0000)]
Merge "Add IntentFilter auto verification - part 9" into mnc-dev

9 years agoam 0cbd0cbd: Merge "Reduce display device log spam." into lmp-mr1-modular-dev
Joe LaPenna [Wed, 13 May 2015 01:37:02 +0000 (01:37 +0000)]
am 0cbd0cbd: Merge "Reduce display device log spam." into lmp-mr1-modular-dev

* commit '0cbd0cbd138cdaa367d21f58d8a3fd36f1e73f69':
  Reduce display device log spam.

9 years agoMerge "More video related API fixes" into mnc-dev
Yorke Lee [Wed, 13 May 2015 01:33:10 +0000 (01:33 +0000)]
Merge "More video related API fixes" into mnc-dev

9 years agoMerge "Reduce display device log spam." into lmp-mr1-modular-dev
Joe LaPenna [Wed, 13 May 2015 01:26:25 +0000 (01:26 +0000)]
Merge "Reduce display device log spam." into lmp-mr1-modular-dev

9 years agoMerge "Add a temporary wrapper for ViewStructure until Webview APK is updated" into...
Selim Gurun [Wed, 13 May 2015 01:23:51 +0000 (01:23 +0000)]
Merge "Add a temporary wrapper for ViewStructure until Webview APK is updated" into mnc-dev

9 years agoMerge "Allow exemption to idle apps at periodic intervals" into mnc-dev
Amith Yamasani [Wed, 13 May 2015 01:22:56 +0000 (01:22 +0000)]
Merge "Allow exemption to idle apps at periodic intervals" into mnc-dev

9 years agoAdd a temporary wrapper for ViewStructure until Webview APK is updated
Selim Gurun [Wed, 13 May 2015 00:53:24 +0000 (17:53 -0700)]
Add a temporary wrapper for ViewStructure until Webview APK is updated

It turned out that after the API change from ViewAssistStructure to
ViewStructure, the suggested mechanism did not work, and webview
started throwing abstractmethoderror exceptions. Temporarily
solve the problem by wrapping ViewStructure inside a
ViewAssistStructure. Once Webview APK is updated, drop it.

Change-Id: I09dfe7dac9c2bc7c037d842844c61dd879629470

9 years agoMerge "Update APIs to fix build" into mnc-dev
Alan Viverette [Wed, 13 May 2015 00:29:07 +0000 (00:29 +0000)]
Merge "Update APIs to fix build" into mnc-dev

9 years agoUpdate APIs to fix build
Alan Viverette [Wed, 13 May 2015 00:26:47 +0000 (17:26 -0700)]
Update APIs to fix build

Change-Id: I79e15ed436efe9f7223bc54e3737457885fdc571

9 years agoMerge "Make Noto Sans Japanese default font on extended profiles." into mnc-dev
Roozbeh Pournader [Wed, 13 May 2015 00:19:30 +0000 (00:19 +0000)]
Merge "Make Noto Sans Japanese default font on extended profiles." into mnc-dev

9 years agoMerge "Runtime permissions for system components not revokable - framework" into...
Svet Ganov [Wed, 13 May 2015 00:17:45 +0000 (00:17 +0000)]
Merge "Runtime permissions for system components not revokable - framework" into mnc-dev

9 years agoMerge "DO NOT MERGE - Allowing only a subset of display attributes to get overridden...
P.Y. Laligand [Wed, 13 May 2015 00:15:10 +0000 (00:15 +0000)]
Merge "DO NOT MERGE - Allowing only a subset of display attributes to get overridden." into mnc-dev

9 years agoMerge "camera2: Fix DngCreator default crop size." into mnc-dev
Ruben Brunk [Wed, 13 May 2015 00:10:37 +0000 (00:10 +0000)]
Merge "camera2: Fix DngCreator default crop size." into mnc-dev

9 years agoMerge "camera2: Fix crop selection in LEGACY." into mnc-dev
Ruben Brunk [Wed, 13 May 2015 00:09:49 +0000 (00:09 +0000)]
Merge "camera2: Fix crop selection in LEGACY." into mnc-dev

9 years agoAdd IntentFilter auto verification - part 9
Fabrice Di Meglio [Tue, 12 May 2015 23:31:38 +0000 (16:31 -0700)]
Add IntentFilter auto verification - part 9

- make verifyIntentFilter(int, int, List<String>) a SystemApi

See bug #19628271

Change-Id: I8b1f29da385867beb8b19829c124db1821450c41

9 years agoMerge "Apply API feedback for ChooserTarget" into mnc-dev
Adam Powell [Tue, 12 May 2015 23:57:30 +0000 (23:57 +0000)]
Merge "Apply API feedback for ChooserTarget" into mnc-dev

9 years agoMerge "AnimatedRotateDrawable should inflate child elements" into mnc-dev
Alan Viverette [Tue, 12 May 2015 23:53:36 +0000 (23:53 +0000)]
Merge "AnimatedRotateDrawable should inflate child elements" into mnc-dev

9 years agoRuntime permissions for system components not revokable - framework
Svet Ganov [Tue, 12 May 2015 18:01:24 +0000 (11:01 -0700)]
Runtime permissions for system components not revokable - framework

Change-Id: I5b1d7bb1618ffa8d1231618ece47d0905c82f7bf

9 years agoMore video related API fixes
Yorke Lee [Tue, 12 May 2015 23:18:03 +0000 (16:18 -0700)]
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

9 years agoAnimatedRotateDrawable should inflate child elements
Alan Viverette [Tue, 12 May 2015 23:44:59 +0000 (16:44 -0700)]
AnimatedRotateDrawable should inflate child elements

This was missed during the update that extended from DrawableWrapper.

Bug: 20089503
Change-Id: Ie84c040deaecb415e882842f2172a344afa8df7b

9 years agoMerge "Spell out parameters" into mnc-dev
Glenn Kasten [Tue, 12 May 2015 23:39:12 +0000 (23:39 +0000)]
Merge "Spell out parameters" into mnc-dev

9 years agoMerge "Update scrollIndicators XML enums to match View constants" into mnc-dev
Alan Viverette [Tue, 12 May 2015 23:34:11 +0000 (23:34 +0000)]
Merge "Update scrollIndicators XML enums to match View constants" into mnc-dev

9 years agoUpdate scrollIndicators XML enums to match View constants
Alan Viverette [Tue, 12 May 2015 23:25:47 +0000 (16:25 -0700)]
Update scrollIndicators XML enums to match View constants

Bug: 21027462
Change-Id: I41e503e218253cf63bc44a82345f8b086261e379

9 years agoAllow exemption to idle apps at periodic intervals
Amith Yamasani [Fri, 8 May 2015 23:36:21 +0000 (16:36 -0700)]
Allow exemption to idle apps at periodic intervals

Triggers are device idle mode changing as well as
internal delayed message handlers.

Bug: 20066058
Change-Id: I0627cfbcc16cfc2b8ac7d298fd2c681a5a6571dd

9 years agoMake Noto Sans Japanese default font on extended profiles.
Roozbeh Pournader [Tue, 12 May 2015 23:00:55 +0000 (16:00 -0700)]
Make Noto Sans Japanese default font on extended profiles.

This experimentally makes Noto Sans Japanese the default Japanese
font.

Bug: 21074688
Change-Id: I4a9396a03bd758541574431760d5d387a472bec6

9 years agoMerge "Add hyphenationFrequency attribute to TextView and StaticLayout." into mnc-dev
Roozbeh Pournader [Tue, 12 May 2015 22:59:44 +0000 (22:59 +0000)]
Merge "Add hyphenationFrequency attribute to TextView and StaticLayout." into mnc-dev

9 years agoNew "sm" shell tool to call StorageManager.
Jeff Sharkey [Tue, 12 May 2015 22:27:15 +0000 (15:27 -0700)]
New "sm" shell tool to call StorageManager.

Surface basic StorageManager commands through shell tool, like
simple listing of disks and volumes, and commands like mounting and
partitioning.

The output is designed to be parsed by host-side testing tools,
instead of relying on fragile dumpsys parsing.

Bug: 19993667
Change-Id: I993e92ecf57996678965945f0ae648b392a77ea2

9 years agocamera2: Fix DngCreator default crop size.
Ruben Brunk [Tue, 12 May 2015 22:09:10 +0000 (15:09 -0700)]
camera2: Fix DngCreator default crop size.

Bug: 20090682
Change-Id: I4343fc10a4f812f706a5423b133fcd32a794976a

9 years agoMerge "Make PIN/Password/Pattern check async" into mnc-dev
Xiyuan Xia [Tue, 12 May 2015 22:08:08 +0000 (22:08 +0000)]
Merge "Make PIN/Password/Pattern check async" into mnc-dev

9 years agoApply API feedback for ChooserTarget
Adam Powell [Tue, 12 May 2015 21:43:56 +0000 (14:43 -0700)]
Apply API feedback for ChooserTarget

* Add better docs to ChooserTarget
* Change ChooserTarget to use android.graphics.drawable.Icon instead
  of Bitmap
* Preserve EXTRA_REFERRER when starting ChooserTargets

Bug 21045119

Change-Id: If859b86344cebaed3eaae477af132e7d7600aba6

9 years agoShow IME switcher also when hardware keyboard is connected.
Yohei Yukawa [Tue, 12 May 2015 22:00:33 +0000 (15:00 -0700)]
Show IME switcher also when hardware keyboard is connected.

As per discussion with UX team, we start showing IME switcher UI
not only when there are multiple IMEs are enabled but also when
a hardware keyboard is connected.

This CL also simplifies needsToShowImeSwitchOngoingNotification()
by renaming it with shouldShowImeSwitcherLocked() and unifying
related condition checking into that method.

Bug: 19496012
Change-Id: Id44724a2a46190382c283a52ece8edffb740807d

9 years agoMerge "MidiManager: Address API Council feedback:" into mnc-dev
Mike Lockwood [Tue, 12 May 2015 22:02:43 +0000 (22:02 +0000)]
Merge "MidiManager: Address API Council feedback:" into mnc-dev

9 years agoAdd hyphenationFrequency attribute to TextView and StaticLayout.
Roozbeh Pournader [Tue, 12 May 2015 19:01:06 +0000 (12:01 -0700)]
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

9 years agoSpell out parameters
Glenn Kasten [Tue, 12 May 2015 18:13:07 +0000 (11:13 -0700)]
Spell out parameters

Change-Id: I7937e5f84fabee64cc1ebd5b8c1b45a1ff759ffe

9 years agoMerge "CEC: Let playback device send <Standby> upon power off" into mnc-dev
Jinsuk Kim [Tue, 12 May 2015 21:34:29 +0000 (21:34 +0000)]
Merge "CEC: Let playback device send <Standby> upon power off" into mnc-dev

9 years agoMerge "Elaborate on description of ScriptGroup.execute" into mnc-dev
Yang Ni [Tue, 12 May 2015 21:25:28 +0000 (21:25 +0000)]
Merge "Elaborate on description of ScriptGroup.execute" into mnc-dev

9 years agoMerge "Fix build break." into mnc-dev
Santos Cordon [Tue, 12 May 2015 21:23:01 +0000 (21:23 +0000)]
Merge "Fix build break." into mnc-dev

9 years agoMerge "Fix API name based on API review" into mnc-dev
Jason Sams [Tue, 12 May 2015 21:20:13 +0000 (21:20 +0000)]
Merge "Fix API name based on API review" into mnc-dev

9 years agoFix build break.
Santos Cordon [Tue, 12 May 2015 21:19:24 +0000 (14:19 -0700)]
Fix build break.

Change-Id: Icca3603d3f4a38146fb9bc04a384a22ece4014f4

9 years agoMerge "Only dispatch systemUiVisibility when it actually changes" into mnc-dev
Adrian Roos [Tue, 12 May 2015 21:16:23 +0000 (21:16 +0000)]
Merge "Only dispatch systemUiVisibility when it actually changes" into mnc-dev

9 years agoOnly dispatch systemUiVisibility when it actually changes
Adrian Roos [Tue, 12 May 2015 20:33:25 +0000 (13:33 -0700)]
Only dispatch systemUiVisibility when it actually changes

Bug: 19000727
Change-Id: I9302746281188186d18256d45fee681bd2ab50d5

9 years agoFix API name based on API review
Jason Sams [Tue, 12 May 2015 21:06:56 +0000 (14:06 -0700)]
Fix API name based on API review

rename getMinorID to getMinorVersion

bug 21039492

Change-Id: I03908dba508e30a605818d81a085ad627fa202fb

9 years agoMerge "Fixes for APi review" into mnc-dev
Yorke Lee [Tue, 12 May 2015 20:59:52 +0000 (20:59 +0000)]
Merge "Fixes for APi review" into mnc-dev

9 years agoElaborate on description of ScriptGroup.execute
Yang Ni [Tue, 12 May 2015 20:53:38 +0000 (13:53 -0700)]
Elaborate on description of ScriptGroup.execute

b/21039492

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

Change-Id: I88668338ab2ac50e602b97891b86509c81dedf4d

9 years agoSpecify tint on top-level vector tag, rather than fillColor
Alan Viverette [Tue, 12 May 2015 20:49:43 +0000 (13:49 -0700)]
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

9 years agoMidiManager: Address API Council feedback:
Mike Lockwood [Tue, 12 May 2015 20:32:16 +0000 (13:32 -0700)]
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

9 years agoFixes for APi review
Yorke Lee [Tue, 12 May 2015 20:31:25 +0000 (13:31 -0700)]
Fixes for APi review

Move CameraCapabilities into VideoProfile
Make PhoneAccount and PhoneAccountHandle final

Bug: 21040387
Bug: 21066505
Change-Id: I72453c89ae3765f9b9cf263938fce96d5978d2e0

9 years agoMerge "Rename Connection time APIs for Conference.java" into mnc-dev
Santos Cordon [Tue, 12 May 2015 20:25:58 +0000 (20:25 +0000)]
Merge "Rename Connection time APIs for Conference.java" into mnc-dev

9 years agoMerge "Ignore abandon after install relinquished." into mnc-dev
Jeff Sharkey [Tue, 12 May 2015 20:22:37 +0000 (20:22 +0000)]
Merge "Ignore abandon after install relinquished." into mnc-dev

9 years agoIgnore abandon after install relinquished.
Jeff Sharkey [Tue, 12 May 2015 20:07:14 +0000 (13:07 -0700)]
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

9 years agoMerge "Always use REGISTERED_ONLY when appropriate." into mnc-dev
Dianne Hackborn [Tue, 12 May 2015 20:17:18 +0000 (20:17 +0000)]
Merge "Always use REGISTERED_ONLY when appropriate." into mnc-dev

9 years agoMerge "Add RemoteConference javadocs." into mnc-dev
Santos Cordon [Tue, 12 May 2015 20:10:52 +0000 (20:10 +0000)]
Merge "Add RemoteConference javadocs." into mnc-dev

9 years agoMerge "Camera2: stream configs for reprocessible session" into mnc-dev
Chien-Yu Chen [Tue, 12 May 2015 20:09:14 +0000 (20:09 +0000)]
Merge "Camera2: stream configs for reprocessible session" into mnc-dev

9 years agoMerge "Determine if TaskRecord is privilaged from creating ActivityInfo." into mnc-dev
Wale Ogunwale [Tue, 12 May 2015 20:03:55 +0000 (20:03 +0000)]
Merge "Determine if TaskRecord is privilaged from creating ActivityInfo." into mnc-dev

9 years agoMerge "DNDTile: Notify of value changes." into mnc-dev
John Spurlock [Tue, 12 May 2015 19:58:48 +0000 (19:58 +0000)]
Merge "DNDTile: Notify of value changes." into mnc-dev

9 years agoAdd RemoteConference javadocs.
Santos Cordon [Tue, 12 May 2015 19:09:47 +0000 (12:09 -0700)]
Add RemoteConference javadocs.

Bug: 21066411
Change-Id: Ie4cdfef58e6442531c3377cec4a708d67b790945

9 years agoMerge "Flatten KeyStoreKeyProperties constants." into mnc-dev
Alex Klyubin [Tue, 12 May 2015 19:57:09 +0000 (19:57 +0000)]
Merge "Flatten KeyStoreKeyProperties constants." into mnc-dev

9 years agoMerge "Zen: Ringer mode integration fixes." into mnc-dev
John Spurlock [Tue, 12 May 2015 19:54:47 +0000 (19:54 +0000)]
Merge "Zen: Ringer mode integration fixes." into mnc-dev

9 years agoFlatten KeyStoreKeyProperties constants.
Alex Klyubin [Tue, 12 May 2015 19:53:23 +0000 (12:53 -0700)]
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

9 years agoDNDTile: Notify of value changes.
John Spurlock [Tue, 12 May 2015 19:52:38 +0000 (15:52 -0400)]
DNDTile: Notify of value changes.

Bug: 21055789
Change-Id: If9008b13a6a5583832fc4dfaa8ec3e21b61cb25c

9 years agoRename Connection time APIs for Conference.java
Santos Cordon [Tue, 12 May 2015 19:32:51 +0000 (12:32 -0700)]
Rename Connection time APIs for Conference.java

Bug: 21072487
Change-Id: I7bed9957770639f2adf3c7bd31a4821c0ff0f0dd

9 years agoMake PIN/Password/Pattern check async
Xiyuan Xia [Tue, 5 May 2015 22:16:08 +0000 (15:16 -0700)]
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

9 years agoMerge "Revert "Fix build - Revert "Revert "Use default constructor to get anti-aliasi...
Chris Craik [Tue, 12 May 2015 19:40:25 +0000 (19:40 +0000)]
Merge "Revert "Fix build - Revert "Revert "Use default constructor to get anti-aliasing"""" into mnc-dev

9 years agoMerge "Remove obsolete fields from InputMethodManager." into mnc-dev
Yohei Yukawa [Tue, 12 May 2015 19:16:30 +0000 (19:16 +0000)]
Merge "Remove obsolete fields from InputMethodManager." into mnc-dev

9 years agoam 3d76e2f3: Merge "Create GpsLocationProvider only if GPS is supported." into lmp...
Wei Liu [Tue, 12 May 2015 19:06:06 +0000 (19:06 +0000)]
am 3d76e2f3: Merge "Create GpsLocationProvider only if GPS is supported." into lmp-mr1-modular-dev

* commit '3d76e2f35ae5e4557979c053aa35c3cf3b02f1c3':
  Create GpsLocationProvider only if GPS is supported.