Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: (Youtube Revanced) general-ads patch causes application to crash on select videos #1550

Closed
3 tasks done
rel0aded opened this issue Dec 21, 2022 · 8 comments
Closed
3 tasks done
Labels
Bug report Something isn't working

Comments

@rel0aded
Copy link

rel0aded commented Dec 21, 2022

Type

Error at runtime

Bug description

When playing select videos (such as https://www.youtube.com/watch?v=Mh1cEaNW-H8) on a Samsung Galaxy Tab S8+ on the latest firmware, with the latest Revanced Manager and latest "recommended" patches on recommended Youtube release causes the entire application to crash back to the launcher with no user error presented.

Through a binary search, I've managed to narrow down the crash to the general-ads patch. Disabling only this patch from the 45 recommended by ReVanced Manager causes the application to play the video as expected. There are no errors presented in the log during the patching process.

This issue does not appear on all other videos (although another one from the same channel, and one from a different channel exhibited this behaviour), nor does the issue appear on affected videos on a Pixel 6 (running the same versions of ReVanced Manager/patches/Youtube).

Device: Samsung Galaxy Tab S8+ (not rooted)
Firmware: X800XXU2BVK4 (latest)
Youtube: v17.49.37
ReVanced Manager: v0.052
Patches: v2.146.0

Steps to reproduce

  1. Download the latest recommended YouTube release (v17.49.37) from APKMirror (nodpi version)
  2. Use ReVanced Manager v0.0.52 to apply the 45 "Recommended" patches, and see that the output does not contain any errors
  3. Install the newly-built application and try to play https://www.youtube.com/watch?v=Mh1cEaNW-H8
  4. Application crashes to launcher

Relevant log output

12-20 22:41:01.084 29810 29810 I SurfaceView@59876f0: finishedDrawing
12-20 22:41:01.084 29810 29810 W YouTube : Warning: Sending VSS ping without a format parameter.
12-20 22:41:01.087  2384  4338 I MediaFocusControl: requestAudioFocus() from uid/pid 10380/29810 AA=USAGE_MEDIA/CONTENT_TYPE_MUSIC clientId=android.media.AudioManager@80a3be8aath@80c6201 callingPack=app.revanced.android.youtube req=1 flags=0x0 sdk=33
12-20 22:41:01.087  2384  4338 D MediaFocusControl: selectFocusStack, uid = 10380, appDevice = 0, device = 2
12-20 22:41:01.087  2384  4338 I AudioService.FadeOutManager: unfadeOutUid() uid:10380
12-20 22:41:01.088 29810 29844 W YTPL.audiomanager: AudioFocus Granted
12-20 22:41:01.089  2384  5096 W ActivityManager: Unable to start service Intent { act=com.google.android.gms.ads.identifier.service.START pkg=com.mgoogle.android.gms } U=0: not found
12-20 22:41:01.094  2384  4036 I MediaSessionMonitor: Media session started : state=playing, pkg matches
12-20 22:41:01.094  1595  2104 E ACDB    : AcdbCmdGetProcSubgraphCalDataPersist:8408 Error[19]: No calibration found
12-20 22:41:01.094  1595  2104 E ACDB    : AcdbCmdGetProcSubgraphCalDataPersist:8408 Error[19]: No calibration found
12-20 22:41:01.095  1595  2104 E ACDB    : AcdbCmdGetProcSubgraphCalDataPersist:8408 Error[19]: No calibration found
12-20 22:41:01.095  1595  2104 E ACDB    : AcdbCmdGetProcSubgraphCalDataPersist:8408 Error[19]: No calibration found
12-20 22:41:01.095  1595  2104 D AGM: graph: graph_open: 710 graph_handle 0x47534c
12-20 22:41:01.095  1595  2104 D AGM: graph: graph_open: 745 exit, ret 0
12-20 22:41:01.095  1539  8052 D agm_client_wrapper: agm_session_open Received handle = 0x7bfb01bdf0 , *handle = b400007651d70390
12-20 22:41:01.095  1539  8052 D PLUGIN: pcm: agm_pcm_hw_params: 465 agm_pcm_hw_params: mode: 0
12-20 22:41:01.095  1539  8052 I PAL: PayloadBuilder: payloadMFCConfig: 398: sample_rate:48000 bit_width:24 num_channels:4 Miid:16566
12-20 22:41:01.095  1539  8052 I PAL: Session: updateCustomPayload: 362: customPayloadSize = 32
12-20 22:41:01.096  1595 28723 D AGM: graph: graph_set_config: 1104 entry graph_handle 0x47534c
12-20 22:41:01.096  1595 28723 D AGM: graph: graph_set_config: 1112 exit, graph handle 0x47534c, ret 0
12-20 22:41:01.096  1595 28723 D AGM: graph: graph_prepare: 806 entry graph_handle 0x47534c
12-20 22:41:01.096  1595 28723 D AGM: graph_module: configure_pcm_shared_mem_ep: 1442 entry mod tag c0000002 miid 4001 mid 7001000
12-20 22:41:01.097  1595 28723 D AGM: graph_module: configure_pcm_shared_mem_ep: 1518 exit, ret 0
12-20 22:41:01.097  1595 28723 D AGM: graph_module: configure_hw_ep_media_config: 630 entry mod tag c0000004 miid 4875 mid 700100e
12-20 22:41:01.097  1595 28723 D AGM: graph_module: configure_hw_ep_media_config: 660 rate 48000 bw 24 ch 4, data_fmt 1
12-20 22:41:01.097  1595 28723 D AGM: graph_module: configure_hw_ep_media_config: 670 exit, ret 0
12-20 22:41:01.098  1595 28723 D AGM: graph_module: configure_tdm_ep: 446 exit, ret 0
12-20 22:41:01.098  1595 28723 D AGM: graph_module: configure_output_media_format: 753 entry mod tag c000000e miid 4003 mid 7001005
12-20 22:41:01.098  1595 28723 D AGM: graph_module: configure_output_media_format: 884 exit, ret 0
12-20 22:41:01.098  1595 28723 D AGM: graph_module: configure_output_media_format: 753 entry mod tag c0000010 miid 4004 mid 7001003
12-20 22:41:01.099  1595 28723 D AGM: graph_module: configure_output_media_format: 884 exit, ret 0
12-20 22:41:01.099  1595 28723 D AGM: graph_module: configure_spr: 1633 SPR module IID 4163
12-20 22:41:01.099  1595 28723 D AGM: graph_module: configure_spr: 1656 HW EP module IID 4875
12-20 22:41:01.099  1595 28723 D AGM: graph: configure_buffer_params: 166 Enter
12-20 22:41:01.099  1595 28723 D AGM: graph: configure_buffer_params: 229 Playback sess buf_sz 7680 num_bufs 4
12-20 22:41:01.099  1595 28723 E AGM: graph: configure_buffer_params: 259 Unsupported buffer mode : 0, Default to Blocking
12-20 22:41:01.100  1595 28723 D AGM: graph: configure_buffer_params: 279 exit, ret 0
12-20 22:41:01.104  1595 28723 D AGM: graph: graph_prepare: 884 exit, ret 0
12-20 22:41:01.104  1595 28723 D AGM: graph: graph_start: 898 entry graph_handle 0x47534c
12-20 22:41:01.108  1595 28723 D AGM: graph: graph_start: 910 exit, ret 0
12-20 22:41:01.164  1595 28723 I gsl     : gsl_graph_send_persist_cal:857 Skipping persist cal for SG_ID -1342177278: already started
12-20 22:41:01.164  1595 28723 I gsl     : gsl_graph_send_persist_cal:857 Skipping persist cal for SG_ID -1342177272: already started
12-20 22:41:01.164  1595 28723 I gsl     : gsl_graph_send_persist_cal:857 Skipping persist cal for SG_ID -1342177252: already started
12-20 22:41:01.164  1595 28723 I gsl     : gsl_graph_send_persist_cal:857 Skipping persist cal for SG_ID -1342177279: already started
12-20 22:41:01.164  1539  8052 I PAL: API: pal_stream_start: 244: Exit. status 0
12-20 22:41:01.164  1539  8052 I AHAL: AudioStream: configurePalOutputStream: 3653: notify GEF client of device config
12-20 22:41:01.164  1539  8052 I AudioSAEffectOffload: effect_update_payload_by_hal updateType:100000 OFFLOAD_EFFECT_ALL
12-20 22:41:01.164  1539  8052 D AudioSAEffectOffload: send_custom_payload_effect: enter, tag: 0xc00000b, custom_data_sz: 24
12-20 22:41:01.164  1539  8052 I PAL: ResourceManager: setParameter: 9191: PAL_PARAM_ID_UIEFFECT tagId(0xc00000b) paramId(0x10001f43)
12-20 22:41:01.164  1539  8052 D AudioSAEffectOffload: send_custom_payload_effect: tag: 0xc00000b, pal_stream_type PAL_STREAM_COMPRESSED write result: 0
12-20 22:41:01.164  1539  8052 I PAL: ResourceManager: setParameter: 9191: PAL_PARAM_ID_UIEFFECT tagId(0xc00000b) paramId(0x10001f43)
12-20 22:41:01.164  1539  8052 E PAL: SessionAlsaUtils: getModuleInstanceId: 945: No matching MIID found for tag: 0xc00000b, error:-22
12-20 22:41:01.164  1539  8052 E PAL: SessionAlsaPcm: setParameters: 2081: Failed to get tag info c00000b, status = -22
12-20 22:41:01.164  1539  8052 E PAL: SessionAlsaPcm: setParameters: 2299: failed to get payload status -12
12-20 22:41:01.164  1539  8052 E PAL: StreamPCM: setParameters: 1144: setParameters 4 failed with -12
12-20 22:41:01.164  1539  8052 E PAL: ResourceManager: setParameter: 9211: failed to set param for pal_device_id=1 stream_type=2
12-20 22:41:01.164  1539  8052 E PAL: API: pal_gef_rw_param: 902: Failed to set global parameter 4, status -12
12-20 22:41:01.164  1539  8052 D AudioSAEffectOffload: send_custom_payload_effect: tag: 0xc00000b, pal_stream_type 2 write result: -12
12-20 22:41:01.164  1539  8052 I PAL: ResourceManager: setParameter: 9191: PAL_PARAM_ID_UIEFFECT tagId(0xc00000b) paramId(0x10001f43)
12-20 22:41:01.164  1539  8052 D AudioSAEffectOffload: send_custom_payload_effect: tag: 0xc00000b, pal_stream_type 1 write result: 0
12-20 22:41:01.164  1539  8052 I PAL: ResourceManager: setParameter: 9191: PAL_PARAM_ID_UIEFFECT tagId(0xc00000b) paramId(0x10001f43)
12-20 22:41:01.164  1539  8052 D AudioSAEffectOffload: send_custom_payload_effect: tag: 0xc00000b, pal_stream_type 19 write result: 0
12-20 22:41:01.164  1539  8052 D AudioSAEffectOffload: send_custom_payload_effect: exit, tag: 0xc00000b, custom_data_sz: 24
12-20 22:41:01.165  1539  8052 D AudioSAEffectOffload: update offload effect: VM,0,0,0,0,2,0
12-20 22:41:01.165  1539  8052 D AHAL: Effect: send_soundbooster_volume: 511: mode:1 (365, 365)
12-20 22:41:01.165  1539  8052 D AHAL: Effect: send_custom_payload_effect: 225: Enter with tag(0xc00000a) size(12) paramId SB_PARAMS_VOLUME(0x10001f00)
12-20 22:41:01.165  1539  8052 I PAL: ResourceManager: setParameter: 9191: PAL_PARAM_ID_UIEFFECT tagId(0xc00000a) paramId(0x10001f00)
12-20 22:41:01.165  1595  2104 D AGM: graph: graph_set_config: 1104 entry graph_handle 0x47534c
12-20 22:41:01.166  1595  2104 D AGM: graph: graph_set_config: 1112 exit, graph handle 0x47534c, ret 0
12-20 22:41:01.166  1539  8052 I PAL: SessionAlsaPcm: setParameters: 2098: mixer set param status=0
12-20 22:41:01.166  1539  8052 D AHAL: Effect: send_custom_payload_effect: 231: Exit with tag(0xc00000a) size(12) 
12-20 22:41:01.166  1539  8052 D AHAL: Effect: send_soundbooster_volume: 519: Exit
12-20 22:41:01.166  1539  8052 D AHAL: Effect: send_soundbooster_rotation: 545: dir : 3
12-20 22:41:01.166  1539  8052 D AHAL: Effect: send_custom_payload_effect: 225: Enter with tag(0xc00000a) size(4) paramId SB_PARAMS_ROTATION(0x10001f02)
12-20 22:41:01.166  1539  8052 I PAL: ResourceManager: setParameter: 9191: PAL_PARAM_ID_UIEFFECT tagId(0xc00000a) paramId(0x10001f02)
12-20 22:41:01.166  1595 28723 D AGM: graph: graph_set_config: 1104 entry graph_handle 0x47534c
12-20 22:41:01.166  1595 28723 D AGM: graph: graph_set_config: 1112 exit, graph handle 0x47534c, ret 0
12-20 22:41:01.167  1539  8052 I PAL: SessionAlsaPcm: setParameters: 2098: mixer set param status=0
12-20 22:41:01.167  1539  8052 D AHAL: Effect: send_custom_payload_effect: 231: Exit with tag(0xc00000a) size(4) 
12-20 22:41:01.167  1539  8052 D AHAL: Effect: send_soundbooster_rotation: 552: Exit
12-20 22:41:01.167  1539  8052 D AHAL: Effect: send_soundbooster_flatmotion: 590: flatmotion : 1
12-20 22:41:01.167  1539  8052 D AHAL: Effect: send_custom_payload_effect: 225: Enter with tag(0xc00000a) size(4) paramId SB_PARAMS_FLATMOTION(0x10001f05)
12-20 22:41:01.167  1539  8052 I PAL: ResourceManager: setParameter: 9191: PAL_PARAM_ID_UIEFFECT tagId(0xc00000a) paramId(0x10001f05)
12-20 22:41:01.167  1595  2104 D AGM: graph: graph_set_config: 1104 entry graph_handle 0x47534c
12-20 22:41:01.169  1595  2104 D AGM: graph: graph_set_config: 1112 exit, graph handle 0x47534c, ret 0
12-20 22:41:01.169  1539  8052 I PAL: SessionAlsaPcm: setParameters: 2098: mixer set param status=0
12-20 22:41:01.169  1539  8052 D AHAL: Effect: send_custom_payload_effect: 231: Exit with tag(0xc00000a) size(4) 
12-20 22:41:01.169  1539  8052 D AHAL: Effect: send_soundbooster_flatmotion: 597: Exit
12-20 22:41:01.169  1539  8052 D AHAL: AudioStream: ~AutoPerfLock: 151: (release) perf_lock_handle: 0x0, count: 1
12-20 22:41:01.169  1539  8052 D AHAL: AudioStream: ~AutoPerfLock: 155: Releasing perf_lock_handle: 0x0
12-20 22:41:01.170  1689  2729 D AudioFlinger: mixer(0xb4000071ffc078c0) Spend too much time to write: delta 100(effect 0, stage 0)
12-20 22:41:01.210  1626 30110 I QC2Comp : [vp9D_24] Stats: Pending(6) i/p-done(6) Works: Q: 41/Done 36|Work-Rate: Q(78.1/s Avg=78.1/s) Done(68.565/s Avg=68.565/s)| Stream: 30.30fps 614.3Kbps
12-20 22:41:01.210  1626 30110 I QC2Comp : [vp9D_24] Mem-usage:  [In-1D: 4 bufs 14.953 MB] [1D-33: 4 bufs 0.062 MB] [2D-34: 26 bufs 36.969 MB] [1D-33: 17 bufs 0.266 MB] | Total: 52.250 MB
12-20 22:41:01.240  1720  1720 I SurfaceFlinger: [SurfaceView[app.revanced.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity]@0(BLAST)#1488] setFrameRate: 29.940121, Compatibility: 1, Strategy: 0
12-20 22:41:01.288  1689  2729 D AudioFlinger: mixer(0xb4000071ffc078c0) throttle end: throttle time(92)
12-20 22:41:01.528  6612  6657 D GmsPhenotypeSvc: bound by: GetServiceRequest{serviceId=PHENOTYPE, gmsVersion=225000000, packageName='app.revanced.android.youtube', extras=Bundle[{}]}
12-20 22:41:01.531 29810 29872 W GmsClient: service descriptor mismatch: com.google.android.gms.phenotype.internal.IPhenotypeService vs. com.mgoogle.android.gms.phenotype.internal.IPhenotypeService
12-20 22:41:01.550  2384  4036 I MediaSessionMonitor: Media session started : state=playing, pkg matches
12-20 22:41:01.570 29698 29698 I AudioPathManager: loadAudioPath() : loaded audio path is speaker (0)
12-20 22:41:01.570 29698 29698 I AudioManager: getParameters keys = g_effect_active_sound_info=track
12-20 22:41:01.571  1689  2218 I SecAudioParamFlinger: getActiveSoundInfo 1, trackFormat 1, outputFormat 4
12-20 22:41:01.572 29698 29698 I AudioManagerWrapper: getActiveSoundFormat() : active sound format is 1
12-20 22:41:01.572 29698 29698 I RestrictModeUtil: isOwnerMode() : user id is 0
12-20 22:41:01.573 29698 29698 I RestrictModeUtil: isDexMode() : DeX mode is off
12-20 22:41:01.573 29698 29698 I RestrictModeUtil: isEmergencyMode() : emergency mode is disabled
12-20 22:41:01.573 29698 29698 I EffectManager: isSupportDolbyAtmosOnThisAudioPath() : path is speaker (0)
12-20 22:41:01.573 29698 29698 I EffectManager: isSupportDolbyAtmosOnThisAudioPath() : speaker type is stereo
12-20 22:41:01.573 29698 29698 I EffectManager: isSpatialAudioActive() : mode is off (0)
12-20 22:41:01.573  1689  2218 D DlbEffectContext: getParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.573  1689  2218 D DlbEffectContext: getParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.574  1689  2218 D DlbEffectContext: getParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.574  1689  2218 D DlbEffectContext: getParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.574  1689  2218 D DlbEffectContext: getParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.574  1689  2218 D DlbEffectContext: getParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.574  1689  2218 D DlbEffectContext: getParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.574  1689  2218 D DlbEffectContext: getParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.574 29698 29698 I DolbyAtmosWrapper: getProfile() : for dolby atmos, -1
12-20 22:41:01.574 29698 29698 I AudioManager: setParameters keyValuePairs = g_effect_dolby_enable=0;g_effect_dolby_profile=5
12-20 22:41:01.574  1689  2218 V APM_AudioPolicyManager: setAudioPolicyConfig: g_effect_dolby_enable=0;g_effect_dolby_profile=5
12-20 22:41:01.575  1689  2218 D DlbSpatializerEffectContext: setParam() received parameter SPATIALIZER_PARAM_ENABLE
12-20 22:41:01.575  1689  2218 D DlbSpatializerEffectContext: setParam() received parameter SPATIALIZER_PARAM_ENABLE
12-20 22:41:01.575  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_ENABLE
12-20 22:41:01.575  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_ENABLE
12-20 22:41:01.575  1539  2776 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_ENABLE
12-20 22:41:01.575  1539  2776 D AudioSAEffectOffload: send_custom_payload_effect: enter, tag: 0xc000004, custom_data_sz: 16
12-20 22:41:01.575  1539  2776 I PAL: ResourceManager: setParameter: 9191: PAL_PARAM_ID_UIEFFECT tagId(0xc000004) paramId(0x10001fd1)
12-20 22:41:01.575  1539  2776 D AudioSAEffectOffload: send_custom_payload_effect: tag: 0xc000004, pal_stream_type PAL_STREAM_COMPRESSED write result: 0
12-20 22:41:01.575  1539  2776 D AudioSAEffectOffload: send_custom_payload_effect: exit, tag: 0xc000004, custom_data_sz: 16
12-20 22:41:01.575  1539  2776 D AudioSAEffectOffload: update offload effect: DLB,0,2,5,0
12-20 22:41:01.575  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_ENABLE
12-20 22:41:01.575  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_ENABLE
12-20 22:41:01.575  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_ENABLE
12-20 22:41:01.575  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_ENABLE
12-20 22:41:01.575  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_ENABLE
12-20 22:41:01.575  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_ENABLE
12-20 22:41:01.576  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.576  1689  2218 D DlbEffectContext: setProfile(profile=5) stageIdx:-1302
12-20 22:41:01.576  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.576  1689  2218 D DlbEffectContext: setProfile(profile=5) stageIdx:-1307
12-20 22:41:01.576  1539  2776 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.576  1539  2776 D DlbEffectContext: setProfile(profile=5) stageIdx:-1308
12-20 22:41:01.576  1539  2776 D AudioSAEffectOffload: send_custom_payload_effect: enter, tag: 0xc000004, custom_data_sz: 16
12-20 22:41:01.576  1539  2776 I PAL: ResourceManager: setParameter: 9191: PAL_PARAM_ID_UIEFFECT tagId(0xc000004) paramId(0x10001fd1)
12-20 22:41:01.576  1539  2776 D AudioSAEffectOffload: send_custom_payload_effect: tag: 0xc000004, pal_stream_type PAL_STREAM_COMPRESSED write result: 0
12-20 22:41:01.576  1539  2776 D AudioSAEffectOffload: send_custom_payload_effect: exit, tag: 0xc000004, custom_data_sz: 16
12-20 22:41:01.576  1539  2776 D AudioSAEffectOffload: update offload effect: DLB,0,2,5,0
12-20 22:41:01.576  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.576  1689  2218 D DlbEffectContext: setProfile(profile=5) stageIdx:-2105
12-20 22:41:01.576  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.576  1689  2218 D DlbEffectContext: setProfile(profile=5) stageIdx:-2108
12-20 22:41:01.576  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.576  1689  2218 D DlbEffectContext: setProfile(profile=5) stageIdx:-2113
12-20 22:41:01.576  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.576  1689  2218 D DlbEffectContext: setProfile(profile=5) stageIdx:-2902
12-20 22:41:01.576  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.576  1689  2218 D DlbEffectContext: setProfile(profile=5) stageIdx:-3702
12-20 22:41:01.576  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.576  1689  2218 D DlbEffectContext: setProfile(profile=5) stageIdx:-29002
12-20 22:41:01.576 29698 29698 I DolbyAtmosWrapper: setProfile() : for dolby atmos, 5
12-20 22:41:01.576 29698 29698 I EffectManager: setEffectDolbyAtmos() : enable is false, mode is off (5)
12-20 22:41:01.577 29698 29698 I AudioPathManager: loadAudioPath() : loaded audio path is speaker (0)
12-20 22:41:01.577 29698 29698 I EffectManager: setEffectDolbyAtmos() : concert hall will be restored as 0
12-20 22:41:01.577  1689  2218 I SoundAlive_Interface_a64: [ 1 ][ 48000 ]Set_User_CH() : 0
12-20 22:41:01.577  1689  2218 I SoundAlive_Interface_a64: [ 3 ][ 192000 ]Set_User_CH() : 0
12-20 22:41:01.577  1689  2218 I SoundAlive_Interface_a64: [ 5 ][ 48000 ]Set_User_CH() : 0
12-20 22:41:01.577  1689  2218 I SoundAlive_Interface_a64: [ 7 ][ 48000 ]Set_User_CH() : 0
12-20 22:41:01.577  1689  2218 I SoundAlive_Interface_a64: [ 9 ][ 48000 ]Set_User_CH() : 0
12-20 22:41:01.577 29698 29698 I EffectManager: isSupportDolbyAtmosOnThisAudioPath() : path is speaker (0)
12-20 22:41:01.578 29698 29698 I EffectManager: isSupportDolbyAtmosOnThisAudioPath() : speaker type is stereo
12-20 22:41:01.578 29698 29698 I PreferencesManager: getDolbyAtmosForGamingSwitch() : default value is 0
12-20 22:41:01.578 29698 29698 I AudioPathManager: loadAudioPath() : loaded audio path is speaker (0)
12-20 22:41:01.578 29698 29698 I EffectManager: isSupportDolbyAtmosOnThisAudioPath() : path is speaker (0)
12-20 22:41:01.578 29698 29698 I EffectManager: isSupportDolbyAtmosOnThisAudioPath() : speaker type is stereo
12-20 22:41:01.578 29698 29698 I AudioManager: setParameters keyValuePairs = g_effect_game_dolby_enable=0
12-20 22:41:01.578  1689  2218 V APM_AudioPolicyManager: setAudioPolicyConfig: g_effect_game_dolby_enable=0
12-20 22:41:01.579  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_ENABLE
12-20 22:41:01.579  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_ENABLE
12-20 22:41:01.580  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.580  1689  2218 D DlbEffectContext: setProfile(profile=5) stageIdx:-29003
12-20 22:41:01.580  1689  2218 D DlbEffectContext: setParam() received parameter EFFECT_PARAM_PROFILE
12-20 22:41:01.580  1689  2218 D DlbEffectContext: setProfile(profile=5) stageIdx:-29004
12-20 22:41:01.580 29698 29698 I DolbyAtmosWrapper: setProfile() : for dolby atmos for gaming, 5
12-20 22:41:01.580 29698 29698 I AudioPathManager: loadAudioPath() : loaded audio path is speaker (0)
12-20 22:41:01.580 29698 29698 I RestrictModeUtil: isOwnerMode() : user id is 0
12-20 22:41:01.581 29698 29698 I RestrictModeUtil: isDexMode() : DeX mode is off
12-20 22:41:01.581 29698 29698 I RestrictModeUtil: isEmergencyMode() : emergency mode is disabled
12-20 22:41:01.581  1689  2218 I SoundAlive_Interface_a64: [ 1 ][ 48000 ]Set_USER_EQ() : 0, 0, 0, 0, 0, 0, 0, 0, 0
12-20 22:41:01.582  1539  2776 D AudioSAEffectOffload: send_custom_payload_effect: enter, tag: 0xc000005, custom_data_sz: 104
12-20 22:41:01.582  1539  2776 I PAL: ResourceManager: setParameter: 9191: PAL_PARAM_ID_UIEFFECT tagId(0xc000005) paramId(0x10001fa1)
12-20 22:41:01.582  1539  2776 D AudioSAEffectOffload: send_custom_payload_effect: tag: 0xc000005, pal_stream_type PAL_STREAM_COMPRESSED write result: 0
12-20 22:41:01.582  1539  2776 D AudioSAEffectOffload: send_custom_payload_effect: exit, tag: 0xc000005, custom_data_sz: 104
12-20 22:41:01.582  1539  2776 D AudioSAEffectOffload: update offload effect: SA,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,1,1,0,0,0,0,0
12-20 22:41:01.582  1689  2218 I SoundAlive_Interface_a64: [ 3 ][ 192000 ]Set_USER_EQ() : 0, 0, 0, 0, 0, 0, 0, 0, 0
12-20 22:41:01.582  1689  2218 I SoundAlive_Interface_a64: [ 5 ][ 48000 ]Set_USER_EQ() : 0, 0, 0, 0, 0, 0, 0, 0, 0
12-20 22:41:01.582  1689  2218 I SoundAlive_Interface_a64: [ 7 ][ 48000 ]Set_USER_EQ() : 0, 0, 0, 0, 0, 0, 0, 0, 0
12-20 22:41:01.582  1689  2218 I SoundAlive_Interface_a64: [ 9 ][ 48000 ]Set_USER_EQ() : 0, 0, 0, 0, 0, 0, 0, 0, 0
12-20 22:41:01.582 29698 29698 I SoundAliveWrapper: setEqualizer() : preset is normal (0), levels for 9 bands are 0 0 0 0 0 0 0 0 0 with new api
12-20 22:41:01.582 29698 29698 I EffectManager: updateEqualizerAdvancedState() : this device doesn't support advanced equalizer
12-20 22:41:01.582 29698 29698 I AudioPathManager: loadAudioPath() : loaded audio path is speaker (0)
12-20 22:41:01.583 29698 29698 I EffectManager: isSupportUHQUpscalerOnCurrentAudioPath() : path is speaker (0), device type is builtin speaker (2)
12-20 22:41:01.583 29698 29698 I EffectManager: updateUHQUpscalerState() : uhq upscaler is not available on current audio path
12-20 22:41:01.583 29698 29698 I EffectManager: updateUHQUpscalerState() : audio path is speaker, so skip writing mode to settings db
12-20 22:41:01.583 29698 29698 I LocalBroadcastManager: sendLocalBroadcast() : action is 1
12-20 22:41:01.584 29698 29698 I AudioManagerWrapper: getCurrentMediaVolume() : current media volume is 7
12-20 22:41:01.584 29698 29698 I AudioPathManager: loadAudioPath() : loaded audio path is speaker (0)
12-20 22:41:01.584 29698 29698 I ModelUtil: isHighEndModel() : this model is SM-X800
12-20 22:41:01.584 29698 29698 I EffectManager: isSupportDolbyAtmosOnThisAudioPath() : path is speaker (0)
12-20 22:41:01.584 29698 29698 I EffectManager: isSupportDolbyAtmosOnThisAudioPath() : speaker type is stereo
12-20 22:41:01.585 29698 29698 I DVFSHelper: isNecessaryToBoostCPU() : isDolbyOn? false, isUHQUpscalerOn? false
12-20 22:41:01.585 29698 29698 I DVFSHelper: acquireBoostingCPU() : stop boosting cpu
12-20 22:41:01.597 29810 29810 D AndroidRuntime: Shutting down VM
12-20 22:41:01.597 29810 29810 E AndroidRuntime: FATAL EXCEPTION: main
12-20 22:41:01.597 29810 29810 E AndroidRuntime: Process: app.revanced.android.youtube, PID: 29810
12-20 22:41:01.597 29810 29810 E AndroidRuntime: java.lang.ClassCastException: android.view.ViewGroup$LayoutParams cannot be cast to android.view.ViewGroup$MarginLayoutParams
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7343)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.measure(View.java:27709)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7352)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.measure(View.java:27709)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7352)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.measure(View.java:27709)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.support.constraint.ConstraintLayout.onMeasure(PG:137)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.measure(View.java:27709)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at nx.bt(PG:12)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.support.v7.widget.LinearLayoutManager.k(PG:11)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.support.v7.widget.LinearLayoutManager.I(PG:7)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.support.v7.widget.LinearLayoutManager.o(PG:98)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at com.google.android.apps.youtube.app.common.ui.ScrollToTopLinearLayoutManager.o(PG:1)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.support.v7.widget.RecyclerView.aO(PG:9)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.support.v7.widget.RecyclerView.C(PG:9)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.support.v7.widget.RecyclerView.onLayout(PG:1)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.layout(View.java:24958)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:6784)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.layout(View.java:24958)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:6784)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.layout(View.java:24958)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:6784)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.layout(View.java:24958)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:6784)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at androidx.coordinatorlayout.widget.CoordinatorLayout.k(PG:31)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at androidx.coordinatorlayout.widget.CoordinatorLayout.onLayout(PG:7)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.layout(View.java:24958)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:6784)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.layout(View.java:24958)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:6784)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at com.google.android.apps.youtube.app.watch.nextgenwatch.ui.NextGenWatchLayout.onLayout(PG:5)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.layout(View.java:24958)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:6784)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at com.google.android.apps.youtube.app.watch.nextgenwatch.ui.NextGenWatchContainerLayout.g(PG:2)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at com.google.android.apps.youtube.app.watch.nextgenwatch.ui.NextGenWatchContainerLayout.h(PG:7)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at com.google.android.apps.youtube.app.watch.nextgenwatch.ui.NextGenWatchContainerLayout.onLayout(PG:18)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.layout(View.java:24958)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:6784)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.layout(View.java:24958)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:6784)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at com.google.android.apps.youtube.app.common.ui.navigationbar.NavigationBarDividerLayout.onLayout(PG:4)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.layout(View.java:24958)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:6784)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at com.google.android.apps.youtube.app.ui.swipetocontainer.SwipeToContainerFrameLayout.onLayout(PG:1)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.layout(View.java:24958)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:6784)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at aqy.onLayout(PG:6)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.layout(View.java:24958)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:6784)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.layout(View.java:24958)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:6784)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.layout(View.java:24958)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:6784)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.layout(View.java:24958)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:6784)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.layout(View.java:24958)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:6784)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at com.android.internal.policy.DecorView.onLayout(DecorView.java:1418)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.View.layout(View.java:24958)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:6784)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:4813)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:4141)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:3017)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:10699)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1301)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1309)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.Choreographer.doCallbacks(Choreographer.java:923)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.Choreographer.doFrame(Choreographer.java:852)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1283)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:942)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:226)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:313)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:8772)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
12-20 22:41:01.597 29810 29810 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
12-20 22:41:01.607  2384 30140 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
12-20 22:41:01.607  2384  3306 D Debug   : low && ship && 3rdparty app crash, do not dump
12-20 22:41:01.608  2384  3306 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1252 com.android.server.am.AppErrors.crashApplicationInner:722 com.android.server.am.AppErrors.crashApplication:598 com.android.server.am.ActivityManagerService.handleApplicationCrashInner:10387 com.android.server.am.ActivityManagerService.handleApplicationCrash:10256 
12-20 22:41:01.608  2384  3306 W ActivityManager: crash : app.revanced.android.youtube,10380
12-20 22:41:01.608  2384  3306 W ActivityTaskManager:   Force finishing activity app.revanced.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity
12-20 22:41:01.609  2384  3306 W WindowManager: Prepare app transition: mNextAppTransitionRequests=[TRANSIT_CLOSE], mNextAppTransitionFlags=TRANSIT_FLAG_KEYGUARD_GOING_AWAY_TO_LAUNCHER_WITH_IN_WINDOW_ANIMATIONS | TRANSIT_FLAG_APP_CRASHED, displayId: 0 Callers=com.android.server.wm.DisplayContent.prepareAppTransition:6387 com.android.server.wm.DisplayContent.requestTransitionAndLegacyPrepare:6403 com.android.server.wm.Task.finishTopCrashedActivityLocked:6635 com.android.server.wm.RootWindowContainer.lambda$finishTopCrashedActivities$19:2641 com.android.server.wm.RootWindowContainer.$r8$lambda$4nB35TzseTo6qyVD9NxDieoJN1Y:0 
12-20 22:41:01.609  2384  3306 D InputDispatcher: Focused application(0): ActivityRecord{f757e8c u0 com.teslacoilsw.launcher/.NovaLauncher} t484}
12-20 22:41:01.610  2384  3306 V WindowManager: Changing focus from Window{ac3ae43 u0 app.revanced.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity} to null displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:585 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6746 com.android.server.wm.ActivityTaskManagerService.setResumedActivityUncheckLocked:5712 com.android.server.wm.ActivityRecord.moveFocusableActivityToTop:3834 
12-20 22:41:01.610  2384  3306 D StatusBarManagerService: notifyRequestedSystemKey recent=false home=false
12-20 22:41:01.610  2384  3306 D SGM:FgCheckThread: TaskStackListener.onTaskFocusChanged(), taskId=510, focused=false
12-20 22:41:01.610  2384  3306 D SGM:FgCheckThread: TaskStackListener.onTaskFocusChanged(), taskId=484, focused=true
12-20 22:41:01.610  2384  3306 D SGM:FgCheckThread:   sendRunningComponentFocus(), pkgName: com.teslacoilsw.launcher, userId: 0
12-20 22:41:01.612  2384  3144 D NetdEventListenerService: DNS Requested by : 100, 10380
12-20 22:41:01.612  2384  2913 D SGM:FgCheckThread: onLooperPrepared(), msg: MSG_TASK_FOCUSED, pkgName: com.teslacoilsw.launcher, userId: 0
12-20 22:41:01.612  2384  2913 D SGM:FgCheckThread: handleTaskFocused().
12-20 22:41:01.612  2384  2913 D SGM:FgCheckThread: sendFocusOutConditionally() - mPrevNotiPkg: (unknown), userId: 0
12-20 22:41:01.612  2384  2913 D SGM:FgCheckThread:   handleTaskFocused(), pkgName: com.teslacoilsw.launcher, userID:0 mResumedPkgMap does not containsKey.
12-20 22:41:01.612  2384  3306 W WindowManager: Prepare app transition: mNextAppTransitionRequests=[TRANSIT_CLOSE, TRANSIT_CLOSE], mNextAppTransitionFlags=TRANSIT_FLAG_KEYGUARD_GOING_AWAY_TO_LAUNCHER_WITH_IN_WINDOW_ANIMATIONS | TRANSIT_FLAG_APP_CRASHED, displayId: 0 Callers=com.android.server.wm.DisplayContent.prepareAppTransition:6387 com.android.server.wm.DisplayContent.prepareAppTransition:6378 com.android.server.wm.ActivityRecord.finishIfPossible:4106 com.android.server.wm.ActivityRecord.finishIfPossible:3926 com.android.server.wm.Task.finishTopCrashedActivityLocked:6636 
12-20 22:41:01.613  2384  3306 D RestrictionPolicy: isScreenCaptureEnabled : ret=true userId=0
12-20 22:41:01.613  2384  3306 D RestrictionPolicy: isScreenCaptureEnabled : ret=true userId=0
12-20 22:41:01.614  1720  1720 I Layer   : id=1490 Destroyed Screenshot Parent#1490
12-20 22:41:01.624 29810 29818 I android.youtube: JIT allocated 58KB for compiled code of java.lang.Object erd.g()
12-20 22:41:01.627  2384  2531 I ActivityManager: Showing crash dialog for package app.revanced.android.youtube u0
12-20 22:41:01.627  2384  2531 D IAFDDiagnosis: parseExpType start
12-20 22:41:01.627  2384  2531 D ActivityManager: step1: IAFD parse pass, will call showIAFDCrashDialogs
12-20 22:41:01.627  2384  3306 W WindowManager:   Force finishing activity app.revanced.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity
12-20 22:41:01.627  2384  2531 D IAFDDiagnosis: getExpType() expType=1
12-20 22:41:01.628  2384  3306 W WindowManager: Prepare app transition: mNextAppTransitionRequests=[TRANSIT_CLOSE, TRANSIT_CLOSE, TRANSIT_CLOSE], mNextAppTransitionFlags=TRANSIT_FLAG_KEYGUARD_GOING_AWAY_TO_LAUNCHER_WITH_IN_WINDOW_ANIMATIONS | TRANSIT_FLAG_APP_CRASHED, displayId: 0 Callers=com.android.server.wm.DisplayContent.prepareAppTransition:6387 com.android.server.wm.DisplayContent.requestTransitionAndLegacyPrepare:6403 com.android.server.wm.RootWindowContainer.handleAppCrash:3202 com.android.server.wm.RootWindowContainer.$r8$lambda$p59QcVpCDJNtvMsRJBNKaYgnBHw:0 com.android.server.wm.RootWindowContainer$$ExternalSyntheticLambda12.accept:4 
12-20 22:41:01.629  2384  3306 V MARsPolicyManager: Current Home Package com.teslacoilsw.launcher Resumed
12-20 22:41:01.629  2384  3306 D MARsPolicyManager: onPackageResumedFG pkgName = com.teslacoilsw.launcher, userId = 0
12-20 22:41:01.629  2384  3306 I SemDvfsHyPerManager: acquire hyper - AMS_APP_HOME/2384@23, type = -999
12-20 22:41:01.629  1564  1615 I HYPER-HAL: [RequestManager.cpp]acquire(): Acquired ID : 2898051  [2384 / 23]    HINT : AMS_APP_HOME    list : 
12-20 22:41:01.632  2384  3306 D ActivityManagerPerformance: AMP_acquire() HOME
12-20 22:41:01.632  2384  2531 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1926 com.android.server.am.iafd.IAFDDiagnosis.showIAFDCrashDialogs:555 com.android.server.am.AppErrors.handleShowAppErrorUi:1201 com.android.server.am.ActivityManagerService$UiHandler.handleMessage:1918 android.os.Handler.dispatchMessage:106 
12-20 22:41:01.633  1720  1720 I SurfaceFlinger: [ac3ae43 app.revanced.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity#1480] FrameRatePriority: -1
12-20 22:41:01.633  2384  3306 W WindowManager: Prepare app transition: mNextAppTransitionRequests=[TRANSIT_CLOSE, TRANSIT_CLOSE, TRANSIT_CLOSE, TRANSIT_OPEN], mNextAppTransitionFlags=TRANSIT_FLAG_KEYGUARD_GOING_AWAY_TO_LAUNCHER_WITH_IN_WINDOW_ANIMATIONS | TRANSIT_FLAG_APP_CRASHED, displayId: 0 Callers=com.android.server.wm.DisplayContent.prepareAppTransition:6387 com.android.server.wm.DisplayContent.prepareAppTransition:6378 com.android.server.wm.TaskFragment.resumeTopActivity:1558 com.android.server.wm.TaskFragment.resumeTopActivity:1299 com.android.server.wm.Task.resumeTopActivityInnerLocked:6325 
12-20 22:41:01.633  5068  5094 I [AirCmd]_ActivitySwitchDetector: onTaskFocusChanged : taskId 484
12-20 22:41:01.633  2384  3306 V WindowManager: Setting visibility of Window{4b50d0e u0 com.teslacoilsw.launcher/com.teslacoilsw.launcher.NovaLauncher}: true, caller=com.android.server.wm.WindowContainer.sendAppVisibilityToClients:1236 com.android.server.wm.WindowToken.setClientVisible:431 com.android.server.wm.ActivityRecord.setClientVisible:7586 com.android.server.wm.ActivityRecord.setVisibility:6005 com.android.server.wm.ActivityRecord.setVisibility:5898 
12-20 22:41:01.634  2384  3306 D WindowManagerServiceExt: notifyOccludeChangeNotice: reset caller=com.android.server.wm.WindowManagerServiceExt.updateOccludeTargetIfNeeded:1378 com.android.server.wm.DisplayContent.ensureActivitiesVisible:7426 com.android.server.wm.RootWindowContainer.ensureActivitiesVisible:2234 com.android.server.wm.RootWindowContainer.ensureVisibilityAndConfig:2112 com.android.server.wm.TaskFragment.resumeTopActivity:1627 
12-20 22:41:01.634  2384  3306 V WindowManager: rotationForOrientation(orient=SCREEN_ORIENTATION_UNSPECIFIED (-1), last=ROTATION_90 (1)); user=ROTATION_90 (1) USER_ROTATION_LOCKED
12-20 22:41:01.634  2384  3306 D WindowManager: rotationForOrientation, orientationSource=ActivityRecord{f757e8c u0 com.teslacoilsw.launcher/.NovaLauncher} t484}
12-20 22:41:01.634  2384  3306 V WindowManager: rotationForOrientation(orient=SCREEN_ORIENTATION_UNSPECIFIED (-1), last=ROTATION_90 (1)); user=ROTATION_90 (1) USER_ROTATION_LOCKED
12-20 22:41:01.634  2384  3306 D WindowManager: rotationForOrientation, orientationSource=ActivityRecord{f757e8c u0 com.teslacoilsw.launcher/.NovaLauncher} t484}
12-20 22:41:01.634  2384  3306 V WindowManager: Computed rotation=ROTATION_90 (1) for display id=0 based on lastOrientation=SCREEN_ORIENTATION_UNSPECIFIED (-1) and oldRotation=ROTATION_90 (1), caller=com.android.server.wm.DisplayRotation.updateOrientation:414 com.android.server.wm.DisplayContent.updateOrientation:1975 com.android.server.wm.DisplayContent.updateOrientation:1876 com.android.server.wm.RootWindowContainer.ensureVisibilityAndConfig:2125 com.android.server.wm.TaskFragment.resumeTopActivity:1627 com.android.server.wm.TaskFragment.resumeTopActivity:1299 
12-20 22:41:01.635  2384  2559 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
12-20 22:41:01.635  2384  2559 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
12-20 22:41:01.635  2384  3306 D TspStateManager: updateCustomValue customSetting=
12-20 22:41:01.635  2384  3306 V WindowManager: rotationForOrientation(orient=SCREEN_ORIENTATION_UNSPECIFIED (-1), last=ROTATION_90 (1)); user=ROTATION_90 (1) USER_ROTATION_LOCKED
12-20 22:41:01.635  2384  3306 D WindowManager: rotationForOrientation, orientationSource=ActivityRecord{f757e8c u0 com.teslacoilsw.launcher/.NovaLauncher} t484}
12-20 22:41:01.635  3497  3497 I TopTaskTracker: onTaskMovedToFront : taskId = 484
12-20 22:41:01.635  3497  3497 I TaskbarRecentView: Block stack change
12-20 22:41:01.636  3497  3497 I TaskbarRecentView: onTaskFocusChanged() called
12-20 22:41:01.636  2384  3306 D TspStateManager: updateCustomValue customSetting=
12-20 22:41:01.636  2384  3306 W WindowManager: Execute app transition: mNextAppTransitionRequests=[TRANSIT_CLOSE, TRANSIT_CLOSE, TRANSIT_CLOSE, TRANSIT_OPEN], mNextAppTransitionFlags=TRANSIT_FLAG_KEYGUARD_GOING_AWAY_TO_LAUNCHER_WITH_IN_WINDOW_ANIMATIONS | TRANSIT_FLAG_APP_CRASHED, displayId: 0 Callers=com.android.server.wm.RootWindowContainer.executeAppTransitionForAllDisplay:2566 com.android.server.wm.ActivityTaskSupervisor.reportResumedActivityLocked:2218 com.android.server.wm.ActivityRecord.completeResumeLocked:6900 com.android.server.wm.TaskFragment.resumeTopActivity:1718 com.android.server.wm.TaskFragment.resumeTopActivity:1299 
12-20 22:41:01.637  5278  5278 I ViewRootImpl@4aa435a[NovaLauncher]: stopped(false) old = true
12-20 22:41:01.637  5278  5278 D ViewRootImpl@4aa435a[NovaLauncher]: WindowStopped on com.teslacoilsw.launcher/com.teslacoilsw.launcher.NovaLauncher set to false
12-20 22:41:01.640  2384  2505 I AppWidgetServiceImpl: lookupOrAddHostLocked = HostId{user:0, app:10321, hostId:1024, pkg:com.teslacoilsw.launcher}
12-20 22:41:01.640  2384  2505 I AppWidgetServiceImpl: startListening callbacks : com.android.internal.appwidget.IAppWidgetHost$Stub$Proxy@bd3c4c5
12-20 22:41:01.642  2384  5932 D InputDispatcher: Focus request (0): <null> but waiting because NOT_FOCUSABLE
12-20 22:41:01.642  2384  5932 D InputDispatcher: Focus left window (0): ac3ae43 app.revanced.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity
12-20 22:41:01.643  2384  2531 I ActivityManager: Changes in 10219 3 to 5, 15 to 8
12-20 22:41:01.643  2384  2531 I IAFDDiagnosis: Show3rdAppErrorUiExt() startService SM to show
12-20 22:41:01.644  5469  5469 I ThirdAppErrorDialogService: onStartCommand : com.samsung.android.sm.ACTION_START_THIRD_APP_ERROR_DIALOG
12-20 22:41:01.644  5068  5094 I [AirCmd]_ActivitySwitchDetector: onTaskFocusChanged : componentName - ComponentInfo{com.teslacoilsw.launcher/com.teslacoilsw.launcher.NovaLauncher}
12-20 22:41:01.644  5068  5094 I [AirCmd]_ActivitySwitchDetector: onTaskFocusChanged : mTopMostActivity - ComponentInfo{app.revanced.android.youtube/com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity}
12-20 22:41:01.648  5189  5189 W DMASA[D]: [c]Diagnostic is not agreed
12-20 22:41:01.648  2384  2581 E AppOps  : evalMode() Foreground Record OP returned IGNORE, uid - 10219, capability - 8
12-20 22:41:01.648  2384  2581 E AppOps  : evalMode() Foreground Record OP returned IGNORE, uid - 10219, capability - 8
12-20 22:41:01.648  2384  2581 E AppOps  : evalMode() Foreground Record OP returned IGNORE, uid - 10219, capability - 8
12-20 22:41:01.648  2384  2581 E AppOps  : evalMode() Foreground Record OP returned IGNORE, uid - 10219, capability - 8
12-20 22:41:01.648  2384  2581 E AppOps  : evalMode() Foreground Camera OP returned IGNORE, uid - 10219, capability - 8
12-20 22:41:01.648  2384  2581 E AppOps  : evalMode() Foreground Camera OP returned IGNORE, uid - 10219, capability - 8
12-20 22:41:01.650  5068  5094 I [AirCmd]_CallbackRepeater: stopRepeat : isWorking=false
12-20 22:41:01.650  5469  5469 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startActivity:1115 android.content.ContextWrapper.startActivity:441 com.samsung.android.sm.battery.service.ThirdAppErrorDialogService.onStartCommand:11 android.app.ActivityThread.handleServiceArgs:5235 android.app.ActivityThread.-$$Nest$mhandleServiceArgs:0 
12-20 22:41:01.651  2384  3306 I ActivityManager: Killing 29810:app.revanced.android.youtube/u0a380 (adj 900): crash
12-20 22:41:01.651  2384  2531 D SensorService: setUidStateForConnection uid= 10380 , ident = 0xb400006e088950f0 , state= 1
12-20 22:41:01.651  5068  5094 I [AirCmd]_MediaControlStateMonitor: active Notification List is null
12-20 22:41:01.651  5068  5094 I [AirCmd]_RemoteSpenMainController: hasGeneralAction : packageName is com.teslacoilsw.launcher, activityName is com.teslacoilsw.launcher.NovaLauncher, hasActions is false
12-20 22:41:01.651  5068  5094 I [AirCmd]_CameraAvailabilityMonitor: isCameraPreviewOn : mIsCameraPreviewOn is false
12-20 22:41:01.651  1555  1555 I sensors-hal: activate:419, android.sensor.accelerometer/11 en=0
12-20 22:41:01.652  1536  1628 E minksocket: MinkIPC_QRTR_Service: client with node 1 port 439e went down
12-20 22:41:01.650  5278  5278 I MSHandlerLifeCycle: removeMultiSplitHandler: no exist. decor=DecorView@3d92587[NovaLauncher]
12-20 22:41:01.652  5278  5278 I ViewRootImpl@4aa435a[NovaLauncher]: stopped(false) old = false
12-20 22:41:01.652  2384  2581 E AppOps  : evalMode() Foreground Camera OP returned IGNORE, uid - 10219, capability - 8
12-20 22:41:01.653  5226  5226 I SDHMS:BarTender:Gatherer:AppError: update AppError : uid=10380, pkg=app.revanced.android.youtube, errorType=crash
12-20 22:41:01.653  5068  5094 I [AirCmd]_CameraAvailabilityMonitor: isCameraPreviewOn : mIsCameraPreviewOn is false
12-20 22:41:01.654  2384  2581 E AppOps  : evalMode() Foreground Camera OP returned IGNORE, uid - 10219, capability - 8
12-20 22:41:01.654  5278  5278 I DecorView: notifyKeepScreenOnChanged: keepScreenOn=false
12-20 22:41:01.654  1555  1555 I sensors-hal: deactivate:380, disconnect qmi to disable sensor
12-20 22:41:01.654  1555  1555 I sensors-hal: activate:437, android.sensor.accelerometer/11 en=0 completed
12-20 22:41:01.656  5278  5278 I MSHandlerLifeCycle: removeMultiSplitHandler: no exist. decor=DecorView@3d92587[NovaLauncher]
12-20 22:41:01.656  2384  3306 I ActivityManager: Killing 25517:com.android.vending:background/u0a221 (adj 999): empty ReVanced/revanced-patches#33
12-20 22:41:01.656  2384  3306 I ActivityManager: Changes in 10318 3 to 10, 15 to 0
12-20 22:41:01.657  2384  3306 D ActivityManager: proc ProcessRecord{840037b 29810:app.revanced.android.youtube/u0a380} already removed. so we skip next process.
12-20 22:41:01.657  2384  3306 W WindowManager: Execute app transition: mNextAppTransitionRequests=[TRANSIT_CLOSE, TRANSIT_CLOSE, TRANSIT_CLOSE, TRANSIT_OPEN], mNextAppTransitionFlags=TRANSIT_FLAG_KEYGUARD_GOING_AWAY_TO_LAUNCHER_WITH_IN_WINDOW_ANIMATIONS | TRANSIT_FLAG_APP_CRASHED, displayId: 0 Callers=com.android.server.wm.Task.executeAppTransition:7680 com.android.server.wm.RootWindowContainer.lambda$resumeFocusedTasksTopActivities$20:2703 com.android.server.wm.RootWindowContainer.$r8$lambda$T5O2b-2Pin2YrxYnsz1zP_DLpiQ:0 com.android.server.wm.RootWindowContainer$$ExternalSyntheticLambda18.accept:13 com.android.server.wm.Task.forAllRootTasks:4033 
12-20 22:41:01.657  5469  5469 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startActivity:1127 android.app.ContextImpl.startActivity:1116 android.content.ContextWrapper.startActivity:441 com.samsung.android.sm.battery.service.ThirdAppErrorDialogService.onStartCommand:11 android.app.ActivityThread.handleServiceArgs:5235 
12-20 22:41:01.657  2384  3306 W WindowManager: Execute app transition: mNextAppTransitionRequests=[TRANSIT_CLOSE, TRANSIT_CLOSE, TRANSIT_CLOSE, TRANSIT_OPEN], mNextAppTransitionFlags=TRANSIT_FLAG_KEYGUARD_GOING_AWAY_TO_LAUNCHER_WITH_IN_WINDOW_ANIMATIONS | TRANSIT_FLAG_APP_CRASHED, displayId: 0 Callers=com.android.server.wm.Task.executeAppTransition:7680 com.android.server.wm.TaskFragment.resumeTopActivity:1339 com.android.server.wm.TaskFragment.resumeTopActivity:1299 com.android.server.wm.Task.resumeTopActivityInnerLocked:6325 com.android.server.wm.Task.resumeTopActivityUncheckedLocked:6234 
12-20 22:41:01.658  5278  5455 D OpenGLRenderer: setSurface called with nullptr
12-20 22:41:01.658  2384  2505 D ActivityTaskManager: startActivityAsUser: callingPid=5469, callingUid=1000, caller=com.android.server.wm.ActivityTaskManagerService.startActivityAsUser:1807 com.android.server.wm.ActivityTaskManagerService.startActivity:1758 android.app.IActivityTaskManager$Stub.onTransact:1234 com.android.server.wm.ActivityTaskManagerService.onTransact:6545 android.os.Binder.execTransactInternal:1316 android.os.Binder.execTransact:1280 <bottom of call stack>

Screenshots or videos

No response

Solution

  1. Repeat the reproduction steps, but after choosing the "Recommended" option, disable the general-ads patch before patching.
  2. When loading the video now, the application will play the video correctly

Additional context

No response

Acknowledgements

  • I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • I have written a short but informative title.
  • I filled out all of the requested information in this issue properly.
@rel0aded rel0aded added the Bug report Something isn't working label Dec 21, 2022
@oSumAtrIX
Copy link
Member

Revert ReVanced/revanced-integrations#240 locally and check if it solves the issue. If it does, check if it really does without reverting it.

@oSumAtrIX oSumAtrIX added the Waiting on author Further information is requested label Dec 21, 2022
@rel0aded
Copy link
Author

rel0aded commented Dec 21, 2022

Absolutely happy to debug and test - is this something (reverting patches to older commits) that can be done directly within ReVanced Manager, or do I need to set up a local build instance?

Ignore - have seen the "Sources" option in Settings allows for a custom integration repository to be specified. Will try now.

@rel0aded
Copy link
Author

Hitting this issue when trying to patch using my forked repo with the reverted commit. Have restarted Manager after changing the repository, have tried clearing data and cache of Manager, and uninstalling/reinstalling without success.

I can also see that someone else had a similar issue after changing their repository on XDA

Will have to try to set up a local build environment on my PC to generate the patched APK later.

@oSumAtrIX
Copy link
Member

Try the CLI.

@rel0aded
Copy link
Author

Successfully tested the reverted commit using revanced-cli. I can confirm that while running the newly-pushed APK that previously-crashing videos no longer crash the app. I have tested all three I was previously aware of with zero crashes.

Including full output here for reference (particularly as I got an error while patching return-youtube-dislike, and want to be transparent on the 0.01% chance it's related to fixing the issue...but I don't believe it is). Happy to test a fully-passing build if/when that error is solved, if it's necessary.

➜  revanced-integrations git:(main) git ls-remote
From https://github.com/rel0aded/revanced-integrations
7e5fe25055e29b3e4234a589a6f740f5d5b2620f	HEAD
7e5fe25055e29b3e4234a589a6f740f5d5b2620f	refs/heads/main
➜  revanced-integrations git:(main) git rev-parse HEAD
7e5fe25055e29b3e4234a589a6f740f5d5b2620f
➜ revanced-integrations git:(main) ~/Downloads/gradle-7.6/bin/gradle build                                                                  

> Task :app:compileDebugKotlin
w: /home/user/Code/revanced-integrations/app/src/main/java/app/revanced/integrations/swipecontrols/views/SwipeControlsOverlayLayout.kt: (136, 41): 'FLAG_IGNORE_GLOBAL_SETTING: Int' is deprecated. Deprecated in Java

> Task :app:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/user/Code/revanced-integrations/app/src/main/java/app/revanced/integrations/settingsmenu/ReVancedSettingActivity.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :app:compileReleaseKotlin
w: /home/user/Code/revanced-integrations/app/src/main/java/app/revanced/integrations/swipecontrols/views/SwipeControlsOverlayLayout.kt: (136, 41): 'FLAG_IGNORE_GLOBAL_SETTING: Int' is deprecated. Deprecated in Java

> Task :app:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/user/Code/revanced-integrations/app/src/main/java/app/revanced/integrations/settingsmenu/ReVancedSettingActivity.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :dummy:lintReportDebug
Wrote HTML report to file:///home/user/Code/revanced-integrations/dummy/build/reports/lint-results-debug.html

> Task :app:lintReportDebug
Wrote HTML report to file:///home/user/Code/revanced-integrations/app/build/reports/lint-results-debug.html

BUILD SUCCESSFUL in 2m 19s
141 actionable tasks: 141 executed
➜  Downloads java -jar revanced-cli-2.18.2-all.jar -a yt.apk -b revanced-patches-2.146.0.jar -m ~/Code/revanced-integrations/app/build/outputs/apk/release/app-release-unsigned.apk -o yt-patched.apk -d XXXXXXXXXXX
INFO: Reading dex files 
INFO: Decoding AndroidManifest.xml only, because resources are not needed 
INFO: Merging /home/user/Code/revanced-integrations/app/build/outputs/apk/release/app-release-unsigned.apk 
INFO: Skipping predictive-back-gesture: Excluded by default 
INFO: Skipping theme: Excluded by default 
INFO: Deleting existing resource cache directory 
INFO: Decoding resources 
INFO: always-autorepeat succeeded 
INFO: client-spoof succeeded 
INFO: comments succeeded 
INFO: custom-branding succeeded 
INFO: custom-video-buffer succeeded 
INFO: custom-video-speed succeeded 
INFO: debugging succeeded 
INFO: disable-auto-captions succeeded 
INFO: disable-auto-player-popup-panels succeeded 
INFO: disable-fullscreen-panels succeeded 
INFO: disable-startup-shorts-player succeeded 
INFO: disable-zoom-haptics succeeded 
INFO: downloads succeeded 
INFO: enable-wide-searchbar succeeded 
INFO: general-ads succeeded 
INFO: hdr-auto-brightness succeeded 
INFO: hide-album-cards succeeded 
INFO: hide-artist-card succeeded 
INFO: hide-autoplay-button succeeded 
INFO: hide-captions-button succeeded 
INFO: hide-cast-button succeeded 
INFO: hide-create-button succeeded 
INFO: hide-crowdfunding-box succeeded 
INFO: hide-email-address succeeded 
INFO: hide-endscreen-cards succeeded 
INFO: hide-info-cards succeeded 
INFO: hide-my-mix succeeded 
INFO: hide-shorts-button succeeded 
INFO: hide-time-and-seekbar succeeded 
INFO: hide-video-buttons succeeded 
INFO: hide-watch-in-vr succeeded 
INFO: hide-watermark succeeded 
INFO: microg-support succeeded 
INFO: minimized-playback succeeded 
INFO: old-quality-layout succeeded 
INFO: open-links-directly succeeded 
INFO: premium-heading succeeded 
INFO: remember-video-quality succeeded 
INFO: remove-player-button-background succeeded 
SEVERE: return-youtube-dislike failed: 
app.revanced.patcher.patch.PatchResultError
	at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:429)
	at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:44)
	at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:445)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)
	at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
	at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:20)
	at app.revanced.cli.command.MainCommand.run(MainCommand.kt:155)
	at picocli.CommandLine.executeUserObject(CommandLine.java:2026)
	at picocli.CommandLine.access$1500(CommandLine.java:148)
	at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
	at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
	at picocli.CommandLine.execute(CommandLine.java:2170)
	at app.revanced.cli.main.MainKt.main(Main.kt:7)
Caused by: java.lang.NullPointerException
	at app.revanced.patches.youtube.layout.returnyoutubedislike.patch.ReturnYouTubeDislikePatch.execute(ReturnYouTubeDislikePatch.kt:55)
	at app.revanced.patches.youtube.layout.returnyoutubedislike.patch.ReturnYouTubeDislikePatch.execute(ReturnYouTubeDislikePatch.kt:24)
	at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:425)
	... 16 more
INFO: seekbar-tapping succeeded 
INFO: settings succeeded 
INFO: sponsorblock succeeded 
INFO: swipe-controls succeeded 
INFO: tablet-mini-player succeeded 
INFO: video-ads succeeded 
INFO: Compiling resources 
INFO: Writing modified dex files 
INFO: Aligning yt.apk to yt-patched_aligned.apk 
INFO: Signing yt-patched_aligned.apk to yt-patched_signed.apk 
INFO: Copying yt-patched_signed.apk to yt-patched.apk 
INFO: Installing without mounting 
INFO: Finished

@oSumAtrIX
Copy link
Member

Your issue is related to ReVanced/revanced-patches-template#1568.

@rel0aded
Copy link
Author

Would you like me to try and build the latest commit of revanced-cli to test a no-error build? Or are you happy it's unrelated to the crashing issue, and successfully testing the reverted commit is sufficient?

@oSumAtrIX
Copy link
Member

@rel0aded Thank you for debugging the issue. I have pushed a revert commit which fixes ReVanced/revanced-patches-template#1550. The other issue is related to ReVanced/revanced-patches-template#1568 and does not require further investigation. Thanks.

@revanced-bot revanced-bot transferred this issue from ReVanced/revanced-patches-template Dec 14, 2023
@oSumAtrIX oSumAtrIX transferred this issue from another repository Dec 14, 2023
@LisoUseInAIKyrios LisoUseInAIKyrios removed the Waiting on author Further information is requested label Dec 27, 2023
Slenderman00 pushed a commit to Slenderman00/revanced-patches-grindr that referenced this issue Jan 31, 2024
Slenderman00 pushed a commit to Slenderman00/revanced-patches-grindr that referenced this issue Jan 31, 2024
# [2.158.0](ReVanced/revanced-patches@v2.157.0...v2.158.0) (2023-01-29)

### Bug Fixes

* **youtube/microg-support:** replace new permission ([3d1cce5](ReVanced/revanced-patches@69eb105))
* **youtube:** resolve duplicate preference keys ([ReVanced#1550](ReVanced/revanced-patches#1550)) ([aafdb89](ReVanced/revanced-patches@5b751fc))

### Features

* **irplus:** `remove-ads` patch ([ReVanced#1554](ReVanced/revanced-patches#1554)) ([9943a52](ReVanced/revanced-patches@c5c6c55))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants