Source:
<code>protected void updateCapabilities() { List<String> capabilities = new ArrayList<String>(); <START> Collections.addAll(capabilities, MediaPlayer.Capabilities); <END> capabilities.add(Play); capabilities.add(Pause); capabilities.add(Stop); capabilities.add(YouTube); capabilities.add(YouTube_Params); capabilities.add(Subtitle_SRT); if (DiscoveryManager.getInstance().getPairingLevel() == PairingLevel.ON) { Collections.addAll(capabilities, TextInputControl.Capabilities); Collections.addAll(capabilities, MouseControl.Capabilities); Collections.addAll(capabilities, KeyControl.Capabilities); capabilities.add(PowerControl.Off); capabilities.add(Duration); capabilities.add(Position); capabilities.add(Seek); capabilities.add(Application); capabilities.add(Application_Close); capabilities.add(Application_List); capabilities.add(Browser); capabilities.add(Hulu); capabilities.add(Netflix); capabilities.add(Netflix_Params); capabilities.add(AppStore); capabilities.add(Channel_Up); capabilities.add(Channel_Down); capabilities.add(Channel_Get); capabilities.add(Channel_List); capabilities.add(Channel_Subscribe); capabilities.add(Get_3D); capabilities.add(Set_3D); capabilities.add(Subscribe_3D); capabilities.add(Picker_Launch); capabilities.add(Picker_Close); capabilities.add(Volume_Get); capabilities.add(Volume_Up_Down); capabilities.add(Mute_Get); capabilities.add(Mute_Set); if (serviceDescription.getModelNumber().equals("4.0")) { capabilities.add(AppStore_Params); } } setCapabilities(capabilities); }</code><technical_language>please extract capabilities change (except Rewind FF) a separate commit? remove this PR</technical_language>

Target:
protected void updateCapabilities() { List<String> capabilities = new ArrayList<String>(); if (DiscoveryManager.getInstance().getPairingLevel() == PairingLevel.ON) { Collections.addAll(capabilities, TextInputControl.Capabilities); Collections.addAll(capabilities, MouseControl.Capabilities); Collections.addAll(capabilities, KeyControl.Capabilities); Collections.addAll(capabilities, MediaPlayer.Capabilities); capabilities.add(PowerControl.Off); capabilities.add(Play); capabilities.add(Pause); capabilities.add(Stop); capabilities.add(Duration); capabilities.add(Position); capabilities.add(Seek); capabilities.add(Application); capabilities.add(Application_Close); capabilities.add(Application_List); capabilities.add(Browser); capabilities.add(Hulu); capabilities.add(Netflix); capabilities.add(Netflix_Params); capabilities.add(YouTube); capabilities.add(YouTube_Params); capabilities.add(AppStore); capabilities.add(Channel_Up); capabilities.add(Channel_Down); capabilities.add(Channel_Get); capabilities.add(Channel_List); capabilities.add(Channel_Subscribe); capabilities.add(Get_3D); capabilities.add(Set_3D); capabilities.add(Subscribe_3D); capabilities.add(Picker_Launch); capabilities.add(Picker_Close); capabilities.add(Volume_Get); capabilities.add(Volume_Up_Down); capabilities.add(Mute_Get); capabilities.add(Mute_Set); if (serviceDescription.getModelNumber().equals("4.0")) { capabilities.add(AppStore_Params); } } else { Collections.addAll(capabilities, MediaPlayer.Capabilities); capabilities.add(Play); capabilities.add(Pause); capabilities.add(Stop); capabilities.add(YouTube); capabilities.add(YouTube_Params); } capabilities.add(MediaPlayer.Subtitle_SRT); setCapabilities(capabilities); }