141371 Commits

Author SHA1 Message Date
Jorim Jaggi
ad46ffef4b Fix blinking bug when no notifications on lockscreen.
Bug: 16044775
Change-Id: Ia8b23e8ce93194d86eb4cb809f44f8caa277550e
2014-07-05 02:37:40 +00:00
Jinsuk Kim
4ab7606f32 Merge "Removed class HdmiCec" 2014-07-02 19:52:36 +00:00
Jinsuk Kim
c0c20d0522 Removed class HdmiCec
Most of the constants in HdmiCec are internal use only. Moved them
to service, and dispersed the rest to other relevant classes.

Also moved HdmiCecMessage class to service as it doesn't need to be
open ouside the service.

Change-Id: I7b2ce3bf465330aa4d7fcd05f9aefa1e6c8b056a
2014-07-04 17:19:31 +09:00
Jinsuk Kim
96aacd2a2c Merge "Remove the usage of TX_STATUS in HdmiControlService" 2014-07-02 20:35:42 +00:00
Jinsuk Kim
cae6627702 Obtain TV power status correctly in HdmiControlService
Bug: 15845654

Change-Id: I28b97e7ecb462b4fbaf6ac573e4d0fc9fcf724da
2014-07-04 05:00:48 +00:00
Jinsuk Kim
5344cd98e6 Launch routing control in HdmiControlService at boot up
Change-Id: I918c2a0da26a7cda20ee703dfeeacae276ec8373
2014-07-04 13:57:17 +09:00
Jinsuk Kim
ba147582b1 Remove the usage of TX_STATUS in HdmiControlService
Reflects the change to come in CEC HAL

Change-Id: I3a64e19bbdd8067855911ef11653fe64049b8880
2014-07-03 08:26:44 +00:00
Sailesh Nepal
2bed9563ed Remove handoff APIs
This CL removes the old handoff APIs and renames
handoffCall() to phoneAccountClicked().

Change-Id: Iab1595faaadcdfe428d97891d314babea21e9633
2014-07-02 21:33:21 -07:00
Jinsuk Kim
0f94217e90 Merge "Add API setProhibitMode in HdmiControlService" 2014-07-02 19:52:36 +00:00
Jinsuk Kim
4d43d93743 Add API setProhibitMode in HdmiControlService
setProhibitMode sets a flag inside the service that indicates if
input switch request will be processed or not. Sets to true when
TV is doing something for which TV display should be fixed, like
channel scan, software update - collectively called 'prohibit mode'.

Change-Id: I8ac623023210b58b684b9af3ac475a5fe0d09435
2014-07-04 12:36:38 +09:00
Jinsuk Kim
09b36e2347 Fix broken build
Added the missing file

Change-Id: I96a918b6e8a368b44eb3d51cd8bfd567dbc8de94
2014-07-04 11:43:36 +09:00
Jungshik Jang
65f7c3ff20 Merge "Remove duplicated cec keycode definitions." 2014-07-02 21:09:42 +00:00
Jungshik Jang
210d73df0b Remove duplicated cec keycode definitions.
Remove keycode (ui command) defined and use HdmiCecKeycode one.

Change-Id: I9a7c4be3e5cfd561c7353b9cda715d431c00ff0c
2014-07-04 11:26:45 +09:00
Jinsuk Kim
04fd28046a Update routing control action for HdmiControlService
Added an argument queryDevicePowerStatus on which routing control action flow
should be based.

Bug: 15845652

Change-Id: Ib8a2d31792aad67289308167d07f660c3438be78
2014-07-04 02:25:41 +00:00
Jungshik Jang
517cc7f99e Merge "Remove two TODOs from HotpulgDetectionAction." 2014-07-02 21:09:42 +00:00
Jungshik Jang
26dc71e7fe Remove two TODOs from HotpulgDetectionAction.
Bug: 15844023
Bug: 15841646

Change-Id: I4022c48a9fdb1963f755895ec5ff0370157050c7
2014-07-04 11:00:18 +09:00
Jungshik Jang
40d43b27b4 Merge "Prevent press&hold for non-repeatable keycode." 2014-07-02 21:09:42 +00:00
Jungshik Jang
250cda56d2 Prevent press&hold for non-repeatable keycode.
For non-repeat keys like power or mute key Hdmi-Cec
doesn't support press&hold feature. This change sends
user control pressed immediataly if the given keycode
is non-repeatable key.

Change-Id: Id571e67d94125a8c6a3553135b8e714b721405f3
2014-07-03 10:30:13 +09:00
Jungshik Jang
7d4faa6c86 Merge "Set source address for <Polling Message>" 2014-07-02 21:09:42 +00:00
Jungshik Jang
1de514256f Set source address for <Polling Message>
CEC spec mentions that logical address allocation uses
the same address for source and destination while <Polling Message>
uses device's source address.

Bug: 16045547
Change-Id: Id18f328755501c62a98a1040b287c180cb889c9b
2014-07-03 11:14:26 +09:00
Alan Viverette
dd6ebc5a72 Update progress bar styling and labelFor attr type
BUG: 16045463
BUG: 15900514
BUG: 15936901
Change-Id: Ib84e78cd3110d36f49ea5d9fc76a4321132af9ab
2014-07-03 01:47:06 +00:00
Jeff Sharkey
6ee242a58c CleanSpec to fix build.
Change-Id: I3995214498d22fa1bdb82eb44cda2e5ca6ba02a4
2014-07-02 18:37:09 -07:00
Jeff Sharkey
d04fc42ab0 Merge "Fixing missing current api.txt related to CL/495976." 2014-07-03 01:26:58 +00:00
Tyler Gunn
ee5a7ee868 Fixing missing current api.txt related to CL/495976.
Bug: 16014224
Change-Id: Ib3b0b65caea194f458a4258a341c21d9898f24d9
2014-07-02 18:33:41 -07:00
Jungshik Jang
70d34bb485 Define force usage and category for System Audio Control.
This is to be sync with change of system/core/include/system/audio_policy.h

Change-Id: Ibd371197775fb70a96df6e3eef82ec8ae10b0508
2014-07-03 00:42:20 +00:00
Jungshik Jang
3a959fca91 Log unhandled message which has specific destination.
Broadcast message is unnecessary to log as broadcast message.

Bug: 16039302
Change-Id: Ifffc09b49bceaaf220ce929206eaecb78146016f
2014-07-03 09:34:05 +09:00
Jungshik Jang
cce5119053 Merge "Add volume callback for Hdmi-Cec system audio mode." 2014-07-02 21:09:42 +00:00
Jungshik Jang
41d974631c Add volume callback for Hdmi-Cec system audio mode.
Hdmi-Cec's system audio mode delegates audio control to
audio receiver from tv. It requires to delegate
volume change including mute to audio receiver
instead of consuming by tv.
In order to do this this change introduces three apis.
One is added to IAudioService, the others are added
to IHdmiControlService as hidden apis.

 1. IAudioService#setHdmiSystemAudioSupported;
    This is to notify system audio mode change to audio
    service so that it determines to notify volume or mute
    change to HdmiControlService.

 2. IHdmiControlService#setSystemAudioVolume;
    This is to notify volume change to HdmiControlService.
    It's called only where system audio mode is on.

 3. IHdmiControlService#setSystemAudioMute;
    This is to notify volume change to HdmiControlService .
    It's called only where system audio mode is on.

Change-Id: I3d8534b37ddf1a812e32012059a8778772044bf0
2014-07-03 10:09:32 +09:00
Jose Lima
3c23ddeb00 Merge "Consume HOME key when it is used to dismiss Dream activity" 2014-07-02 21:11:19 +00:00
Jose Lima
9546b20fcc Consume HOME key when it is used to dismiss Dream activity
Bug: 15002352
Change-Id: I0e86ec62a1a45dd1e68752d36be07355a9c6e2fd
2014-07-02 17:23:04 -07:00
Jean-Michel Trivi
6c09004ec0 Send media button events with FLAG_RECEIVER_FOREGROUND set
bug 11357318

Change-Id: Iccd000bebb31a2f6cb057e97d3ab276861d0b651
2014-07-02 21:10:43 +00:00
Jinsuk Kim
ea1e84b8ca Merge "Implement some apis for TV Input Framework and HdmiControlService" 2014-07-02 19:52:36 +00:00
Jinsuk Kim
9c37e1f53e Implement some apis for TV Input Framework and HdmiControlService
- setInputChangeListener()
- getInputDevices()

Change-Id: I6f7d6d9c7094018e2b6b5ba37f63c8ee5df00e37
2014-07-04 11:22:51 +09:00
Jorim Jaggi
8726f8a571 Merge "Pressing back when QS is open only collapses QS" 2014-07-02 19:50:27 +00:00
Jorim Jaggi
bd00310041 Pressing back when QS is open only collapses QS
Bug: 15856079
Change-Id: Ic4853cbb6569ecbd779d470e0b6911199e6bf09b
2014-07-04 01:58:04 +02:00
Ye Wen
9974690ec1 Support MMS send/download by carrier app (1/3)
Added send/download status update APIs similar to that for SMS

b/14095333

Change-Id: Ib62951a2088330bf004383945416ff6f25b28625
2014-07-03 16:54:10 -07:00
Alan Viverette
c769c1c80c Merge "Make optical insets actually work" 2014-07-02 18:55:10 +00:00
Alan Viverette
c054966b71 Make optical insets actually work
Change-Id: I9fabf4cb939cc7a868f95580e7229745acde0418
2014-07-04 01:10:38 +00:00
Yuncheol Heo
b2596e6182 Merge "Handle the power state change." 2014-07-02 20:35:42 +00:00
Yuncheol Heo
38db629d89 Handle the power state change.
- Add BrocastIntent listener to catch SCREEN_ON/OFF intents.
- Add callbacks onTransitionToStandBy(), onStandBy() in HdmiCecLocalDevice.java.
- When it gets the SCREEN_OFF intent, the state will be TRANSITION_TO_STANDBY,
  then when there is no outstanding actions, the state will be STANDBY.
- When the state is STANDBY, the TV device will broadcast <StandBy>.
- When it gets the SCREEN_ON intent, the state will be TRANSITION_TO_ON,
  then when the initialization is done, the state will be ON.
- When the state is ON and it receives <StandBy> CEC message, it will force
  the system to go to sleep.
- When the state is STANDBY and it receives the cec messages to wake-up the
  system, it will force the system to wake up from sleep.
- Manage the active source state for the playback device.

Change-Id: Ib473219a0b0deb5224df89386db5a83720000411
2014-07-04 10:33:53 +09:00
Zhijun He
9810f39717 Merge "Camera2: update spec for RAW10" 2014-07-02 18:22:50 +00:00
Zhijun He
ea1727c9e1 Camera2: update spec for RAW10
Bug: 15989722
Change-Id: Ia94e7b3080eb0d4ac088e0d4fc297f513ab2cf3a
2014-07-04 10:03:53 -07:00
Selim Cinek
0bc5a6b6b3 Merge "Fixed a bug when swiping out notifications when scrolled." 2014-07-02 19:56:47 +00:00
Selim Cinek
d7c4e004ee Fixed a bug when swiping out notifications when scrolled.
Sometimes the scrollview was scrolled too far.

Change-Id: If84cafde26853b4647dfb3ad767bca516468bbe7
2014-07-04 18:36:42 +02:00
Adrian Roos
0002a45034 Show bouncer when opening notification in occluded mode
When showing apps on top of keyguard, properly put up
a bouncer when a notification is clicked.

Bug: 15588412

Change-Id: I48bcc5cc17c32856c11e7ab28182cdc3f253ad98
2014-07-04 18:28:36 +02:00
Selim Cinek
d83771ee46 Fixed a visual stack collapsing bug
When the stack is collapsed, the second card is padded slightly
to appear as if it was in the bottom stack.

Bug: 15169254
Change-Id: I9e9418dc057ffec01c7f56358ec60bac477497a4
2014-07-04 16:56:18 +02:00
Selim Cinek
30afdcad91 Merge "Fixed a visual stack collapsing bug" 2014-07-04 08:06:25 +00:00
Jorim Jaggi
b572e4c777 Merge "Clean up user activity handling" 2014-07-04 08:06:25 +00:00
Jorim Jaggi
7e6c3bf2f6 Merge "Ability to dismiss lockscreen with space key" 2014-07-04 08:06:25 +00:00
Jorim Jaggi
3425076973 Ability to dismiss lockscreen with space key
Bug: 15408717
Change-Id: Ie3fce8654759f2ab45cd061e64aee311cd5d58d0
2014-07-04 15:48:16 +02:00