Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b1564bd authored by jruesga's avatar jruesga
Browse files

Open and Open with actions

Implementation of Open and Open with actions. This create a custom
dialog that allow show all registered application even when only one
application exists or has a preferred application.
This change requires a platform signature to allow use
addPreferredActivity or removePreferredActivity.
For this is not working. Need be tested and checked inside CM.
parent 746b7910
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@

  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
  <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS" />

  <application
    android:name="ExplorerApplication"
+1.41 KiB
Loading image diff...
+1.28 KiB
Loading image diff...
+1.57 KiB
Loading image diff...
+37 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
 ** Copyright (C) 2012 The CyanogenMod Project
 **
 ** Licensed under the Apache License, Version 2.0 (the "License");
 ** you may not use this file except in compliance with the License.
 ** You may obtain a copy of the License at
 **
 **      http://www.apache.org/licenses/LICENSE-2.0
 **
 ** Unless required by applicable law or agreed to in writing, software
 ** distributed under the License is distributed on an "AS IS" BASIS,
 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 ** See the License for the specific language governing permissions and
 ** limitations under the License.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android" android:exitFadeDuration="@android:integer/config_shortAnimTime">

  <item
    android:drawable="@android:color/holo_blue_dark"
    android:state_pressed="true"/>
  <item
    android:drawable="@android:color/holo_blue_light"
    android:state_enabled="true"
    android:state_focused="true"/>
  <item
    android:drawable="@android:color/holo_blue_light"
    android:state_enabled="true"
    android:state_checked="true"/>
  <item
    android:drawable="@android:color/holo_blue_light"
    android:state_enabled="true"
    android:state_selected="true"/>
  <item
    android:drawable="@android:color/transparent"/>

</selector>
 No newline at end of file
Loading