OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Adds security challenge when changing notification settings from lock screen...
Mady Mellor [Wed, 6 Apr 2016 20:54:43 +0000 (20:54 +0000)]
Merge "Adds security challenge when changing notification settings from lock screen" into nyc-dev

8 years agoMerge "Changed the default if the notification time is shown" into nyc-dev
Selim Cinek [Wed, 6 Apr 2016 20:48:08 +0000 (20:48 +0000)]
Merge "Changed the default if the notification time is shown" into nyc-dev

8 years agoMerge "Fixed the contentinfo api usage in the bugreport" into nyc-dev
Selim Cinek [Wed, 6 Apr 2016 20:47:44 +0000 (20:47 +0000)]
Merge "Fixed the contentinfo api usage in the bugreport" into nyc-dev

8 years agoMerge "Deprecated the contentinfo and the number" into nyc-dev
Selim Cinek [Wed, 6 Apr 2016 20:45:55 +0000 (20:45 +0000)]
Merge "Deprecated the contentinfo and the number" into nyc-dev

8 years agoMerge "Fixed a bug where the scrollrange was calculated wrong" into nyc-dev
Selim Cinek [Wed, 6 Apr 2016 20:45:17 +0000 (20:45 +0000)]
Merge "Fixed a bug where the scrollrange was calculated wrong" into nyc-dev

8 years agoMerge "AAPT2: Implement XmlActionExecutor to verify manifest" into nyc-dev
Adam Lesinski [Wed, 6 Apr 2016 20:43:24 +0000 (20:43 +0000)]
Merge "AAPT2: Implement XmlActionExecutor to verify manifest" into nyc-dev

8 years agoMerge "Refresh views on DayPicker appearance changes" into nyc-dev
Alan Viverette [Wed, 6 Apr 2016 20:23:27 +0000 (20:23 +0000)]
Merge "Refresh views on DayPicker appearance changes" into nyc-dev

8 years agoMerge "Dynamic density change handling" into nyc-dev
Jorim Jaggi [Wed, 6 Apr 2016 20:23:02 +0000 (20:23 +0000)]
Merge "Dynamic density change handling" into nyc-dev

8 years agoMerge "Send onUnlockUser() before PRE_BOOT broadcasts." into nyc-dev
Jeff Sharkey [Wed, 6 Apr 2016 20:12:51 +0000 (20:12 +0000)]
Merge "Send onUnlockUser() before PRE_BOOT broadcasts." into nyc-dev

8 years agoSend onUnlockUser() before PRE_BOOT broadcasts.
Jeff Sharkey [Wed, 6 Apr 2016 20:07:09 +0000 (14:07 -0600)]
Send onUnlockUser() before PRE_BOOT broadcasts.

Before this change, a PRE_BOOT_COMPLETED receiver could try calling
back into the system to ask for AccountManager details, only to be
told the user wasn't unlocked yet.  If the broadcast code was probing
in a loop, it would force us to wait around for the 60-second ANR
timeout.  Since typical devices have ~7 PRE_BOOT receivers, this
would delay BOOT_COMPLETED and other operations, like mounting the
SD card, for up to 7 minutes.

Bug: 28024024

Change-Id: Ibf8611e6fe94b0deb5ae5715c86f897ff6779088

8 years agoMerge "Added padding and gravity support to PIN entry" into nyc-dev
Evan Rosky [Wed, 6 Apr 2016 20:03:51 +0000 (20:03 +0000)]
Merge "Added padding and gravity support to PIN entry" into nyc-dev

8 years agoRefresh views on DayPicker appearance changes
Alan Viverette [Wed, 6 Apr 2016 20:01:00 +0000 (16:01 -0400)]
Refresh views on DayPicker appearance changes

Bug: 28023419
Change-Id: Ie64face1d2a1be7f7be5814b60ed6d803f82d1e9

8 years agoMerge "More work on issue #26390151: Add new JobScheduler API..." into nyc-dev
Dianne Hackborn [Wed, 6 Apr 2016 19:38:49 +0000 (19:38 +0000)]
Merge "More work on issue #26390151: Add new JobScheduler API..." into nyc-dev

8 years agoMerge "Add missing setAccessible to Choreographer's threadInstance" into nyc-dev
Deepanshu Gupta [Wed, 6 Apr 2016 19:32:00 +0000 (19:32 +0000)]
Merge "Add missing setAccessible to Choreographer's threadInstance" into nyc-dev

8 years agoAdd missing setAccessible to Choreographer's threadInstance
Deepanshu Gupta [Wed, 6 Apr 2016 19:29:55 +0000 (12:29 -0700)]
Add missing setAccessible to Choreographer's threadInstance

Change-Id: I753660cf68ba5a9c375942222e32059d952739bb

8 years agoChanged the default if the notification time is shown
Selim Cinek [Wed, 6 Apr 2016 01:27:16 +0000 (18:27 -0700)]
Changed the default if the notification time is shown

By default the notification time is not shown anymore.

Bug: 27431551
Change-Id: I68f19450d0de795a51644e939a3fd64366c0abb6

8 years agoMerge "Adjust javadoc for filter priority" into nyc-dev
Todd Kennedy [Wed, 6 Apr 2016 19:20:39 +0000 (19:20 +0000)]
Merge "Adjust javadoc for filter priority" into nyc-dev

8 years agoFixed the contentinfo api usage in the bugreport
Selim Cinek [Wed, 6 Apr 2016 00:13:37 +0000 (17:13 -0700)]
Fixed the contentinfo api usage in the bugreport

Removed the percentage shown in the header and
migrated the name to the subtext as contentinfo
was deprecated.

Change-Id: Ifd79a67cad8958049bd29b8eb4c9bcbb4822688b

8 years agoDeprecated the contentinfo and the number
Selim Cinek [Wed, 6 Apr 2016 00:03:40 +0000 (17:03 -0700)]
Deprecated the contentinfo and the number

It was mainly adding noise to the notification
rather than useful information.

Bug: 27431551
Change-Id: Ie22c9935d60eeac1cca5d9ce97239aadfac9b3cf

8 years agoMerge "Disallow prepare()-ing over an always on VPN app" into nyc-dev
Robin Lee [Wed, 6 Apr 2016 19:12:42 +0000 (19:12 +0000)]
Merge "Disallow prepare()-ing over an always on VPN app" into nyc-dev

8 years agoDynamic density change handling
Jorim Jaggi [Wed, 6 Apr 2016 03:41:21 +0000 (20:41 -0700)]
Dynamic density change handling

- In PWM, make sure to read the height values after the new
configuration has been applied.
- Reset all navigation bar button icons when density changes.
- Adjust height of notification bar.
- Reload divider height values in SysUI and WM.
- Snap divider handle to a new position after loading the
new configuration, as the snap points change.

Bug: 26844819
Bug: 27450471
Bug: 27921696
Change-Id: I9e28f0c49f6367c5fcfac010e7a6e98a42e85996

8 years agoFix dialog placement
Jorim Jaggi [Tue, 5 Apr 2016 03:25:41 +0000 (20:25 -0700)]
Fix dialog placement

When calculating the frame for non-fullscreen windows, we incorrectly
used the wrong bounds to calculate the frame, which lead to wrong
positioning.

To fix this, we use the inset bounds, which we consider the source
of truth for all layout related aspects, to calculate the frame,
and then offset everything by the difference between the inset bounds
and the task bounds to position them correctly.

Bug: 28012565
Bug: 27860956
Bug: 27441808
Change-Id: I90d45054e0bcce78d021ad2cd20e5ef7f79ded3d

8 years agoMerge "Clear ThreadLocal storage from Choreographer" into nyc-dev
Deepanshu Gupta [Wed, 6 Apr 2016 19:03:59 +0000 (19:03 +0000)]
Merge "Clear ThreadLocal storage from Choreographer" into nyc-dev

8 years agoMerge "Add scroll indicators to resolver list layouts" into nyc-dev
Alan Viverette [Wed, 6 Apr 2016 19:03:31 +0000 (19:03 +0000)]
Merge "Add scroll indicators to resolver list layouts" into nyc-dev

8 years agoMerge "Fixes typo in Wear window animation." into nyc-dev
Gus Prevas [Wed, 6 Apr 2016 19:02:18 +0000 (19:02 +0000)]
Merge "Fixes typo in Wear window animation." into nyc-dev

8 years agoMerge "Massage code to better support Files overlay." into nyc-dev
Steve McKay [Wed, 6 Apr 2016 18:44:58 +0000 (18:44 +0000)]
Merge "Massage code to better support Files overlay." into nyc-dev

8 years agoFixed a bug where the scrollrange was calculated wrong
Selim Cinek [Tue, 5 Apr 2016 20:07:54 +0000 (13:07 -0700)]
Fixed a bug where the scrollrange was calculated wrong

First the scrollrange would allow the first element to be
collapsed which doesn't make sense now that it's scrolling
off. It could also be wrong if the notification was a group.
Then the scrollrange was also wrong because the bottomInset
was always added even though it shouldn't have done that.

Change-Id: I7184946c4406bc0b5796194af86155aa6ba68c8e
Fixes: 28015188

8 years agoMerge "xxxTrustAgentConfiguration should be supported in the parent DPM instance...
Tony Mak [Wed, 6 Apr 2016 18:39:20 +0000 (18:39 +0000)]
Merge "xxxTrustAgentConfiguration should be supported in the parent DPM instance" into nyc-dev

8 years agoAAPT2: Implement XmlActionExecutor to verify manifest
Adam Lesinski [Tue, 5 Apr 2016 19:41:07 +0000 (12:41 -0700)]
AAPT2: Implement XmlActionExecutor to verify manifest

Defines a set of actions to perform on XML elements defined by their
hierarchy, eg: manifest -> application -> activity.

This can be used to easily add rules to check more tags in AndroidManifest.xml

Change-Id: I76c6916a98b6403075a7e56e16230979dc6cbee1

8 years agoMerge "Fix inability to add all tiles." into nyc-dev
Jason Monk [Wed, 6 Apr 2016 18:34:54 +0000 (18:34 +0000)]
Merge "Fix inability to add all tiles." into nyc-dev

8 years agoFix inability to add all tiles.
Jason Monk [Wed, 6 Apr 2016 18:32:54 +0000 (14:32 -0400)]
Fix inability to add all tiles.

Change-Id: I1d6ea9825277c902e238a896580c96d509b459ef
Fixes: 27837813

8 years agoClear ThreadLocal storage from Choreographer
Deepanshu Gupta [Wed, 6 Apr 2016 18:32:36 +0000 (11:32 -0700)]
Clear ThreadLocal storage from Choreographer

Change-Id: I5abb5c68a635e7808b0a036ba4d9971cd0139aa3

8 years agoAdjust javadoc for filter priority
Todd Kennedy [Wed, 6 Apr 2016 17:57:51 +0000 (10:57 -0700)]
Adjust javadoc for filter priority

This clarifies the usage of setPriority() for receiver filters.
Should also adjust the XML description of android:priority to
better describe the new behaviour for activity filters

Bug: 26417683
Change-Id: I96b2d90d71640041e232c401cf6e6838dbdbfeab

8 years agoMerge changes I1bad66e2,Ibc93597e,Id985fc28 into nyc-dev
Winson Chung [Wed, 6 Apr 2016 17:50:29 +0000 (17:50 +0000)]
Merge changes I1bad66e2,Ibc93597e,Id985fc28 into nyc-dev

* changes:
  Remove the highlight on the overview button in the screen pinning dialog
  Fixing bad regression in alt-tab layout.
  Workaround to ensure that a SystemUI process is always available.

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 agoAdd scroll indicators to resolver list layouts
Alan Viverette [Wed, 6 Apr 2016 17:47:01 +0000 (13:47 -0400)]
Add scroll indicators to resolver list layouts

Also reformats XML for consistency.

Bug: 27431395
Change-Id: I468dd1582ddcabe360b8665b6f42b3248caa16a5

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 agoMassage code to better support Files overlay.
Steve McKay [Mon, 4 Apr 2016 22:26:48 +0000 (15:26 -0700)]
Massage code to better support Files overlay.

Also, allow "productivity_mode" config to be enabled via intent extra
    as a developement aide.

Bug: 28006206
Change-Id: I7be8d96a0e924f9ce8023347e051d28d69a0eec9

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 agoAdded padding and gravity support to PIN entry
Evan Rosky [Fri, 1 Apr 2016 23:04:23 +0000 (16:04 -0700)]
Added padding and gravity support to PIN entry

Also made it more customizable via attributes

Bug: 25184308
Change-Id: I3cfd48b6bb964ea8db1539586ed70343fda5e40a

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