OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Make part of KeyguardSecurityContainer protected" into nyc-dev
Evan Rosky [Wed, 30 Mar 2016 23:13:04 +0000 (23:13 +0000)]
Merge "Make part of KeyguardSecurityContainer protected" into nyc-dev

8 years agoMerge "Avoid null app context in StaticApplicationContextServiceFetcher." into nyc-dev
Lorenzo Colitti [Wed, 30 Mar 2016 23:03:17 +0000 (23:03 +0000)]
Merge "Avoid null app context in StaticApplicationContextServiceFetcher." into nyc-dev

8 years agoMerge "Check permission of package, not caller." into nyc-dev
Julia Reynolds [Wed, 30 Mar 2016 22:58:50 +0000 (22:58 +0000)]
Merge "Check permission of package, not caller." into nyc-dev

8 years agoMerge "Revert "Run cleanup before end actions of ViewPropertyAnimator."" into nyc-dev
George Mount [Wed, 30 Mar 2016 22:55:28 +0000 (22:55 +0000)]
Merge "Revert "Run cleanup before end actions of ViewPropertyAnimator."" into nyc-dev

8 years agoMerge "Rewrite workflow on how the destination printer is selected." into nyc-dev
Philip P. Moltmann [Wed, 30 Mar 2016 22:42:48 +0000 (22:42 +0000)]
Merge "Rewrite workflow on how the destination printer is selected." into nyc-dev

8 years agoMerge "Data Saver Mode should automatically allow foreground services." into nyc-dev
Felipe Leme [Wed, 30 Mar 2016 22:39:52 +0000 (22:39 +0000)]
Merge "Data Saver Mode should automatically allow foreground services." into nyc-dev

8 years agoMerge "Fixed arguments order for addSharedAccountsFromParentUser" into nyc-dev
Fyodor Kupolov [Wed, 30 Mar 2016 22:34:47 +0000 (22:34 +0000)]
Merge "Fixed arguments order for addSharedAccountsFromParentUser" into nyc-dev

8 years agoMerge "Allow multiple Resources associated with an Activity" into nyc-dev
Adam Lesinski [Wed, 30 Mar 2016 22:33:29 +0000 (22:33 +0000)]
Merge "Allow multiple Resources associated with an Activity" into nyc-dev

8 years agoMerge "Update surface size even when preserving geometry." into nyc-dev
Rob Carr [Wed, 30 Mar 2016 22:32:37 +0000 (22:32 +0000)]
Merge "Update surface size even when preserving geometry." into nyc-dev

8 years agoData Saver Mode should automatically allow foreground services.
Felipe Leme [Wed, 30 Mar 2016 22:11:31 +0000 (15:11 -0700)]
Data Saver Mode should automatically allow foreground services.

BUG: 27324964

Change-Id: I8f09b9c9673f3ed697daca14902123a81ce41085

8 years agoMerge "Uses bw_happy_box and bw_penalty_box for Data Saver." into nyc-dev
Felipe Leme [Wed, 30 Mar 2016 22:28:05 +0000 (22:28 +0000)]
Merge "Uses bw_happy_box and bw_penalty_box for Data Saver." into nyc-dev

8 years agoMerge "Add metrics for create directory and rename file operations" into nyc-dev
Aga Wronska [Wed, 30 Mar 2016 22:04:23 +0000 (22:04 +0000)]
Merge "Add metrics for create directory and rename file operations" into nyc-dev

8 years agoMerge "Send WorkSource for scan requests so the origin can be overridden" into nyc-dev
Mitchell Wills [Wed, 30 Mar 2016 21:58:42 +0000 (21:58 +0000)]
Merge "Send WorkSource for scan requests so the origin can be overridden" into nyc-dev

8 years agoMerge "Add IC#closeConnection()." into nyc-dev
Yohei Yukawa [Wed, 30 Mar 2016 21:55:30 +0000 (21:55 +0000)]
Merge "Add IC#closeConnection()." into nyc-dev

8 years agoUses bw_happy_box and bw_penalty_box for Data Saver.
Felipe Leme [Tue, 29 Mar 2016 17:45:13 +0000 (10:45 -0700)]
Uses bw_happy_box and bw_penalty_box for Data Saver.

bw_penalty_box is a blacklist-based firewall chain used to determine
which UIDs do not have access to metered interfaces. It can be used
alone or with bw_happy_box, which is a whitelist-based chain: when
bw_happy_box is enabled, it's included in the bw_penalty_box chain.

Currently, NMPS and NMS uses just bw_penalty_box for both blacklist and
whitelist, so when Data Saver is turned on, it has to build a extensive
list of UIDs to be blacklisted, which can take seconds (since it makes
dozens of iptables, and which forks an iptables process)

This CL changes this behavior so it uses both chain (plus a new
bw_data_saver chain, which is added to the end of bw_happy_box), in
which case the Data Saver switch is much faster (around 120-160ms),
since it requires just 1 or 2 iptables calls (one to switch the
bw_data_saver rule, and another to whitelist the foreground app if it's
not whitelisted yet).

BUG: 27127112
BUG: 26685616

Change-Id: If10222aef9f49a924b07b978d4bdccdd92f9acdb

8 years agoMerge "Update print preview when option is changed and clear ranges when they layout...
Philip P. Moltmann [Wed, 30 Mar 2016 21:44:18 +0000 (21:44 +0000)]
Merge "Update print preview when option is changed and clear ranges when they layout changes" into nyc-dev

8 years agoCheck permission of package, not caller.
Julia Reynolds [Wed, 30 Mar 2016 21:29:54 +0000 (17:29 -0400)]
Check permission of package, not caller.

Bug: 27923662
Change-Id: I86fd9ed2e8971bde216f53b6d1a5933e8188a425

8 years agoRevert "Run cleanup before end actions of ViewPropertyAnimator."
George Mount [Wed, 30 Mar 2016 21:33:18 +0000 (21:33 +0000)]
Revert "Run cleanup before end actions of ViewPropertyAnimator."

This reverts commit e9a4f878528976efb4ec6f3d7797bef44732b00e.

This revert is to test to see if the gralloc lock problems are caused by this CL.

Change-Id: I395fd3675dd430c44a5d29b050ba248f3f2bf4cd

8 years agoMerge "Fix deadlock during user state transitions" into nyc-dev
Amith Yamasani [Wed, 30 Mar 2016 21:28:57 +0000 (21:28 +0000)]
Merge "Fix deadlock during user state transitions" into nyc-dev

8 years agoAllow multiple Resources associated with an Activity
Adam Lesinski [Wed, 30 Mar 2016 17:32:15 +0000 (10:32 -0700)]
Allow multiple Resources associated with an Activity

Previously it was assumed that one Resources object per Activity would be fine.
This proved to be incorrect, as methods like Context#createConfigurationContext()
expect to create a new Resources object that gets updated whenever the Activity Resources
get updated.

To fix this issue, there exists a master override configuration for each Activity. Subsequent
Resources created for an Activity will be based off that master override configuration, and
will be updated accordingly.

Bug:27644297
Bug:27604953
Change-Id: Idb3d851f55ee7981eec4e3fe28e2ea8d55f1192d

8 years agoMerge "PBAP client Settings profile." into nyc-dev
Joseph Pirozzo [Wed, 30 Mar 2016 21:00:52 +0000 (21:00 +0000)]
Merge "PBAP client Settings profile." into nyc-dev

8 years agoMerge "Add radio button as a bundle XML file in the manual test" into nyc-dev
Tenghui Zhu [Wed, 30 Mar 2016 20:38:13 +0000 (20:38 +0000)]
Merge "Add radio button as a bundle XML file in the manual test" into nyc-dev

8 years agoUpdate surface size even when preserving geometry.
Robert Carr [Wed, 30 Mar 2016 20:24:26 +0000 (13:24 -0700)]
Update surface size even when preserving geometry.

A recent change is causing some apps to request their
SurfaceView size before requesting visibility. We won't
apply this because of the View.GONE check in WMS. Once the app
becomes visible, it thinks the surface size hasn't changed
locally, so it appends PRESERVE_GEOMETRY to let the render thread
and reposition child control the layout size. Now we will never
set a requested width/height though and end up with 0. The line
to not update requested size while preferring geometry was
required when we were using SCALING_MODE_NO_SCALE_CROP, as
making the size smaller would apply immediately (with
the surface size acting as a reduced crop until we got a new
buffer), but now that we are using SCALING_MODE_FREEZE there
are no problems.

Bug: 27914300
Change-Id: Ic0997ab3950f3eac360260e9939b6f2ee6667453

8 years agoFix QS animation visibility issue on lockscreen
Jason Monk [Wed, 30 Mar 2016 20:19:06 +0000 (16:19 -0400)]
Fix QS animation visibility issue on lockscreen

Change-Id: I4ed417051b1efe23952b20a993830ba06f8faee7
Fixes: 27616176

8 years agoMerge "LUTInterpolator needs to have 2 frame at minimal" into nyc-dev
Tenghui Zhu [Wed, 30 Mar 2016 20:30:04 +0000 (20:30 +0000)]
Merge "LUTInterpolator needs to have 2 frame at minimal" into nyc-dev

8 years agoFix deadlock during user state transitions
Amith Yamasani [Wed, 30 Mar 2016 20:15:26 +0000 (13:15 -0700)]
Fix deadlock during user state transitions

performReceive() is called with the activity manager lock held.
Don't call out to other system services (such as user state
callbacks) with the lock held. Post a runnable to the handler
instead.

Bug: 27589217
Change-Id: I5c2f8debe1ae365682b27af65e0bf02bcce50d4a

8 years agoMerge "Add metrics for opening the drawer" into nyc-dev
Aga Wronska [Wed, 30 Mar 2016 20:13:50 +0000 (20:13 +0000)]
Merge "Add metrics for opening the drawer" into nyc-dev

8 years agoMerge "Add an option to try and filter out test overhead" into nyc-dev
John Reck [Wed, 30 Mar 2016 20:07:01 +0000 (20:07 +0000)]
Merge "Add an option to try and filter out test overhead" into nyc-dev

8 years agoMerge "Returns the correct elevation in GnssStatus" into nyc-dev
Lifu Tang [Wed, 30 Mar 2016 19:52:56 +0000 (19:52 +0000)]
Merge "Returns the correct elevation in GnssStatus" into nyc-dev

8 years agoMerge "Fix incorrect initial locale negotiation." into nyc-dev
Roozbeh Pournader [Wed, 30 Mar 2016 19:44:24 +0000 (19:44 +0000)]
Merge "Fix incorrect initial locale negotiation." into nyc-dev

8 years agoMerge "Update DocumentsUI according to DragStartHelper API changes" into nyc-dev
Vladislav Kaznacheev [Wed, 30 Mar 2016 19:43:45 +0000 (19:43 +0000)]
Merge "Update DocumentsUI according to DragStartHelper API changes" into nyc-dev

8 years agoMerge "Fix CRLF" into nyc-dev
Glenn Kasten [Wed, 30 Mar 2016 19:41:04 +0000 (19:41 +0000)]
Merge "Fix CRLF" into nyc-dev

8 years agoPBAP client Settings profile.
Joseph Pirozzo [Mon, 21 Mar 2016 22:49:48 +0000 (15:49 -0700)]
PBAP client Settings profile.

Add content to Settings and SettingsLib to add a checkbox for PBAP
client profile, and remove the box for PBAP server profile when the
client profile is enabled.

Bug: 27642222
Change-Id: I125559904a8e017a01ae90b1f6425129a87cbee3

8 years agoAdd IC#closeConnection().
Yohei Yukawa [Wed, 30 Mar 2016 19:03:51 +0000 (12:03 -0700)]
Add IC#closeConnection().

It turns out that BaseInputConnection has still depended on a private
API named BaseInputConnection#reportFinish(), which was introduced
4 years ago to work around a UI freeze due to an unbalanced batch edit
count [1].  Note that such an unbalanced batch edit count cannot always
be avoidable.  It can easily occur in the following situations.
 - The current IME crashed during batch edit.
 - The user changed the View focus during batch edit.
 - The current IME called IMM#switchToNextInputMethod() during batch
   edit.

The remaining problem is that #reportFinish() is still an internal API
and only subclasses of BaseInputConnection can implement it, and IMM
calls it when and only when the current InputConnection is
BaseInputConnection or its subclass.  InputConnectionWrapper and any
other InputConnection implementations will never receive such a callback
to clean up InputConnection#{begin, end}BatchEdit(), which is considered
to be a major contributor to UI freeze.

To address the above issue, we unhide BaseInputConnection#reportFinish()
as InputConnection#closeConnection() so that application developers can
receive an appropriate callback to clean up internal state including
unfinished batch edit.

  [1] I5525d776916f0c42d5e6d4a4282aed590d7f0e9a
      9d69ecbf61a4a142c3f4cbb9d5659faa6f85e832

Bug: 24688781
Bug: 25332806
Change-Id: I234309c5880c9fe0b299b8bd0f8862796d4dda0d

8 years agoMerge "Start MediaResourceMonitorService only when needed." into nyc-dev
Dongwon Kang [Wed, 30 Mar 2016 19:03:42 +0000 (19:03 +0000)]
Merge "Start MediaResourceMonitorService only when needed." into nyc-dev

8 years agoMerge "Fix compilation using javac." into nyc-dev
Ying Wang [Wed, 30 Mar 2016 18:57:38 +0000 (18:57 +0000)]
Merge "Fix compilation using javac." into nyc-dev

8 years agoMerge "Clean up javadoc." into nyc-dev
Makoto Onuki [Wed, 30 Mar 2016 18:56:08 +0000 (18:56 +0000)]
Merge "Clean up javadoc." into nyc-dev

8 years agoMerge "Add logging constants for SUW A11y (Vision Settings) screens. Bug: 27777706...
Anna Galusza [Wed, 30 Mar 2016 18:43:57 +0000 (18:43 +0000)]
Merge "Add logging constants for SUW A11y (Vision Settings) screens. Bug: 27777706" into nyc-dev

8 years agoMerge "Add WifiScanner API that accepts a WorkSource for scans" into nyc-dev
Mitchell Wills [Wed, 30 Mar 2016 18:43:22 +0000 (18:43 +0000)]
Merge "Add WifiScanner API that accepts a WorkSource for scans" into nyc-dev

8 years agoLUTInterpolator needs to have 2 frame at minimal
Teng-Hui Zhu [Wed, 30 Mar 2016 18:34:55 +0000 (11:34 -0700)]
LUTInterpolator needs to have 2 frame at minimal

Otherwise, it could be having invalid data, here NAN.
Fix:27343522

Change-Id: I5bb17f04c62f268ec633675015ef589be2413338

8 years agoMerge "Package Manager: Remove force-compile on boot" into nyc-dev
Andreas Gampe [Wed, 30 Mar 2016 18:35:36 +0000 (18:35 +0000)]
Merge "Package Manager: Remove force-compile on boot" into nyc-dev

8 years agoUpdate DocumentsUI according to DragStartHelper API changes
Vladislav Kaznacheev [Wed, 23 Mar 2016 20:00:26 +0000 (13:00 -0700)]
Update DocumentsUI according to DragStartHelper API changes

Bug: 27810240
Change-Id: I1daed13d6d9cc215a6b1ba4d0ad259a996b0eb5f

8 years agoAdd metrics for opening the drawer
Aga Wronska [Tue, 29 Mar 2016 23:57:10 +0000 (16:57 -0700)]
Add metrics for opening the drawer

Change-Id: I1315463c5217ce47aa7fa40ddd8b8773c7038208
Fixed: 27905111

8 years agoMerge "Several code quality improvements" into nyc-dev
Peng Xu [Wed, 30 Mar 2016 18:04:11 +0000 (18:04 +0000)]
Merge "Several code quality improvements" into nyc-dev

8 years agoAdd metrics for create directory and rename file operations
Aga Wronska [Wed, 30 Mar 2016 17:57:04 +0000 (10:57 -0700)]
Add metrics for create directory and rename file operations

Change-Id: I4814673b4066efa840e1fb52a7549d8c7ebc4f63
Fixed: 27908149

8 years agoMerge "Fix QS panel after density changes" into nyc-dev
Jason Monk [Wed, 30 Mar 2016 17:52:26 +0000 (17:52 +0000)]
Merge "Fix QS panel after density changes" into nyc-dev

8 years agoMerge "Multiple fixes in ScrollView and HorizontalScrollView" into nyc-dev
Yigit Boyar [Wed, 30 Mar 2016 17:51:53 +0000 (17:51 +0000)]
Merge "Multiple fixes in ScrollView and HorizontalScrollView" into nyc-dev

8 years agoFix QS panel after density changes
Jason Monk [Wed, 30 Mar 2016 17:48:56 +0000 (13:48 -0400)]
Fix QS panel after density changes

Fixes: 27744717
Change-Id: Ic3724b39e027379bb81e94e7059e67d2bbe30e88

8 years agoMerge "Add DevicePolicyManager API to install a client cert chain." into nyc-dev
Rubin Xu [Wed, 30 Mar 2016 17:46:16 +0000 (17:46 +0000)]
Merge "Add DevicePolicyManager API to install a client cert chain." into nyc-dev

8 years agoFix compilation using javac.
Ying Wang [Wed, 30 Mar 2016 17:33:47 +0000 (10:33 -0700)]
Fix compilation using javac.

We still need to be able to compile all the Java source code in the tree
using javac, though the compiled code never ends up running on device.

Bug: 25958912
Change-Id: Id76663cdf768db579517515d7b7f51519b515fa8

8 years agoAdd logging constants for SUW A11y (Vision Settings) screens.
Anna Galusza [Tue, 22 Mar 2016 20:49:02 +0000 (13:49 -0700)]
Add logging constants for SUW A11y (Vision Settings) screens.
Bug: 27777706

Change-Id: Iaf9ed7f9186fc1a6da3179e8e58b58341c4d8806

8 years agoClean up javadoc.
Makoto Onuki [Tue, 29 Mar 2016 21:46:50 +0000 (14:46 -0700)]
Clean up javadoc.

Bug 27548047

Change-Id: I10410c969136db634bb98687710d011d159bca07

8 years agoAdd an option to try and filter out test overhead
John Reck [Mon, 28 Mar 2016 17:38:19 +0000 (10:38 -0700)]
Add an option to try and filter out test overhead

Bug: 26912651

By setting debug.hwui.filter_test_overhead to true, hwui's
janktracker will attempt to filter out overhead caused
by the event injection that automated testing uses

Change-Id: I75c8dc5e7798e06e3009baf396108507c7240eec

8 years agoMerge "Stop SoundPool decode if NdkMediaCodec returns null buffers" into nyc-dev
Andy Hung [Wed, 30 Mar 2016 17:06:17 +0000 (17:06 +0000)]
Merge "Stop SoundPool decode if NdkMediaCodec returns null buffers" into nyc-dev

8 years agoMerge "Fix typo in Conversion Functions doc" into nyc-dev
Brian Carlstrom [Wed, 30 Mar 2016 16:58:10 +0000 (16:58 +0000)]
Merge "Fix typo in Conversion Functions doc" into nyc-dev

8 years agoMerge "Support buildLayer in new pipeline" into nyc-dev
Chris Craik [Wed, 30 Mar 2016 16:40:56 +0000 (16:40 +0000)]
Merge "Support buildLayer in new pipeline" into nyc-dev

8 years agoMerge "Fix QS RTL" into nyc-dev
Jason Monk [Wed, 30 Mar 2016 16:37:40 +0000 (16:37 +0000)]
Merge "Fix QS RTL" into nyc-dev

8 years agoMerge "Clear out old views when setting new content in settings" into nyc-dev
Jason Monk [Wed, 30 Mar 2016 16:36:26 +0000 (16:36 +0000)]
Merge "Clear out old views when setting new content in settings" into nyc-dev

8 years agoClear out old views when setting new content in settings
Jason Monk [Wed, 30 Mar 2016 15:05:51 +0000 (11:05 -0400)]
Clear out old views when setting new content in settings

Bug: 27529989
Change-Id: Id44ca442c2117bc5df7929bcd79434c0ae23cded

8 years agoMerge "QS: Only allow clicking in the expand button" into nyc-dev
Jason Monk [Wed, 30 Mar 2016 16:33:11 +0000 (16:33 +0000)]
Merge "QS: Only allow clicking in the expand button" into nyc-dev

8 years agoMerge "Add more metrics for QS" into nyc-dev
Jason Monk [Wed, 30 Mar 2016 16:32:20 +0000 (16:32 +0000)]
Merge "Add more metrics for QS" into nyc-dev

8 years agoAdd more metrics for QS
Jason Monk [Tue, 29 Mar 2016 20:51:03 +0000 (16:51 -0400)]
Add more metrics for QS

Bug: 27851703
Change-Id: Iecd1eb739fa1a283b7964b6e0952673e5fb38e8f

8 years agoMerge "If the AccessibilityService requesting the soft keyboard to be hidden is stopp...
Anna Galusza [Wed, 30 Mar 2016 16:20:31 +0000 (16:20 +0000)]
Merge "If the AccessibilityService requesting the soft keyboard to be hidden is stopped, make sure the keyboard is hidden. Bug: 27886621" into nyc-dev

8 years agoMerge "Change default work challenge background color" into nyc-dev
Clara Bayarri [Wed, 30 Mar 2016 16:12:59 +0000 (16:12 +0000)]
Merge "Change default work challenge background color" into nyc-dev

8 years agoChange default work challenge background color
Clara Bayarri [Wed, 30 Mar 2016 13:59:58 +0000 (14:59 +0100)]
Change default work challenge background color

Requested by UX

Bug: 27829562
Change-Id: I815c06784189e68b09e464e936521e82091c93c3

8 years agoMerge "Fix tests and tag them for continuous testage" into nyc-dev
Jason Monk [Wed, 30 Mar 2016 15:44:06 +0000 (15:44 +0000)]
Merge "Fix tests and tag them for continuous testage" into nyc-dev

8 years agoMerge "Added activity cmd to display current process state of an app." into nyc-dev
Felipe Leme [Wed, 30 Mar 2016 15:41:51 +0000 (15:41 +0000)]
Merge "Added activity cmd to display current process state of an app." into nyc-dev

8 years agoPackage Manager: Remove force-compile on boot
Andreas Gampe [Wed, 30 Mar 2016 15:34:07 +0000 (08:34 -0700)]
Package Manager: Remove force-compile on boot

With ART commit d1537b569b6, the underlying issue is fixed.

Bug: 27618311
Bug: 27676766
Bug: 27693977
Bug: 27915086
Change-Id: Ib6e85e47daf3d2ceab1e5abe615610790ac6947f

8 years agoMerge "Update hard keyboard setup notification." into nyc-dev
Yohei Yukawa [Wed, 30 Mar 2016 15:40:55 +0000 (15:40 +0000)]
Merge "Update hard keyboard setup notification." into nyc-dev

8 years agoMerge "ShortcutManager: Support secondary text field." into nyc-dev
Makoto Onuki [Wed, 30 Mar 2016 15:30:16 +0000 (15:30 +0000)]
Merge "ShortcutManager: Support secondary text field." into nyc-dev

8 years agoFix incorrect initial locale negotiation.
Seigo Nonaka [Wed, 30 Mar 2016 14:09:16 +0000 (23:09 +0900)]
Fix incorrect initial locale negotiation.

It turned out that calling ResourceManager.setDefaultLocalesLocked
and ResourcesManager.applyConfigurationToResourcesLocked
can be called before the locale negotiation is ready.

To fix this issue, move ResourcesManager setup flow after creating
application context.

This also introduces RuntimeException for notifying developers the
initialize order.

Bug: 27567902
Change-Id: Iab7ea384b039fb649fb52d06d45b2bfae21f9a8a

8 years agoMerge "Add cancelation signal to OnRequestPrinterIcon." into nyc-dev
Philip P. Moltmann [Wed, 30 Mar 2016 15:18:30 +0000 (15:18 +0000)]
Merge "Add cancelation signal to OnRequestPrinterIcon." into nyc-dev

8 years agoMerge "RemotePrintDocument might get destroyed in constructor" into nyc-dev
Philip P. Moltmann [Wed, 30 Mar 2016 15:13:17 +0000 (15:13 +0000)]
Merge "RemotePrintDocument might get destroyed in constructor" into nyc-dev

8 years agoMerge "Fix disable2 bug" into nyc-dev
Benjamin Franz [Wed, 30 Mar 2016 13:43:14 +0000 (13:43 +0000)]
Merge "Fix disable2 bug" into nyc-dev

8 years agoMerge "Pull weekday names directly from ICU" into nyc-dev
Alan Viverette [Wed, 30 Mar 2016 13:35:17 +0000 (13:35 +0000)]
Merge "Pull weekday names directly from ICU" into nyc-dev

8 years agoFix disable2 bug
Benjamin Franz [Wed, 30 Mar 2016 12:41:57 +0000 (13:41 +0100)]
Fix disable2 bug

Cherry-pick from Iadb6aec82ccfe95a90e4a3d212fbd14d73093982, which was
submitted to AOSP-master.

Bug: 27688623
Change-Id: Ie386b9aac1338316dfdb55dae6a6d9388062b4c3

8 years agoMerge "Move OTA package update before fstrim, hide "Optimizing apps" dialog" into...
David Brazdil [Wed, 30 Mar 2016 12:41:04 +0000 (12:41 +0000)]
Merge "Move OTA package update before fstrim, hide "Optimizing apps" dialog" into nyc-dev

8 years agoMove OTA package update before fstrim, hide "Optimizing apps" dialog
David Brazdil [Wed, 30 Mar 2016 10:45:52 +0000 (11:45 +0100)]
Move OTA package update before fstrim, hide "Optimizing apps" dialog

This patch moves the updating of packages before performing fstrim,
which runs asynchronously anyway, and stops showing the UI dialog.

Bug: 27350503
Change-Id: I6fceda10d7696f9badb97978fb9dc7927d698a4b

8 years agoMerge "Fix profile deletion in package manager" into nyc-dev
Calin Juravle [Wed, 30 Mar 2016 12:31:39 +0000 (12:31 +0000)]
Merge "Fix profile deletion in package manager" into nyc-dev

8 years agoMerge "AfW custom lock screen message - API polish" into nyc-dev
Andrei Stingaceanu [Wed, 30 Mar 2016 12:23:54 +0000 (12:23 +0000)]
Merge "AfW custom lock screen message - API polish" into nyc-dev

8 years agoMerge "ExifInterface: keep tags in the original tag groups" into nyc-dev
Jaesung Chung [Wed, 30 Mar 2016 10:59:22 +0000 (10:59 +0000)]
Merge "ExifInterface: keep tags in the original tag groups" into nyc-dev

8 years agoAdd DevicePolicyManager API to install a client cert chain.
Rubin Xu [Wed, 23 Mar 2016 12:13:22 +0000 (12:13 +0000)]
Add DevicePolicyManager API to install a client cert chain.

When installing a keypair the caller will have the option to specify a
certificate chain which will later be returned to whoever requests access
to the keypair via KeyChain.

Bug: 18239590
Change-Id: Id21ef026e31537db38d891cb9b712dd4fe7159c7

8 years agoMerge "Re-dispatch nested scrolls if not implemented" into nyc-dev
Chris Banes [Wed, 30 Mar 2016 08:43:38 +0000 (08:43 +0000)]
Merge "Re-dispatch nested scrolls if not implemented" into nyc-dev

8 years agoUpdate hard keyboard setup notification.
Yohei Yukawa [Wed, 30 Mar 2016 08:06:37 +0000 (01:06 -0700)]
Update hard keyboard setup notification.

Starting from Android N, Settings.ACTION_HARD_KEYBOARD_SETTINGS is
available for navigating users to hardware keyboard settings.  We should
use this for keyboard layout notification.

This CL also updates the notification title and message based on
feedback from UX writing team.

Bug: 27795350
Change-Id: Ic93075f933d47486644092c469d7a3517eb2e541

8 years agoMerge "ExifInterface: Clean up test code and increase test coverage" into nyc-dev
Insun Kang [Wed, 30 Mar 2016 08:11:58 +0000 (08:11 +0000)]
Merge "ExifInterface: Clean up test code and increase test coverage" into nyc-dev

8 years agoMerge "Partially refactor Tethering to new network callback APIs" into nyc-dev
Erik Kline [Wed, 30 Mar 2016 08:00:04 +0000 (08:00 +0000)]
Merge "Partially refactor Tethering to new network callback APIs" into nyc-dev

8 years agoAlways use Write Request for GATT descriptor writes
Andre Eisenbach [Wed, 30 Mar 2016 03:52:38 +0000 (20:52 -0700)]
Always use Write Request for GATT descriptor writes

According to the Bluetooth Core specification v4.2, Vol 3, Part G,
section 4.12.3: "The Attribute Protocol WRITE REQUEST is used used
for this sub-procedure".

Change-Id: I86e4e1d3a8bfd7d78dfed8419f8abd2d7e89b2bc

8 years agoSeveral code quality improvements
Peng Xu [Wed, 16 Mar 2016 23:56:39 +0000 (16:56 -0700)]
Several code quality improvements

* Added GuardedBy annotation.
* Fix a misleading variable name.
* Use anonymous namespace to reduce namespace pollution.

Change-Id: Ieffbb8dfd6abbb24b705445659fb96f7ce861592

8 years agoMerge "Render thumbnails in DocumentsUI jank tests." into nyc-dev
Tomasz Mikolajewski [Wed, 30 Mar 2016 06:01:12 +0000 (06:01 +0000)]
Merge "Render thumbnails in DocumentsUI jank tests." into nyc-dev

8 years agoMerge "IME switcher should not always require IME_VISIBLE." into nyc-dev
Yohei Yukawa [Wed, 30 Mar 2016 05:47:39 +0000 (05:47 +0000)]
Merge "IME switcher should not always require IME_VISIBLE." into nyc-dev

8 years agoMerge "Temporary changes to fix crashes during tests." into nyc-dev
Sudheer Shanka [Wed, 30 Mar 2016 05:09:19 +0000 (05:09 +0000)]
Merge "Temporary changes to fix crashes during tests." into nyc-dev

8 years agoRender thumbnails in DocumentsUI jank tests.
Tomasz Mikolajewski [Tue, 29 Mar 2016 08:46:53 +0000 (17:46 +0900)]
Render thumbnails in DocumentsUI jank tests.

Bug: 27383277
Change-Id: I0b5f267d7dc6c6c426b68f261c470f4ae46367a4

8 years agoExifInterface: keep tags in the original tag groups
Jaesung Chung [Tue, 29 Mar 2016 08:44:20 +0000 (17:44 +0900)]
ExifInterface: keep tags in the original tag groups

Previously ExifInterface saved its tags in the all possible IFD tags via
setAttribute() method even it already knew the right IFD group for those
tags. In this CL, it introduces updateAttribute() and removeAttribute()
methods in order to maintain the internal IFD tags and its values
according to its original EXIF saving states in the given JPEG file.

Bug: 27583378
Change-Id: Ie49163c8c9bdd38b575ccd76938879ccddcd547b

8 years agoTemporary changes to fix crashes during tests.
Sudheer Shanka [Wed, 30 Mar 2016 04:12:08 +0000 (21:12 -0700)]
Temporary changes to fix crashes during tests.

Bug: 27852443
Change-Id: Ie61e628213281fc921e8de403d27ae1f941352e9

8 years agoPartially refactor Tethering to new network callback APIs
Erik Kline [Thu, 10 Dec 2015 11:42:12 +0000 (20:42 +0900)]
Partially refactor Tethering to new network callback APIs

Bug: 9580643
Bug: 22332501
Bug: 27419608
Change-Id: I714e70729dc0825159be0db76ac252d8bffb6866

8 years agoFix log spam in getCharacteristicById()
Andre Eisenbach [Wed, 30 Mar 2016 01:55:57 +0000 (18:55 -0700)]
Fix log spam in getCharacteristicById()

Bug: 27744135
Change-Id: I43f6358484729dedd85eb52432ad9805a66ff81e

8 years agoExifInterface: Clean up test code and increase test coverage
Insun Kang [Tue, 29 Mar 2016 02:46:11 +0000 (11:46 +0900)]
ExifInterface: Clean up test code and increase test coverage

Bug: 27888859
Change-Id: I8a2d4f3cdafd932aa0c4272c80e4967097c62491

8 years agoIf the AccessibilityService requesting the soft keyboard to be hidden is
Anna Galusza [Wed, 30 Mar 2016 00:22:17 +0000 (17:22 -0700)]
If the AccessibilityService requesting the soft keyboard to be hidden is
stopped, make sure the keyboard is hidden.
Bug: 27886621

Change-Id: I63ecc0c9506a60cd07660208d37cd6a0bfd5752d

8 years agoMerge "When wifi ssid is empty, return WifiSsid.NONE" into nyc-dev
Ningyuan Wang [Wed, 30 Mar 2016 01:25:47 +0000 (01:25 +0000)]
Merge "When wifi ssid is empty, return WifiSsid.NONE" into nyc-dev

8 years agoMerge "Move connectivity events to frameworks/base." into nyc-dev
Pierre Imai [Wed, 30 Mar 2016 01:16:58 +0000 (01:16 +0000)]
Merge "Move connectivity events to frameworks/base." into nyc-dev