做效果图赚钱的网站,包头市网站建设公司,一站式建站企业网站和,设计网站公司湖南岚鸿公司背景#xff1a;拨号中视频彩铃界面方向未与设备方向一致#xff0c;要求视频彩铃界面方向与设备方向一致#xff0c;修改视频彩铃显示的地方#xff1b;
如图所示#xff1a; 修改#xff1a;
packages/services/Telecomm/src/com/android/server/telecom/VideoProvid…背景拨号中视频彩铃界面方向未与设备方向一致要求视频彩铃界面方向与设备方向一致修改视频彩铃显示的地方
如图所示 修改
packages/services/Telecomm/src/com/android/server/telecom/VideoProviderProxy.java/*** Proxies a request from the {link InCallService} to the* {link #mConectionServiceVideoProvider} to change the device orientation.** param rotation The device orientation, in degrees.*/Overridepublic void onSetDeviceOrientation(int rotation) {synchronized (mLock) {logFromInCall(setDeviceOrientation: rotation);try {//modified int mRotation mCall.getContext().getResources().getConfiguration().orientation;logFromInCall(setDeviceOrientation:mRotation mRotation);mConectionServiceVideoProvider.setDeviceOrientation(mRotation);//end} catch (RemoteException e) {}}}
修改后验证即可