144177 Commits

Author SHA1 Message Date
Raph Levien
3e30b782f2 am 20af8a1b: Merge "Fix docs build breakage in #TextView_letterSpacing" into lmp-dev
* commit '20af8a1b93fce7783b804349d809948714f59676':
  Fix docs build breakage in #TextView_letterSpacing
2014-07-25 11:50:44 +00:00
Jinsuk Kim
70bbc48bd2 am 885c07cf: Merge "Add portID information in HdmiCecDeviceInfo" into lmp-dev
* commit '885c07cfda7a5b93b5d58bcbba79f5e4b5d8592f':
  Add portID information in HdmiCecDeviceInfo
2014-07-25 04:07:53 +00:00
Santos Cordon
d131552313 am 91c55878: Add more disconnect causes 1/4
* commit '91c558784bcea7f2d5e6fd12f3dffdfebffd24d6':
  Add more disconnect causes 1/4
2014-07-25 03:20:04 +00:00
Santos Cordon
9d0f7c4fbc Add more disconnect causes 1/4
Bug: 15692074
Change-Id: Ib94c33fac8450b70e53dbe12d71f41777e9e140c
2014-07-25 03:16:00 +00:00
Jungshik Jang
05509923f8 am d0af31ad: Merge "Replace osd message for record status with IHdmiRecordCallback." into lmp-dev
* commit 'd0af31adc4e0f8d83f5c9735f3de1f1b3d134ce9':
  Replace osd message for record status with IHdmiRecordCallback.
2014-07-25 02:39:51 +00:00
Christopher Tate
2dffa16ab9 am bfe49860: Merge "A couple of restore fixes:" into lmp-dev
* commit 'bfe4986027d9d55e9fee5a3ecb646c9b8ca66208':
  A couple of restore fixes:
2014-07-25 02:22:20 +00:00
JP Abgrall
09181302f3 am ff941249: MountService: Fix android.process.media crash repeatedly problem
* commit 'ff941249651b2079498b39afcc30acbeaa520736':
  MountService: Fix android.process.media crash repeatedly problem
2014-07-25 02:21:58 +00:00
Michael Wright
3fe58d7f70 am f5f90d6c: Merge "Flip the permissions checks for video capture." into lmp-dev
* commit 'f5f90d6c2e7adbdd92807f8b7f868c4a1940a6bc':
  Flip the permissions checks for video capture.
2014-07-25 02:21:55 +00:00
Craig Mautner
8f16b72be7 am 89539ae5: Create end of animation callback for Activity
* commit '89539ae54c8d04e83d45b63286b57d76a5a6e9b0':
  Create end of animation callback for Activity
2014-07-25 02:21:47 +00:00
Dongwon Kang
368eb97bc7 am 734c3632: Merge "Remove COLUMN_CONDITIONAL_ACCESS from TvContract." into lmp-dev
* commit '734c3632e26902bef65724ad3a46eaf42209e51a':
  Remove COLUMN_CONDITIONAL_ACCESS from TvContract.
2014-07-25 02:21:44 +00:00
Svetoslav
877d99c082 am eba159ac: Improve the window query API performamce.
* commit 'eba159ac299df388b9e6d06977b0e0e661c1cbf8':
  Improve the window query API performamce.
2014-07-25 02:21:40 +00:00
Aravind Akella
f478e327d4 am 3e826b78: Merge "Define TYPE_PICK_UP_GESTURE." into lmp-dev
* commit '3e826b78744d8fa5e056b34e7f19d42fc3f6d571':
  Define TYPE_PICK_UP_GESTURE.
2014-07-25 02:21:37 +00:00
Jeff Davidson
e03f3d5c66 am e560abdb: Merge "Fix system API stub build." into lmp-dev
* commit 'e560abdb21f251211db85d55a69f55f541b5ecb9':
  Fix system API stub build.
2014-07-25 02:21:34 +00:00
Terry Heo
7f69412a48 am 00f7c573: Merge "TIF: Add @SystemApi to TvStreamConfig" into lmp-dev
* commit '00f7c5732f175fe52c3b56db83c665c0969fdf40':
  TIF: Add @SystemApi to TvStreamConfig
2014-07-25 02:21:30 +00:00
Dongwon Kang
e485e2a03e am 84745dd1: Merge "Disable TvInputManagerService on non-TV devices." into lmp-dev
* commit '84745dd11aad700733ff316d4d6797c2e543aa08':
  Disable TvInputManagerService on non-TV devices.
2014-07-25 02:21:27 +00:00
Alan Viverette
9e37c3eb33 am a2734dd1: Fix preference panel style in DialogWhenLarge
* commit 'a2734dd105148c73022ecf12d3ad42a920aa96ee':
  Fix preference panel style in DialogWhenLarge
2014-07-25 02:21:23 +00:00
Zhijun He
a9501cade7 am 1ecdeb58: Merge "MediaFormat: add capture rate key" into lmp-dev
* commit '1ecdeb58acc8f7e13b91eefc157607b8c3cf1f96':
  MediaFormat: add capture rate key
2014-07-25 02:21:20 +00:00
Christopher Tate
6b3e06ea53 am 1cf19dc7: Turn on debugging override of idle time
* commit '1cf19dc7d155b5cce9302eda0c26024d3f309736':
  Turn on debugging override of idle time
2014-07-25 02:21:17 +00:00
Alan Viverette
c0e53159ec am 1e99a383: Merge "Clip windows to their background by default" into lmp-dev
* commit '1e99a38308a6020a6d2d2be1a6adf867641e7776':
  Clip windows to their background by default
2014-07-25 02:21:13 +00:00
Alan Viverette
f340398911 am b3ce5a3d: Merge "Fix radio button tints" into lmp-dev
* commit 'b3ce5a3d1af3921757714c942312ef6860a7f893':
  Fix radio button tints
2014-07-25 02:21:05 +00:00
Sungsoo Lim
c0313ddd92 am 3a8aca9d: Merge "Call removeOverlayView() before onRelease()" into lmp-dev
* commit '3a8aca9dfbe20fece7a54852d48d099cfdc980c8':
  Call removeOverlayView() before onRelease()
2014-07-25 02:21:01 +00:00
Alan Viverette
95099c6496 am 9f4238ef: Merge "Separate background from ripple for better focus/press UX" into lmp-dev
* commit '9f4238ef00a933eb8136c1e229a7700a822fb01d':
  Separate background from ripple for better focus/press UX
2014-07-25 02:20:58 +00:00
JP Abgrall
5f054cea32 MountService: Fix android.process.media crash repeatedly problem
When the framework restarts because of certain exception, the
external volume id will disappear. At this time, mount service
will issue "volume list" command to vold to get the status of
each storage.

The fix is to re-broadcast the uuid and user label again via
vold "volume list broadcast" command.

Bug: 16253597
Bug: 16306775
Change-Id: I227e8bc597a4f5338035d3401036490f14557211
2014-07-25 02:05:36 +00:00
Craig Mautner
8746a478ab Create end of animation callback for Activity
Activities cannot draw while their entering animations are active.
This change introduces a callback, onEnterAnimationComplete() so
that activities can know when their draws will be effective.

Fixes bug 13658460.

Change-Id: Ic48540cd4c7e37538f10cb2dc0852aa3f55d11e1
2014-07-25 01:35:02 +00:00
Svetoslav
a4725efd0b Improve the window query API performamce.
We are caching the window data in the accessibility service process.
When windows change we were sending the dalta of the windows the
service knows about. To make this work when the app asked for all
windows we had to call into the system as new windows may have
appeared. This was slow.

Now we are telling the service some windows change and if it gets
the windows we cache them. We call into the system only on a cache
miss and evict all windows from the cache on window change event.
We do not evict the nodes of the window as the former may have
just moved. If views in a window change they fire accessibility
events that trigger the correct eviction.

Change-Id: I586a72a2497b0d44a75288fa758e7e88817f3300
2014-07-25 01:17:02 +00:00
Alan Viverette
50418d3a44 Fix preference panel style in DialogWhenLarge
BUG: 16550946
Change-Id: Ic419c9f6328b50383ca0ad09a1c1014129256b99
2014-07-25 01:02:04 +00:00
Christopher Tate
b9583c9d93 Turn on debugging override of idle time
'adb shell am idle-maintenance' has traditionally been used to force
the system to consider itself to be in an "idle" state.  Unfortunately
the new Job Manager hadn't yet been aware of this.  Rectify the situation.

Also fixes a bug in debug logging that would cause a system server
crash under certain race circumstances.

Change-Id: I8a29bd7757924f8e464865235c344233fc03d8c3
2014-07-25 00:30:07 +00:00
Sreeram Ramachandran
957a089a3f am f5aef029: Merge "Don\'t create a ConnectivityManager when the service isn\'t ready yet." into lmp-dev
* commit 'f5aef029de32103cd5b80b2e4bf34936a1031b59':
  Don't create a ConnectivityManager when the service isn't ready yet.
2014-07-24 23:39:58 +00:00
Chet Haase
b60b005baa am 1d1aaccb: Fix corner case of RelativeLayout with pinned edges
* commit '1d1aaccbce6275579c47872885ecc8994da823e0':
  Fix corner case of RelativeLayout with pinned edges
2014-07-24 23:35:40 +00:00
Eric Laurent
3c6794e7c3 am e813d7e8: Merge "AudioService: implement TV system volume" into lmp-dev
* commit 'e813d7e85825aae643c42f65dc86dca69ddd8efe':
  AudioService: implement TV system volume
2014-07-24 23:31:28 +00:00
wsmlby
da408a9b1a am 3966942e: Merge "Add memory tracking for persistent proccesses and launcher" into lmp-dev
* commit '3966942e4c2b32669926a84ad17640a75e3f209d':
  Add memory tracking for persistent proccesses and launcher
2014-07-24 23:31:24 +00:00
Amith Yamasani
c475b7fe0c am 8fdfdbbb: Call PRE_BOOT_COMPLETED on starting any user
* commit '8fdfdbbb60b484a0b43628b544a398c9a4949e5c':
  Call PRE_BOOT_COMPLETED on starting any user
2014-07-24 23:31:21 +00:00
Chelsea Derrick
fe7f92d730 am 2b59d6ad: Merge "Also unhide WifiConfiguration.lastUpdatedUid." into lmp-dev
* commit '2b59d6adee00bae635b42d8a9f30907770f0424a':
  Also unhide WifiConfiguration.lastUpdatedUid.
2014-07-24 23:31:17 +00:00
Chet Haase
28308e8494 Fix corner case of RelativeLayout with pinned edges
LayoutParams without a specified layout_width value automatically
get a default of 0. This works in most cases, when the view is pinned by
various constraints (such as alignParentLeft and alignParentRight),
but breaks down when the child lies in negative coordinates.

Negative coordinates are supposed to be a signal, in RelativeLayout, that
that coordinate is variable. However, negative margins can cause a negative
value to be calculated, at which point it should be used as a concrete value,
not a behavior trigger.

The fix is to use Integer.MIN_VALUe as the tirgger instead, to distinguish that
impossible value from negative values which could reasonably have been computed
during measurement.

Also, removes dead code from earlier attempt at rtl.

Issue #10606777 Time picker can't display 10, 11, or 12 oclock when font size is huge
Issue #16516577 resolveLayoutDirection doesn't act as intended

Change-Id: Ia564603012f3c45636e69cd3776205fb544fda48
2014-07-24 23:28:20 +00:00
Amith Yamasani
422570ea3f Call PRE_BOOT_COMPLETED on starting any user
Refactor PRE_BOOT_COMPLETED delivery code.
Continue to call it on all existing users on system update.
Call it on any user being started, as part of
initialization.

Change-Id: Ie188a823fb19afde3781d6c45ada55d6e92edfac
2014-07-24 23:24:38 +00:00
Behdad Esfahbod
9fed8eb505 am ed160c28: Merge "Add letter-spacing to Paint and TextView" into lmp-dev
* commit 'ed160c281f3eda7ccd26e48eed29e2424da5e7ee':
  Add letter-spacing to Paint and TextView
2014-07-24 23:00:02 +00:00
Prashant Malani
b2abdcb7c2 am 16d220d9: Merge "resolved conflicts for merge of bc3699b1 to lmp-dev" into lmp-dev
* commit '16d220d9eea3a981a200208476ee863ade6e248d':
  Revert "Remove circular mask"
2014-07-24 22:46:53 +00:00
Jeff Davidson
d127367c40 Merge "Fix system API stub build." into lmp-dev 2014-07-24 22:43:15 +00:00
Jeff Davidson
2302049679 Fix system API stub build.
TvInputManager.captureFrame is @SystemApi and depends on
TvStreamConfig which must also be made @SystemApi.

Change-Id: I8a4a10d77d4cfb80674c4ac8aa7a8ed119881aa0
2014-07-24 18:06:56 -07:00
Eric Laurent
a32ea3b4d4 Merge "AudioService: implement TV system volume" into lmp-dev 2014-07-24 22:43:15 +00:00
Eric Laurent
212532b58e AudioService: implement TV system volume
Implement volume policy for TV devices:
- No ringer mode: never silent
- All stream volumes are synchronized: changing any
stream volume will change the volume for all sources.
- Volume is maintained per output device.
- If a CEC capable HDMI sink is connected, digital volume
is maxed out and volume controls are sent to HDMI sink.

Bug: 15759753.

Change-Id: Ic4c38c749ef0440def9635a1669068ccef02a323
2014-07-24 23:24:26 +00:00
Selim Gurun
ab29dfe7c1 am 773433af: Merge "Address API review" into lmp-dev
* commit '773433af8196217e744752bdcd18be3b632a6f38':
  Address API review
2014-07-24 22:42:44 +00:00
John Spurlock
183d10b162 am a20b6388: Merge "QS: Handle all camera api exceptions during init." into lmp-dev
* commit 'a20b63882407656b01062088861071e4a9ebe380':
  QS: Handle all camera api exceptions during init.
2014-07-24 22:17:54 +00:00
Raph Levien
1d97d39879 Merge "Fix docs build breakage in #TextView_letterSpacing" into lmp-dev 2014-07-24 22:06:48 +00:00
Raph Levien
40d83df87e Fix docs build breakage in #TextView_letterSpacing
This patch removes the @hide annotations and public reference from the
new letterSpacing attribute, so the docs will build. It's still not an
ideal state because a test app can't find the attribute, but at least it
unbreaks the build.

Change-Id: I5425fbe3d63f7a759fabe43bd2136196c7112eed
2014-07-24 22:46:09 -07:00
Zhijun He
dd3bcd7bb7 Merge "MediaFormat: add capture rate key" into lmp-dev 2014-07-24 22:06:48 +00:00
Zhijun He
86c545ea8c MediaFormat: add capture rate key
Change-Id: I2f7dd244d41d52aab6a172ae5df3e1fce3edd694
2014-07-25 00:52:42 +00:00
Alan Viverette
ccf9fca471 Merge "Clip windows to their background by default" into lmp-dev 2014-07-24 22:06:48 +00:00
Alan Viverette
07470537df Clip windows to their background by default
BUG: 16549166
Change-Id: I4ed0f60316df02b6ee56e163ad25e27e1396a6ae
2014-07-24 16:18:53 -07:00
Alan Viverette
366c693b60 Merge "Fix radio button tints" into lmp-dev 2014-07-24 22:06:48 +00:00