xref: /aosp_15_r20/external/angle/build/android/java/test/DefaultLocaleLintTest.java (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1 // Copyright 2021 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 package test;
6 
7 import android.app.Application;
8 
9 /** Class which fails 'DefaultLocale' lint check. */
10 public class DefaultLocaleLintTest extends Application {
testTriggerDefaultLocaleCheck(int any)11     public String testTriggerDefaultLocaleCheck(int any) {
12         // String format with an integer requires a Locale since it may be formatted differently.
13         return String.format("Test %d", any);
14     }
15 }
16