Merge "Assign -1 as default value of window type and owner uid." into pi-dev