OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Eliminate deadlock in magnification." into nyc-dev
Phil Weaver [Wed, 6 Apr 2016 17:49:46 +0000 (17:49 +0000)]
Merge "Eliminate deadlock in magnification." into nyc-dev

8 years agoMerge "Put disallow-safe-boot restriction to system settings to make it accessible...
Lenka Trochtova [Wed, 6 Apr 2016 17:37:21 +0000 (17:37 +0000)]
Merge "Put disallow-safe-boot restriction to system settings to make it accessible during boot." into nyc-dev

8 years agoFixed a bug where the height of the group was wrong
Selim Cinek [Wed, 6 Apr 2016 02:02:37 +0000 (19:02 -0700)]
Fixed a bug where the height of the group was wrong

This lead to very visible bugs.

Bug: 24866646
Change-Id: I62bfbb2f3895a5a69eb4807d109643bdfdf95351

8 years agoMerge "Wrap logcat invocations with timeout." into nyc-dev
Jeff Sharkey [Wed, 6 Apr 2016 17:33:44 +0000 (17:33 +0000)]
Merge "Wrap logcat invocations with timeout." into nyc-dev

8 years agoMerge "Match SUW package after FBE reboot" into nyc-dev
Russell Brenner [Wed, 6 Apr 2016 17:32:54 +0000 (17:32 +0000)]
Merge "Match SUW package after FBE reboot" into nyc-dev

8 years agoMerge "Move cert tracing to PackageParser" into nyc-dev
Todd Kennedy [Wed, 6 Apr 2016 17:27:56 +0000 (17:27 +0000)]
Merge "Move cert tracing to PackageParser" into nyc-dev

8 years agoMerge "Fragment#setUserVisibleHint guard" into nyc-dev
Adam Powell [Wed, 6 Apr 2016 17:26:52 +0000 (17:26 +0000)]
Merge "Fragment#setUserVisibleHint guard" into nyc-dev

8 years agoMove cert tracing to PackageParser
Todd Kennedy [Wed, 6 Apr 2016 14:46:13 +0000 (07:46 -0700)]
Move cert tracing to PackageParser

Tracing for cert collection in PackageManagerService was only
catching one of a couple usages. Move tracing lower in the
call stack to ensure tracing exists for all calls.

Also added a new tag to differentiate between verifying v1 & v2
signatures.

Bug: 27502465
Change-Id: Ie29f326e44f32cdbea1572714689c82f07ca12ba

8 years agoMerge "Set up none transition for relaunching apps during screen freeze" into nyc-dev
Chong Zhang [Wed, 6 Apr 2016 17:18:52 +0000 (17:18 +0000)]
Merge "Set up none transition for relaunching apps during screen freeze" into nyc-dev

8 years agoMerge "Add an overlayable config for IME switcher visibility." into nyc-dev
Yohei Yukawa [Wed, 6 Apr 2016 17:15:46 +0000 (17:15 +0000)]
Merge "Add an overlayable config for IME switcher visibility." into nyc-dev

8 years agoMerge "DrmInitData: prevent public constructor access" into nyc-dev
Robert Shih [Wed, 6 Apr 2016 17:13:22 +0000 (17:13 +0000)]
Merge "DrmInitData: prevent public constructor access" into nyc-dev

8 years agoPut disallow-safe-boot restriction to system settings
Lenka Trochtova [Thu, 24 Mar 2016 15:43:10 +0000 (16:43 +0100)]
Put disallow-safe-boot restriction to system settings
to make it accessible during boot.

BUG: 26251884

Change-Id: I1dee58dfc2aa746e0e97a6675c611c6e313ec91c

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Wed, 6 Apr 2016 17:10:26 +0000 (17:10 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Wed, 6 Apr 2016 17:03:20 +0000 (17:03 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Remove bool return from setAlwaysOnVpnPackage" into nyc-dev
Robin Lee [Wed, 6 Apr 2016 17:01:23 +0000 (17:01 +0000)]
Merge "Remove bool return from setAlwaysOnVpnPackage" into nyc-dev

8 years agoMerge "Make QS tile lifecycle tests less flaky (hopefully)" into nyc-dev
Jason Monk [Wed, 6 Apr 2016 16:57:43 +0000 (16:57 +0000)]
Merge "Make QS tile lifecycle tests less flaky (hopefully)" into nyc-dev

8 years agoFragment#setUserVisibleHint guard
Adam Powell [Wed, 6 Apr 2016 16:57:40 +0000 (09:57 -0700)]
Fragment#setUserVisibleHint guard

Bug 28026606

Change-Id: I109bce6ecd35feaa045b61a7226b2a19344d2cda

8 years agoMake QS tile lifecycle tests less flaky (hopefully)
Jason Monk [Wed, 6 Apr 2016 16:54:26 +0000 (12:54 -0400)]
Make QS tile lifecycle tests less flaky (hopefully)

Change-Id: I387c774267c076cf244d2870b051ad6d586d3564

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Wed, 6 Apr 2016 16:49:14 +0000 (16:49 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoEliminate deadlock in magnification.
Phil Weaver [Fri, 18 Mar 2016 00:26:24 +0000 (17:26 -0700)]
Eliminate deadlock in magnification.

Use the lock from AccessibilityManagerService in
MagnificationController, since the two services call each other with
locks held.

Bug: 27725795
Change-Id: Iaed6749bf217210457325c3912da0f7aa0f6319a

8 years agoMerge "FloatingToolbar: Include scroll indicators in overflow." into nyc-dev
Abodunrinwa Toki [Wed, 6 Apr 2016 16:38:50 +0000 (16:38 +0000)]
Merge "FloatingToolbar: Include scroll indicators in overflow." into nyc-dev

8 years agoMerge "don't pin ranking updates at the end of the queue." into nyc-dev
Chris Wren [Wed, 6 Apr 2016 16:36:52 +0000 (16:36 +0000)]
Merge "don't pin ranking updates at the end of the queue." into nyc-dev

8 years agoWrap logcat invocations with timeout.
Jeff Sharkey [Wed, 6 Apr 2016 16:22:41 +0000 (10:22 -0600)]
Wrap logcat invocations with timeout.

We've seen evidence that the logcat binary can end up wedged, which
means we can eventually starve system_server for FDs.  To mitigate
this, wrap logcat using the timeout utility to kill and clean up if
it takes too long to exit.

Bug: 279947172802171928009200
Change-Id: Ieed1460d89598628a5db868645fd305d0e9054ed

8 years agoMatch SUW package after FBE reboot
Russell Brenner [Wed, 6 Apr 2016 16:18:59 +0000 (09:18 -0700)]
Match SUW package after FBE reboot

Add MATCH_DIRECT_BOOT_* flags when querying for SUW package.

Bug: 28027590
Change-Id: Ibd454340053ce24299f316e92cd6ec6b350d695e

8 years agoMerge "Prefix printer description with service-label instead of package-label." into...
Philip P. Moltmann [Wed, 6 Apr 2016 16:09:01 +0000 (16:09 +0000)]
Merge "Prefix printer description with service-label instead of package-label." into nyc-dev

8 years agoMerge "Print Activity: Use a single (re-implemented) parsing logig for page ranges...
Philip P. Moltmann [Wed, 6 Apr 2016 16:08:48 +0000 (16:08 +0000)]
Merge "Print Activity: Use a single (re-implemented) parsing logig for page ranges." into nyc-dev

8 years agoMerge "Apply correct bottom padding to layouts" into nyc-dev
Raph Levien [Wed, 6 Apr 2016 15:52:54 +0000 (15:52 +0000)]
Merge "Apply correct bottom padding to layouts" into nyc-dev

8 years agoMerge "Documentation update for interruption filters." into nyc-dev
Julia Reynolds [Wed, 6 Apr 2016 15:34:08 +0000 (15:34 +0000)]
Merge "Documentation update for interruption filters." into nyc-dev

8 years agoRemove bool return from setAlwaysOnVpnPackage
Robin Lee [Tue, 5 Apr 2016 15:27:15 +0000 (16:27 +0100)]
Remove bool return from setAlwaysOnVpnPackage

Bug: 27533151
Change-Id: I4c656488e69cb5247dbb9cfd62d6f6f7043f9a90

8 years agoMerge "Re-enable Optimizing apps dialog" into nyc-dev
David Brazdil [Wed, 6 Apr 2016 15:21:22 +0000 (15:21 +0000)]
Merge "Re-enable Optimizing apps dialog" into nyc-dev

8 years agodon't pin ranking updates at the end of the queue.
Chris Wren [Wed, 6 Apr 2016 15:12:02 +0000 (11:12 -0400)]
don't pin ranking updates at the end of the queue.

Apparently we schedule ranking updates all the time, so the job gets pulled
to the end of the queue, and can get starved. This change makes sure we
don't schedule multiple updates by leaving it in the queue. If a job in the
queue behind hte update request needs to send an update it will jsut
request one anyway, so we shouldn't miss updates.

Bug: 28015158
Change-Id: Id5b9d05ea6eb35e610ee34651e4cde8cddd4ae66

8 years agoMerge "Fix a regression in SHOW_IME_WITH_HARD_KEYBOARD handling." into nyc-dev
Yohei Yukawa [Wed, 6 Apr 2016 15:06:56 +0000 (15:06 +0000)]
Merge "Fix a regression in SHOW_IME_WITH_HARD_KEYBOARD handling." into nyc-dev

8 years agoMerge "DocsUI: Update the drag shadow to meet UI spec." into nyc-dev
Ben Kwa [Wed, 6 Apr 2016 15:02:02 +0000 (15:02 +0000)]
Merge "DocsUI: Update the drag shadow to meet UI spec." into nyc-dev

8 years agoMerge "Protect more broadcasts." into nyc-dev
Jeff Sharkey [Wed, 6 Apr 2016 14:59:39 +0000 (14:59 +0000)]
Merge "Protect more broadcasts." into nyc-dev

8 years agoDocumentation update for interruption filters.
Julia Reynolds [Wed, 6 Apr 2016 14:26:54 +0000 (10:26 -0400)]
Documentation update for interruption filters.

Bug: 27901142
Change-Id: I977f7dc4010dc826e06dfb01ad6db68380b80fde

8 years agoMerge "Notify app op watchers when audio restrictions change." into nyc-dev
Julia Reynolds [Wed, 6 Apr 2016 14:27:34 +0000 (14:27 +0000)]
Merge "Notify app op watchers when audio restrictions change." into nyc-dev

8 years agoMerge "Keyboard Shortcuts: protect against NPE in WindowManagerService" into nyc-dev
Andrei Stingaceanu [Wed, 6 Apr 2016 14:26:03 +0000 (14:26 +0000)]
Merge "Keyboard Shortcuts: protect against NPE in WindowManagerService" into nyc-dev

8 years agoRe-enable Optimizing apps dialog
David Brazdil [Wed, 6 Apr 2016 14:05:04 +0000 (15:05 +0100)]
Re-enable Optimizing apps dialog

Bug: 27350503
Change-Id: I98ae03571817792265780c9283b395c323638e14

8 years agoKeyboard Shortcuts: protect against NPE in WindowManagerService
Andrei Stingaceanu [Wed, 6 Apr 2016 13:48:33 +0000 (14:48 +0100)]
Keyboard Shortcuts: protect against NPE in WindowManagerService

Using an unresponsive app [while (true) { Thread.sleep(1000) }]
produces NPE:

WindowManager: Window Manager Crash
WindowManager: java.lang.NullPointerException: Attempt to read
               from field 'android.view.IWindow
               com.android.server.wm.WindowState.mClient' on a
               null object reference
WindowManager: at com.android.server.wm.WindowManagerService
               .requestAppKeyboardShortcuts
               (WindowManagerService.java:10628)

Which puts down SysUI (and requires restarting SysUI).

Protect against this by checking for nulls. The end result
is that the dialog is no longer shown for unresponsive apps
and SysUI does not break.

Bug: 27914463
Change-Id: I37f0b0d5980f6ddc50f3bb778582d23ee1c7e9c3

8 years agoFloatingToolbar: Include scroll indicators in overflow.
Abodunrinwa Toki [Wed, 6 Apr 2016 13:15:26 +0000 (14:15 +0100)]
FloatingToolbar: Include scroll indicators in overflow.

Bug: 27427333
Change-Id: I7480cfe5f75d04e04792d9443435a76ab6773c64

8 years agoMerge "Clear caller identity when calling createConfirmDeviceCredentialIntent" into...
Rubin Xu [Wed, 6 Apr 2016 13:12:55 +0000 (13:12 +0000)]
Merge "Clear caller identity when calling createConfirmDeviceCredentialIntent" into nyc-dev

8 years agoMerge "Fix build" into nyc-dev
Jaesung Chung [Wed, 6 Apr 2016 12:50:30 +0000 (12:50 +0000)]
Merge "Fix build" into nyc-dev

8 years agoFix build
Jaesung Chung [Wed, 6 Apr 2016 12:42:39 +0000 (21:42 +0900)]
Fix build

Change-Id: I38aa2f70fef3cb5b4a6fe42a3e4aa8e0a16e6fe0

8 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 6 Apr 2016 12:38:14 +0000 (05:38 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Document which APIs are callable on the parent instance" into nyc-dev
Benjamin Franz [Wed, 6 Apr 2016 12:17:25 +0000 (12:17 +0000)]
Merge "Document which APIs are callable on the parent instance" into nyc-dev

8 years agoDocument which APIs are callable on the parent instance
Benjamin Franz [Tue, 5 Apr 2016 18:12:39 +0000 (19:12 +0100)]
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

8 years agoClear caller identity when calling createConfirmDeviceCredentialIntent
Rubin Xu [Wed, 6 Apr 2016 10:54:59 +0000 (11:54 +0100)]
Clear caller identity when calling createConfirmDeviceCredentialIntent

Bug: 27893870
Change-Id: I9edcd170432f8a2bd852a5fa78ab868201093dcf

8 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 6 Apr 2016 10:28:47 +0000 (03:28 -0700)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 6 Apr 2016 10:03:10 +0000 (03:03 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Make public the registerDefaultNetworkCallback API" into nyc-dev
Erik Kline [Wed, 6 Apr 2016 08:51:06 +0000 (08:51 +0000)]
Merge "Make public the registerDefaultNetworkCallback API" into nyc-dev

8 years agoMerge "PIP: Apply the latest Recents row animation when PIP control is focused" into...
Jaewan Kim [Wed, 6 Apr 2016 06:35:40 +0000 (06:35 +0000)]
Merge "PIP: Apply the latest Recents row animation when PIP control is focused" into nyc-dev

8 years agoPIP: Apply the latest Recents row animation when PIP control is focused
Jaewan Kim [Mon, 4 Apr 2016 18:15:17 +0000 (03:15 +0900)]
PIP: Apply the latest Recents row animation when PIP control is focused

Bug: 27540465
Change-Id: Ib3b40fb64953a175593eab789552db3c231f0227

8 years agoFix a regression in SHOW_IME_WITH_HARD_KEYBOARD handling.
Yohei Yukawa [Mon, 4 Apr 2016 05:50:18 +0000 (22:50 -0700)]
Fix a regression in SHOW_IME_WITH_HARD_KEYBOARD handling.

This is a follow up CL to my previous CL [1], which caused a regression
that LatinIME does not correctly initialize its UI when:
  1. Make sure SHOW_IME_WITH_HARD_KEYBOARD is off.
  2. Pair a hardware keyboard.
  3. Reboot.
  4. Make sure the hardware keyboard is paird.
  5. Focus in a text box.
  6. Make sure that LatinIME does not show software keyboard.
  7. Tap the IME switcher and turn of "Show Input Method" toggle.

Previously IMS had called many methods from
IMS#onConfigurationChanged(), which was just replaced with
IMS#restartInput() by my CL [1] then broke some assumptions in LatinIME.
This could also break other IMEs' assumptions as well.

To avoid unexpected regressions between M and N like this, this CL
ensures that those methods are called as we have done until [1].

 [1]: Id4d332e3909590c68345e10e1f2e18650efb2eb7
      7b739a802cb7d97460a0bf8a1e9774efe96fa552

Bug: 26985193
Change-Id: Iebd98f26d388b64cb318ac202b3bcdd956bd3a27

8 years agoMerge "PIP: Fix regressions caused by previous commit a0d4d25" into nyc-dev
Jaewan Kim [Wed, 6 Apr 2016 05:46:55 +0000 (05:46 +0000)]
Merge "PIP: Fix regressions caused by previous commit a0d4d25" into nyc-dev

8 years agoMerge "MidiDevice: fix connectPorts for same Process" into nyc-dev
Phil Burk [Wed, 6 Apr 2016 03:51:45 +0000 (03:51 +0000)]
Merge "MidiDevice: fix connectPorts for same Process" into nyc-dev

8 years agoMake public the registerDefaultNetworkCallback API
Erik Kline [Fri, 1 Apr 2016 07:28:28 +0000 (16:28 +0900)]
Make public the registerDefaultNetworkCallback API

Change-Id: I89d7a6f49f5d6a0da3402a07407b0f8d93181b4f

8 years agoDon't flush DNS cache on route changes.
Erik Kline [Tue, 5 Apr 2016 04:30:49 +0000 (13:30 +0900)]
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

8 years agoMerge "Delete unused DnsPinger" into nyc-dev
Erik Kline [Wed, 6 Apr 2016 02:07:01 +0000 (02:07 +0000)]
Merge "Delete unused DnsPinger" into nyc-dev

8 years agoMerge "Remove unusable a11y APIs for ClickableSpans." into nyc-dev
Svetoslav Ganov [Wed, 6 Apr 2016 02:05:40 +0000 (02:05 +0000)]
Merge "Remove unusable a11y APIs for ClickableSpans." into nyc-dev

8 years agoFix divider touchable region
Jorim Jaggi [Wed, 6 Apr 2016 01:03:56 +0000 (18:03 -0700)]
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

8 years agoMerge "Camera: Null check remote binder interface" into nyc-dev
Eino-Ville Talvala [Wed, 6 Apr 2016 01:19:12 +0000 (01:19 +0000)]
Merge "Camera: Null check remote binder interface" into nyc-dev

8 years agoCamera: Null check remote binder interface
Eino-Ville Talvala [Wed, 6 Apr 2016 01:12:11 +0000 (18:12 -0700)]
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

8 years agoSet up none transition for relaunching apps during screen freeze
Chong Zhang [Wed, 6 Apr 2016 00:45:59 +0000 (17:45 -0700)]
Set up none transition for relaunching apps during screen freeze

Set up a none transition for the relaunching apps, and add them
to mOpeningApps so that display unfreeze wait for these apps to draw.

bug: 27834014
Change-Id: Id8f98c8160bdb92e93fbf948fde1d3bfece4eaa9

8 years agoMerge "Make FastXmlSerializer more suitable to persist arbitrary strings" into nyc-dev
Makoto Onuki [Wed, 6 Apr 2016 00:36:51 +0000 (00:36 +0000)]
Merge "Make FastXmlSerializer more suitable to persist arbitrary strings" into nyc-dev

8 years agoProtect more broadcasts.
Jeff Sharkey [Wed, 6 Apr 2016 00:30:56 +0000 (18:30 -0600)]
Protect more broadcasts.

Bug: 28001192
Change-Id: I3a3a48ccfcd75bb91431988aa3495d091d5d00f4

8 years agoMerge "Close inline controls / hide the gear when interaction outside occurs" into...
Mady Mellor [Wed, 6 Apr 2016 00:26:49 +0000 (00:26 +0000)]
Merge "Close inline controls / hide the gear when interaction outside occurs" into nyc-dev

8 years agoMerge "Add stack traces to logs about mismatched sequenece numbers in procstats....
Joe Onorato [Wed, 6 Apr 2016 00:21:55 +0000 (00:21 +0000)]
Merge "Add stack traces to logs about mismatched sequenece numbers in procstats." into nyc-dev

8 years agoMerge "Add properties from textAppearance to property map" into nyc-dev
Deepanshu Gupta [Tue, 5 Apr 2016 23:59:00 +0000 (23:59 +0000)]
Merge "Add properties from textAppearance to property map" into nyc-dev

8 years agoAdd properties from textAppearance to property map
Deepanshu Gupta [Tue, 5 Apr 2016 19:48:18 +0000 (12:48 -0700)]
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

8 years agoMerge "PBAP connect to alternate device." into nyc-dev
Sanket Agarwal [Tue, 5 Apr 2016 23:39:19 +0000 (23:39 +0000)]
Merge "PBAP connect to alternate device." into nyc-dev

8 years agoMerge "Allow to provide only a component name prefix to 'am instrument'" into nyc-dev
Philip P. Moltmann [Tue, 5 Apr 2016 23:28:03 +0000 (23:28 +0000)]
Merge "Allow to provide only a component name prefix to 'am instrument'" into nyc-dev

8 years agoMerge "Remove deprecated API launchManageBlockedNumbersActivity" into nyc-dev
Abhijith Shastry [Tue, 5 Apr 2016 23:24:41 +0000 (23:24 +0000)]
Merge "Remove deprecated API launchManageBlockedNumbersActivity" into nyc-dev

8 years agoMake FastXmlSerializer more suitable to persist arbitrary strings
Makoto Onuki [Tue, 5 Apr 2016 22:24:43 +0000 (15:24 -0700)]
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

8 years agoMerge "Camera2: Unlink camera device death listener on disconnect" into nyc-dev
Eino-Ville Talvala [Tue, 5 Apr 2016 23:07:41 +0000 (23:07 +0000)]
Merge "Camera2: Unlink camera device death listener on disconnect" into nyc-dev

8 years agoDocsUI: Update the drag shadow to meet UI spec.
Ben Kwa [Tue, 29 Mar 2016 22:42:39 +0000 (15:42 -0700)]
DocsUI: Update the drag shadow to meet UI spec.

BUG=27608249

Change-Id: If10f842be4507c5f04e2e91dadcae842610388f2

8 years agoMerge "Do not set docked divider as IME target." into nyc-dev
Rob Carr [Tue, 5 Apr 2016 22:44:57 +0000 (22:44 +0000)]
Merge "Do not set docked divider as IME target." into nyc-dev

8 years agoMerge "Downgrades error messages about not being able to detect whether we are in...
Craig Donner [Tue, 5 Apr 2016 22:29:00 +0000 (22:29 +0000)]
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

8 years agoMidiDevice: fix connectPorts for same Process
Phil Burk [Tue, 5 Apr 2016 21:19:53 +0000 (14:19 -0700)]
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>
8 years agoMerge "Have the NetworkScoreService bind to the scorer." into nyc-dev
Jeremy Joslin [Tue, 5 Apr 2016 22:27:10 +0000 (22:27 +0000)]
Merge "Have the NetworkScoreService bind to the scorer." into nyc-dev

8 years agoDowngrades error messages about not being able to detect whether we are in protected...
Craig Donner [Tue, 5 Apr 2016 22:18:31 +0000 (15:18 -0700)]
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

8 years agoMerge "We only have one mock service." into nyc-dev
Philip P. Moltmann [Tue, 5 Apr 2016 22:17:43 +0000 (22:17 +0000)]
Merge "We only have one mock service." into nyc-dev

8 years agoWe only have one mock service.
Philip P. Moltmann [Tue, 5 Apr 2016 22:16:40 +0000 (15:16 -0700)]
We only have one mock service.

Fixes: 28024464
Change-Id: I1392704c4fdb9e7c3a4b1540131af8a14359c8f4

8 years agoMerge "UID appop state should always override package appop" into nyc-dev
Svetoslav Ganov [Tue, 5 Apr 2016 22:15:43 +0000 (22:15 +0000)]
Merge "UID appop state should always override package appop" into nyc-dev

8 years agoPIP: Fix regressions caused by previous commit a0d4d25
Jaewan Kim [Mon, 4 Apr 2016 07:01:51 +0000 (16:01 +0900)]
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

8 years agoMerge "Permit package downgrades on debuggable platforms." into nyc-dev
Alex Klyubin [Tue, 5 Apr 2016 21:57:11 +0000 (21:57 +0000)]
Merge "Permit package downgrades on debuggable platforms." into nyc-dev

8 years agoDrmInitData: prevent public constructor access
Robert Shih [Tue, 5 Apr 2016 00:41:04 +0000 (17:41 -0700)]
DrmInitData: prevent public constructor access

Bug: 27949882
Change-Id: I8482f8eba18632eea95e14f0123c11da18e70fae

8 years agoMerge "API feedback: clarify onQuotaExceeded() documentation" into nyc-dev
Chris Tate [Tue, 5 Apr 2016 21:51:19 +0000 (21:51 +0000)]
Merge "API feedback: clarify onQuotaExceeded() documentation" into nyc-dev

8 years agoPBAP connect to alternate device.
Joseph Pirozzo [Tue, 5 Apr 2016 21:50:20 +0000 (14:50 -0700)]
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

8 years agoMerge "Return correct unfocused month date color for pre-Material themes." into nyc-dev
Kirill Grouchnikov [Tue, 5 Apr 2016 21:48:30 +0000 (21:48 +0000)]
Merge "Return correct unfocused month date color for pre-Material themes." into nyc-dev

8 years agoReturn correct unfocused month date color for pre-Material themes.
Kirill Grouchnikov [Tue, 5 Apr 2016 21:25:41 +0000 (17:25 -0400)]
Return correct unfocused month date color for pre-Material themes.

Also deprecate setter / getter for showWeekNumber field.

Bug: 28022795
Change-Id: Ie0c33353f76c2a3d9666959a07f6809b7b85183f

8 years agoMerge "UsbMidiDevice: fix MIDI flush()" into nyc-dev
Phil Burk [Tue, 5 Apr 2016 21:41:17 +0000 (21:41 +0000)]
Merge "UsbMidiDevice: fix MIDI flush()" into nyc-dev

8 years agoClose inline controls / hide the gear when interaction outside occurs
Mady Mellor [Wed, 23 Mar 2016 14:41:47 +0000 (07:41 -0700)]
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

8 years agoDo not set docked divider as IME target.
Robert Carr [Tue, 5 Apr 2016 21:24:22 +0000 (14:24 -0700)]
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

8 years agoMerge "Invalidate caches when locale changes." into nyc-dev
Jeff Sharkey [Tue, 5 Apr 2016 21:21:18 +0000 (21:21 +0000)]
Merge "Invalidate caches when locale changes." into nyc-dev

8 years agoMerge "Don't give IME focus to temporarily detached View." into nyc-dev
Yohei Yukawa [Tue, 5 Apr 2016 21:21:07 +0000 (21:21 +0000)]
Merge "Don't give IME focus to temporarily detached View." into nyc-dev

8 years agoFix OffscreenBuffer leak
Chris Craik [Tue, 5 Apr 2016 20:18:56 +0000 (13:18 -0700)]
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

8 years agoMerge "Fix meminfo accounting for visible apps" into nyc-dev
Chong Zhang [Tue, 5 Apr 2016 20:42:12 +0000 (20:42 +0000)]
Merge "Fix meminfo accounting for visible apps" into nyc-dev

8 years agoUID appop state should always override package appop
Svetoslav Ganov [Tue, 5 Apr 2016 20:39:25 +0000 (13:39 -0700)]
UID appop state should always override package appop

bug:27831867

Change-Id: I32829137f84a2f1d70363b6d1481ccbb87c15d1c

8 years agoFix meminfo accounting for visible apps
Chong Zhang [Tue, 5 Apr 2016 20:22:06 +0000 (13:22 -0700)]
Fix meminfo accounting for visible apps

Visible apps could have sub levels within the visible category.
Scores between 101 and 199 should be attributed to visible
category instead of perceptible.

bug: 27987575
Change-Id: I2dbe8af65e6829bafc86ffb5222a5f1aeac2d8b4

8 years agoAllow factory reset when bluetooth is off (1/2)
Ajay Panicker [Tue, 1 Mar 2016 00:09:14 +0000 (16:09 -0800)]
Allow factory reset when bluetooth is off (1/2)

Bug: 27348444
Change-Id: I6c2709371b86581709649d7faf09391230449b9b