forked from intel/celadon-applications
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for Multi-camera preview and recording issues
Issues addressed: - Recorded video quality not matching with the selected resolution - Preview and recording not working for more than 2 cameras - Multiple permission requests when multiple cameras are connected - Captured image orientation not in line with the orientation - Crash seen on alternate record - Fix for CTSVerifier test case jump - Indentation Tracked-On: OAM-86862 Signed-off-by: Nikumbh, Mayur NimbaX <[email protected]> Signed-off-by: Jeevaka Prabu Badrappan <[email protected]> Signed-off-by: Muhammad Aksar <[email protected]>
- Loading branch information
1 parent
67b1e7a
commit fc44d35
Showing
14 changed files
with
1,709 additions
and
635 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,52 +1,61 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.intel.multicamera"> | ||
|
||
<uses-sdk android:minSdkVersion="17" android:targetSdkVersion="28"/> | ||
|
||
<uses-permission android:name="android.permission.CAMERA"/> | ||
<uses-permission android:name="android.permission.RECORD_AUDIO" /> | ||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> | ||
|
||
<uses-feature android:name="android.hardware.camera2.full"/> | ||
|
||
|
||
<application | ||
android:allowBackup="true" | ||
android:icon="@mipmap/ic_launcher" | ||
android:label="@string/app_name" | ||
android:roundIcon="@mipmap/ic_launcher_round" | ||
android:supportsRtl="true" | ||
android:theme="@style/AppTheme" | ||
android:requestLegacyExternalStorage="true"> | ||
|
||
<activity | ||
android:name=".SettingsActivity" | ||
android:label="@string/title_activity_settings" | ||
android:theme="@style/AppTheme" | ||
android:parentActivityName=".MainActivity"> | ||
<meta-data | ||
android:name="android.support.PARENT_ACTIVITY" | ||
android:value="com.intel.multicamera.MainActivity" /> | ||
</activity> | ||
<activity | ||
android:name=".MainActivity" | ||
android:label="@string/app_name" | ||
android:theme="@style/AppTheme.NoActionBar"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
|
||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
<intent-filter> | ||
<action android:name="android.media.action.IMAGE_CAPTURE" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
</intent-filter> | ||
<intent-filter> | ||
<action android:name="android.media.action.VIDEO_CAPTURE" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
</intent-filter> | ||
</activity> | ||
</application> | ||
|
||
</manifest> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.intel.multicamera"> | ||
|
||
<uses-sdk android:minSdkVersion="17" android:targetSdkVersion="28"/> | ||
|
||
<uses-permission android:name="android.permission.CAMERA"/> | ||
<uses-permission android:name="android.permission.RECORD_AUDIO" /> | ||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> | ||
|
||
<uses-feature android:name="android.hardware.camera2.full"/> | ||
|
||
|
||
<application | ||
android:allowBackup="true" | ||
android:icon="@mipmap/ic_launcher" | ||
android:label="@string/app_name" | ||
android:roundIcon="@mipmap/ic_launcher_round" | ||
android:supportsRtl="true" | ||
android:theme="@style/AppTheme" | ||
android:requestLegacyExternalStorage="true"> | ||
|
||
<activity | ||
android:name=".PermissionsActivity" | ||
android:label="@string/app_name" | ||
android:excludeFromRecents="true" | ||
android:parentActivityName=".MainActivity"> | ||
<meta-data android:name="android.support.PARENT_ACTIVITY" | ||
android:value="com.intel.multicamera.MainActivity"/> | ||
</activity> | ||
|
||
<activity | ||
android:name=".SettingsActivity" | ||
android:label="@string/title_activity_settings" | ||
android:theme="@style/AppTheme" | ||
android:parentActivityName=".MainActivity"> | ||
<meta-data | ||
android:name="android.support.PARENT_ACTIVITY" | ||
android:value="com.intel.multicamera.MainActivity" /> | ||
</activity> | ||
<activity | ||
android:name=".MainActivity" | ||
android:label="@string/app_name" | ||
android:theme="@style/AppTheme.NoActionBar"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
|
||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
<intent-filter> | ||
<action android:name="android.media.action.IMAGE_CAPTURE" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
</intent-filter> | ||
<intent-filter> | ||
<action android:name="android.media.action.VIDEO_CAPTURE" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
</intent-filter> | ||
</activity> | ||
</application> | ||
|
||
</manifest> |
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
Oops, something went wrong.