device/generic/common
Révision | b00bbe393cd990b7c740a7486cdcb4c086e86d34 (tree) |
---|---|
l'heure | 2016-10-07 03:52:13 |
Auteur | Jaap Jan Meijer <jjmeijer88@gmai...> |
Commiter | Jaap Jan Meijer |
Merge remote-tracking branch 'x86/nougat-x86' into cm-14.0-x86
@@ -6,6 +6,7 @@ TARGET_BOARD_PLATFORM := android-x86 | ||
6 | 6 | |
7 | 7 | # Some framework code requires this to enable BT |
8 | 8 | BOARD_HAVE_BLUETOOTH := true |
9 | +BOARD_HAVE_BLUETOOTH_LINUX := true | |
9 | 10 | |
10 | 11 | BOARD_USE_LEGACY_UI := true |
11 | 12 |
@@ -74,7 +75,8 @@ TARGET_HARDWARE_3D := true | ||
74 | 75 | BOARD_EGL_CFG ?= device/generic/common/gpu/egl_mesa.cfg |
75 | 76 | endif |
76 | 77 | |
77 | -BOARD_KERNEL_CMDLINE := root=/dev/ram0 | |
78 | +BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot.selinux=permissive | |
79 | +TARGET_KERNEL_DIFFCONFIG := device/generic/common/selinux_diffconfig | |
78 | 80 | |
79 | 81 | COMPATIBILITY_ENHANCEMENT_PACKAGE := true |
80 | 82 | PRC_COMPATIBILITY_PACKAGE := true |
@@ -1,5 +1,5 @@ | ||
1 | 1 | # |
2 | -# Copyright (C) 2014 The Android-x86 Open Source Project | |
2 | +# Copyright (C) 2014-2016 The Android-x86 Open Source Project | |
3 | 3 | # |
4 | 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
5 | 5 | # you may not use this file except in compliance with the License. |
@@ -47,6 +47,7 @@ PRODUCT_COPY_FILES += \ | ||
47 | 47 | device/sample/etc/old-apns-conf.xml:system/etc/old-apns-conf.xml \ |
48 | 48 | frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \ |
49 | 49 | frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \ |
50 | + frameworks/base/compiled-classes-phone:system/etc/compiled-classes \ | |
50 | 51 | frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml \ |
51 | 52 | frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \ |
52 | 53 | frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \ |
@@ -9,7 +9,6 @@ | ||
9 | 9 | # |
10 | 10 | |
11 | 11 | PRODUCT_PACKAGES := \ |
12 | - hwcomposer.drm \ | |
13 | 12 | gralloc.drm \ |
14 | 13 | libGLES_mesa \ |
15 | 14 | libtxc_dxtn \ |
@@ -401,6 +401,8 @@ function do_bootcomplete() | ||
401 | 401 | alsa_amixer -c $c set 'Internal Mic Boost' 3 |
402 | 402 | fi |
403 | 403 | done |
404 | + | |
405 | + post_bootcomplete | |
404 | 406 | } |
405 | 407 | |
406 | 408 | function do_hci() |
@@ -115,14 +115,14 @@ static void __attribute__ ((destructor)) on_dlclose() | ||
115 | 115 | extern "C" { |
116 | 116 | |
117 | 117 | NativeBridgeCallbacks NativeBridgeItf = { |
118 | - version: 2, | |
119 | - initialize: &native_bridge2_initialize, | |
120 | - loadLibrary: &native_bridge2_loadLibrary, | |
121 | - getTrampoline: &native_bridge2_getTrampoline, | |
122 | - isSupported: &native_bridge2_isSupported, | |
123 | - getAppEnv: &native_bridge2_getAppEnv, | |
124 | - isCompatibleWith: &native_bridge2_is_compatible_compatible_with, | |
125 | - getSignalHandler: &native_bridge2_get_signal_handler, | |
118 | + .version = 2, | |
119 | + .initialize = &native_bridge2_initialize, | |
120 | + .loadLibrary = &native_bridge2_loadLibrary, | |
121 | + .getTrampoline = &native_bridge2_getTrampoline, | |
122 | + .isSupported = &native_bridge2_isSupported, | |
123 | + .getAppEnv = &native_bridge2_getAppEnv, | |
124 | + .isCompatibleWith = &native_bridge2_is_compatible_compatible_with, | |
125 | + .getSignalHandler = &native_bridge2_get_signal_handler, | |
126 | 126 | }; |
127 | 127 | |
128 | 128 | } // extern "C" |
@@ -53,19 +53,6 @@ | ||
53 | 53 | <item>"9,1"</item> |
54 | 54 | </string-array> |
55 | 55 | |
56 | - <!-- Set of NetworkInfo.getType() that reflect data usage. --> | |
57 | - <integer-array translatable="false" name="config_data_usage_network_types"> | |
58 | - <item>0</item> <!-- TYPE_MOBILE --> | |
59 | - <item>2</item> <!-- TYPE_MOBILE_MMS --> | |
60 | - <item>3</item> <!-- TYPE_MOBILE_SUPL --> | |
61 | - <item>4</item> <!-- TYPE_MOBILE_DUN --> | |
62 | - <item>5</item> <!-- TYPE_MOBILE_HIPRI --> | |
63 | - <item>9</item> <!-- TYPE_ETHERNET --> | |
64 | - <item>10</item> <!-- TYPE_MOBILE_FOTA --> | |
65 | - <item>11</item> <!-- TYPE_MOBILE_IMS --> | |
66 | - <item>12</item> <!-- TYPE_MOBILE_CBS --> | |
67 | - </integer-array> | |
68 | - | |
69 | 56 | <!-- Sets whether menu shortcuts should be displayed on panel menus when |
70 | 57 | a keyboard is present. --> |
71 | 58 | <bool name="config_showMenuShortcutsWhenKeyboardPresent">true</bool> |
@@ -0,0 +1,7 @@ | ||
1 | +CONFIG_SECURITY_PATH=y | |
2 | +CONFIG_SECURITY_SELINUX_BOOTPARAM=y | |
3 | +CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=1 | |
4 | +CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1 | |
5 | +CONFIG_DEFAULT_SECURITY_SELINUX=y | |
6 | +# CONFIG_DEFAULT_SECURITY_DAC is not set | |
7 | +CONFIG_DEFAULT_SECURITY="selinux" |