• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<issues format="5" by="lint 4.1.0" client="cli" variant="all" version="4.1.0">
3
4    <issue
5        id="NewApi"
6        message="Call requires API level 23 (current min is 21): `new android.hardware.camera2.params.InputConfiguration`"
7        errorLine1="                InputConfiguration inputConfig = new InputConfiguration(mCameraInfoCache.getYuvStream1Size().getWidth(),"
8        errorLine2="                                                 ~~~~~~~~~~~~~~~~~~~~~~">
9        <location
10            file="packages/apps/DevCamera/src/com/android/devcamera/Api2Camera.java"
11            line="445"
12            column="50"/>
13    </issue>
14
15    <issue
16        id="NewApi"
17        message="Call requires API level 23 (current min is 21): `android.hardware.camera2.CameraDevice#createReprocessableCaptureSession`"
18        errorLine1="                mCameraDevice.createReprocessableCaptureSession(inputConfig, outputSurfaces,"
19        errorLine2="                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
20        <location
21            file="packages/apps/DevCamera/src/com/android/devcamera/Api2Camera.java"
22            line="447"
23            column="31"/>
24    </issue>
25
26    <issue
27        id="NewApi"
28        message="Call requires API level 23 (current min is 21): `android.hardware.camera2.CameraCaptureSession#isReprocessable`"
29        errorLine1="            if (session.isReprocessable()) {"
30        errorLine2="                        ~~~~~~~~~~~~~~~">
31        <location
32            file="packages/apps/DevCamera/src/com/android/devcamera/Api2Camera.java"
33            line="469"
34            column="25"/>
35    </issue>
36
37    <issue
38        id="NewApi"
39        message="Call requires API level 23 (current min is 21): `android.hardware.camera2.CameraCaptureSession#getInputSurface`"
40        errorLine1="                mImageWriter = ImageWriter.newInstance(session.getInputSurface(), IMAGEWRITER_SIZE);"
41        errorLine2="                                                               ~~~~~~~~~~~~~~~">
42        <location
43            file="packages/apps/DevCamera/src/com/android/devcamera/Api2Camera.java"
44            line="470"
45            column="64"/>
46    </issue>
47
48    <issue
49        id="NewApi"
50        message="Call requires API level 23 (current min is 21): `android.media.ImageWriter#newInstance`"
51        errorLine1="                mImageWriter = ImageWriter.newInstance(session.getInputSurface(), IMAGEWRITER_SIZE);"
52        errorLine2="                                           ~~~~~~~~~~~">
53        <location
54            file="packages/apps/DevCamera/src/com/android/devcamera/Api2Camera.java"
55            line="470"
56            column="44"/>
57    </issue>
58
59    <issue
60        id="NewApi"
61        message="Call requires API level 23 (current min is 21): `android.media.ImageWriter#setOnImageReleasedListener`"
62        errorLine1="                mImageWriter.setOnImageReleasedListener("
63        errorLine2="                             ~~~~~~~~~~~~~~~~~~~~~~~~~~">
64        <location
65            file="packages/apps/DevCamera/src/com/android/devcamera/Api2Camera.java"
66            line="471"
67            column="30"/>
68    </issue>
69
70    <issue
71        id="NewApi"
72        message="Cast to `OnImageReleasedListener` requires API level 23 (current min is 21)"
73        errorLine1="                        new ImageWriter.OnImageReleasedListener() {"
74        errorLine2="                        ^">
75        <location
76            file="packages/apps/DevCamera/src/com/android/devcamera/Api2Camera.java"
77            line="472"
78            column="25"/>
79    </issue>
80
81    <issue
82        id="NewApi"
83        message="Class requires API level 23 (current min is 21): `android.media.ImageWriter.OnImageReleasedListener`"
84        errorLine1="                        new ImageWriter.OnImageReleasedListener() {"
85        errorLine2="                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
86        <location
87            file="packages/apps/DevCamera/src/com/android/devcamera/Api2Camera.java"
88            line="472"
89            column="29"/>
90    </issue>
91
92    <issue
93        id="NewApi"
94        message="Call requires API level 23 (current min is 21): `android.media.ImageWriter#queueInputImage`"
95        errorLine1="        mImageWriter.queueInputImage(mYuv1LastReceivedImage);"
96        errorLine2="                     ~~~~~~~~~~~~~~~">
97        <location
98            file="packages/apps/DevCamera/src/com/android/devcamera/Api2Camera.java"
99            line="589"
100            column="22"/>
101    </issue>
102
103    <issue
104        id="NewApi"
105        message="Call requires API level 23 (current min is 21): `android.hardware.camera2.CameraDevice#createReprocessCaptureRequest`"
106        errorLine1="            CaptureRequest.Builder b1 = mCameraDevice.createReprocessCaptureRequest(mLastTotalCaptureResult);"
107        errorLine2="                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
108        <location
109            file="packages/apps/DevCamera/src/com/android/devcamera/Api2Camera.java"
110            line="592"
111            column="55"/>
112    </issue>
113
114    <issue
115        id="NewApi"
116        message="Call requires API level 23 (current min is 21): `android.hardware.camera2.params.StreamConfigurationMap#getInputFormats`"
117        errorLine1="            int[] formats = map.getInputFormats();"
118        errorLine2="                                ~~~~~~~~~~~~~~~">
119        <location
120            file="packages/apps/DevCamera/src/com/android/devcamera/CameraDeviceReport.java"
121            line="183"
122            column="33"/>
123    </issue>
124
125    <issue
126        id="NewApi"
127        message="Call requires API level 23 (current min is 21): `android.hardware.camera2.params.StreamConfigurationMap#getInputSizes`"
128        errorLine1="                Size[] sizes = map.getInputSizes(formats[i]);"
129        errorLine2="                                   ~~~~~~~~~~~~~">
130        <location
131            file="packages/apps/DevCamera/src/com/android/devcamera/CameraDeviceReport.java"
132            line="186"
133            column="36"/>
134    </issue>
135
136    <issue
137        id="NewApi"
138        message="Call requires API level 23 (current min is 21): `android.content.ContextWrapper#checkSelfPermission`"
139        errorLine1="        if ((checkSelfPermission(Manifest.permission.CAMERA)"
140        errorLine2="             ~~~~~~~~~~~~~~~~~~~">
141        <location
142            file="packages/apps/DevCamera/src/com/android/devcamera/DevCameraActivity.java"
143            line="328"
144            column="14"/>
145    </issue>
146
147    <issue
148        id="NewApi"
149        message="Call requires API level 23 (current min is 21): `android.content.ContextWrapper#checkSelfPermission`"
150        errorLine1="            || (checkSelfPermission(Manifest.permission.RECORD_AUDIO)"
151        errorLine2="                ~~~~~~~~~~~~~~~~~~~">
152        <location
153            file="packages/apps/DevCamera/src/com/android/devcamera/DevCameraActivity.java"
154            line="330"
155            column="17"/>
156    </issue>
157
158    <issue
159        id="NewApi"
160        message="Call requires API level 23 (current min is 21): `android.content.ContextWrapper#checkSelfPermission`"
161        errorLine1="            || (checkSelfPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE)"
162        errorLine2="                ~~~~~~~~~~~~~~~~~~~">
163        <location
164            file="packages/apps/DevCamera/src/com/android/devcamera/DevCameraActivity.java"
165            line="332"
166            column="17"/>
167    </issue>
168
169    <issue
170        id="NewApi"
171        message="Call requires API level 23 (current min is 21): `android.app.Activity#requestPermissions`"
172        errorLine1="            requestPermissions(new String[] {"
173        errorLine2="            ~~~~~~~~~~~~~~~~~~">
174        <location
175            file="packages/apps/DevCamera/src/com/android/devcamera/DevCameraActivity.java"
176            line="335"
177            column="13"/>
178    </issue>
179
180</issues>
181