3
0
Commit Graph

220 Commits

Author SHA1 Message Date
lion0738
c0e6826cf4 galaxys2: update camera overlay
Change-Id: Icce206f9b1747f015076bd19aeb1fdd8f20a754c
2013-11-17 23:28:13 +04:00
David Ferguson
92673a8d71 [libhealthd] Proper battery paths
* 4.4 introduces a new daemon, healthd, that handles battery status
    - resides in: /system/core/healthd
    - BatteryMonitor.cpp iterates through all the *directories* under
      /sys/class/power_supply looking for a file called 'type'
    - if the type == Battery, it assumes this is the location for the
      battery stats for the device. Only the first directory that matches
      this criteria is used.
    - on msm8660/d2/jf/s2 kernels, this search results in:
      /sys/class/power_supply/fuelgauge.
    - To determine capacity, healthd looks at the contents of the
      'capacity' file under this discovered base path. This results
      in /sys/class/power_supply/fuelgauge/capacity on msm8660/d2/jf/s2
      kernels.
    - Unfortunately, this is the wrong path. The capacity file at this
      location returns a large negative number.
    - Other paths like status, voltage_now, and present are also
      incorrectly determined.
  * For comparison, in 4.3 battery statistics gathering was handled by
    frameworks/base/services/jni/com_android_server_BatteryService.cpp
    - BatteryService does a similar search for a file called 'type' with
      the contents of 'Battery'
    - But the search logic is different here: it takes the *last* path that
      matches the criteria.
    - This results in the correct /sys/class/power_supply/battery
  * This patch overrides the discovery mechanism for battery status completely.

Change-Id: I4579c92bba5596eef4dac67b8c0687be50a1d2f5
2013-11-17 19:17:26 +04:00
Daniel Hillenbrand
e43d6d9042 Merge "Remove duplicate selinux policy entry" into cm-11.0 2013-11-17 11:53:24 +00:00
Daniel Hillenbrand
79cf129646 Merge "wifi: update {wpa,p2p}_supplicant services init" into cm-11.0 2013-11-17 11:51:16 +00:00
Daniel Hillenbrand
c732db8251 Merge "Fix graphical issues" into cm-11.0 2013-11-17 11:50:32 +00:00
Daniel Hillenbrand
3eae3cd01a Merge "Fix build error" into cm-11.0 2013-11-15 14:44:04 +00:00
Pavel Kirpichyov
8ba972883d Fix graphical issues
Change-Id: Iafeb4349fa504b5a5f7d72afd3274581de5b2ddc
2013-11-15 17:57:15 +04:00
Pavel Kirpichyov
67c83c3477 wifi: update {wpa,p2p}_supplicant services init
Change-Id: I9386392b90c1e9ad792a1a1f4145bd01f77cdd13
2013-11-13 18:22:16 +04:00
Pavel Kirpichyov
d27e59fcde Remove duplicate selinux policy entry
Change-Id: I89a44c948c19e35afee9a3c8e3ddc209df230a1e
2013-11-13 16:03:54 +04:00
Pavel Kirpichyov
3ab7cadab0 Fix build error
Since directory system/bluetooth does not exists

Change-Id: I05c60a21bf5c5d9efc1e5804133083676e2cd103
2013-11-13 11:05:20 +04:00
Pavel Kirpichyov
3d63d7bfe5 Fix recovery compatible issues
Change-Id: I8ed60c8bc765692e6c4f38b66248ddcf6dd8db91
2013-11-13 11:00:24 +04:00
Ricardo Cerqueira
5ad50bc3af selinux: Don't reset inherited system-wide configs
Change-Id: Ia23596bc4ad8a1fe7673188434b7327528e07c06
2013-11-02 00:05:52 +00:00
Ricardo Cerqueira
6295bc69ca Treat all screenshots as going to a CPU consumer
Change-Id: Iee55fa03d9602f31a3b7f4f188778c58e8ca0131
2013-10-27 00:14:09 +01:00
Ricardo Cerqueira
e31957ea60 Get rid of the gfx buffer workarounds
Concurrent buffers are now working, we don't need this crap anymore

Change-Id: I80c35bb67c41e9c61faeb6f3cd80d3e9033f9641
2013-10-27 00:13:12 +01:00
Janson Kang
17662dcd75 galaxys2-common: Update torch overlays
Change-Id: Id4b3867f757e2f395228d58dee96b8513d378b59
2013-10-23 23:16:50 -07:00
Ricardo Cerqueira
c32d4293de Revert "galaxys2-common: match API to AOSP"
This reverts commit 7ea48537ec.

Change-Id: I2ff8449f3975f27046ec5a58dccab32cf98c7ffd
2013-10-22 15:07:38 +00:00
Dorian Snyder
7ea48537ec galaxys2-common: match API to AOSP
See: http://review.cyanogenmod.org/#/c/52047/

Change-Id: I825527ec4a298f98ae6606e6b9ae4b41d5bc8f21
2013-10-21 22:11:02 -07:00
Ricardo Cerqueira
dd73fc3fbb ota: Fix invocation of AppendAssertions
it now takes a dict, not the zip object

Change-Id: I14f6eb695960f05e85fe4821e6408eec0ba7a59e
2013-10-18 22:53:54 +01:00
Daniel Hillenbrand
fe8300b87c Merge "galaxys2: add netflix hack" into cm-10.2 2013-09-19 16:00:50 +00:00
Daniel Hillenbrand
07a0b80580 galaxys2: camera: add video snap param and set to "false"
Change-Id: I87e081f3269562df597c927537f270acdf8720c4
2013-09-19 17:57:19 +02:00
Daniel Hillenbrand
e4cfa197f1 galaxys2: require vendor
Change-Id: I09130a30aa412f1221ee0a771483494da5f16c95
2013-09-07 22:20:29 +02:00
Ricardo Cerqueira
b577559a06 galaxys2: add netflix hack
Change-Id: I77b4e3a5797133acc392e27227ce7ecb401458f0
2013-09-02 21:37:30 +02:00
Paul Kocialkowski
4831909c8f camera: Implement proper touch-focus behavior
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>

Conflicts:
	camera/exynos_camera.c

Change-Id: I46823c0b2a1668f03d952f35fe55ced9c31a2822
2013-08-30 23:17:10 +02:00
chasmodo
1dbbb4c020 hwui: Disable partial invalidations
Simple 4210 implementation of this 4412 commit:
http://review.cyanogenmod.org/#/c/49311/

Change-Id: Ic0ced4e8ce5522b2dc1bda2ecf56d53c83f86fd2
2013-08-29 17:12:49 +02:00
Daniel Hillenbrand
cc2cd6d66a galaxys2: add focal overlay
Change-Id: I05cc0607c29cde1fa5b9c86b6ae07ebde3cb8bd7
2013-08-25 17:44:02 +02:00
athurh
ce8650eb3f galaxys2: selinux: fix sensor name
Change-Id: I7074cbb1958e3a6d87b07a02413efa784829f5b4
2013-08-24 21:49:45 +02:00
Daniel Hillenbrand
176325f6f5 galaxys2: recovery.rc cleanup, fstab cleanup
Change-Id: I38666e98f2536bdaf0721d1da6fccda3f9dd96ee
2013-08-24 16:55:25 +02:00
Daniel Hillenbrand
80f4d43ff0 Merge "Revert "overlay: Enable home button wake setting"" into cm-10.2 2013-08-22 17:20:48 +00:00
Andrew Jiang
96b90556c1 Revert "overlay: Enable home button wake setting"
This reverts commit ab0fa07ea2.

Change-Id: I5f2cbe1f67d7d8cdd299429ca1508b5e8f1b9909
2013-08-22 15:58:32 +00:00
Daniel Hillenbrand
d151d02483 Merge "galaxys2: update preview video size flag" into cm-10.2 2013-08-22 06:36:15 +00:00
athurh
6616dad59f galaxys2: update preview video size flag
Change-Id: I49b2ecedf10f081240c624158ed1527d98661196
2013-08-22 02:56:53 +02:00
athurh
ab0fa07ea2 overlay: Enable home button wake setting
Change-Id: I5dfce454cfdfcf1a33760798d601740f8e8aa863
2013-08-22 02:48:26 +02:00
Daniel Hillenbrand
aa9c939cf5 galaxys2: update camera overlay
Change-Id: I2d379e25e03d63223bcd97bcf8b3a04eb5058c31
2013-08-15 11:32:35 +02:00
Daniel Hillenbrand
4ce796517d galaxys2: refine sepolicies
Change-Id: Ifa7e56537af87f14a59e5c9b5f254073eea22a8f
2013-08-11 18:12:03 +02:00
Daniel Hillenbrand
2798599884 galaxys2: add selinux policies
Change-Id: I52a914da94f5c331b4928cb2e79d8fa5a0c0c41c
2013-08-11 16:28:40 +02:00
Daniel Hillenbrand
7c04adc7ab Merge "galaxys2: remove DeviceSettings" into cm-10.2 2013-08-10 15:25:01 +00:00
codeworkx
8fe2f3a21b galaxys2-common: hardware tunables: vibrator support
Change-Id: I429d8ea2edddaf353c3f24cbc26d58df0cb30e69
2013-08-10 17:16:39 +02:00
codeworkx
99d12c6a90 galaxys2: remove DeviceSettings
Change-Id: I7a5bfb220a2a2a23920b8b3d4e59add3b046a5dc
2013-08-09 19:45:45 +02:00
codeworkx
c8bd2229ad galaxys2: add property for legacy egl
Change-Id: I11716fb04146b2fcc1438c52b0cb9467d5fe06ed
2013-08-07 18:24:08 +02:00
XpLoDWilD
6a71b5c1b0 BoardCommonConfig: Add LEGACY_EGL flag
Change-Id: Ifa96a6f3846a9ad85dc7eb3a81605b64272f900f
2013-08-06 21:39:41 +02:00
codeworkx
024854b51d galaxys2: recovery: use unified fstab
Change-Id: I82fbfa87a4e0c0dc4d1a6bbe94b99f91bb5e8fa3
2013-08-04 16:47:13 +02:00
Paul Kocialkowski
dfbdcd31e1 camera: Use frame size as returned by V4L2 to correct padding
Change-Id: I6d6154d4db468b809868b14bc84d669d168b413e
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2013-07-30 23:14:10 +02:00
Paul Kocialkowski
5099a80f5a camera: Coding style (for loops, whitespaces and newlines)
Change-Id: Icc042027fa3bd37fc2815e7756a1743745be450e
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2013-07-30 23:14:03 +02:00
codeworkx
3b8230bbf2 galaxys2: remove GL_EXT_discard_framebuffer
Change-Id: If1204d3b57ce106490d88d61dece1dcd1d0adf4a
2013-07-28 16:09:47 +02:00
Daniel Hillenbrand
15c65af03f Merge "galaxys2: fix ril" into cm-10.2 2013-07-27 21:35:36 +00:00
codeworkx
72f93ccda6 galaxys2: fix ril
blame samsung

Change-Id: I0f376f3264290c07992f18c480778bd128d0e7df
2013-07-28 01:34:59 +02:00
codeworkx
f8fa0efdee galaxys2: fix whitespace error
Change-Id: I566e1f9146d26d7ae860cacf46c4b51244d3fd9d
2013-07-28 00:51:40 +02:00
codeworkx
411530afee galaxys2: update gps header
Change-Id: I0ac73a0ee1c7ac36217d69d87b2268b18c0cfe99
2013-07-28 00:47:10 +02:00
codeworkx
ba3843a534 galaxys2: update ril header
Change-Id: I16a35c24612596f4caf24728303d7321bff70284
2013-07-28 00:46:43 +02:00
codeworkx
b59a56ec4e galaxys2: unified fstab
Change-Id: Ie4d0c977aa509914d0b6270b01f3b9661430309b
2013-07-28 00:43:54 +02:00