148374 Commits

Author SHA1 Message Date
Jungshik Jang
cf445877c6 Use id to find proper HdmiDeviceInfo instead of ojbect itself.
TvInputHardwareManager manages internal device info and update
it by remove or add method of List collection. However,
HdmiDeviceInfo overrides equals method and remove may not work
if incoming HdmiDeviceInfo has different power status.
Instead, this change iterates all HdmiDeviceInfo and compares
id of HdmiDeviceInfo.

Bug: 17145753
Change-Id: Ia5de3e33cf05b28fa2bd108d99e78de09b838fb3
2014-08-20 15:06:01 +09:00
Jinsuk Kim
9727b33297 Merge "CEC: Hook up device select API to MHL device RAP" into lmp-dev 2014-08-16 04:25:55 +00:00
Jinsuk Kim
87f22a2870 CEC: Hook up device select API to MHL device RAP
This lets the input selection on UI perform MHL RAP signalling, and
CEC routing control.

Bug: 17141884
Change-Id: Ic1605175c5779a9a3c43df954baf9fdb6f154d36
2014-08-20 12:35:32 +09:00
Jungshik Jang
5ba6906768 Merge "Clean up MHL local devices when HdmiControlService turns into disabled state" into lmp-dev 2014-08-16 04:12:14 +00:00
Jungshik Jang
2738e2d872 Implement missing mhl apis
1. get_supported_features
2. get_ecbug_device_rols
3. set_option in native.
4. get_mhl_version
5. get_peer_mhl_version
6. send_scratchpad_command
 - it includes send_scratchpad_command but does not include
  java side implementation. It will be added when we implement
  scratchpad.

Bug: 17096490

Change-Id: Iacb4a41234cbbd2d832908b48d188bd81a301b0f
2014-08-20 10:11:34 +09:00
Jungshik Jang
350e68d0b8 Clean up MHL local devices when HdmiControlService turns into disabled state
Bug: 17122583
Change-Id: Id8f17faf9891952c762f86b46a89732f1497c5fc
2014-08-19 18:56:21 +09:00
Ji-Hwan Lee
15c56aac98 TIF: Call setMain(false) when session is released.
Also, rename setMainTvView() and setMainSession() to setMain(), except
ITvInputManager.

Change-Id: I586e3fd42720f07a75d6f31b1ee955ce5c29dd68
2014-08-19 06:11:04 +00:00
Jinsuk Kim
8809f1e547 Merge "CEC: Invoke events listener upon MHL device state change" into lmp-dev 2014-08-16 04:25:55 +00:00
Andrew Solovay
fc6b01f463 am eb60d0f1: am 94174ff7: am 8319455a: Merge "docs: Documented new fields returned by getSkuDetails()." into klp-modular-docs
* commit 'eb60d0f1937392351ef81f10b651749bd47f7898':
  docs: Documented new fields returned by getSkuDetails().
2014-08-19 05:52:57 +00:00
Jinsuk Kim
ed0864557b CEC: Invoke events listener upon MHL device state change
With this change, mobile devices state changes are propagated through
TIF to UI, hence the input pickers shows the mobile devices as
expected.

Bug: 16986744
Change-Id: Id633207acf4f814f57d43cc1de5f8cb88ac23ad6
2014-08-19 13:41:51 +09:00
Terry Heo
03861d0721 Merge "CEC: Handle Remote Control command" into lmp-dev 2014-08-16 04:12:14 +00:00
Terry Heo
3e1564ee39 CEC: Handle Remote Control command
Generate an Android key event when a UserControl message is received.
And report menu state active when a MenuRequest message is received to
notify sender can send a UserControl message.

Bug: 16938007
Change-Id: Id8f393dc254508b9e7a6fa203f8e817fbe807e38
2014-08-18 16:09:10 +09:00
Terry Heo
a890ec19d0 Merge "CEC: Fix JNI initialization error of HdmiMhlController" into lmp-dev 2014-08-16 04:12:14 +00:00
Terry Heo
4926b87243 CEC: Fix JNI initialization error of HdmiMhlController
Correct signature of nativeSendScratchpadCommand.

Bug: 17096490
Change-Id: I9694cb3b10724e34d507588fc3946318bb378398
2014-08-20 03:26:47 +00:00
Jaewan Kim
67d666f604 Merge "Fix NPE when passing null TvContentRating" into lmp-dev 2014-08-16 04:12:14 +00:00
Jaewan Kim
a42be3c950 Fix NPE when passing null TvContentRating
Change-Id: I80b0ca60b1623356fd39015521b50ae9f1eaef07
2014-08-19 11:55:07 +09:00
Dongwon Kang
79fc32794c Merge "TIF: verify the hardware input ID from getHardwareInputId()." into lmp-dev 2014-08-19 02:08:36 +00:00
Dongwon Kang
911d0827ca TIF: verify the hardware input ID from getHardwareInputId().
This will prevent an input from displaying other tuner inputs.

Change-Id: I77a6b99599eac4a9048a12e2928bc16b34d94343
2014-08-18 23:33:26 +00:00
John Spurlock
03374ccc4c Merge "QS: Enhance color inversion tile usage detection." into lmp-dev 2014-08-16 04:03:42 +00:00
John Spurlock
e1f653350e QS: Enhance color inversion tile usage detection.
- Detect all setting changes, not only when "listening".
 - Handle the case where the setting was turned on when SystemUI
   was not running.

Bug:17107137
Change-Id: I7de098bdf52695166a8893461ba706bad05050bc
2014-08-18 15:37:59 -04:00
Kenny Guy
545de86fca Merge "First part of renaming methods in LauncherApps." into lmp-dev 2014-08-16 04:29:45 +00:00
Selim Cinek
90c946583d Properly announcing the shade state for accessibility
When we are entering / leaving quicksettings, accessible
users are now informed about the state change.
Also fixed a bug where the lockscreen was called notification
shade.

Bug: 15696654
Change-Id: I39d8ad3367c424ec5f9a3795be46d4785a19bbee
2014-08-19 10:48:56 +00:00
Selim Cinek
29e3080a6f Merge "Fixed accessibility issues with quick settings" into lmp-dev 2014-08-16 04:36:37 +00:00
Selim Cinek
e5557a972c Fixed accessibility issues with quick settings
The dual mode tiles now have better accessibility descriptions,
where the label is now seperate from the clickable button.
Also fixed an anouncment problem with the battery indicators.
Finally fixed an issue where GPRS null was anounced when no signal
was available.

Bug: 15682124
Bug: 15696954
Change-Id: Ica2b70173e64d51747b100d0b686875fc8076e6f
2014-08-18 22:32:34 +02:00
Esteban Talavera
12450c72eb Merge "Add cross profile intent in order after intent filter resolution" into lmp-dev 2014-08-16 04:36:39 +00:00
Esteban Talavera
54edd1cdc4 Add cross profile intent in order after intent filter resolution
The elements returned by queryIntentActivities must be in order, as specified in the Javadoc. Otherwise the ResolverActivity will incorrectly filter out intents if they follow another intent with lower priority than the ones that will be shown to the user.

Bug: 15906680
Change-Id: I755e05d3017ee124cbae468f51fa86cfdf42b483
2014-08-18 14:11:47 +01:00
Jason Monk
9b4d6dd3db Merge "Add hotspot tile to defaults" into lmp-dev 2014-08-16 04:03:42 +00:00
Jason Monk
15eb388fc5 Add hotspot tile to defaults
So that it can show up on devices.

Bug: 17151619
Change-Id: I9fe8697dfa099ede3b17098b85beecaaed656ecf
2014-08-20 10:23:48 -04:00
Winson Chung
dd7930354a Merge "Adding shadows to the focus state and fab button. (Bug 16950262)" into lmp-dev 2014-08-16 04:03:42 +00:00
Winson Chung
f95c7f5727 Adding shadows to the focus state and fab button. (Bug 16950262)
- Fixing regression where we weren't resetting the dim colors properly.

Change-Id: Ib95cc96d40f80bc22b7ecd7c816d5cbaa9b592c5
2014-08-19 20:45:37 +00:00
Winson Chung
abedcab44c Small tweaks to the stack curve and header transition. (Bug 16656169)
Change-Id: I96120063a66f267ad0b6a39b3dd020bc030083b8
2014-08-19 20:45:36 +00:00
Adam Lesinski
1bd805c943 Merge "Add Shell command to set AppOps permissions" into lmp-dev 2014-08-19 02:43:23 +00:00
Adam Lesinski
b5cf61be7c Add Shell command to set AppOps permissions
Change-Id: I6446543b27f0d2d2e69590a2807e713c6d5ccbbc
2014-08-19 11:27:19 -07:00
Amith Yamasani
7376a44b57 Merge "Rephrase the Exit guest action and dialog text" into lmp-dev 2014-08-19 02:43:23 +00:00
Amith Yamasani
e5b274ac61 Rephrase the Exit guest action and dialog text
Exiting guest session -> Removing guest?
Buttons = Cancel / Remove

Bug: 16495144

Change-Id: I3952e0818fa03edff6f9131a32e6469cbaa27b85
2014-08-18 21:01:22 +00:00
Adrian Roos
d47ad033c3 Fix bars jumping to black on activity launch
During animations, the wallpaper crop is the
union of the start and end crop. This prevents
the system bars from jumping to black when an
activity with opaque bars is launched.

Bug: 16441036
Change-Id: Ic0f3bc2e83b9830514a3456a27ae6f23716f3240
2014-08-18 14:37:18 +00:00
John Spurlock
c2c8242194 Merge "Volume: Shave 12dp off of the volume dialog." into lmp-dev 2014-08-16 04:03:42 +00:00
Adrian Roos
4a4101714d Only show face unlock indication if it applies
When trust is not managed or the indication is set for
a different than the current user, don't show it on the
lock screen.

Bug: 17034124
Change-Id: Ia470520d6bd05db8417b3b0bb1f55894f791554e
2014-08-20 19:54:21 +00:00
John Spurlock
4e3eb1a2d3 Volume: Shave 12dp off of the volume dialog.
Bug:17004538
Change-Id: If1eb12a2bd4035b971347a27d000f90f8a2361a2
2014-08-20 15:54:19 -04:00
Julia Reynolds
afe7a2c9c3 Merge "Prevent profile owners from setting certain user restrictions." into lmp-dev 2014-08-16 04:03:42 +00:00
Julia Reynolds
2cb384f425 Prevent profile owners from setting certain user restrictions.
Bug: 16351901
Bug: 16701492
Change-Id: Ie866bc24d2d7cc15f86c5b50062a730e099612a1
2014-08-20 16:06:29 -04:00
Jason Monk
a0efbdf204 Merge "Update the QS footer from UI thread" into lmp-dev 2014-08-16 04:03:42 +00:00
Jason Monk
b1c2f3bb10 Update the QS footer from UI thread
Bug: 17070248
Change-Id: I0d72ce6e137f42ad321b3fd6b10b9a5f35ca7801
2014-08-20 10:55:53 -04:00
John Spurlock
1613503ea9 Merge "PowerUI: Remove the fallback dialogs." into lmp-dev 2014-08-20 12:26:29 +00:00
John Spurlock
86c3de81ea PowerUI: Remove the fallback dialogs.
- Low battery notifications are now always notifications, even
  if not HUNs.
- Remove obsolete dialogs used only as HUN fallbacks.
- Extend the default HUN timeout to 10 seconds and remove the
  ongoing hack for the warning notification.

Bug:17070231
Change-Id: I29069c3d90dcca6f9bce512e5a0ccbd983704de5
2014-08-20 10:54:25 -04:00
John Spurlock
82ed96a178 Merge "Remove logspam from GlobalActions." into lmp-dev 2014-08-20 12:26:29 +00:00
John Spurlock
68539a664b Remove logspam from GlobalActions.
Bug:17128889
Change-Id: I7343820c1b6f174ec66c28ee7c94b6b9fb0ad1b1
2014-08-20 10:36:33 -04:00
Amith Yamasani
609aaca4d8 Merge "Rename restrictions API class and method" into lmp-dev 2014-08-19 22:53:25 +00:00
Amith Yamasani
d1d7c022c6 Rename restrictions API class and method
AbstractRestrictionsProvider -> android.service.restrictions.RestrictionsReceiver
requestPermission->onRequestPermission

Bug: 17006805
Change-Id: I03b1626d6abcd2ad739a55b60b54fdbf9810ceca
2014-08-19 17:03:41 -07:00
John Reck
9eee9dca63 Merge "Don't mangle layer paint's alpha" into lmp-dev 2014-08-16 04:01:11 +00:00