Loading Android.bp +1 −1 Original line number Diff line number Diff line Loading @@ -32,6 +32,6 @@ android_app { proguard_flags_files: ["proguard.flags"], }, sdk_version: "current", sdk_version: "system_current", min_sdk_version: "21", } AndroidManifest.xml +1 −0 Original line number Diff line number Diff line Loading @@ -53,6 +53,7 @@ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> <!-- Required in P to run Service.startForeground() --> <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS" /> <uses-feature android:name="android.hardware.telephony" Loading src/com/android/contacts/vcard/ImportVCardActivity.java +3 −0 Original line number Diff line number Diff line Loading @@ -546,6 +546,9 @@ public class ImportVCardActivity extends Activity implements ImportVCardDialogFr protected void onCreate(Bundle bundle) { super.onCreate(bundle); getWindow().addSystemFlags(android.view.WindowManager.LayoutParams .SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); Uri sourceUri = getIntent().getData(); // Reading uris from non-storage needs the permission granted from the source intent, Loading src/com/android/contacts/vcard/SelectAccountActivity.java +3 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,9 @@ public class SelectAccountActivity extends Activity { protected void onCreate(Bundle bundle) { super.onCreate(bundle); getWindow().addSystemFlags(android.view.WindowManager.LayoutParams .SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); // There's three possibilities: // - more than one accounts -> ask the user // - just one account -> use the account without asking the user Loading Loading
Android.bp +1 −1 Original line number Diff line number Diff line Loading @@ -32,6 +32,6 @@ android_app { proguard_flags_files: ["proguard.flags"], }, sdk_version: "current", sdk_version: "system_current", min_sdk_version: "21", }
AndroidManifest.xml +1 −0 Original line number Diff line number Diff line Loading @@ -53,6 +53,7 @@ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> <!-- Required in P to run Service.startForeground() --> <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS" /> <uses-feature android:name="android.hardware.telephony" Loading
src/com/android/contacts/vcard/ImportVCardActivity.java +3 −0 Original line number Diff line number Diff line Loading @@ -546,6 +546,9 @@ public class ImportVCardActivity extends Activity implements ImportVCardDialogFr protected void onCreate(Bundle bundle) { super.onCreate(bundle); getWindow().addSystemFlags(android.view.WindowManager.LayoutParams .SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); Uri sourceUri = getIntent().getData(); // Reading uris from non-storage needs the permission granted from the source intent, Loading
src/com/android/contacts/vcard/SelectAccountActivity.java +3 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,9 @@ public class SelectAccountActivity extends Activity { protected void onCreate(Bundle bundle) { super.onCreate(bundle); getWindow().addSystemFlags(android.view.WindowManager.LayoutParams .SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS); // There's three possibilities: // - more than one accounts -> ask the user // - just one account -> use the account without asking the user Loading