OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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 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 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

8 years agoMerge "Unhide @FunctionalInterface" am: 45a1ea33a4
Neil Fuller [Fri, 29 Jan 2016 16:23:33 +0000 (16:23 +0000)]
Merge "Unhide @FunctionalInterface" am: 45a1ea33a4
am: 79bd8e8815

* commit '79bd8e881510d62f0fd7198f21dba42a06bec7b8':
  Unhide @FunctionalInterface

8 years agoMerge "Unhide @Repeatable"
Neil Fuller [Fri, 29 Jan 2016 16:19:36 +0000 (16:19 +0000)]
Merge "Unhide @Repeatable"

8 years agoMerge "Unhide @FunctionalInterface"
Neil Fuller [Fri, 29 Jan 2016 16:18:32 +0000 (16:18 +0000)]
Merge "Unhide @FunctionalInterface"
am: 45a1ea33a4

* commit '45a1ea33a4e0eb7f1204c03611caf4699ed91d47':
  Unhide @FunctionalInterface

8 years agoUnhide @Repeatable
Neil Fuller [Tue, 19 Jan 2016 00:34:04 +0000 (16:34 -0800)]
Unhide @Repeatable

Bug: 26623636
(cherry-picked from commit c98d6a4c19ab9d5620c05b0f5ccb3b91a9eaba15)

Change-Id: I6378d5780def3a26d340f213973a4094e97426f5

8 years agoMerge "Unhide @FunctionalInterface"
Neil Fuller [Fri, 29 Jan 2016 16:10:13 +0000 (16:10 +0000)]
Merge "Unhide @FunctionalInterface"

8 years agoUnhide @FunctionalInterface
Neil Fuller [Tue, 19 Jan 2016 00:20:56 +0000 (16:20 -0800)]
Unhide @FunctionalInterface

Bug: 26623636
(cherry-picked from commit c5064327eae625b67013736048e35388decce52b)
Change-Id: I05fc731356891c4fdba79701b1b87384841d56ca

8 years agoMerge "Unhide Method.isDefault" am: b05fa3e841
Neil Fuller [Fri, 29 Jan 2016 15:44:40 +0000 (15:44 +0000)]
Merge "Unhide Method.isDefault" am: b05fa3e841
am: 796da66012

* commit '796da660120fc692a1d721f7d105aa2dc72cb62f':
  Unhide Method.isDefault

8 years agoUse resizeMode integer instead of resizeable boolean.
Wale Ogunwale [Wed, 27 Jan 2016 17:12:31 +0000 (09:12 -0800)]
Use resizeMode integer instead of resizeable boolean.

Changes activity manager and window manager to use resizeMode
as defined by ActivityInfo#resizeMode instead of a boolean.

Bug: 26774816
Change-Id: I8cef46d9fba6bfdd21df7da63ed5d5330ad03d4b

8 years agoMerge "Unhide Method.isDefault"
Neil Fuller [Fri, 29 Jan 2016 15:40:21 +0000 (15:40 +0000)]
Merge "Unhide Method.isDefault"
am: b05fa3e841

* commit 'b05fa3e841c37ae8089cf3cffc28439ced56884b':
  Unhide Method.isDefault

8 years agoMerge "Unhide Method.isDefault"
Neil Fuller [Fri, 29 Jan 2016 15:31:38 +0000 (15:31 +0000)]
Merge "Unhide Method.isDefault"

8 years agoUnhide Method.isDefault
Neil Fuller [Sat, 23 Jan 2016 21:29:36 +0000 (13:29 -0800)]
Unhide Method.isDefault

Bug: 26623636
(cherry-picked from commit 20a4d572263cc288af4bd99849d1acc9e956ff06)
Change-Id: I5fd46b521d5098c72585b2acf06beaea4b9fa93f

8 years agoMerge "Consume AbsListView touch events following a successful long-press"
Alan Viverette [Fri, 29 Jan 2016 15:23:16 +0000 (15:23 +0000)]
Merge "Consume AbsListView touch events following a successful long-press"

8 years agoMerge "Fix floating toolbar rendering."
Abodunrinwa Toki [Fri, 29 Jan 2016 15:03:03 +0000 (15:03 +0000)]
Merge "Fix floating toolbar rendering."

8 years agoMerge "Replace broken UserHandle.SYSTEM check in LPU"
Robin Lee [Fri, 29 Jan 2016 13:27:25 +0000 (13:27 +0000)]
Merge "Replace broken UserHandle.SYSTEM check in LPU"

8 years agoFix floating toolbar rendering.
Abodunrinwa Toki [Wed, 27 Jan 2016 22:11:30 +0000 (22:11 +0000)]
Fix floating toolbar rendering.

The code to size and position the floating toolbar and it's content
when there was no overflow menu was omitted. This caused bad
rendering of the toolbar and it's content when an existing toolbar
object was updated to go in the "no overflow" state.

Fixed the issue by properly updating the floating toolbar size
and positioning of it's contents in the "no overflow" state.

Bug: 25973599
Change-Id: I9305140f493bc36b87328571cd7645f184d9cf30

8 years agoMerge "Add policy to set the organization name"
Benjamin Franz [Fri, 29 Jan 2016 11:38:54 +0000 (11:38 +0000)]
Merge "Add policy to set the organization name"

8 years agoAdd policy to set the organization name
Benjamin Franz [Mon, 25 Jan 2016 16:19:08 +0000 (16:19 +0000)]
Add policy to set the organization name

We allow the profile owner of a managed profile to set the name of the
managed organization.

This name is used as the default header message shown in the confirm
credentials screen a.k.a. work challenge.

Bug: 26638631
Change-Id: I03c5acc9fffe06cdb9d0d60dd1580b20e21783b1

8 years agoMerge "Unhide @Repeatable"
Neil Fuller [Fri, 29 Jan 2016 11:01:45 +0000 (11:01 +0000)]
Merge "Unhide @Repeatable"

8 years agoMerge "Revive drop shadow of SuggestionWindow."
Seigo Nonaka [Fri, 29 Jan 2016 09:53:54 +0000 (09:53 +0000)]
Merge "Revive drop shadow of SuggestionWindow."

8 years agoMerge "Return NULL available bytes when the MTP device is closed."
Daichi Hirono [Fri, 29 Jan 2016 09:17:07 +0000 (09:17 +0000)]
Merge "Return NULL available bytes when the MTP device is closed."

8 years agoReturn NULL available bytes when the MTP device is closed.
Daichi Hirono [Fri, 29 Jan 2016 08:37:36 +0000 (17:37 +0900)]
Return NULL available bytes when the MTP device is closed.

Before MtpDocumentsProvider opens a device, it cannot fetch the storage
size. Currently it says 0 bytes available. But actually it is unknown.

BUG=26866812

Change-Id: I3f24773da8e76fe1092c11f1335aac9703f1b3f9

8 years agoMerge "Create the locale list with ICU4J's ListFormatter"
Mihai Niță [Fri, 29 Jan 2016 07:43:23 +0000 (07:43 +0000)]
Merge "Create the locale list with ICU4J's ListFormatter"

8 years agoMerge "MediaBrowser: Make support lib work properly"
Sungsoo Lim [Fri, 29 Jan 2016 07:19:14 +0000 (07:19 +0000)]
Merge "MediaBrowser: Make support lib work properly"

8 years agoTIF: Add Hardware prefix to method/member names for better readability
Jae Seo [Fri, 29 Jan 2016 06:20:41 +0000 (22:20 -0800)]
TIF: Add Hardware prefix to method/member names for better readability

Also removed the infix 'Tv' to make those names consistent with other
names (e.g. mHdmiInputIdMap, inputList, etc.)

Change-Id: I40eff18f8ca795c080edaf293f4906848caed0ca

8 years agoRevive drop shadow of SuggestionWindow.
Seigo Nonaka [Thu, 28 Jan 2016 08:25:18 +0000 (17:25 +0900)]
Revive drop shadow of SuggestionWindow.

The drop shadow of the SuggestionWindow was accidentally gone by
I579c0cc5b7f0dd337bff54af77828b8af25b13d2.

The reason of drop shadow disappearance is setting TRANSPARENT
background to the popup window.

To revive drop shadow of SuggestionWindow, follows the way of floating
toolbar.
- Create PopupWindow and make it transparent. (already exists)
- Wrap contents with RelativeLayout and set layout_margin and elevation
  to drop the shadow into the transparent PopupWindow.

The changes in Editor is for keeping this margin during re-calculation
of the contents width and position.

Bug: 15347319

Change-Id: I5a9bcbe29400d6193eb0532a5e711a78a12383cd

8 years agoMediaBrowser: Make support lib work properly
Sungsoo Lim [Thu, 28 Jan 2016 10:10:39 +0000 (19:10 +0900)]
MediaBrowser: Make support lib work properly

Do not change the methods signature and order of methods in
MediaBrowser related AIDL files. A change of the method signatures
or the order could break the support library.

Bug: 26841304
Change-Id: Id8c013eafc38c1a716df63dd86f446bc9c9ff21d

8 years agoTIF: Unhide TvInputCallback.onInputUpdated()
Jae Seo [Fri, 29 Jan 2016 04:48:07 +0000 (20:48 -0800)]
TIF: Unhide TvInputCallback.onInputUpdated()

Needed to load proper resources when the TV input app is updated

Bug: 26851344
Change-Id: If3d143a254a9585e90ab1d91abcdb68bf39eaa9f

8 years agoMerge "TIF: Allow undefined reasons to be passed by notifyVideoUnavailable"
Jae Seo [Fri, 29 Jan 2016 05:04:30 +0000 (05:04 +0000)]
Merge "TIF: Allow undefined reasons to be passed by notifyVideoUnavailable"

8 years agoTIF: Allow undefined reasons to be passed by notifyVideoUnavailable
Jae Seo [Thu, 28 Jan 2016 04:58:08 +0000 (20:58 -0800)]
TIF: Allow undefined reasons to be passed by notifyVideoUnavailable

Bug: 26819129
Change-Id: Ia3cbc8183b08e7431276795f74fcc6701de0a238

8 years agoIncremental local builds for services
Jorim Jaggi [Fri, 29 Jan 2016 03:56:20 +0000 (19:56 -0800)]
Incremental local builds for services

If INCREMENTAL_BUILDS is set to true. Speeds up incremental builds
by about 30%.

Change-Id: Ib0b385357e6e77e3596348e321d25944eef49bdb

8 years agoMerge "Add AudioRecord timestamps"
Andy Hung [Fri, 29 Jan 2016 03:23:19 +0000 (03:23 +0000)]
Merge "Add AudioRecord timestamps"

8 years agoMerge "Media notifications may not have an icon"
Selim Cinek [Fri, 29 Jan 2016 03:04:56 +0000 (03:04 +0000)]
Merge "Media notifications may not have an icon"

8 years agoMerge "Animating the work profile button location now"
Selim Cinek [Fri, 29 Jan 2016 03:04:40 +0000 (03:04 +0000)]
Merge "Animating the work profile button location now"

8 years agoMerge "Fixed a bug with the media notication template"
Selim Cinek [Fri, 29 Jan 2016 03:04:22 +0000 (03:04 +0000)]
Merge "Fixed a bug with the media notication template"

8 years agoMedia notifications may not have an icon
Selim Cinek [Thu, 28 Jan 2016 04:04:27 +0000 (20:04 -0800)]
Media notifications may not have an icon

Change-Id: Ie47bf144f4add49ec5ed92bb19db39ad116f0678

8 years agoAnimating the work profile button location now
Selim Cinek [Thu, 28 Jan 2016 02:38:31 +0000 (18:38 -0800)]
Animating the work profile button location now

Media notifications have them in a different location
so we'd like to animate it.

Change-Id: I50d289bc6ed73d56dcad8cebdcb7101e2aad6ea9

8 years agoFixed a bug with the media notication template
Selim Cinek [Wed, 27 Jan 2016 02:26:19 +0000 (18:26 -0800)]
Fixed a bug with the media notication template

The image could overlap with the buttons due to
the specced way. This is now fixed.

Change-Id: I346467d48b5f8337d09af4b20e5cdfcd41e12b81

8 years agoMerge "Optionally support accessibility with UiAutomator"
Svetoslav Ganov [Fri, 29 Jan 2016 02:57:46 +0000 (02:57 +0000)]
Merge "Optionally support accessibility with UiAutomator"

8 years agoPackageManagerService: Add more ABI adjustment logging
Andreas Gampe [Fri, 29 Jan 2016 02:54:05 +0000 (18:54 -0800)]
PackageManagerService: Add more ABI adjustment logging

To help with diagnosis of preopt-related ABI-mismatched induced
errors, log more information during ABI adjustment.

Change-Id: I035f229b20588d5f1ec5f91707ef687d39c1a267

8 years agoMerge "Exposing file:// beyond your app is bad, m'kay?"
Jeff Sharkey [Fri, 29 Jan 2016 02:43:28 +0000 (02:43 +0000)]
Merge "Exposing file:// beyond your app is bad, m'kay?"

8 years agoFixed NullPointerException in SystemUI
Steve Pfetsch [Fri, 29 Jan 2016 02:41:19 +0000 (18:41 -0800)]
Fixed NullPointerException in SystemUI

NullPointerException occurred on some devices during boot if no user
listener is attached to MultiUserSwitch.

Change-Id: Id6aabf81e0e982a4a6d88d78dcae639a7cbedee4

8 years agoMerge "Don't apply overscan insets to freeform windows."
Filip Gruszczynski [Fri, 29 Jan 2016 02:29:09 +0000 (02:29 +0000)]
Merge "Don't apply overscan insets to freeform windows."

8 years agoDon't apply overscan insets to freeform windows.
Filip Gruszczynski [Fri, 29 Jan 2016 02:14:27 +0000 (18:14 -0800)]
Don't apply overscan insets to freeform windows.

Overscan gets applied when window frame is outside of the display frame.
This is a natural situation for freeform windows, so they should not
receive the overscan inset. Applying overscan insets causes the
application content to get squashed, when we resize the freeform window
and part of it is outside of the display.

Bug: 26009343
Change-Id: Ib614fb8c7170c3b6d69614b813674853e1204eef

8 years agoMerge "Reset gSystemIcons when accessibility large icon settings has changed."
Jun Mukai [Fri, 29 Jan 2016 02:24:14 +0000 (02:24 +0000)]
Merge "Reset gSystemIcons when accessibility large icon settings has changed."

8 years agoExposing file:// beyond your app is bad, m'kay?
Jeff Sharkey [Fri, 29 Jan 2016 02:03:30 +0000 (19:03 -0700)]
Exposing file:// beyond your app is bad, m'kay?

For several releases now we've told developers that sharing raw files
between apps is a recipe for trouble.  There are at least three major
problems with sending raw files:

-- Apps sending generic intents can't know who is at the other end,
so they may not have access to shared storage locations.  This is
more likely now that runtime permissions require apps to explicitly
ask users for permission.

-- Apps making files in their private storage world-readable has been
deprecated for several releases, and now in N it's fully blocked.  If
we let these intents through, the receiving app would fail to open
the file, when the real blame rests on the sending app.

-- Devices with user profiles can't share raw files when using
cross-profile intent filters, since filesystem access is fully
locked down between users.

The time has finally come to communicate clearly that if you're
sharing content between apps, you need to use content:// Uris.  We
added the simple FileProvider several years ago to give apps a clean
way to migrate with minimal work on their part.

Bug: 268609229069185
Change-Id: I075f627f6a0d6c7fca2c090ca133b9aae9801c64

8 years agoMerge "TIF: Notify of a change to TvInputInfo regardless of service connection"
Jae Seo [Fri, 29 Jan 2016 02:15:56 +0000 (02:15 +0000)]
Merge "TIF: Notify of a change to TvInputInfo regardless of service connection"

8 years agoKeyboard Shortcuts UI - add shortcuts to dialog.
Andrei Stingaceanu [Wed, 20 Jan 2016 16:48:30 +0000 (16:48 +0000)]
Keyboard Shortcuts UI - add shortcuts to dialog.

This is the first UI iteration which contains elements for
displaying the keyboard shortcuts. Is is by no means final,
the following items (and maybe more) still need to be actioned:

* no UI for phone
* no view for system shortcuts (which contain icons)
* the shortcut items container needs a custom layout which
  needs to wrap and right align elements (prototype done)
* find or build an util which can produce human readable
  names of the baseCharacter and the modifiers (so far I
  found a few functions, none of them good)
* not pixel-perfect
* the scrollbar does not show
* the last separator (before the DONE button) is not
  visible

Change-Id: I0d191e9516ab8f4728f40b3eefe9d854249ee7a8

8 years agoTIF: Notify of a change to TvInputInfo regardless of service connection
Jae Seo [Thu, 28 Jan 2016 18:38:11 +0000 (10:38 -0800)]
TIF: Notify of a change to TvInputInfo regardless of service connection

Also removed unnecessary input ID in various methods

Change-Id: I50a2da924e9442312ccf16278e9123f837ec8942

8 years agoMerge "Enable logging for surface create/destroy."
Chong Zhang [Fri, 29 Jan 2016 01:27:05 +0000 (01:27 +0000)]
Merge "Enable logging for surface create/destroy."

8 years agoEnable logging for surface create/destroy.
Chong Zhang [Fri, 29 Jan 2016 01:13:47 +0000 (17:13 -0800)]
Enable logging for surface create/destroy.

bug: 26819496
Change-Id: I969b87122126df994c5bd5af177b672bcab5b7dd

8 years agoAdd AudioRecord timestamps
Andy Hung [Sat, 16 Jan 2016 01:53:47 +0000 (17:53 -0800)]
Add AudioRecord timestamps

API change

Bug: 13569372
Bug: 22886739
Change-Id: Ic250fd0c39901f4e99c58281e371f27c241b6bed

8 years agoMerge "MediaSession: Define an extra field for staying paused after play"
Donghyun Cho [Fri, 29 Jan 2016 01:15:36 +0000 (01:15 +0000)]
Merge "MediaSession: Define an extra field for staying paused after play"