147315 Commits

Author SHA1 Message Date
Jungshik Jang
5f75cbd859 Use message validator for sending message.
Change-Id: I2ff82c5596e8c78c24189199ede66ee9905b95f5
2014-08-07 12:02:29 +09:00
Jungshik Jang
9b5bd967e4 Merge "Rename HdmiCecDeviceInfo into HdmiDeviceInfo." into lmp-dev 2014-08-04 23:56:40 +00:00
Paul Jensen
eec75412a9 Stop ConnectivityService from talking to netd about uncreated networks.
This avoids logged netd errors that are red-herrings.

bug:16667349
Change-Id: I5d6f1681f1d38dab0af4c535573a0c45c0216603
2014-08-07 02:44:51 +00:00
Jungshik Jang
61f4fbd2e8 Rename HdmiCecDeviceInfo into HdmiDeviceInfo.
In order to include mhl device info to device info,
rename HdmiCecDeviceInfo into HdmiDeviceInfo.

BUG: 16215362

Change-Id: I30fb0216061fbbdd6fdc1b82c63af83f1b678597
2014-08-07 11:14:15 +09:00
Paul Jensen
8043df68bf Merge "Flush DNS cache when routes change." into lmp-dev 2014-08-06 21:46:55 +00:00
Paul Jensen
5fb2c6ffe7 Flush DNS cache when routes change.
We used to do this but the change got lost in the NetworkAgent
upgrade.  This brings it back.  ConnectivityService has netd do
the actual flushing.

bug:16549455
Change-Id: I11ddd55fcb9d1ed1d2c6a9be7eb8c57e41bdbdb8
2014-08-06 22:39:40 -04:00
Paul Jensen
b69a3a8eaa Revert DNS cache flush command deletion from "Cleanup: Delete dead code."
This reverts part of commit 7a161c535104555890fa78b99faf1f414fc03e85.
The DNS cache flushing code needs to be called when routes change.

Change-Id: I20d39eabfa088deeeeeff0c3292b1910fd948b0d
bug:16549455
2014-08-06 15:34:26 -04:00
Paul Jensen
306f1a45c6 Add back in ACTION_NETWORK_CONDITIONS_MEASURED broadcast.
This broadcast used to be sent out by the now defunct CaptivePortalTracker.
Begin sending it out again from the NetworkMonitor who now tests for
captive portals.

Change-Id: Ia33beb04e78cfc4fc042c3b999a3d4e2f9ba4c96
2014-08-06 15:22:02 -04:00
Paul Jensen
e547ff2810 Use OkHTTP instead of my home-made HTTP, for network validation.
The home-made version was only done because there was no previous way to
perform network-specific HTTP.  The home-made version has already shown
incompatibility, see linked bug.

bug:16316314
Change-Id: Ic9e50174552d1466eb1ff59ff9d28e18035cc3e0
2014-08-06 15:17:54 -04:00
Svetoslav
dd712a70c8 Merge "Fix NPE in device policy manager service." into lmp-dev 2014-08-05 00:35:13 +00:00
Svetoslav
318f91b784 Fix NPE in device policy manager service.
Change-Id: I796359f903077eb0ef825ed926557f1a13b2e4c4
2014-08-06 19:05:57 -07:00
Alan Viverette
dbed893ba8 Preserve surface insets when view layout is updated
Also makes canvas save & restore in threaded renderer a little safer.

BUG: 16654228
Change-Id: Ie0d49450ed408cffd0b859c08e524b6f904c77ca
2014-08-07 01:01:17 +00:00
Svet Ganov
67739a3a19 Merge "Fix regression in remote views." into lmp-dev 2014-08-05 00:35:13 +00:00
Svet Ganov
0da85b6c90 Fix regression in remote views.
Now remote views contain the application info for the app on whose
behalf they should show content. The application info contains the
user id and the package name which makes it unique in the multi
user environment. If the app which creates the remote views does
not have the same package as the one passed in the contructor of
the remote views, we lookup the app info for the target package.
There is a special hidden overload that allows creating a remote
views instance that represents an app in given package and user
(requires interact across users) permission. The latter is used
by SystemUi when creating remote views for apps that posted a
notification.

bug:16838651

Change-Id: I2daa974629f89a2446848e59300d994dadcf4439
2014-08-07 00:30:44 +00:00
Jorim Jaggi
5557e65b20 Merge "Fix hints for tablet lockscreen." into lmp-dev 2014-08-06 23:49:14 +00:00
Jorim Jaggi
62defa3a87 Fix hints for tablet lockscreen.
Change-Id: I5f304e2da36467bee8306f611adda30f6dc34b3c
2014-08-07 02:25:37 +02:00
Jeff Sharkey
fbd0e9fa37 Surface user action events when un/installing.
This will be used shortly to connect up with permissions
confirmation UI.

Bug: 16515814
Change-Id: If28cecc28549900d960ac107a1fba0b10ce5bd7b
2014-08-07 00:23:54 +00:00
Jorim Jaggi
0b75f83f14 Fix constant redrawing on Keyguard issue.
Change-Id: I48d7d746a6f4e737c0292e9f1d4becc5eb6d6294
2014-08-07 02:20:27 +02:00
Adam Lesinski
14e15fe4ab Merge "Modify base Configuration used for aapt dump badging" into lmp-dev 2014-08-06 21:46:55 +00:00
Youngsang Cho
5caf1e8dda Make caption setting consistent across sessions
Change-Id: I7cb8ab109188b9f78cceb1025339bce98c776052
2014-08-07 00:48:50 +00:00
Adam Powell
098e7fb587 Have TextView editors use the Menu context for action mode icons
Using the TextView's context instead when resolving these icons from
the theme causes issues if a dark action bar theme is in use.

Bug 16686041

Change-Id: I44cb4a83516d8610103b6ebaf604860b67ac84dd
2014-08-06 17:35:17 -07:00
Jorim Jaggi
905857f1b8 Merge "Fix constant redrawing on Keyguard issue." into lmp-dev 2014-08-05 00:35:13 +00:00
Paul Jensen
6ac5db5777 Merge "Revert DNS cache flush command deletion from "Cleanup: Delete dead code."" into lmp-dev 2014-08-05 00:19:02 +00:00
Paul Jensen
0a9aae3e29 Merge "Add back in ACTION_NETWORK_CONDITIONS_MEASURED broadcast." into lmp-dev 2014-08-05 00:35:13 +00:00
Paul Jensen
ab14df37ab Remove dead CaptivePortalTracker.
Captive portals are now detected by the NetworkMonitor.

Change-Id: Ibfb04bf83b1028231397a577468f110d7ab1dc06
2014-08-07 02:32:54 +00:00
Paul Jensen
e6499b7921 Merge "Use OkHTTP instead of my home-made HTTP, for network validation." into lmp-dev 2014-08-05 00:19:02 +00:00
Jinsuk Kim
58956a5569 Merge "CEC: Hide CEC devices behind non-CEC switch" into lmp-dev 2014-08-05 00:07:36 +00:00
Jinsuk Kim
4fdd0f47bc CEC: Hide CEC devices behind non-CEC switch
CEC devices connected to a non-CEC switch are not under full control
of TV. Will be filtered out from the list of devices provided to TIF.

Bug: 16797838
Change-Id: I8f8ff3a33ddeeb0a2877ca0e596a24096e648879
2014-08-07 10:36:30 +09:00
Alan Viverette
ec9d464a59 Update branding colors
BUG: 16845793
BUG: 16851916
Change-Id: I79a15752b5dda8f3c9f159826c61e3d2a6c8bd48
2014-08-07 01:13:23 +00:00
Sungsoo Lim
022e7cc298 Merge "TIF: Add content ratings for Australia" into lmp-dev 2014-08-04 23:56:40 +00:00
Sungsoo Lim
1fd38bd996 TIF: Add content ratings for Australia
Reference: http://www.classification.gov.au/

Change-Id: I79a85124df7e06418ff95ca39ef1db98a83c5af1
2014-08-06 15:11:26 +09:00
Youngsang Cho
ac8c3d3358 Merge "Remove a Handler constructor parameter Looper in TIS" into lmp-dev 2014-08-05 00:07:36 +00:00
Youngsang Cho
3d13aec546 Remove a Handler constructor parameter Looper in TIS
getMainLooper() returns null in the variable initialization phase.

Change-Id: Iebe52eac8955c0a8394501575f90ff6f2825451c
2014-08-06 15:44:35 +09:00
Youngsang Cho
ff04ae757a Add a method in TIS to relayout SurfaceView
Bug: 15389458
Change-Id: I7f740141e7cf59fea5d321099652e65bc9e5f7d1
2014-08-06 14:53:28 +09:00
Jungshik Jang
d57ba99a5a Merge "More tweaks for recording" into lmp-dev 2014-08-05 00:07:36 +00:00
Brian Carlstrom
40c89a087b Remove java.lang.reflect.ArtMethod accidentally added in ad601d76e820ba680b14b7016d2e79763b7f4663
Change-Id: Ib01118d950e7cfe91c87a34489c51777262125bf
2014-08-05 21:09:29 -07:00
Jungshik Jang
e9e0f070e3 More tweaks for recording
1. Mask TimerClearedStatus message result.
2. Use proper mask for media info.

Change-Id: I7ed6f6839c333460a7bef5e5a84af2a9a34c6d97
2014-08-05 18:03:03 +09:00
Youngsang Cho
887ad97ebe Merge "Add a method in TIS to relayout SurfaceView" into lmp-dev 2014-08-05 00:03:09 +00:00
Jae Seo
9551e92507 TIF: Add explanation for TvView
Bug: 16801733
Change-Id: I8fa81a850d1e29f32fdb6caa4bd3dc4b2668e18a
2014-08-05 23:09:13 -07:00
Dongwon Kang
65dc05248e Merge "TIF: Add content rating system for Spain" into lmp-dev 2014-08-05 00:03:09 +00:00
Dongwon Kang
b1caf4d817 TIF: Add content rating system for Spain
References:
 - http://codigodeautorregulacion.rtve.es/senalizacion-de-los-programas/advertencias-opticas/
 - http://en.wikipedia.org/wiki/RTVE

Change-Id: Icdde8a7f8cfb07cc4f768f95ba764ae6a519e347
2014-08-06 11:48:45 +09:00
Aravind Akella
99fe165082 Sensor related changes for NDK.
i) Add ASensor_isWakeUpSensor and ASensorManager_getDefaultSensorEx
        methods.

Bug: 16399898
Change-Id: Icc252aad068fa337bef8b22f20584f98cd5a155d
2014-08-05 19:34:04 -07:00
Dongwon Kang
66b9e91801 TIF: make TvInputService.Session class static
This change would make the developers freely extend the Session class
out of the TvInputService class.

Change-Id: I7dc9501c771a6e4dcfcceeb1b294b95e612596eb
2014-08-06 11:15:30 +09:00
Michael Wright
3f145a2f95 Add supported refresh rate to displays
Change-Id: I51231dd6dd231d57dd1ac499349d6335121f07d5
2014-08-06 02:03:49 +00:00
Wonsik Kim
06c41a3e7f TIF: TvInputHardwareManager to listen to audio port changes
Bug: 16758816
Change-Id: I0c7ace661de1911a53f57e22898eccd7cca7a07d
2014-08-06 10:56:03 +09:00
Ihab Awad
5d0410fa7c Finalize implementation of Remote Connection Service (1/4)
Change-Id: I3788c9ab03a979f22ab628637adf6d520038cb6e
2014-08-05 18:21:26 -07:00
Youngsang Cho
55a684a82d Merge "Add system APIs to set Z-order of TvView" into lmp-dev 2014-08-05 00:07:36 +00:00
Youngsang Cho
bf0a4eb158 Add system APIs to set Z-order of TvView
Bug: 16723028
Change-Id: I43c840ca2065920360859f8814a0c76ab2937ac1
2014-08-06 10:01:08 +09:00
Jeff Sharkey
fa5ec770ec Use system collator for display names.
Continue sorting directory names first, but use system collator in
case-insensitive ordering.

Bug: 13545569
Change-Id: I24b314c9ef42f397bc96f474d9593bdefc0061d1
2014-08-06 00:56:45 +00:00
Adam Powell
11a6ddbb6e Merge "Fall-through for ActionModes with ToolbarActionBar" into lmp-dev 2014-08-05 00:15:52 +00:00