OSDN Git Service
George Mount [Tue, 20 Oct 2015 16:41:33 +0000 (16:41 +0000)]
Merge "Set the bounds on the drawable for ChangeBounds reparenting." into mnc-dr-dev
Michael Wright [Tue, 20 Oct 2015 15:31:01 +0000 (15:31 +0000)]
Merge "Add SystemUI component to watch for keyboard attachment." into mnc-dr-dev
Todd Kennedy [Tue, 20 Oct 2015 14:36:00 +0000 (14:36 +0000)]
Merge "Retain fragment loaders" into mnc-dr-dev
Adam Powell [Tue, 20 Oct 2015 00:33:37 +0000 (00:33 +0000)]
Merge "DO NOT MERGE Fix jank when intent resolver/chooser windows animate in" into mnc-dr-dev
Adam Powell [Mon, 19 Oct 2015 23:25:08 +0000 (16:25 -0700)]
DO NOT MERGE Fix jank when intent resolver/chooser windows animate in
An old optimization in ViewRoot prevents updating a window surface
while a window animation is playing. SystemUI and other small system
components that blend these animations disable this for a smoother
experience. Disable it in ResolverActivity as well.
Bug
24989381
Change-Id: Iac7d1c7b1101ed8d2bc4c3557277a773ce871beb
George Mount [Mon, 19 Oct 2015 19:14:01 +0000 (12:14 -0700)]
Set the bounds on the drawable for ChangeBounds reparenting.
Bug
24993183
The bounds for the drawable weren't being set, so the
drawable was never drawn to the correct size.
Change-Id: I992951f28ee6fac2ce8752d2dc0e23f51d3cf584
(cherry picked from commit
f2a3703696f5dc8b1a0d243051e0db65c2145452)
Todd Kennedy [Mon, 19 Oct 2015 22:31:51 +0000 (15:31 -0700)]
Retain fragment loaders
Remove the partial fix [it did not work for child fragment managers]
and replace with a more general fix that works with all fragments.
Bug:
23838271
Change-Id: I88b465f6a06a6ad627b9651b9e2eea41fae08972
Adrian Roos [Mon, 19 Oct 2015 23:26:47 +0000 (23:26 +0000)]
Merge "Reload content description of KeyButtonView" into mnc-dr-dev
Todd Kennedy [Mon, 19 Oct 2015 22:52:27 +0000 (22:52 +0000)]
Merge "Set host when restoring a fragment" into mnc-dr-dev
Mathieu Chartier [Mon, 19 Oct 2015 22:47:45 +0000 (22:47 +0000)]
Merge "Fix read_mapinfo to recognize free list large object space" into mnc-dr-dev
Mathieu Chartier [Mon, 19 Oct 2015 20:48:34 +0000 (13:48 -0700)]
Fix read_mapinfo to recognize free list large object space
Bug:
25081604
(cherry picked from commit
6421da8f46e2a60da55939d8a4f7d91ab286dfcf)
Change-Id: If676c2309e3e397676fa8cef21405c34db7d5db2
Svetoslav Ganov [Mon, 19 Oct 2015 22:41:35 +0000 (22:41 +0000)]
Merge "Don't allow concurrent permission requests." into mnc-dr-dev
Aravind Akella [Mon, 19 Oct 2015 21:15:28 +0000 (21:15 +0000)]
Merge "Fix a possible race condition in SensorManager initialization." into mnc-dr-dev
Todd Kennedy [Mon, 19 Oct 2015 19:48:55 +0000 (12:48 -0700)]
Set host when restoring a fragment
When we restore a fragment [i.e. on configuration change], we need to
make sure the host is set prior to calling into lifecycle methods
such as onInflate(). These use data contained within the host.
Bug:
22512520
Change-Id: I709365a858cfc555ec5b7fc200629fa8d022faad
Aravind Akella [Fri, 16 Oct 2015 21:18:40 +0000 (14:18 -0700)]
Fix a possible race condition in SensorManager initialization.
Bug:
24526176
Change-Id: Ib8bae6eee16a5b787d3c2da6ef03af311cfdfadc
Geoff Mendal [Mon, 19 Oct 2015 15:55:17 +0000 (15:55 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Mon, 19 Oct 2015 15:03:19 +0000 (08:03 -0700)]
Import translations. DO NOT MERGE
Change-Id: I76444ef3a3911763f41010e0cd0f5015a2f756e9
Auto-generated-cl: translation import
Geoff Mendal [Mon, 19 Oct 2015 14:01:55 +0000 (07:01 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ie8f3e950a4c69ad49e6f370b97398b507d488111
Auto-generated-cl: translation import
Chris Wren [Sat, 17 Oct 2015 21:30:37 +0000 (21:30 +0000)]
Merge "count notification peeks by window action" into mnc-dr-dev
Ruben Brunk [Thu, 15 Oct 2015 00:46:52 +0000 (17:46 -0700)]
Fix lens shading map origin calculation.
Bug:
24816235
Change-Id: Id4609f3349f86c811cbc3d5e1839f880da926486
Adrian Roos [Fri, 16 Oct 2015 23:51:04 +0000 (16:51 -0700)]
Reload content description of KeyButtonView
Reload the content description whenever the
configuration changes.
Bug:
24977838
Change-Id: I875f0d83976b7d007a9bb2e56b28ff8fb6365a38
Selim Cinek [Fri, 16 Oct 2015 23:28:46 +0000 (23:28 +0000)]
Merge "Stopping chronometers now when the shade is closed" into mnc-dr-dev
Selim Cinek [Mon, 21 Sep 2015 13:47:20 +0000 (15:47 +0200)]
Stopping chronometers now when the shade is closed
Bug:
23978877
Change-Id: I01a9e756d7eeef7aa239ca0c67d4084624aaed12
Matthew Williams [Thu, 15 Oct 2015 22:59:12 +0000 (15:59 -0700)]
DO NOT MERGE Sanity check loaded periodics and cap runtime.
BUG:
24900376
We've seen an issue where periodic run times can be massively
inflated after loading from disk.
As a safeguard, cap the period's loaded runtime to be [p, 2p]
from the time of loading.
Change-Id: Ie4464490c8d6702fee8efe9190c3da5dc5f013f6
(cherry picked from commit
fa8e5084eed63ab8d92c71fcff656690a30293c3)
Roozbeh Pournader [Fri, 16 Oct 2015 21:54:12 +0000 (21:54 +0000)]
Merge "Fix line height problem with inline images in StaticLayout." into mnc-dr-dev
Adrian Roos [Fri, 16 Oct 2015 20:43:32 +0000 (20:43 +0000)]
Merge "Fix wrongly laid out navigation color view" into mnc-dr-dev
Svetoslav [Thu, 15 Oct 2015 23:54:00 +0000 (16:54 -0700)]
Don't allow concurrent permission requests.
bug:
24690277
Change-Id: Ie8c6eae230cd20e40d32cf688d30f6d40f9a9acd
Chris Wren [Fri, 16 Oct 2015 20:24:20 +0000 (16:24 -0400)]
count notification peeks by window action
Bug:
20751989
Change-Id: I9b1093b98f303656a299c18b503c1d8c9f032335
Julia Reynolds [Fri, 16 Oct 2015 19:38:22 +0000 (19:38 +0000)]
Merge "Add 'until next alarm' option to QS zen panel." into mnc-dr-dev
Matthew Williams [Fri, 16 Oct 2015 18:51:48 +0000 (18:51 +0000)]
Merge "DO NOT MERGE Change scheduling logic to run network jobs sooner" into mnc-dr-dev
Adam Powell [Fri, 16 Oct 2015 18:08:36 +0000 (18:08 +0000)]
Merge "Fix ChooserTarget app scoring" into mnc-dr-dev
Adam Powell [Fri, 16 Oct 2015 17:47:32 +0000 (10:47 -0700)]
Fix ChooserTarget app scoring
An initial sorting step before applying modifiers to the ChooserTarget
scores provided by apps was backwards, causing subsequent target
scores to be heavily penalized. Targets are then heavily influenced by
the lowest score in the set relative to the targets from other apps.
Bug
25013559
Change-Id: I39d5d7c601712fc6a19e694d5846d2c8d17a214f
Tyler Gunn [Fri, 16 Oct 2015 17:36:40 +0000 (17:36 +0000)]
Merge "DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA." into mnc-dr-dev
Roshan Pius [Fri, 14 Aug 2015 19:58:08 +0000 (12:58 -0700)]
DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA.
Adding a new carrier config key to specify the gap between the DTMF
tones sent out to the network. Setting it to 100ms by default.
This is based on a similar set of changes for IMS calls: ag/747865.
BUG:
19118840
Change-Id: Ifb64fe406509fe7c401ad1c4b4e906d6643e327b
Abodunrinwa Toki [Fri, 16 Oct 2015 16:36:28 +0000 (16:36 +0000)]
Merge "DO NOT MERGE: Reduce delay of floating toolbar appearance." into mnc-dr-dev
Jeff Sharkey [Fri, 16 Oct 2015 16:18:38 +0000 (16:18 +0000)]
Merge "Update docs to reflect adoptable behavior." into mnc-dr-dev
Wale Ogunwale [Fri, 16 Oct 2015 16:14:45 +0000 (16:14 +0000)]
Merge "Disassociate system windows from apps" into mnc-dr-dev
tiger_huang [Tue, 13 Oct 2015 13:38:19 +0000 (21:38 +0800)]
Disassociate system windows from apps
With the original logic, if an app creates a system window, when the
user goes to home screen, the system window will be still there and
become unable to receive input events, because the system window will
be also changed to the stopped state with the app window, and the
current logic of ViewRootImpl forbid a stopped window receiving input
events.
This change prevents assigning the token of the app window to system
windows created by the app, so that when the app goes to the stopped
state, its system windows won't be affected (can still receive input
events).
This change is related to the following changes:
https://android.googlesource.com/platform/frameworks/base/+/
a5d29971f8f4d463348e9de0f7af7e2e92a377a0
https://android.googlesource.com/platform/frameworks/base/+/
15ed2754a308546a54ab1061b4e365d6fe9b898d
https://android.googlesource.com/platform/frameworks/base/+/
c3672cd3f7e2bd87d6de9dada499de82b62fae84
https://android.googlesource.com/platform/frameworks/base/+/
41725dedc33906aaafee36b2d6523596e2a8a52e
Bug:
24967303
Bug: https://code.google.com/p/android/issues/detail?id=189710
Change-Id: I515e47bafcf39a2b1bdf92f11f623bef8fb6263c
Abodunrinwa Toki [Fri, 16 Oct 2015 14:54:53 +0000 (15:54 +0100)]
DO NOT MERGE: Reduce delay of floating toolbar appearance.
Bug:
21956394
Change-Id: I3db39e84afd3474b5bb53522c5a4c738ec1511bf
Roozbeh Pournader [Fri, 16 Oct 2015 09:27:03 +0000 (02:27 -0700)]
Fix line height problem with inline images in StaticLayout.
Previously, paragraphs with ImageSpans in their middle would continue to
carry the height of the image into the line height of next lines. This was
a regression from L.
The bug was due to StaticLayout's out() method almost always
modifying the value of its parameter "fm", although that was only
intended when there were LineHeightSpans in the text. The method
generate() was assuming that it can restore fmTop etc to metrics of
the current span by setting them from "fm" after out() was run, while
"fm" was modified by out() and its original values was lost!
The fix makes sure to set chooseHt back to null if there were no
LineHeightSpans, so out() would not modify "fm" unless necessary.
AOSP bug: https://code.google.com/p/android/issues/detail?id=188042
Bug:
24548073
Change-Id: I0d00af384c35a9d863377972318da9db7668118f
Sanket Padawe [Fri, 16 Oct 2015 00:38:55 +0000 (00:38 +0000)]
Merge "Mask IccId which gets printed in bug reports & radio logs." into mnc-dr-dev
Matthew Williams [Thu, 15 Oct 2015 23:08:05 +0000 (16:08 -0700)]
DO NOT MERGE Change scheduling logic to run network jobs sooner
BUG:
24385082
BUG:
23144425
BUG:
18117279
Run jobs with connectivity constraints as soon as the developer-allotted
delay has expired, rather than waiting for the override deadline. This
is more in tune with what developers expect, although it reduces the
amount of batching the scheduler can theoretically do.
This will also have the side effect of fixing several failing cts
tests that started breaking b/c the signal to 'run connectivity
jobs early' was removed in M and nothing was put in to replace it.
Change-Id: I7e63c2b62f2882ee906f748445bbf10c32e19c5f
(cherry picked from commit
aa9843198dec910a581bdc509d3937a9ea6ceca9)
Dianne Hackborn [Thu, 15 Oct 2015 23:11:12 +0000 (23:11 +0000)]
Merge "Fix issue #
24571425: Device does not come out of idle mode for maintenance" into mnc-dr-dev
Alan Viverette [Thu, 15 Oct 2015 22:50:21 +0000 (15:50 -0700)]
Don't project ripple for adequately tall spinners
Bug:
24674907
Change-Id: I1674c14f321600a40ca20adab1d40459963d2d1b
Sanket Padawe [Thu, 15 Oct 2015 22:46:39 +0000 (15:46 -0700)]
Mask IccId which gets printed in bug reports & radio logs.
Bug:
24941148
Change-Id: Ibe397f5d9b0da245e3e64f626937db4792c7f3c2
Adrian Roos [Thu, 15 Oct 2015 22:38:38 +0000 (15:38 -0700)]
Fix wrongly laid out navigation color view
The SystemUI visibility listener in DecorView
gets called between the measure and layout passes
and is therefore not allowed to change layout parameters.
This change makes sure that changes to the color view
layout parameters are applied eagerly when the insets
change instead of waiting for the views to become visible.
Bug:
24614374
Change-Id: If9df18f582163d0869c28a852c36697b1ce50621
Dianne Hackborn [Thu, 15 Oct 2015 21:51:06 +0000 (14:51 -0700)]
Fix issue #
24571425: Device does not come out of idle mode for maintenance
Don't allow alarms to push the idle maintenance alarm later
than it was set for.
Change-Id: I947718ffc9d2b984a793d7e4f2d027d8ddeee41b
Julia Reynolds [Thu, 1 Oct 2015 18:34:22 +0000 (14:34 -0400)]
Add 'until next alarm' option to QS zen panel.
Unlike the implementation in LMR1, this is a countdown condition
(a countdown until the time of what was the next alarm when the
rule was created). The rule will not change if alarms change.
Also, alarms up to 7 days in the future will be considered.
Bug:
21648799
Change-Id: Id7fa9dbdbad1539e4da19b1d0e0c4395bb13e6cb
(cherry picked from commit
0842fe87b27b9e4a7aecfec25b93dba2d39f398a)
Rob Carr [Thu, 15 Oct 2015 18:38:28 +0000 (18:38 +0000)]
Merge "WindowStateAnimation: Clear transformation clip rect." into mnc-dr-dev
Julia Reynolds [Thu, 15 Oct 2015 13:44:04 +0000 (13:44 +0000)]
Merge "Update volume slider on device changed." into mnc-dr-dev
Julia Reynolds [Thu, 15 Oct 2015 13:29:51 +0000 (13:29 +0000)]
Merge "Selectively show zen footer." into mnc-dr-dev
Chris Thornton [Thu, 15 Oct 2015 01:24:45 +0000 (01:24 +0000)]
Merge "Don't call StopRecognition when recognition was aborted." into mnc-dr-dev
Dianne Hackborn [Thu, 15 Oct 2015 01:01:12 +0000 (01:01 +0000)]
am
e34445f1: Merge "Docs only change: update build version docs." into mnc-dev
* commit '
e34445f11a6a14dd30ba0e018b82e852ef82ecbc':
Docs only change: update build version docs.
Dianne Hackborn [Thu, 15 Oct 2015 00:56:05 +0000 (00:56 +0000)]
Merge "Docs only change: update build version docs." into mnc-dev
Robert Carr [Fri, 25 Sep 2015 21:56:38 +0000 (14:56 -0700)]
WindowStateAnimation: Clear transformation clip rect.
Ensure the clip rect taken from transformations is cleared
when there is no transformation. Normally the failure to
clear the clip would not cause a problem, as the final clip
would be equal to the window size. However, in the event that
the window scale goes on to change (WindowState::m(H/V)Scale that is)
the clip will now be specified at the inappropriate scale (notice the
way the clip must be divided by H/VScale as SurfaceFlinger will apply
the surface transform to the clip).
Bug:
24298694
Change-Id: I4548e8ecea8d66d4942e99823653a7b05f87cea0
(cherry picked from commit
2f0fe62c5426533ccdf9ec7ef28027c367286979)
Adrian Roos [Thu, 15 Oct 2015 00:35:33 +0000 (00:35 +0000)]
am
31f19c44: Merge "Send next alarm\'s show intent via PendingIntent" into mnc-dev
* commit '
31f19c444f5f9d22c81fcb339e51bee465ba10f9':
Send next alarm's show intent via PendingIntent
Adrian Roos [Thu, 15 Oct 2015 00:29:56 +0000 (00:29 +0000)]
Merge "Send next alarm's show intent via PendingIntent" into mnc-dev
Roozbeh Pournader [Thu, 15 Oct 2015 00:18:36 +0000 (00:18 +0000)]
Merge "Load binary hyphen data files" into mnc-dr-dev
Adam Powell [Wed, 14 Oct 2015 23:46:32 +0000 (23:46 +0000)]
Merge "Fix bugs introduced in ChooserActivity" into mnc-dr-dev
Amit Mahajan [Wed, 14 Oct 2015 23:33:02 +0000 (23:33 +0000)]
Merge "Adding config to allow/disallow user to add APNs." into mnc-dr-dev
Jeff Sharkey [Wed, 14 Oct 2015 20:56:23 +0000 (13:56 -0700)]
Update docs to reflect adoptable behavior.
Update storage related docs on Context to be consistent, and to call
out relevant Environment methods. Start calling it "shared" storage,
and only mention external for historical reasons. Mention that there
isn't much benefit to using emulated storage over private data
directories to help guide developers to safer locations.
Point out which paths can change over time, so developers know to
only persist relative paths.
Update Environment docs to reflect how they behave for the new
class of adopted storage devices.
Bug:
24251945
Change-Id: Ie5ab337649b4740dfd7594997bbb19c4969cfd2f
Vineeta Srivastava [Wed, 14 Oct 2015 21:39:08 +0000 (21:39 +0000)]
Merge "TDSCDMA: RSSI bar moves 1 bar into no signal without going through 0 bar" into mnc-dr-dev
Roozbeh Pournader [Wed, 14 Oct 2015 21:07:13 +0000 (21:07 +0000)]
Merge "Make Hyphenator#get() return an object." into mnc-dr-dev
Winson Chung [Wed, 14 Oct 2015 20:42:21 +0000 (20:42 +0000)]
Merge "Ensure we update the active pointer id on pointer up/down." into mnc-dr-dev
Julia Reynolds [Tue, 8 Sep 2015 17:41:45 +0000 (13:41 -0400)]
Selectively show zen footer.
Only show zen footer if the active stream is affected by the current
zen mode.
Bug:
23844466
Change-Id: I08770882f12f11c3458e1e48a287139480ae7aa3
(cherry picked from commit
6aa83b4ca0859c3f59413ef092f8d843f8646f0e)
Julia Reynolds [Wed, 14 Oct 2015 20:13:28 +0000 (16:13 -0400)]
Update volume slider on device changed.
Bug:
24501085
Change-Id: I5bd0ac014eb291cafcf918e8a73a30e95245d533
Adam Powell [Wed, 14 Oct 2015 20:10:18 +0000 (13:10 -0700)]
Fix bugs introduced in ChooserActivity
* Wait to start animations until all state has been initialized, as
the process of starting an Animator will set initial values,
triggering other events relying on the configured state.
* Correctly track underlying item indexes for columns.
* Do not over-extend the ResolverDrawerLayout when multiple rows
animate in.
Bug
24926885
Bug
24928706
Change-Id: I4772e1a0ba79b17b5dc19c778f3ef0cb5200c533
Raph Levien [Mon, 31 Aug 2015 23:21:20 +0000 (16:21 -0700)]
Load binary hyphen data files
Support for loading the pre-compiled binary format for hyphenation
patterns.
Bug:
21562869
Bug:
21826930
Bug:
24570591
Change-Id: Iaeaa9c9ac9dac236af6b0d7894c2e2396bc8447d
(cherry picked from commit
091dba2de1e5fa7d4db9f8ccbf1f86e5825d0f52)
Roozbeh Pournader [Fri, 7 Aug 2015 22:13:30 +0000 (15:13 -0700)]
Make Hyphenator#get() return an object.
Previously, a native pointer was returned. After this change, callers
should call getNativePtr() if they want to get the native pointer instead.
Bug:
21492297
Bug:
24570591
Change-Id: I745bd88e6e8c86078fffb07f90f8d8f24215410c
(cherry picked from commit
e7eac6f540b09892172edd5b584605ea90f5a1ba)
Sungmin Choi [Tue, 13 Oct 2015 00:58:39 +0000 (17:58 -0700)]
TDSCDMA: RSSI bar moves 1 bar into no signal without going through 0 bar
Bug:
24850563
Change-Id: I36e54e9bde9610f908b1092e11c476dcae76526d
Signed-off-by: haesun.kim <haesun.kim@lge.com>
Signed-off-by: Sungmin Choi <sungmin.choi@lge.com>
Erik Kline [Wed, 14 Oct 2015 17:37:57 +0000 (17:37 +0000)]
Merge "Don't crash if an invalid always-on VPN profile is configured." into mnc-dr-dev
Geoff Mendal [Wed, 14 Oct 2015 13:59:48 +0000 (06:59 -0700)]
Import translations. DO NOT MERGE
Change-Id: Iefcade8293a0fa228423e3eef730910af4a76853
Auto-generated-cl: translation import
Matthew Williams [Wed, 14 Oct 2015 03:00:16 +0000 (03:00 +0000)]
Merge "Correctly reschedule failed periodic" into mnc-dr-dev
Jean-Michel Trivi [Fri, 21 Aug 2015 00:37:50 +0000 (17:37 -0700)]
NotificationPlayer supports MediaPlayer errors
If an error is reported while trying to play a notification,
behave as if the playback had completed.
Bug
21093153
Change-Id: Iedc7691d0b8f4d68ad75cb04292a5d7d9350552f
(cherry picked from commit
a25f6fcfed280136a16ce5800fcaabae17291dd7)
Adrian Roos [Tue, 13 Oct 2015 22:55:11 +0000 (22:55 +0000)]
Merge "Show charging speed in all locales" into mnc-dr-dev
Michael Lentine [Tue, 13 Oct 2015 22:51:12 +0000 (22:51 +0000)]
Merge "Remove ColorFade resouces when screen off." into mnc-dr-dev
Adrian Roos [Fri, 25 Sep 2015 22:15:17 +0000 (15:15 -0700)]
Show charging speed in all locales
Bug:
24167496
Change-Id: I3e883eeca002e86d4df30c2b238e18bd63bbddea
Michael Lentine [Fri, 25 Sep 2015 17:55:26 +0000 (10:55 -0700)]
Remove ColorFade resouces when screen off.
This will not destroy the surface but will free up everything else used by
ColorFade when the screen is turned off. When it is turned on the surface is
dismissed.
Bug:
24371570
Change-Id: Iba455cdf225a68b320896f8b35d1e873e694b1e3
Wei Jia [Wed, 7 Oct 2015 22:38:12 +0000 (15:38 -0700)]
MediaPlayer: remove obsolete function setPlaybackRate from comments.
Bug:
24260668
Change-Id: I20733e52dbd2dab5eb10b4607a1c1aadb93a1332
(cherry picked from commit
cd860ac06ca7a46e9638dd741ba731f066705eb5)
Jeff Hao [Tue, 13 Oct 2015 19:54:00 +0000 (19:54 +0000)]
Merge "Shorten first boot time by filtering dexopted apps by LRU." into mnc-dr-dev
Phil Burk [Tue, 13 Oct 2015 18:36:13 +0000 (18:36 +0000)]
Merge "BluetoothMidiDevice: change write type to support JamStik" into mnc-dr-dev
Jeff Hao [Tue, 13 Oct 2015 17:00:10 +0000 (10:00 -0700)]
Shorten first boot time by filtering dexopted apps by LRU.
No longer dexopt all system apps and boot listener user apps.
Bug:
23628238
Bug: https://code.google.com/p/android/issues/detail?id=186589
(cherry-picked from commit
b84cb9e9719855d56ea74c2eb7afc49034c0e66f)
Change-Id: Id1a1ca9f46777f9e62df3d4f25e98a2837fabf37
Phil Burk [Thu, 3 Sep 2015 21:37:03 +0000 (14:37 -0700)]
BLE-MIDI: change binding for BluetoothMidiService
Add a remote call addBluetoothDevice() using AIDL.
This was needed because onBind() is only called once.
Bug:
23219556
Bug:
23760886
Change-Id: Id7554ca55d596352d11dbd6ae3e403138a29c864
Signed-off-by: Phil Burk <philburk@google.com>
(cherry picked from commit
7cd06c0b9e087a555d2c5dd4cab5b7eac8497526)
Ronghua Wu [Tue, 11 Aug 2015 20:33:49 +0000 (13:33 -0700)]
media: ignore null InputStream
Bug:
22854896
Change-Id: I20b9e28bbba6dec73538ee6937d337c2e2b971f4
Lorenzo Colitti [Tue, 13 Oct 2015 06:21:21 +0000 (15:21 +0900)]
Don't crash if an invalid always-on VPN profile is configured.
This is currently being hit because Settings does not clear the
always-on VPN configuration when the corresponding VPN profile is
deleted. This will be fixed in Settings, but there's no harm in
being robust to invalid configurations here.
Bug:
23625458
Change-Id: Id185a54d5892339197cd40026df5174debd957cf
Eric Laurent [Tue, 13 Oct 2015 01:09:32 +0000 (01:09 +0000)]
Merge "MidiBluetoothService: add new device to HashMap" into mnc-dr-dev
Yohei Yukawa [Tue, 13 Oct 2015 01:00:30 +0000 (01:00 +0000)]
Merge "Unbind IME client when unsetting the current IME." into mnc-dr-dev
Yohei Yukawa [Tue, 13 Oct 2015 00:08:59 +0000 (17:08 -0700)]
Unbind IME client when unsetting the current IME.
This follows up Ia70b870723acf647e0c27f24aff91b40d6f85543.
In certain scenarios, only IMMS#mCurMethodId is cleared with null
while IMMS#mCurClient is still pointing to the last application.
This is problematic when IMMS#mCurClient matches
SystemConfig#getFixedImeApps(), because it means that the current
IME is to be fixed to null.
With this CL, IMMS#unbindCurrentClientLocked() is always called
every time when IMMS#mCurMethodId is cleared to null. Note that
clearing IMMS#mCurMethodId to null is a kind of hard-reset, where
unbinding IME client should make much sense in terms of robust
and predictable state management.
Bug:
18056075
Change-Id: I6c3186050592526fc95c5b27f18e2155acff5ebc
(cherry picked from commit
e13a20faccf6f33aa43c9c1fa4c4ec2a79b86cfb)
Winson [Mon, 12 Oct 2015 23:18:36 +0000 (16:18 -0700)]
Ensure we update the active pointer id on pointer up/down.
Bug:
24841350
Change-Id: Id5d91ee8adbb638caf66976d701cfbc0befaca04
Svetoslav Ganov [Mon, 12 Oct 2015 23:39:14 +0000 (23:39 +0000)]
Merge "Shared user retains permissions no longer used by any app on an app update" into mnc-dr-dev
Phil Burk [Tue, 22 Sep 2015 19:07:31 +0000 (12:07 -0700)]
BluetoothMidiDevice: change write type to support JamStik
Temporarily use a Request instead of a Command so that the JamStik
will be properly enabled.
Bug:
24207964
Change-Id: I3d11732958c46e6039405b5969d5af0db8032fb9
Signed-off-by: Phil Burk <philburk@google.com>
(cherry picked from commit
95129f50c68c734c5ebdf32ff6b8b9c63cc1ada7)
Adam Powell [Mon, 12 Oct 2015 23:28:36 +0000 (23:28 +0000)]
Merge "Add animation and positional stability to intent chooser UI" into mnc-dr-dev
Svetoslav [Mon, 12 Oct 2015 22:58:06 +0000 (15:58 -0700)]
Shared user retains permissions no longer used by any app on an app update
If an app in a shared user uses permission A and B and these are granted
to the shared user and now an app update is installed that only uses A,
the shared user still ratains the B grant. A shared user should have only
permissions declared as used by its currenlty installed apps.
bug:
24736912
Change-Id: Idea6c06bdc236fd481a860cddb379e6ce660ee87
Dianne Hackborn [Mon, 12 Oct 2015 22:55:10 +0000 (22:55 +0000)]
Merge ""Fix" issue #
24357296: Debug.getMemoryInfo doesn't include EGL mtrack..." into mnc-dr-dev
Dianne Hackborn [Mon, 12 Oct 2015 22:14:16 +0000 (15:14 -0700)]
"Fix" issue #
24357296: Debug.getMemoryInfo doesn't include EGL mtrack...
...due to lack of permissions
Still doesn't, but an alternative is now offered.
Change-Id: I7b9da709c96ed7790c70d686c30c7855f3979778
Adam Lesinski [Mon, 12 Oct 2015 22:11:51 +0000 (22:11 +0000)]
Merge "Add additional density enums to android:screenDensity attribute" into mnc-dr-dev
Phil Burk [Mon, 12 Oct 2015 22:01:03 +0000 (22:01 +0000)]
Merge "MidiManager: fix double BTLE callback" into mnc-dr-dev
Phil Burk [Fri, 21 Aug 2015 22:39:10 +0000 (15:39 -0700)]
MidiBluetoothService: add new device to HashMap
The HashMap is being used but devices never added to the map.
Bug:
23429459
Change-Id: I1da5305a56f5bd48e1c5d9345e721ea8dd2eed4e
Signed-off-by: Phil Burk <philburk@google.com>
(cherry picked from commit
e5f722e55c5708c2b48b8c9688c135e451225032)
Phil Burk [Fri, 21 Aug 2015 22:22:35 +0000 (15:22 -0700)]
MidiManager: fix double BTLE callback
Stop openBluetoothDevice() from calling its callback twice.
Bug:
23218338
Change-Id: I2e738b22a124c0336c46bef05680a82ee1f59e79
Signed-off-by: Phil Burk <philburk@google.com>
(cherry picked from commit
0ca998d79fe95ded26ec4ff0a1e0a8dc4802684b)
Phil Burk [Thu, 6 Aug 2015 06:32:54 +0000 (23:32 -0700)]
MidiService: update listener with current status when registered
This will give an app an opportunity to learn whether an input port is busy
before the user tries to connect and then fails.
Bug:
22825043
Change-Id: Ifede60f166dfe66ea15453044fce06f4a8452b18
Signed-off-by: Phil Burk <philburk@google.com>
(cherry picked from commit
b2355940e3e697deeecd1b6511cd5094f9dc553a)