OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Deliver onEnterAnimationComplete when there is no transition animation."
Filip Gruszczynski [Sat, 30 Jan 2016 19:36:30 +0000 (19:36 +0000)]
Merge "Deliver onEnterAnimationComplete when there is no transition animation."

8 years agoMerge "Remove the CREATE_FLAG_OPT_LEVEL_0 from the Java API." am: 49aee686d8
Stephen Hines [Sat, 30 Jan 2016 17:57:30 +0000 (17:57 +0000)]
Merge "Remove the CREATE_FLAG_OPT_LEVEL_0 from the Java API." am: 49aee686d8
am: c033f493f2

* commit 'c033f493f23574dc69bf8ecd0f04af8910b4a47e':
  Remove the CREATE_FLAG_OPT_LEVEL_0 from the Java API.

8 years agoMerge "Remove the CREATE_FLAG_OPT_LEVEL_0 from the Java API."
Stephen Hines [Sat, 30 Jan 2016 17:52:28 +0000 (17:52 +0000)]
Merge "Remove the CREATE_FLAG_OPT_LEVEL_0 from the Java API."
am: 49aee686d8

* commit '49aee686d8c1c888fd0dd2778c19d5968dae0252':
  Remove the CREATE_FLAG_OPT_LEVEL_0 from the Java API.

8 years agoMerge "Fix rare crash in bt detail panel"
Jason Monk [Sat, 30 Jan 2016 17:52:14 +0000 (17:52 +0000)]
Merge "Fix rare crash in bt detail panel"

8 years agoFix rare crash in bt detail panel
Jason Monk [Sat, 30 Jan 2016 17:49:41 +0000 (12:49 -0500)]
Fix rare crash in bt detail panel

Since bond state is gotten directly from the bluetooth stack it is
possible it could change, and therefore change the number of devices
if pairing happens while the detail panel is updating.  Fix this by
just dropping them into a list.

Bug: 26258223
Change-Id: I7703520391798fd7c9ab097b0057b7b43b877212

8 years agoMerge "Remove the CREATE_FLAG_OPT_LEVEL_0 from the Java API."
Stephen Hines [Sat, 30 Jan 2016 17:44:52 +0000 (17:44 +0000)]
Merge "Remove the CREATE_FLAG_OPT_LEVEL_0 from the Java API."

8 years agoFix nav bar clipping
Jason Monk [Sat, 30 Jan 2016 17:40:47 +0000 (12:40 -0500)]
Fix nav bar clipping

Bug: 26782800
Change-Id: I7ba3db27aeee46800f6b7f9cd239ad529b281dd8

8 years agoMerge "Re-enabling fade-in of header bar icons."
Winson Chung [Sat, 30 Jan 2016 02:08:03 +0000 (02:08 +0000)]
Merge "Re-enabling fade-in of header bar icons."

8 years agoRe-enabling fade-in of header bar icons.
Winson Chung [Sat, 30 Jan 2016 01:09:20 +0000 (01:09 +0000)]
Re-enabling fade-in of header bar icons.

This reverts commit 133ad44269e4b45e056793b579a7628aa4d91ccb.

Change-Id: I45095211aaa63b133ad5a4076df25823fa91efa3

8 years agoDeliver onEnterAnimationComplete when there is no transition animation.
Filip Gruszczynski [Sat, 30 Jan 2016 01:38:51 +0000 (17:38 -0800)]
Deliver onEnterAnimationComplete when there is no transition animation.

Documentation says that Activity.onEnterAnimationComplete() will be
called when it's safe to draw, so developers can wait for this callback
to do work. In certain cases we never trigger this callback: when the
screen is frozen and there is no transition animation and the window
just popups into existence. In that case we should forcefully schedule
this callback, so that it can be used reliably.

Bug: 24005761
Change-Id: I2c20ca9bc7fa15ca53d9d492ad1c3f5f9608e8c4

8 years agoMerge "Some fixes for saved surfaces"
Chong Zhang [Sat, 30 Jan 2016 01:14:17 +0000 (01:14 +0000)]
Merge "Some fixes for saved surfaces"

8 years agoMerge "Revert "Re-enabling fade-in of header bar icons.""
Winson Chung [Sat, 30 Jan 2016 01:08:09 +0000 (01:08 +0000)]
Merge "Revert "Re-enabling fade-in of header bar icons.""

8 years agoRevert "Re-enabling fade-in of header bar icons."
Winson Chung [Sat, 30 Jan 2016 01:07:34 +0000 (01:07 +0000)]
Revert "Re-enabling fade-in of header bar icons."

This reverts commit 9b5c847a19bf7dbfe3fe00f11cbbdf581794fccc.

Change-Id: Ie9e6ba685654622a9a1e76a405cc4d47477d9e13

8 years agoMerge "PIP: Use StatusBarService to handle PIP key"
Jaewan Kim [Sat, 30 Jan 2016 01:06:29 +0000 (01:06 +0000)]
Merge "PIP: Use StatusBarService to handle PIP key"

8 years agoSome fixes for saved surfaces
Chong Zhang [Fri, 29 Jan 2016 23:50:34 +0000 (15:50 -0800)]
Some fixes for saved surfaces

- If we have a saved surface, and app relayouts to visible before we
  started entry animation, we need to restore the saved surfaces.
  Otherwise the surface might get stuck in the saved state, because
  we may not get to run any animation after this relayout.

- Keep track of the allDrawn while we're using the saved surfaces,
  so that we can rely on allDrawn itself, instead of whether we're
  using saved surfaces.

- If the app is set to visible when it's exiting, clear the exiting
  flags. Also, save the surface if we cancel an exiting animation.

- More debug logging.

bug: 26819496
Change-Id: Ie42c6eea7879632d82f24ed09c3b6e737dd6d8a4

8 years agoMerge "Camera2 framework stress test suite"
Hang Yin [Sat, 30 Jan 2016 00:45:00 +0000 (00:45 +0000)]
Merge "Camera2 framework stress test suite"

8 years agoMerge "Fix permission doc"
Makoto Onuki [Sat, 30 Jan 2016 00:16:14 +0000 (00:16 +0000)]
Merge "Fix permission doc"

8 years agoFix permission doc
Makoto Onuki [Sat, 30 Jan 2016 00:14:41 +0000 (16:14 -0800)]
Fix permission doc

Bug 26406584

Change-Id: I2c443cc52c600edb1ad904e0eb013829caee9897

8 years agoMerge "Revert "Encode paletted PNGs more efficiently""
Matt Sarett [Fri, 29 Jan 2016 23:59:40 +0000 (23:59 +0000)]
Merge "Revert "Encode paletted PNGs more efficiently""

8 years agoRevert "Encode paletted PNGs more efficiently"
Matt Sarett [Fri, 29 Jan 2016 23:57:53 +0000 (23:57 +0000)]
Revert "Encode paletted PNGs more efficiently"

This reverts commit 3c7235d3868d4bf554d4c1700ac11fc3d4125c71.

Change-Id: I615827c7f4570467bb85c115c01de8c3b46e4e8a

8 years agoMerge "Re-enabling fade-in of header bar icons."
Winson Chung [Fri, 29 Jan 2016 23:41:00 +0000 (23:41 +0000)]
Merge "Re-enabling fade-in of header bar icons."

8 years agoMerge "Add a hidden anqp field to ScanResult" into mm-wireless-dev
Mitchell Wills [Fri, 29 Jan 2016 23:38:08 +0000 (23:38 +0000)]
Merge "Add a hidden anqp field to ScanResult" into mm-wireless-dev
am: 934b3b9c6c

* commit '934b3b9c6c83a372d5def7abaf22d0f185a810de':
  Add a hidden anqp field to ScanResult

8 years agoMerge "Load correct thumbnail size when switching to grid from list (and visa versa)."
Steve McKay [Fri, 29 Jan 2016 23:36:56 +0000 (23:36 +0000)]
Merge "Load correct thumbnail size when switching to grid from list (and visa versa)."

8 years agoMerge "Add a hidden anqp field to ScanResult" into mm-wireless-dev
Mitchell Wills [Fri, 29 Jan 2016 23:33:50 +0000 (23:33 +0000)]
Merge "Add a hidden anqp field to ScanResult" into mm-wireless-dev

8 years agoLoad correct thumbnail size when switching to grid from list (and visa versa).
Steve McKay [Fri, 29 Jan 2016 23:23:27 +0000 (15:23 -0800)]
Load correct thumbnail size when switching to grid from list (and visa versa).

This is a quickie change where we clear the cache, but I think there could be
a better behavior where we don't clear the cache, show low res (instantly)
then load higher resolution ontop of the low res.

Bug: 26763078
Change-Id: If9883d507984b555e790a06692390d4fa3334c28

8 years agoRe-enabling fade-in of header bar icons.
Winson [Fri, 29 Jan 2016 00:48:18 +0000 (16:48 -0800)]
Re-enabling fade-in of header bar icons.

- Removing extra syscall when rebinding tasks
- Only bind the click listeners on the header bar after they are visible

Change-Id: I6879b30a985ca8274ee77126b152daa985054371

8 years agoMerge "Encode paletted PNGs more efficiently"
Matt Sarett [Fri, 29 Jan 2016 22:57:12 +0000 (22:57 +0000)]
Merge "Encode paletted PNGs more efficiently"

8 years agoEncode paletted PNGs more efficiently
Matt Sarett [Thu, 28 Jan 2016 23:38:38 +0000 (18:38 -0500)]
Encode paletted PNGs more efficiently

Saves about 2 MB of encoded size across affected assets.

Also will enable more efficient decoding.

Specifically, encoded palette values are assumed to be opaque unless
alpha values are provided in a tRNS chunk.  Before this change, we
would wastefully store many opaque alpha values in tRNS chunk.
Additionally, the decoder used to need to premultiply all of these
opaque colors, because the encoded data indicated that they had alpha.

Change-Id: I1d5400f71a0e3cb800fd0fc68a04c8c4069da8ef

8 years agoMerge "Fix copyLayerInto"
John Reck [Fri, 29 Jan 2016 22:54:54 +0000 (22:54 +0000)]
Merge "Fix copyLayerInto"

8 years agoFix copyLayerInto
John Reck [Fri, 29 Jan 2016 22:18:22 +0000 (14:18 -0800)]
Fix copyLayerInto

Bug: 26763945
Change-Id: I21ffbd56cf70bad0928416963e6fc254be435af9

8 years agoMerge "Fix dynamic audio policy rules"
Jean-Michel Trivi [Fri, 29 Jan 2016 22:52:28 +0000 (22:52 +0000)]
Merge "Fix dynamic audio policy rules"

8 years agoMerge "Fixed check for empty title."
Felipe Leme [Fri, 29 Jan 2016 22:33:22 +0000 (22:33 +0000)]
Merge "Fixed check for empty title."

8 years agoPurge all state for a removed user
Fyodor Kupolov [Fri, 22 Jan 2016 19:26:09 +0000 (11:26 -0800)]
Purge all state for a removed user

Bug: 26687570
Change-Id: Icd516a871c274ce8986129654081b6dec3850856

8 years agoMerge "Some small binder shell command improvements."
Dianne Hackborn [Fri, 29 Jan 2016 22:20:39 +0000 (22:20 +0000)]
Merge "Some small binder shell command improvements."

8 years agoMerge "Stage backup/restore data in a cache subdir rather than root"
Chris Tate [Fri, 29 Jan 2016 22:09:04 +0000 (22:09 +0000)]
Merge "Stage backup/restore data in a cache subdir rather than root"

8 years agoFixed check for empty title.
Felipe Leme [Fri, 29 Jan 2016 21:55:35 +0000 (13:55 -0800)]
Fixed check for empty title.

Otherwise, if user entered "Details" but not "Summary", the
ACTION_SEND_MULTIPLE subject would be empty.

BUG: 26768595
Change-Id: I955ab5e8f05eba9fbfa6fe65eabb6a8a8e28c5b4

8 years agoFix dynamic audio policy rules
Jean-Michel Trivi [Thu, 28 Jan 2016 22:05:36 +0000 (14:05 -0800)]
Fix dynamic audio policy rules

Always set the mix type when adding rules, even
 when adding from a parcel.

Bug 26798796

Change-Id: Ib10bfa9b9b7753b18d9b1b5a67e82677dcac2cbe

8 years agoMerge "Fix BackupManager to really send MSG_RESULT when onResult is called."
Sergey Poromov [Fri, 29 Jan 2016 21:49:22 +0000 (21:49 +0000)]
Merge "Fix BackupManager to really send MSG_RESULT when onResult is called."

8 years agoMerge "Add DENSITY_DEVICE_STABLE constant"
Alan Viverette [Fri, 29 Jan 2016 21:41:38 +0000 (21:41 +0000)]
Merge "Add DENSITY_DEVICE_STABLE constant"

8 years agoMerge "Correct cameraserver UID"
Chien-Yu Chen [Fri, 29 Jan 2016 21:39:51 +0000 (21:39 +0000)]
Merge "Correct cameraserver UID"

8 years agoMerge "Added entries to zip file before sending the share notification."
Felipe Leme [Fri, 29 Jan 2016 21:33:23 +0000 (21:33 +0000)]
Merge "Added entries to zip file before sending the share notification."

8 years agoMerge "Fixed a bug where the notification became clearable"
Selim Cinek [Fri, 29 Jan 2016 21:22:00 +0000 (21:22 +0000)]
Merge "Fixed a bug where the notification became clearable"

8 years agoMerge changes I96fdf9b4,Ia85d9d89,I1fd23114
Wale Ogunwale [Fri, 29 Jan 2016 21:14:17 +0000 (21:14 +0000)]
Merge changes I96fdf9b4,Ia85d9d89,I1fd23114

* changes:
  Added isDockable field to RunningTaskInfo
  Display warning toast when we try to launch unresizeable app in split-screen
  Don't allow non-dockable activities/tasks in docked stack.

8 years agoFollow up to improved ANR dialog
Adrian Roos [Fri, 29 Jan 2016 20:57:29 +0000 (12:57 -0800)]
Follow up to improved ANR dialog

Original CL Ie1f0ca54216f123ae26df51d42f88b0fa2d65941

Bug: 22692162
Change-Id: I7fd849fee4d2e6252bfb839b2da052ccc0d6b2d6

8 years agoMerge "Size recyclerview correctly."
Philip P. Moltmann [Fri, 29 Jan 2016 20:57:43 +0000 (20:57 +0000)]
Merge "Size recyclerview correctly."

8 years agoFix broken animation with FLAG_DISMISS_KEYGUARD
Adrian Roos [Fri, 29 Jan 2016 20:46:35 +0000 (12:46 -0800)]
Fix broken animation with FLAG_DISMISS_KEYGUARD

Bug: 26863727
Change-Id: I054a63d1d156ae6b3617bd799789b4c4de91d6e5

8 years agoImprove ANR dialog
Adrian Roos [Tue, 26 Jan 2016 17:14:22 +0000 (09:14 -0800)]
Improve ANR dialog

Bug: 22692162
Change-Id: Ie1f0ca54216f123ae26df51d42f88b0fa2d65941

8 years agoAdded isDockable field to RunningTaskInfo
Wale Ogunwale [Wed, 27 Jan 2016 20:34:16 +0000 (12:34 -0800)]
Added isDockable field to RunningTaskInfo

Allows the caller to know if the task can go in the docked stack.

Bug: 26774816
Change-Id: I96fdf9b4df0ac87d84492e1504baac3ca0767d37

8 years agoStage backup/restore data in a cache subdir rather than root
Christopher Tate [Thu, 28 Jan 2016 02:17:43 +0000 (18:17 -0800)]
Stage backup/restore data in a cache subdir rather than root

Also make sure not to do the restorecon() before the file is
created.

(Also fix binder identity bug in the 'bmgr fullbackup' flow.)

Bug 26834865

Change-Id: Ia8a59eeb55762264163c8b310caae5e303413571

8 years agoDisplay warning toast when we try to launch unresizeable app in split-screen
Wale Ogunwale [Wed, 27 Jan 2016 20:24:44 +0000 (12:24 -0800)]
Display warning toast when we try to launch unresizeable app in split-screen

Bug: 26774816
Change-Id: Ia85d9d89758041661391018f04feb6f8db4e56d9

8 years agoMerge "BatteryStats: Fix DivideByZero error"
Adam Lesinski [Fri, 29 Jan 2016 20:42:42 +0000 (20:42 +0000)]
Merge "BatteryStats: Fix DivideByZero error"

8 years agoBatteryStats: Fix DivideByZero error
Adam Lesinski [Fri, 29 Jan 2016 20:13:54 +0000 (12:13 -0800)]
BatteryStats: Fix DivideByZero error

As we hand out proportional blame to apps for transmitting/receiving
packets, make sure to check that the total packets sent never
becomes zero.
Bug:26873610

Change-Id: I3e0fc3c9e8d4dafce2e88c75d8f44701d8fba0d4

8 years agoAdd DENSITY_DEVICE_STABLE constant
Alan Viverette [Fri, 29 Jan 2016 20:40:38 +0000 (15:40 -0500)]
Add DENSITY_DEVICE_STABLE constant

The existing DENSITY_DEVICE gets updated by ActivityThread following
configuration changes that affect density, so just a docs update there.

Bug: 26854123
Change-Id: I69dfca99a6038ed9cf8b2f2c007cdbc4a399dd8a

8 years agoDon't allow non-dockable activities/tasks in docked stack.
Wale Ogunwale [Wed, 27 Jan 2016 18:55:01 +0000 (10:55 -0800)]
Don't allow non-dockable activities/tasks in docked stack.

Prevent activities and tasks that are not resizeable and don't
support crop windows resize mode from going into the docked stack.

Bug: 26774816
Change-Id: I1fd23114685be15908e80e8bc5a0216d8bfd049e

8 years agoMerge "PackageManagerService: Add more ABI adjustment logging"
Andreas Gampe [Fri, 29 Jan 2016 20:31:07 +0000 (20:31 +0000)]
Merge "PackageManagerService: Add more ABI adjustment logging"

8 years agoAdded entries to zip file before sending the share notification.
Felipe Leme [Fri, 29 Jan 2016 20:24:25 +0000 (12:24 -0800)]
Added entries to zip file before sending the share notification.

BUG: 26616935
Change-Id: I072d57456b2090c7c5e75eea7834d3cdce44ed4a

8 years agoMerge "Fixing some drag and drop issues."
Winson Chung [Fri, 29 Jan 2016 20:22:20 +0000 (20:22 +0000)]
Merge "Fixing some drag and drop issues."

8 years agoFixing some drag and drop issues.
Winson [Thu, 28 Jan 2016 21:29:49 +0000 (13:29 -0800)]
Fixing some drag and drop issues.

- When opening recents while there is a task docked, initialize the
  stack scroll to the front of the stack
- When undocking a task while recents is open, scroll to the front of
  the stack
- Fixing offset when adjusting the task stack size due to top inset
  being double applied in some dock states
- Fixing issue with task view not scaling when picking up from the
  freeform workspace

Change-Id: I15436ac21f05ff521492d8ae1c682a414503101a

8 years agoMerge "Use resizeMode integer instead of resizeable boolean."
Wale Ogunwale [Fri, 29 Jan 2016 20:12:14 +0000 (20:12 +0000)]
Merge "Use resizeMode integer instead of resizeable boolean."

8 years agoMerge "Add logging for MTP roots."
Ben Kwa [Fri, 29 Jan 2016 20:12:08 +0000 (20:12 +0000)]
Merge "Add logging for MTP roots."

8 years agoAdd logging for MTP roots.
Ben Kwa [Fri, 29 Jan 2016 02:15:07 +0000 (18:15 -0800)]
Add logging for MTP roots.

BUG=26737132

Change-Id: I09d7f644edd775ce54a06dbed9f4b716eeb662d3

8 years agoCheck QS window token types
Jason Monk [Fri, 29 Jan 2016 18:31:24 +0000 (13:31 -0500)]
Check QS window token types

Change-Id: Id72193b680a9a1bf2a353ed8f902057ace3dde20

8 years agoCorrect cameraserver UID
Chien-Yu Chen [Fri, 29 Jan 2016 20:02:28 +0000 (12:02 -0800)]
Correct cameraserver UID

Bug: 24511454
Change-Id: I967c50c781d03754a093bae6a64b2e35a023f046

8 years agoMerge "Add metrics logging for file operations."
Ben Kwa [Fri, 29 Jan 2016 19:57:12 +0000 (19:57 +0000)]
Merge "Add metrics logging for file operations."

8 years agoMerge "Add lockscreen wallpaper support to SystemUI"
Adrian Roos [Fri, 29 Jan 2016 19:24:40 +0000 (19:24 +0000)]
Merge "Add lockscreen wallpaper support to SystemUI"

8 years agoAdd lockscreen wallpaper support to SystemUI
Adrian Roos [Fri, 29 Jan 2016 16:49:21 +0000 (08:49 -0800)]
Add lockscreen wallpaper support to SystemUI

Bug: 25454162
Change-Id: I38b71ac2efc2a9608ae4e41173b64eca817cd4ea

8 years agoMerge "Clear selection after copy and when back is pressed."
Steve McKay [Fri, 29 Jan 2016 19:21:24 +0000 (19:21 +0000)]
Merge "Clear selection after copy and when back is pressed."

8 years agoMerge "Make AppRestrictionsHelper leanback-aware"
Tony Mantler [Fri, 29 Jan 2016 19:20:33 +0000 (19:20 +0000)]
Merge "Make AppRestrictionsHelper leanback-aware"

8 years agoMerge "Throw for unknown user restrictions."
Makoto Onuki [Fri, 29 Jan 2016 19:19:40 +0000 (19:19 +0000)]
Merge "Throw for unknown user restrictions."

8 years agoMerge "Referencing static interpolators. "
Winson Chung [Fri, 29 Jan 2016 19:19:31 +0000 (19:19 +0000)]
Merge "Referencing static interpolators. "

8 years agoThrow for unknown user restrictions.
Makoto Onuki [Thu, 28 Jan 2016 19:32:32 +0000 (11:32 -0800)]
Throw for unknown user restrictions.

Bug 23902097

Change-Id: I78a4b09db880134577d690be0c50ee9a64e6a309

8 years agoReferencing static interpolators.
Winson [Fri, 29 Jan 2016 18:24:39 +0000 (10:24 -0800)]
Referencing static interpolators.

Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5

8 years agoMerge "Revert Network Stats API stub for tracking of metered networks."
Jeff Davidson [Fri, 29 Jan 2016 19:08:52 +0000 (19:08 +0000)]
Merge "Revert Network Stats API stub for tracking of metered networks."

8 years agoMerge "TIF: Make RecordingCallback static"
Dongwon Kang [Fri, 29 Jan 2016 18:53:24 +0000 (18:53 +0000)]
Merge "TIF: Make RecordingCallback static"

8 years agoTIF: Make RecordingCallback static
Dongwon Kang [Thu, 28 Jan 2016 23:01:46 +0000 (15:01 -0800)]
TIF: Make RecordingCallback static

Change-Id: I5138713fe21f49d43e9c70af8c2ba66318aa8342

8 years agoMerge "Frameworks/base: Stop profiling on uncaught exception"
Andreas Gampe [Fri, 29 Jan 2016 18:45:48 +0000 (18:45 +0000)]
Merge "Frameworks/base: Stop profiling on uncaught exception"

8 years agoFrameworks/base: Stop profiling on uncaught exception
Andreas Gampe [Fri, 29 Jan 2016 04:11:41 +0000 (20:11 -0800)]
Frameworks/base: Stop profiling on uncaught exception

When "handling" an uncaught exception, make an attempt to stop
profiling. In case profiling was active, this will avoid losing
the profiling buffer.

Bug: 26291225
Change-Id: Ie5f5517b46ed89d0456a4aac9d4ff3b713d1d8aa

8 years agoRevert Network Stats API stub for tracking of metered networks.
Jeff Davidson [Fri, 29 Jan 2016 18:36:52 +0000 (10:36 -0800)]
Revert Network Stats API stub for tracking of metered networks.

Bug: 25813958
Change-Id: I9d2835b7bacfffef05b1588f1301afc70f5f582f

8 years agoMerge "Revert "Revert "Fix optimizable package filter"""
Calin Juravle [Fri, 29 Jan 2016 18:35:05 +0000 (18:35 +0000)]
Merge "Revert "Revert "Fix optimizable package filter"""

8 years agoFix NPE when logging a WTF in unknown process
Adrian Roos [Fri, 29 Jan 2016 17:21:58 +0000 (09:21 -0800)]
Fix NPE when logging a WTF in unknown process

Bug: 26873463
Change-Id: I548c10b43f5784152b9227926aa37170fd9fd78f

8 years agoMerge "Incremental local builds for services"
Jorim Jaggi [Fri, 29 Jan 2016 18:25:47 +0000 (18:25 +0000)]
Merge "Incremental local builds for services"

8 years agoRevert "Revert "Fix optimizable package filter""
Calin Juravle [Fri, 29 Jan 2016 18:23:57 +0000 (18:23 +0000)]
Revert "Revert "Fix optimizable package filter""

The issue was traced to go/aog/854901. This revert was only temporary.

Bug: 26863668
This reverts commit d9c31db2e9e4da08ed43c88135fa7e220bc26ebf.

Change-Id: I6724059db18263936cc392651c621d27836f1c33

8 years agoMerge "Notify NetworkStatsService of roaming status changes."
Jeff Davidson [Fri, 29 Jan 2016 18:16:09 +0000 (18:16 +0000)]
Merge "Notify NetworkStatsService of roaming status changes."

8 years agoMerge "Remove "updatecmds" feature."
Jeff Sharkey [Fri, 29 Jan 2016 18:15:34 +0000 (18:15 +0000)]
Merge "Remove "updatecmds" feature."

8 years agoNotify NetworkStatsService of roaming status changes.
Jeff Davidson [Wed, 20 Jan 2016 19:35:38 +0000 (11:35 -0800)]
Notify NetworkStatsService of roaming status changes.

When the roaming status of the cell network changes, it is handled as
follows:

-DcActiveState gets an event (either EVENT_DATA_CONNECTION_ROAM_ON or
 EVENT_DATA_CONNECTION_ROAM_OFF) and calls
 NetworkAgent#sendNetworkInfo with updated NetworkInfo.
-ConnectivityService then gets an EVENT_NETWORK_INFO_CHANGED and calls
 updateNetworkInfo with the new info.

With the previous code, the NetworkAgent's NetworkInfo object would be
updated internally, but because the state of the connection had not
changed from CONNECTED, the change would be considered a duplicate and
otherwise ignored.

With the new code, we call notifyIfacesChanged() when the state is the
same but the roaming status has changed. That should be all that is
necessary, as roaming is not exposed as a link property or network
capability today.

Bug: 26545456
Change-Id: I33d32d1fa84ce41dbe01542e5b498eda4b744b74

8 years agoMerge "TIF: Unhide TvInputCallback.onInputUpdated()"
Jae Seo [Fri, 29 Jan 2016 18:06:09 +0000 (18:06 +0000)]
Merge "TIF: Unhide TvInputCallback.onInputUpdated()"

8 years agoMerge "TIF: Add Hardware prefix to method/member names for better readability"
Jae Seo [Fri, 29 Jan 2016 18:05:47 +0000 (18:05 +0000)]
Merge "TIF: Add Hardware prefix to method/member names for better readability"

8 years agoRemove "updatecmds" feature.
Jeff Sharkey [Fri, 29 Jan 2016 16:54:29 +0000 (09:54 -0700)]
Remove "updatecmds" feature.

This feature is very old and hasn't been used in many releases.  In
addition, it was never taught about multi-user layouts, and it would
be incredibly hard to maintain in the new FBE world where CE keys
may not appear until several reboots after an OTA.

Bug: 26854442
Change-Id: I3e88d38fde671e41ea9bdd790173d8b93c8a5c12

8 years agoMerge "Fixed NullPointerException in SystemUI"
Steve Pfetsch [Fri, 29 Jan 2016 17:59:47 +0000 (17:59 +0000)]
Merge "Fixed NullPointerException in SystemUI"

8 years agoMerge "Enable work mode quick settings tile"
Rubin Xu [Fri, 29 Jan 2016 17:50:04 +0000 (17:50 +0000)]
Merge "Enable work mode quick settings tile"

8 years agoHack to get devices booting again.
Jeff Sharkey [Fri, 29 Jan 2016 17:45:45 +0000 (10:45 -0700)]
Hack to get devices booting again.

If we try scheduling a pass before the system is ready, record a
pending event and dispatch once we're actually ready.

Bug: 26863668
Change-Id: I028285383c8bbe8b653aeaa7544eefe3d41277bc

8 years agoMerge "Add API for IME control by Accessibility Services."
Anna Galusza [Fri, 29 Jan 2016 16:58:07 +0000 (16:58 +0000)]
Merge "Add API for IME control by Accessibility Services."

8 years agoFix BackupManager to really send MSG_RESULT when onResult is called.
Sergey Poromov [Fri, 29 Jan 2016 16:46:32 +0000 (17:46 +0100)]
Fix BackupManager to really send MSG_RESULT when onResult is called.

Previously it send MSG_FINISHED.
I'm surprised why backup test app was successfully receiving appropriate callbacks...

Change-Id: Ia4950579a3dbf8b7383b8e48dd29b94bdd765cd8

8 years agoMerge "Revert "Fix optimizable package filter""
Calin Juravle [Fri, 29 Jan 2016 16:38:55 +0000 (16:38 +0000)]
Merge "Revert "Fix optimizable package filter""

8 years agoMerge "Watch out for null pointers when getting profile owner info"
Rubin Xu [Fri, 29 Jan 2016 16:38:30 +0000 (16:38 +0000)]
Merge "Watch out for null pointers when getting profile owner info"

8 years agoRevert "Fix optimizable package filter"
Calin Juravle [Fri, 29 Jan 2016 16:38:11 +0000 (16:38 +0000)]
Revert "Fix optimizable package filter"

Bug: 26863668

This reverts commit 8aaaf138887355f218b5da3f0efe1c4610a6c31a.

Change-Id: I659e2de56afd729f36aa111772fec8c9c2ddf801

8 years agoMerge "Unhide @Repeatable" am: 31312ecfd2
Neil Fuller [Fri, 29 Jan 2016 16:33:00 +0000 (16:33 +0000)]
Merge "Unhide @Repeatable" am: 31312ecfd2
am: 833c9fcdf1

* commit '833c9fcdf155ba28d0b8a017376a6796c5d03806':
  Unhide @Repeatable

8 years agoAdd metrics logging for file operations.
Ben Kwa [Fri, 29 Jan 2016 00:39:57 +0000 (16:39 -0800)]
Add metrics logging for file operations.

Log to two new histograms - one for operations originating from system
providers, the other for operations originating from external providers.

Events in these histograms are bucketed by
- type (copy, move, delete, etc)
- destination (system vs external provider, with a special bucket for
    intra-provider operations)
- result (success vs failure)

BUG=26737132

Change-Id: Ic24c7a22fa3c1227e23cfbd42ae80ca1f70a19ba

8 years agoWatch out for null pointers when getting profile owner info
Rubin Xu [Fri, 29 Jan 2016 15:37:05 +0000 (15:37 +0000)]
Watch out for null pointers when getting profile owner info

Bug: 22776761
Change-Id: If9b7fe603c52b953633a81642b506c0b2fa8dc3a

8 years agoMerge "Unhide @Repeatable"
Neil Fuller [Fri, 29 Jan 2016 16:28:22 +0000 (16:28 +0000)]
Merge "Unhide @Repeatable"
am: 31312ecfd2

* commit '31312ecfd2b701c6b9fdc34156e8a12df3022c25':
  Unhide @Repeatable