-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3eb3a11
commit 01e7fe7
Showing
8 changed files
with
99 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,59 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.google.android.apps.photos"> | ||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.google.android.apps.photos"> | ||
|
||
<application android:label="@string/app_name"> | ||
<activity android:name="com.google.android.apps.photos.MainActivity" android:exported="true" android:label="@string/app_name" android:theme="@android:style/Theme.NoDisplay"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.VIEW" /> | ||
<action android:name="com.android.camera.action.REVIEW" /> | ||
<action android:name="android.provider.action.REVIEW" /> | ||
<action android:name="android.provider.action.REVIEW_SECURE" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
<category android:name="android.intent.category.BROWSABLE" /> | ||
<data android:scheme="*/*" /> | ||
<data android:scheme="http" /> | ||
<data android:scheme="https" /> | ||
<data android:scheme="content" /> | ||
<data android:scheme="file" /> | ||
<data android:mimeType="image/*" /> | ||
<data android:mimeType="application/vnd.google.panorama360+jpg" /> | ||
<data android:mimeType="video/mpeg" /> | ||
<data android:mimeType="video/mpeg4" /> | ||
<data android:mimeType="video/mp4" /> | ||
<data android:mimeType="video/3gp" /> | ||
<data android:mimeType="video/3gpp" /> | ||
<data android:mimeType="video/3gpp2" /> | ||
<data android:mimeType="video/webm" /> | ||
<data android:mimeType="video/avi" /> | ||
<data android:mimeType="video/x-matroska" /> | ||
<data android:mimeType="video/quicktime" /> | ||
</intent-filter> | ||
</activity> | ||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> | ||
|
||
<!--<service android:exported="true" android:name="com.google.android.apps.photos.cameraassistant.CameraAssistantService" />--> | ||
</application> | ||
<!-- This is here to make sure GPhotosShim has access to the gcam application --> | ||
<queries> | ||
<intent> | ||
<action android:name="android.media.action.STILL_IMAGE_CAMERA" /> | ||
</intent> | ||
</queries> | ||
|
||
<application | ||
android:allowBackup="false" | ||
android:label="@string/app_name"> | ||
<activity | ||
android:name="com.google.android.apps.photos.MainActivity" | ||
android:clearTaskOnLaunch="true" | ||
android:exported="true" | ||
android:label="@string/app_name" | ||
android:noHistory="true" | ||
android:theme="@android:style/Theme.NoDisplay"> | ||
<intent-filter> | ||
<action android:name="android.provider.action.REVIEW" /> | ||
<action android:name="android.provider.action.REVIEW_SECURE" /> | ||
|
||
<category android:name="android.intent.category.DEFAULT" /> | ||
|
||
<data android:scheme="*/*" /> | ||
<data android:scheme="http" /> | ||
<data android:scheme="https" /> | ||
<data android:scheme="content" /> | ||
<data android:scheme="file" /> | ||
<data android:mimeType="image/*" /> | ||
<data android:mimeType="video/*" /> | ||
<data android:mimeType="application/vnd.google.panorama360+jpg" /> | ||
</intent-filter> | ||
</activity> | ||
|
||
<!-- This is here to make sure that gcam has access to this application --> | ||
<activity | ||
android:name="com.google.android.apps.photos.BlankActivity" | ||
android:clearTaskOnLaunch="true" | ||
android:exported="true" | ||
android:label="@string/app_name" | ||
android:noHistory="true" | ||
android:theme="@android:style/Theme.NoDisplay"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.SEND" /> | ||
<data android:mimeType="image/*" /> | ||
</intent-filter> | ||
</activity> | ||
|
||
<!-- I still have no clue what this service is supposed to do --> | ||
<service | ||
android:name="com.google.android.apps.photos.cameraassistant.CameraAssistantService" | ||
android:exported="true"/> | ||
</application> | ||
</manifest> |
12 changes: 12 additions & 0 deletions
12
app/src/main/java/com/google/android/apps/photos/BlankActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.google.android.apps.photos; | ||
|
||
import android.app.Activity; | ||
import android.os.Bundle; | ||
|
||
public class BlankActivity extends Activity { | ||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
finish(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 0 additions & 27 deletions
27
.../main/java/com/google/android/apps/photos/cameraassistant/CameraAssistantServiceBind.java
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
...main/java/com/google/android/apps/photos/cameraassistant/ICameraAssistantServiceBind.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.