Android Screenshot are not complete with real device

Hi All,

I am using Moto X play , and i am trying to take the Screenshot of running app using the below code

WebDriver dri = new Augmenter().augment(driver);
System.out.println( dri.manage().window().getSize());
File pic = ((TakesScreenshot) dri).getScreenshotAs(OutputType.FILE);
FileUtils.copyFile(pic, new File(screenshotPath + “\” + ImageName
+ “.jpg”));
only 70 % of Screen is capturing , i couldn’t get the full screen in the screenshot .

My mobile screen size is (1080 , 1920) , But driver is taking only (1080 ,1772) , so i couldn’t get the proper screenshot . is it issue with appium ?

Thanks ,