1d7af42b29ddf22f0068f7496c5ac6f4f34b543b6Yigit Boyar/* 2d7af42b29ddf22f0068f7496c5ac6f4f34b543b6Yigit Boyar * Copyright (C) 2015 The Android Open Source Project 397d6ddf47f4ff1abb3ed5201ce5232163f5325b1Yigit Boyar * 4d7af42b29ddf22f0068f7496c5ac6f4f34b543b6Yigit Boyar * Licensed under the Apache License, Version 2.0 (the "License"); 5d7af42b29ddf22f0068f7496c5ac6f4f34b543b6Yigit Boyar * you may not use this file except in compliance with the License. 6d7af42b29ddf22f0068f7496c5ac6f4f34b543b6Yigit Boyar * You may obtain a copy of the License at 797d6ddf47f4ff1abb3ed5201ce5232163f5325b1Yigit Boyar * 8d7af42b29ddf22f0068f7496c5ac6f4f34b543b6Yigit Boyar * http://www.apache.org/licenses/LICENSE-2.0 997d6ddf47f4ff1abb3ed5201ce5232163f5325b1Yigit Boyar * 10d7af42b29ddf22f0068f7496c5ac6f4f34b543b6Yigit Boyar * Unless required by applicable law or agreed to in writing, software 11d7af42b29ddf22f0068f7496c5ac6f4f34b543b6Yigit Boyar * distributed under the License is distributed on an "AS IS" BASIS, 12d7af42b29ddf22f0068f7496c5ac6f4f34b543b6Yigit Boyar * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13d7af42b29ddf22f0068f7496c5ac6f4f34b543b6Yigit Boyar * See the License for the specific language governing permissions and 14d7af42b29ddf22f0068f7496c5ac6f4f34b543b6Yigit Boyar * limitations under the License. 15d7af42b29ddf22f0068f7496c5ac6f4f34b543b6Yigit Boyar */ 16d7af42b29ddf22f0068f7496c5ac6f4f34b543b6Yigit Boyar 17fead9ca09b117136b35bc5bf137340a754f9edddGeorge Mountpackage android.databinding; 18d7af42b29ddf22f0068f7496c5ac6f4f34b543b6Yigit Boyar 19d7af42b29ddf22f0068f7496c5ac6f4f34b543b6Yigit Boyar/** 2097d6ddf47f4ff1abb3ed5201ce5232163f5325b1Yigit Boyar * This helper is used to toggle DataBinder's package private values to change behavior for testing 21d7af42b29ddf22f0068f7496c5ac6f4f34b543b6Yigit Boyar */ 2297d6ddf47f4ff1abb3ed5201ce5232163f5325b1Yigit Boyarpublic class DataBinderTrojan { 2397d6ddf47f4ff1abb3ed5201ce5232163f5325b1Yigit Boyar public static void setBuildSdkInt(int level) { 244c5cc009bcbcfb19e33fb19db5ec80f83f7b3326George Mount ViewDataBinding.SDK_INT = level; 2597d6ddf47f4ff1abb3ed5201ce5232163f5325b1Yigit Boyar } 26d7af42b29ddf22f0068f7496c5ac6f4f34b543b6Yigit Boyar} 27