Prashant Malani
487f0d3d15
Merge "Add rotary encoder input source" into cw-e-dev
2015-12-08 01:27:18 +00:00
Chenjie Luo
e56f7b0d1d
Merge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev
2015-12-07 21:04:14 +00:00
Robert Greenwalt
d8231b9f37
Check permissions on getDeviceId.
...
This needs the package name passed in, so the aidl changes.
bug:25778215
Change-Id: I72f3456a2774a7ad5104424daea9e046ee9c6360
2015-12-07 12:38:48 -08:00
Robert Greenwalt
0b638022b3
Check permissions on getDeviceId.
...
This needs the package name passed in, so the aidl changes.
bug:25778215
Change-Id: I804e6613ce0de5f2c7ab832ae62aecf269a6d213
2015-12-07 11:19:20 -08:00
Eino-Ville Talvala
7417f70ac6
Merge "Camera: codegen doc update" into mnc-dev am: 69c5e7143d
...
am: add4b91d41
* commit 'add4b91d41d3ba810b6b25c14d7c13050394f201':
Camera: codegen doc update
2015-12-05 00:11:43 +00:00
Eino-Ville Talvala
add4b91d41
Merge "Camera: codegen doc update" into mnc-dev
...
am: 69c5e7143d
* commit '69c5e7143dd308e8db9b6055b428b7ad3964c1ff':
Camera: codegen doc update
2015-12-04 16:03:23 -08:00
Robert Greenwalt
9887f2f50a
Protect some new broadcasts.
...
DEFAULT_*_SUBSCRIPTION_CHANGED broadcasts were added but not protected,
allowing 3rd parties to potentially spoof the bcasts feeding misinformation
to system listeners.
bug:25778215
Change-Id: Ie5fc68a7d2224ce3f6beeca91667fe9b7654f0d5
2015-12-04 15:54:53 -08:00
Eino-Ville Talvala
69c5e7143d
Merge "Camera: codegen doc update" into mnc-dev
2015-12-04 23:54:05 +00:00
Chenjie Luo
90bc39d7e3
Check NPE beforehand instead of catching it at runtime
...
This will fix the page fault when watch rings during incoming call
Bug: 25904666
Change-Id: Ia7e6db0628108dbf298e3811a846534ba69c0b46
2015-12-03 14:58:01 -08:00
Christine Hallstrom
7fb263c472
Merge "Log API calls to createBond(), cancelBondProcess(), removeBond()" into cw-e-dev
2015-12-03 20:32:05 +00:00
Andy Hung
94cefd6adb
DO NOT MERGE SoundPool: add lock for findSample access from SoundPoolThread am: 0a887bcd5c
...
am: 7c798c13a7
* commit '7c798c13a7c36f3c8877f410ecf5552e1b385805':
DO NOT MERGE SoundPool: add lock for findSample access from SoundPoolThread
2015-12-03 19:34:01 +00:00
Andy Hung
7c798c13a7
DO NOT MERGE SoundPool: add lock for findSample access from SoundPoolThread
...
am: 0a887bcd5c
* commit '0a887bcd5c5a8056735d221ad71afcff1f6eb1a6':
DO NOT MERGE SoundPool: add lock for findSample access from SoundPoolThread
2015-12-03 19:24:02 +00:00
Christine Hallstrom
044b8f3f03
Log API calls to createBond(), cancelBondProcess(), removeBond()
...
In an attempt to better be able to debug Bluetooth-related parts of
the system, add info-level logging including calling process and
thread whenever the aforementioned functions are called.
Bug: 25996120
Change-Id: I5a72b2ab929f805ec1c43cc54879ed079a8dfe34
2015-12-03 19:08:17 +00:00
Andy Hung
0a887bcd5c
DO NOT MERGE SoundPool: add lock for findSample access from SoundPoolThread
...
Sample decoding still occurs in SoundPoolThread
without holding the SoundPool lock.
Bug: 25781119
Change-Id: I11fde005aa9cf5438e0390a0d2dfe0ec1dd282e8
(cherry picked from commit 0275a982abecee683f16c827d405eafe51fb67ae)
2015-12-02 23:28:28 +00:00
Ben Fennema
4d70e6a3c0
Merge "Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"" into cw-e-dev
2015-12-02 01:06:12 +00:00
Ben Fennema
e9970bc981
Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"
...
This reverts commit ad75169628589a275fb869a813ea697336e0c0aa.
Change-Id: Ic2f003fc200c077391d18bef9d5b79a98601769c
2015-12-02 01:05:25 +00:00
Ben Fennema
ec7180f733
Merge "DO NOT MERGE ANYWHERE Add new interface for sensor physical data" into cw-e-dev
2015-12-02 00:01:55 +00:00
Chris Elliott
50276adde2
Merge "MediaPlayer: Disable acquiring wakelocks based on property." into cw-e-dev
2015-12-01 21:12:15 +00:00
Bryce Lee
085796bdf5
Merge "DO NOT MERGE ANYWHERE" into cw-e-dev
2015-12-01 15:37:30 +00:00
Jani Suonpera
ad75169628
DO NOT MERGE ANYWHERE Add new interface for sensor physical data
...
This is special solution only for emerald branch.
Changes including new const char* value/interface for sensor physical data. Sensor service and manager does not take care of content, structure or other
details of string. Sensor HAL is taking care of parsing data from string and setting values to Sensor HW.
Change-Id: Id19226d7d3ac0628488a0f005f2b1c44bafcf9b6
Signed-off-by: Ben Fennema <fennema@google.com>
2015-11-30 21:24:48 -08:00
Yin-Chia Yeh
5fdf0a1af0
Camera: codegen doc update
...
Bug: 25427163
Change-Id: I9e552a7ad365f2a45e5ebb74234b9dfb8eb1225c
2015-11-30 14:25:37 -08:00
Bryce Lee
52bdf11583
Merge "Add callback for connections to be notified when the ringer is silenced." into cw-e-dev
2015-11-30 18:51:39 +00:00
Erik Wolsheimer
2242b4d2bd
fix data race condition
...
BUG: 25819358
Change-Id: I9d9978c92d084e93ccb41ea1d0fe33ffe3e17e3d
2015-11-24 13:22:04 -08:00
Kevin Neas
4dbb586585
Merge "DO NOT MERGE. Cherrypick UiBench from Master" into cw-e-dev
2015-11-24 00:50:18 +00:00
Sridhar Vashist
f60491183d
MediaPlayer: Disable acquiring wakelocks based on property.
...
Ignore setWakeMode based on system property.
Wakelocks essential for playback will be held by audioflinger.
Change-Id: I413cd873bf21e1e999dbf89a27802fbe1b6022c7
Signed-off-by: Sridhar Vashist <svashist@motorola.com>
2015-11-23 14:09:25 -08:00
Geoff Mendal
b21b778567
Import translations. DO NOT MERGE
...
Change-Id: Id46055ddba8834518c0faf5e0dd95d883dd79542
Auto-generated-cl: translation import
2015-11-23 14:26:59 +01:00
Adam Lesinski
6902052c77
DO NOT MERGE ANYWHERE: Fix batterystats battery level int packing
...
We introduced some new flag at the lowest significant bit of the
battery level int but failed to account for it when unpacking.
Bug:25596467
Change-Id: I4320e6fcc208ec6de249b14fe3e399ab2f32d839
2015-11-20 10:58:02 -08:00
Geoff Mendal
d0709c3a32
Import translations. DO NOT MERGE
...
am: bddde9b83d -s ours
* commit 'bddde9b83db2bab9343cbe107d3672fea5314d4b':
Import translations. DO NOT MERGE
2015-11-20 01:15:04 +00:00
Geoff Mendal
bddde9b83d
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Change-Id: I0ab6836c1cf116a76b9ece6722e2f3dfe2d4bfe2
2015-11-20 01:07:33 +00:00
Sreeram Ramachandran
6d983179a0
Don\'t use framework permission strings for netd permissions. am: f1f45fe012 am: 0b542630dd am: 42faa221d7 am: d3b6e2d790 am: 33c1718205 am: b776891801
...
am: 974f805500
* commit '974f8055005a3d75e45cab89badd9ef183a75107':
Don't use framework permission strings for netd permissions.
2015-11-19 16:59:45 +00:00
Sreeram Ramachandran
974f805500
Don\'t use framework permission strings for netd permissions. am: f1f45fe012 am: 0b542630dd am: 42faa221d7 am: d3b6e2d790 am: 33c1718205
...
am: b776891801
* commit 'b7768918014d34c2e4d74abefeb03956aee421fc':
Don't use framework permission strings for netd permissions.
2015-11-19 16:50:11 +00:00
Sreeram Ramachandran
b776891801
Don\'t use framework permission strings for netd permissions. am: f1f45fe012 am: 0b542630dd am: 42faa221d7 am: d3b6e2d790
...
am: 33c1718205
* commit '33c17182058ce0f9d0bae48467827ff52422cdd2':
Don't use framework permission strings for netd permissions.
2015-11-19 16:40:35 +00:00
Sreeram Ramachandran
33c1718205
Don\'t use framework permission strings for netd permissions. am: f1f45fe012 am: 0b542630dd am: 42faa221d7
...
am: d3b6e2d790
* commit 'd3b6e2d790f95f2fb3d85f0993b90bb8708a6114':
Don't use framework permission strings for netd permissions.
2015-11-19 16:30:59 +00:00
Sreeram Ramachandran
d3b6e2d790
Don\'t use framework permission strings for netd permissions. am: f1f45fe012 am: 0b542630dd
...
am: 42faa221d7
* commit '42faa221d7e8bc6db32698b3528e9c5898dbb943':
Don't use framework permission strings for netd permissions.
2015-11-19 16:20:26 +00:00
Sreeram Ramachandran
42faa221d7
Don\'t use framework permission strings for netd permissions. am: f1f45fe012
...
am: 0b542630dd
* commit '0b542630dd8b4d43f2e4f70563d3e44bb680455f':
Don't use framework permission strings for netd permissions.
2015-11-19 16:10:19 +00:00
Sreeram Ramachandran
0b542630dd
Don\'t use framework permission strings for netd permissions.
...
am: f1f45fe012
* commit 'f1f45fe012ddbd516e797099994c400a1cac8581':
Don't use framework permission strings for netd permissions.
2015-11-19 15:59:42 +00:00
Sreeram Ramachandran
f1f45fe012
Don't use framework permission strings for netd permissions.
...
These framework permission strings were being used as arbitrary labels
that mapped to netd permissions that have completely different meaning.
This leads to confusion, so use different strings.
This is being cherry picked from lmp-mr1-dev to lmp-dev to fix failures
when creating restricted networks due to prior back-port a120442.
Bug: 21900139
Bug: 18194858
Change-Id: Ib3ec377ab26ce904d3d4678f04edec6cb1260517
(cherry picked from commit 0f8f120839120da543ee186cf25ce6e215423e99)
2015-11-18 17:04:18 +00:00
Bryce Lee
cac50775b2
Add callback for connections to be notified when the ringer is silenced.
...
Bug: 25644529
Change-Id: Ie7dc9028cf6243d98b2d87ca4c8b3ffcd31e3676
2015-11-17 15:13:29 -08:00
Joe LaPenna
f2b9b2d85a
Revert "Don't dispatch when non-interactive and the display is off."
...
This reverts commit 2ccf0c8e636fd3be75c3a07f4cf60d72a4cfaa28.
BUG: 22422588
BUG: 25067918
Change-Id: I916c8bb19cd6a73c0be4bd3a0e3112938651e775
2015-11-17 22:26:41 +00:00
Michael Wright
41ef58be3e
DO NOT MERGE. Prevent recents from coming up when in SUW am: 84669ca8de am: 614ea46405 am: bd23716585 -s ours am: 18a2ac0506
...
am: 08ed2bc083
* commit '08ed2bc083fe142ea6f89f97172543327f423e61':
DO NOT MERGE. Prevent recents from coming up when in SUW
2015-11-17 20:59:42 +00:00
Michael Wright
08ed2bc083
DO NOT MERGE. Prevent recents from coming up when in SUW am: 84669ca8de am: 614ea46405 am: bd23716585 -s ours
...
am: 18a2ac0506
* commit '18a2ac0506ec834c2522de94040dab9e77304e7b':
DO NOT MERGE. Prevent recents from coming up when in SUW
2015-11-17 20:41:39 +00:00
Bryce Lee
dd976b1b0d
DO NOT MERGE ANYWHERE
...
Add ability to set supported audio routes on phone accounts and connection.
The set audio routes are used by Telecom to restrict where the audio may
be routed to. For example, an account can specify that calls may not be
routed over bluetooth headsets, which will prevent a new call from being
routed to this source.
Bug: 25485578
Change-Id: Ia1ca665e9ae8852a2538ab7cbeb3a73217d9b03b
2015-11-17 12:31:53 -08:00
Michael Wright
18a2ac0506
DO NOT MERGE. Prevent recents from coming up when in SUW am: 84669ca8de am: 614ea46405
...
am: bd23716585 -s ours
* commit 'bd23716585bd21b4dc4bf87bd56ce588c8d457df':
DO NOT MERGE. Prevent recents from coming up when in SUW
2015-11-17 20:24:16 +00:00
Michael Wright
bd23716585
DO NOT MERGE. Prevent recents from coming up when in SUW am: 84669ca8de
...
am: 614ea46405
* commit '614ea464051835e1c2267ef2bc343f98b62b177a':
DO NOT MERGE. Prevent recents from coming up when in SUW
2015-11-17 20:06:27 +00:00
Michael Wright
614ea46405
DO NOT MERGE. Prevent recents from coming up when in SUW
...
am: 84669ca8de
* commit '84669ca8de55d38073a0dcb01074233b0a417541':
DO NOT MERGE. Prevent recents from coming up when in SUW
2015-11-17 19:52:13 +00:00
Michael Wright
c73255d8ab
Merge "DO NOT MERGE. Prevent recents from coming up when in SUW" into mnc-dev am: 4aa1e48a71
...
am: 313c7b2ee0
* commit '313c7b2ee07ea74ac184294e4a6133a813bfcabf':
DO NOT MERGE. Prevent recents from coming up when in SUW
2015-11-17 18:49:32 +00:00
Michael Wright
313c7b2ee0
Merge "DO NOT MERGE. Prevent recents from coming up when in SUW" into mnc-dev
...
am: 4aa1e48a71
* commit '4aa1e48a71df78fed20ac4105a2bd97ff04addf7':
DO NOT MERGE. Prevent recents from coming up when in SUW
2015-11-17 18:40:21 +00:00
Michael Wright
4aa1e48a71
Merge "DO NOT MERGE. Prevent recents from coming up when in SUW" into mnc-dev
2015-11-17 18:33:38 +00:00
Bryce Lee
cb8749c903
Merge "Add Bluetooth headset API to allow disabling audio route." into cw-e-dev
2015-11-17 16:08:44 +00:00
Joe LaPenna
d083b37917
Merge "Revert "Enable debugging for DeviceIdle DO NOT MERGE ANYWHERE"" into cw-e-dev
2015-11-17 02:42:22 +00:00