File tree Expand file tree Collapse file tree
apps/OboeTester/app/src/main
java/com/mobileer/oboetester Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 <uses-permission android : name =" android.permission.SCHEDULE_EXACT_ALARM" />
3232
3333 <application
34+ android : name =" .OboeTesterApplication"
3435 android : icon =" @mipmap/ic_launcher"
3536 android : label =" @string/app_name"
3637 android : supportsRtl =" true"
Original file line number Diff line number Diff line change @@ -50,11 +50,6 @@ public class MainActivity extends BaseOboeTesterActivity {
5050 public static final String VALUE_TEST_NAME_INPUT = "input" ;
5151 public static final String VALUE_TEST_NAME_CPU_LOAD = "cpu_load" ;
5252
53- static {
54- // Must match name in CMakeLists.txt
55- System .loadLibrary ("oboetester" );
56- }
57-
5853 private Spinner mModeSpinner ;
5954 private TextView mCallbackSizeEditor ;
6055 protected TextView mDeviceView ;
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2026 The Android Open Source Project
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
17+ package com .mobileer .oboetester ;
18+
19+ import android .app .Application ;
20+
21+ public class OboeTesterApplication extends Application {
22+
23+ @ Override
24+ public void onCreate () {
25+ super .onCreate ();
26+ System .loadLibrary ("oboetester" );
27+ }
28+ }
You can’t perform that action at this time.
0 commit comments