diff options
author | Marissa Wall <marissaw@google.com> | 2017-08-17 15:18:43 -0700 |
---|---|---|
committer | Marissa Wall <marissaw@google.com> | 2017-08-30 18:34:07 -0700 |
commit | d865193ea7d72873c5f147644179c4383aee5cf5 (patch) | |
tree | f84e565f100f0f98b65f720a8dccad06a190359e /power_profile/gps_on/Application/src/main/AndroidManifest.xml | |
parent | ab8424590aa8e82e5d756b646220c6ecbf1bb171 (diff) | |
download | extras-d865193ea7d72873c5f147644179c4383aee5cf5.tar.gz |
power_profile: gps app
This app turns on the gps and requests its location multiple times. It will be
used to measure the power of the gps.
Test: run app and make sure the gps turns on
Change-Id: I06c950f62b8cc5d3872a1703cd5b01127a6e0de6
Diffstat (limited to 'power_profile/gps_on/Application/src/main/AndroidManifest.xml')
-rw-r--r-- | power_profile/gps_on/Application/src/main/AndroidManifest.xml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/power_profile/gps_on/Application/src/main/AndroidManifest.xml b/power_profile/gps_on/Application/src/main/AndroidManifest.xml new file mode 100644 index 00000000..607fc200 --- /dev/null +++ b/power_profile/gps_on/Application/src/main/AndroidManifest.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright 2014 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="com.example.android.powerprofile.gpson"> + + <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> + + <uses-feature android:name="android.hardware.location.gps" /> + + <application android:allowBackup="true" + android:label="@string/app_name"> + + <activity android:name=".GpsActivity" + android:label="@string/app_name"> + <intent-filter> + <action android:name="android.intent.action.MAIN" /> + <category android:name="android.intent.category.LAUNCHER" /> + </intent-filter> + </activity> + </application> + +</manifest> |