Guest User

Untitled

a guest
May 24th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.85 KB | None | 0 0
  1.  
  2. project external/bluetooth/bluez/
  3. diff --git a/tools/Android.mk b/tools/Android.mk
  4. index 619ff1c..16de42f 100755
  5. --- a/tools/Android.mk
  6. +++ b/tools/Android.mk
  7. @@ -218,6 +218,7 @@ LOCAL_SHARED_LIBRARIES := \
  8. libbluetooth libbluetoothd
  9.  
  10. LOCAL_MODULE:=bccmd
  11. +LOCAL_MODULE_TAGS := optional
  12.  
  13. include $(BUILD_EXECUTABLE)
  14. endif
  15.  
  16. project external/fsck_msdos/
  17. diff --git a/Android.mk b/Android.mk
  18. index bafd757..b801d1b 100644
  19. --- a/Android.mk
  20. +++ b/Android.mk
  21. @@ -1,3 +1,5 @@
  22. +ifneq ($(BOARD_USES_CUSTOM_FSCK_MSDOS),true)
  23. +
  24. LOCAL_PATH := $(call my-dir)
  25.  
  26. include $(CLEAR_VARS)
  27. @@ -13,3 +15,5 @@ LOCAL_MODULE_TAGS :=
  28. LOCAL_SYSTEM_SHARED_LIBRARIES := libc
  29.  
  30. include $(BUILD_EXECUTABLE)
  31. +
  32. +endif
  33.  
  34. project hardware/qcom/display/
  35. diff --git a/liboverlay/overlayLib.cpp b/liboverlay/overlayLib.cpp
  36. index 6d65c9d..c9aecff 100755
  37. --- a/liboverlay/overlayLib.cpp
  38. +++ b/liboverlay/overlayLib.cpp
  39. @@ -728,11 +728,11 @@ bool Overlay::setFd(int fd, int channel) {
  40. bool Overlay::queueBuffer(uint32_t offset, int channel) {
  41. return objOvDataChannel[channel].queueBuffer(offset);
  42. }
  43. -
  44. +#if 0
  45. bool Overlay::waitForHdmiVsync(int channel) {
  46. return objOvDataChannel[channel].waitForHdmiVsync();
  47. }
  48. -
  49. +#endif
  50. bool Overlay::queueBuffer(buffer_handle_t buffer) {
  51. private_handle_t const* hnd = reinterpret_cast
  52. <private_handle_t const*>(buffer);
  53. @@ -761,11 +761,13 @@ bool Overlay::queueBuffer(buffer_handle_t buffer) {
  54. return false;
  55. }
  56. }
  57. +#if 0
  58. //Wait for HDMI done..
  59. if(!waitForHdmiVsync(VG1_PIPE)) {
  60. LOGE("%s: waitforHdmiVsync failed", __FUNCTION__);
  61. return false;
  62. }
  63. +#endif
  64. break;
  65. default:
  66. LOGE("%s:Unknown state %d", __FUNCTION__, mState);
  67. @@ -1506,11 +1508,11 @@ bool OverlayDataChannel::mapRotatorMemory(int num_buffers, bool uiChannel, int r
  68. mPmemFD = data.fd;
  69. mPmemAddr = data.base;
  70. mBufferType = data.allocType;
  71. -
  72. +#if 0
  73. // Set this flag if source memory is fb
  74. if(uiChannel)
  75. mRotData.src.flags |= MDP_MEMORY_ID_TYPE_FB;
  76. -
  77. +#endif
  78. mOvDataRot.data.memory_id = mPmemFD;
  79. mRotData.dst.memory_id = mPmemFD;
  80. mRotData.dst.offset = 0;
  81. @@ -1639,7 +1641,7 @@ bool OverlayDataChannel::queue(uint32_t offset) {
  82.  
  83. return true;
  84. }
  85. -
  86. +#if 0
  87. bool OverlayDataChannel::waitForHdmiVsync() {
  88. if (!isChannelUP()) {
  89. reportError("waitForHdmiVsync: channel not up");
  90. @@ -1651,7 +1653,7 @@ bool OverlayDataChannel::waitForHdmiVsync() {
  91. }
  92. return true;
  93. }
  94. -
  95. +#endif
  96. bool OverlayDataChannel::getCropS3D(overlay_rect *inRect, int channel, int format,
  97. overlay_rect *rect) {
  98. // for the 3D usecase extract channels from a frame
Add Comment
Please, Sign In to add comment