Skip to content

Commit

Permalink
Merge pull request #614 from pennlabs/aaron/baron_newbie_project
Browse files Browse the repository at this point in the history
Baron Widget Newbie Project PR
  • Loading branch information
baronhsieh2005 authored Apr 27, 2024
2 parents 95e5d28 + dd308cc commit c277025
Show file tree
Hide file tree
Showing 27 changed files with 999 additions and 84 deletions.
51 changes: 34 additions & 17 deletions PennMobile/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@
android:versionName="3.1.4">

<uses-permission android:name="android.permission.WAKE_LOCK" />

<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <!-- for Penn Transit API -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" /> <!-- vibration for laundry alert -->
<uses-permission android:name="com.pennapps.labs.pennmobile.permission.MAPS_RECEIVE" /> <!-- adding new contacts -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.VIBRATE" />

<application
android:name="androidx.multidex.MultiDexApplication"
android:allowBackup="true"
Expand All @@ -13,18 +27,35 @@
android:theme="@style/AppTheme.Launcher"
android:usesCleartextTraffic="true"
tools:targetApi="m">
<receiver
android:name="com.pennapps.labs.pennmobile.DiningHallWidget"
android:exported="false">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>

<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/dining_hall_widget_info" />
</receiver>

<activity
android:name=".MainActivity"
android:exported="true"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan"
android:exported="true">
android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />

<action android:name="android.intent.action.VIEW" />
</intent-filter>
</activity>
<service android:name=".adapters.DiningHallWidgetAdapter"
android:permission="android.permission.BIND_REMOTEVIEWS" />

<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
Expand All @@ -33,8 +64,7 @@
android:value="18a765536e6539a73a15dd36c369ed29cfb91aa1" />
<meta-data
android:name="preloaded_fonts"
android:resource="@array/preloaded_fonts"
/>
android:resource="@array/preloaded_fonts" />

<receiver
android:name=".LaundryBroadcastReceiver"
Expand All @@ -44,18 +74,5 @@
android:name="com.google.android.maps"
android:required="false" />
</application>
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <!-- for Penn Transit API -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" /> <!-- vibration for laundry alert -->
<uses-permission android:name="com.pennapps.labs.pennmobile.permission.MAPS_RECEIVE" /> <!-- adding new contacts -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />

</manifest>
Loading

0 comments on commit c277025

Please sign in to comment.