OSDN Git Service
Pavel Maltsev [Thu, 28 Jan 2016 05:56:32 +0000 (21:56 -0800)]
Fix indexOutOfBound exception in SystemUI
Long-pressing events are optional, refactor code a little bit to avoid exceptions.
Bug:
26806128
Change-Id: Ib883b4d5d31af256fc40ab2b4293ba1bf2abef3f
Tomasz Mikolajewski [Thu, 28 Jan 2016 04:53:50 +0000 (04:53 +0000)]
Merge "Show a warning notification and a dialog in case of conversion when copying."
Daichi Hirono [Thu, 28 Jan 2016 04:46:16 +0000 (04:46 +0000)]
Merge "Implement MtpDevice#getPartialObject64 in Java API."
Jim Miller [Thu, 28 Jan 2016 03:05:43 +0000 (19:05 -0800)]
Add account locked notification when users are encrypted
Fixes bug
26407543
Change-Id: Ic66669cd5f75b5fa41449e33133439752cef112b
Jean-Michel Trivi [Thu, 28 Jan 2016 04:23:04 +0000 (04:23 +0000)]
Merge "API to query recording format and device on AudioRecordConfiguration"
Pavlin Radoslavov [Thu, 28 Jan 2016 04:21:25 +0000 (04:21 +0000)]
Merge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user" am:
26fdbc1833
am:
dc84cff34f
* commit '
dc84cff34f020e4768e99fa08749bbe0b87a2233':
Grant CAP_WAKE_ALARM to the Bluetooth process for any user
Tomasz Mikolajewski [Thu, 28 Jan 2016 04:20:43 +0000 (04:20 +0000)]
Merge "Unhide DocumentsContract.isTreeUri."
Tomasz Mikolajewski [Fri, 22 Jan 2016 07:22:51 +0000 (16:22 +0900)]
Show a warning notification and a dialog in case of conversion when copying.
Change-Id: I451b0944069deb5f0b49b54c514e7761be449e3d
Arunesh Mishra [Thu, 28 Jan 2016 04:10:38 +0000 (04:10 +0000)]
Merge "SoundTrigger system API changes."
Tyler Gunn [Thu, 28 Jan 2016 04:08:49 +0000 (04:08 +0000)]
DO NOT MERGE Add capability to determine if downgrade to audio is denied.
am:
a3fc54f0d8 -s ours
* commit '
a3fc54f0d879cbf0bdbb5bd2fe5043dd19232191':
DO NOT MERGE Add capability to determine if downgrade to audio is denied.
Jason Monk [Sun, 24 Jan 2016 17:03:19 +0000 (12:03 -0500)]
Add preview section to nav bar tuner.
It uses density scaling to show a slightly smaller real time version
of the nav bar, so you can see edits without possibly breaking the
nav bar.
Also fix rotation in the tuner, cause it was broken.
Change-Id: I3de89c3df25c6adb18f0aef41b597c96446d1631
Jason Monk [Sun, 24 Jan 2016 15:15:55 +0000 (10:15 -0500)]
Add keycode buttons to nav bar tuner
Allow a keycode (list generated from KeyEvent.java) and a image to
be selected as a new KeyButtonView to be shown in the nav bar.
Change-Id: I26fcad5b74a96090f2c5574fd214b4afbcadbb30
Jason Monk [Sat, 23 Jan 2016 21:47:59 +0000 (16:47 -0500)]
Add clipboard to tuner
Allow button to be added to nav bar that acts as a drag target/source
for the clipboard.
Change-Id: I94ca3c7decd1a1b178ceb9a4b4ab9e275c90acbb
Jason Monk [Sat, 23 Jan 2016 20:28:10 +0000 (15:28 -0500)]
Allow width control of nav bar buttons
Encode the width as part of the spec as a float. For instance:
"home[.5]" is a home button with half its normal width.
The UI will allow users to adjust the width of standard buttons and
spaces from .25 to 1.75, excluding the app shelf, which fills all
available space.
Change-Id: Icd2f498c164933d61f55d779b3e9be0afaba9c2d
Jason Monk [Fri, 22 Jan 2016 15:01:44 +0000 (10:01 -0500)]
Nav bar tuner
Allows reorginization of the navigation bar. First pass.
Change-Id: If546ca5835412d15c05c41ffd5c5aa0857b9417f
Jason Monk [Thu, 21 Jan 2016 03:24:50 +0000 (22:24 -0500)]
SysUI Tuner: Color mod v2
Change-Id: Id2734c2f4ee8724ef7d7e633fed124454e2d8c5a
Tyler Gunn [Tue, 19 Jan 2016 23:59:34 +0000 (15:59 -0800)]
DO NOT MERGE Add capability to determine if downgrade to audio is denied.
By default we assume downgrade to audio is permitted; this capability
probides a means for a carrier to specifically deny that.
Bug:
22728624
Change-Id: I75e0a5b9e5ad2d970003a4691b6fc0ac0dcfe9e0
Tenghui Zhu [Thu, 28 Jan 2016 03:41:15 +0000 (03:41 +0000)]
Merge "Gradient for VectorDrawable's fill and stroke"
Jean-Michel Trivi [Thu, 28 Jan 2016 03:05:29 +0000 (19:05 -0800)]
API to query recording format and device on AudioRecordConfiguration
Bug
22876530
Change-Id: I5d529cecbef91361afce64f20faca17f6ebb8ba9
Daichi Hirono [Thu, 28 Jan 2016 02:56:34 +0000 (02:56 +0000)]
Merge "Add varietions of MtpDevice's mehtods using long."
Daichi Hirono [Fri, 15 Jan 2016 05:42:53 +0000 (14:42 +0900)]
Add varietions of MtpDevice's mehtods using long.
BUG=
26525304
Change-Id: I0a0b187910cf498720d8e7b8fbe9b0590e67e65e
Jean-Michel Trivi [Thu, 28 Jan 2016 02:48:00 +0000 (02:48 +0000)]
Merge "Dynamic audio policies by UID"
Suprabh Shukla [Thu, 28 Jan 2016 02:32:34 +0000 (02:32 +0000)]
Merge "Added a constant to be used as an Intent extra"
Winson Chung [Thu, 28 Jan 2016 02:20:55 +0000 (02:20 +0000)]
Merge "Part 2: Adding clear-all to history"
Daichi Hirono [Fri, 22 Jan 2016 10:34:25 +0000 (19:34 +0900)]
Implement MtpDevice#getPartialObject64 in Java API.
BUG=
26703522
Change-Id: I08510e3a179b7dc8bf247a9e997dc8a160138fc2
xin He [Thu, 28 Jan 2016 02:15:56 +0000 (02:15 +0000)]
Merge "Remodel Network Selection" into mm-wireless-dev
am:
2fdee90b68
* commit '
2fdee90b685781ec5e30f0788b727f692df32d40':
Remodel Network Selection
Pavlin Radoslavov [Thu, 28 Jan 2016 02:12:42 +0000 (02:12 +0000)]
Merge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user"
am:
26fdbc1833
* commit '
26fdbc18337a8e9d16e18255e39ce7a16e83d57b':
Grant CAP_WAKE_ALARM to the Bluetooth process for any user
xin He [Thu, 28 Jan 2016 02:08:23 +0000 (02:08 +0000)]
Merge "Remodel Network Selection" into mm-wireless-dev
Chien-Yu Chen [Thu, 28 Jan 2016 02:04:37 +0000 (02:04 +0000)]
Merge changes from topic 'camera-hardening'
* changes:
Add cameraserver process
Camera: update connect call
Arunesh Mishra [Thu, 28 Jan 2016 00:20:08 +0000 (16:20 -0800)]
SoundTrigger system API changes.
This CL exposes the SoundTriggerManager and SoundTriggerDetector as a
system/privileged API. The API is protected by a system/priv permission
and also via SEpolicy rules.
Bug:
22860713
Change-Id: I07ee3548ef0d5c584570004645267f5021dfa84c
Lifu Tang [Thu, 28 Jan 2016 02:02:18 +0000 (02:02 +0000)]
Merge changes from topic '2016 GPS Changes'
* changes:
Framework support to read newly added fields
Added an API to query GPS hardware version info
GPS Measurement and Navigation APIs go public
Supported GNSS multi-constellation in frameworks
Lifu Tang [Tue, 26 Jan 2016 02:02:17 +0000 (18:02 -0800)]
Framework support to read newly added fields
Change-Id: Ie43395addd102656a4dbf9c25111ac50ec9afe41
Suprabh Shukla [Wed, 27 Jan 2016 20:57:24 +0000 (12:57 -0800)]
Added a constant to be used as an Intent extra
Added a constant which can be specified to skip the uninstallation
confirmation dialog. Useful in cases where we want to show a different
warning message to the user before starting the UninstallerActivity
Change-Id: Ia87184a9ad715b628118feb447388625b8bf7f1c
Stephan Linzner [Thu, 28 Jan 2016 01:42:21 +0000 (01:42 +0000)]
Merge "Revert "Deprecated platform Android testing APIs""
Stephan Linzner [Thu, 28 Jan 2016 01:40:29 +0000 (01:40 +0000)]
Revert "Deprecated platform Android testing APIs"
This reverts commit
d46a7d0d6edbb36aa1a851af3769cc528d943ba0.
Change-Id: I4e4079d17f3bcdde7dc84e440a2168bb3e6d89d3
Lifu Tang [Fri, 22 Jan 2016 02:15:33 +0000 (18:15 -0800)]
Added an API to query GPS hardware version info
Change-Id: Ic45357d30da350759f56c9d061e60196acb3255b
Adam Powell [Thu, 28 Jan 2016 01:38:05 +0000 (01:38 +0000)]
Merge "Pinning components in ChooserActivity"
Winson [Tue, 26 Jan 2016 21:37:37 +0000 (13:37 -0800)]
Part 2: Adding clear-all to history
Change-Id: I9cd51f2a97ebe0f306e4934cdcac1a522526cf50
Joe LaPenna [Thu, 28 Jan 2016 01:21:38 +0000 (01:21 +0000)]
[DO NOT MERGE ANYWHERE]: Allow button events in ambient. am:
7528f57c4d -s ours am:
2bccc45cec -s ours am:
b47972df80 -s ours
am:
ab00e4e38c -s ours
* commit '
ab00e4e38c113e2e0b60cde5d210e39683c75040':
[DO NOT MERGE ANYWHERE]: Allow button events in ambient.
Adam Powell [Wed, 27 Jan 2016 17:09:35 +0000 (09:09 -0800)]
Pinning components in ChooserActivity
Move ChooserActivity to SystemUI. This is a safer place for it to live
and still be able to persist data to storage.
Add a context menu to long press for chooser targets allowing users to
'pin' a target component from an app. This causes it to sort to the
front of the list so that a user's favorite apps are always available
from share UIs, etc. Similarly, all ChooserTargets from a pinned
component receive an impossibly large boost for sorting so that they
will always appear first.
Bug
26791843
Change-Id: Ib4e603d9d4263403e98ce619287452ddab593044
Joe LaPenna [Thu, 28 Jan 2016 01:17:24 +0000 (01:17 +0000)]
[DO NOT MERGE ANYWHERE]: Allow button events in ambient. am:
7528f57c4d -s ours am:
2bccc45cec -s ours
am:
b47972df80 -s ours
* commit '
b47972df80ffa40c4ea8541f96275c25ed939d7b':
[DO NOT MERGE ANYWHERE]: Allow button events in ambient.
Joe LaPenna [Thu, 28 Jan 2016 01:12:36 +0000 (01:12 +0000)]
[DO NOT MERGE ANYWHERE]: Allow button events in ambient. am:
7528f57c4d -s ours
am:
2bccc45cec -s ours
* commit '
2bccc45cec5201c5b613134ebb0b398bc45483ef':
[DO NOT MERGE ANYWHERE]: Allow button events in ambient.
Steve McKay [Thu, 28 Jan 2016 01:08:51 +0000 (01:08 +0000)]
Merge "Remember view mode by root."
Sailesh Nepal [Thu, 28 Jan 2016 01:07:24 +0000 (01:07 +0000)]
Merge "Make CallScreening.CallResponse static"
Joe LaPenna [Thu, 28 Jan 2016 01:06:28 +0000 (01:06 +0000)]
[DO NOT MERGE ANYWHERE]: Allow button events in ambient.
am:
7528f57c4d -s ours
* commit '
7528f57c4ddbde1c6d0a2a352bd8a1af43711013':
[DO NOT MERGE ANYWHERE]: Allow button events in ambient.
Stephan Linzner [Thu, 28 Jan 2016 01:05:34 +0000 (01:05 +0000)]
Merge "Deprecated platform Android testing APIs"
Tomasz Mikolajewski [Thu, 28 Jan 2016 00:50:01 +0000 (09:50 +0900)]
Unhide DocumentsContract.isTreeUri.
Bug:
22212976
Change-Id: I5267e5de0037559eba5bd3adf16d552c25ca8037
Jaesung Chung [Thu, 28 Jan 2016 00:53:34 +0000 (00:53 +0000)]
Merge "Fix GpsTimeStamp format string"
Sailesh Nepal [Thu, 28 Jan 2016 00:45:51 +0000 (16:45 -0800)]
Make CallScreening.CallResponse static
A small mistake in my previous CL. The response object
needs to be static.
Change-Id: Idf9bca7a7076275f53475c2531090f406daecab9
Pavlin Radoslavov [Thu, 28 Jan 2016 00:52:41 +0000 (00:52 +0000)]
Merge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user"
Peng Xu [Thu, 28 Jan 2016 00:46:29 +0000 (00:46 +0000)]
Merge "Dynamic Sensor Discovery Implementation"
Peng Xu [Wed, 20 Jan 2016 08:05:45 +0000 (00:05 -0800)]
Dynamic Sensor Discovery Implementation
Defined the dynamic sensor meta data type and UUID of sensor, as well
as the broadcast intent that is related to dynamic sensor status
change.
Modify SensorManager, SystemSensorManager and the JNI layer to support
dynamic sensor discovery.
Added SensorNotificationService to notify apps that sensor connected
or disconnected via broadcast.
Change-Id: I28adfb005357d7e3983d65117d6865830c75027d
Winson Chung [Thu, 28 Jan 2016 00:35:36 +0000 (00:35 +0000)]
Merge "Part 1: Tweaking history transition to match design."
Teng-Hui Zhu [Tue, 15 Dec 2015 19:01:27 +0000 (11:01 -0800)]
Gradient for VectorDrawable's fill and stroke
Add ComplexColor interface for both GradientColor and ColorStateList.
Set up constant state, factory, theme attrs for GradientColor, while
refactoring the ColorStateList's similar code. (Functionality in CSL should
be the same).
Support themeing in both the root and item level in GradientColor.
For example, both startColor in <gradient> tag or color in <item> tag can
have theme color.
Add tests for both simple and complex cases with themeing etc.
Hook up the native VectorDrawable implementation using 2 extra JNI calls for
simplicity. Such calls only happen at inflate and applyTheme call.
b/
22564318
Change-Id: Ibdc564ddb4a7ee0133c6141c4784782f0c93ce0e
Lajos Molnar [Thu, 28 Jan 2016 00:31:43 +0000 (00:31 +0000)]
Merge "media: expose media format keys for color characteristics"
Steve McKay [Tue, 26 Jan 2016 03:00:22 +0000 (19:00 -0800)]
Remember view mode by root.
Now stored in local prefs, not recents DB.
Don't consult preferences for recents from DocumentsActivity.
Bug:
22671255 26689962 26411301
Change-Id: I492d85c450253bce984c929a6dd15d7c31ee6a0b
Pavlin Radoslavov [Thu, 28 Jan 2016 00:22:15 +0000 (16:22 -0800)]
Grant CAP_WAKE_ALARM to the Bluetooth process for any user
Use multiuser_get_app_id(uid) to check for AID_BLUETOOTH
and allow the CAP_WAKE_ALARM capability for any user.
Bug:
26784675
Change-Id: I11641e212b7c815e9137ae5620da6ad55f95a899
Makoto Onuki [Thu, 28 Jan 2016 00:20:35 +0000 (00:20 +0000)]
Merge "Fix exception message"
Makoto Onuki [Thu, 28 Jan 2016 00:19:38 +0000 (16:19 -0800)]
Fix exception message
Change-Id: I6fe4b8b745414ed589337079e2893d87dadb34f5
Lifu Tang [Tue, 26 Jan 2016 09:22:10 +0000 (01:22 -0800)]
GPS Measurement and Navigation APIs go public
Those APIs are already used by first-party Apps for a while. We now make them
available to third-party Apps as well.
Change-Id: I87d9f0dbb04831fc849228d7df03a2686e2eb383
Jack Yu [Thu, 28 Jan 2016 00:05:14 +0000 (00:05 +0000)]
Merge "Reduced more radio log spam" into mm-wireless-dev
am:
24c5e7c4ce
* commit '
24c5e7c4ceb31c85868fe2c03e8a507e2cb0520f':
Reduced more radio log spam
Adam Lesinski [Thu, 28 Jan 2016 00:03:56 +0000 (00:03 +0000)]
Merge "Record ModemActivityInfo and distribute power blame to apps"
Jack Yu [Thu, 28 Jan 2016 00:00:04 +0000 (00:00 +0000)]
Merge "Reduced more radio log spam" into mm-wireless-dev
Miao Wang [Wed, 27 Jan 2016 23:49:23 +0000 (23:49 +0000)]
Merge "[RenderScript] Unhide new Allocation APIs"
Adam Lesinski [Mon, 25 Jan 2016 20:27:06 +0000 (12:27 -0800)]
Record ModemActivityInfo and distribute power blame to apps
Telephony expsoses a getModemActivity() method, which BatteryStats
will poll when a change in network activity occurs (on the modem).
The time spent in various states (tx, idle, rx) are distributed amongst
the apps that did rx/tx traffic during that window.
Bug:
23147562
Change-Id: I480a85df95786f87c382b96816fe2ed4bb2d5a42
Sanket Padawe [Wed, 27 Jan 2016 23:29:25 +0000 (23:29 +0000)]
Merge "Add new RIL command for sending ack to solicited async and unsolicited msg." into mm-wireless-dev
am:
2ed3add734
* commit '
2ed3add734df1b9b35d91b69f2722b9554d2cf2b':
Add new RIL command for sending ack to solicited async and unsolicited msg.
Sanket Padawe [Wed, 27 Jan 2016 23:25:09 +0000 (23:25 +0000)]
Merge "Add new RIL command for sending ack to solicited async and unsolicited msg." into mm-wireless-dev
Phil Burk [Mon, 18 Jan 2016 01:27:30 +0000 (17:27 -0800)]
AudioTrack: make low latency APIs public
Allow apps to lower their Java audio latency.
Bug:
21019153
Change-Id: I1be9a083c46e9fcf7db2635e813cab13dbad810a
Signed-off-by: Phil Burk <philburk@google.com>
Felipe Leme [Wed, 27 Jan 2016 23:21:14 +0000 (23:21 +0000)]
Merge "Minor improvements on parseCommandArgs,"
Sudheer Shanka [Wed, 27 Jan 2016 23:20:52 +0000 (23:20 +0000)]
Merge "Fix UserAvatarView.setDisabled method."
Stephan Linzner [Fri, 22 Jan 2016 23:49:47 +0000 (15:49 -0800)]
Deprecated platform Android testing APIs
- Deprecated most android.test.* APIs
- Kept ProviderTestCase2 and LoaderTestCase since we don't have a
replacement yet
- Deprecated android.test.suitebuilder
- Added Javadoc to all deprecated APIs with links to corresponding
Android Testing Support Library APIs
- Removed all trailing whitespace
Change-Id: Iab0699f56c286e29b5af46f7580bec5f29955fd3
Winson [Tue, 26 Jan 2016 01:33:34 +0000 (17:33 -0800)]
Part 1: Tweaking history transition to match design.
- Adding background scrim that can be controlled across transitions
within recents. As a result, we can remove the status bar scrim.
- Moving the history view into the RecentsView now that it animates in
parallel with the task stack
- Transition home from history no longer goes back to stack view first
- Removing some extra allocations when going into history and loading
tasks
Change-Id: I665baefcdd619de5e9366923eaaf4c558261141a
Ian Pedowitz [Wed, 27 Jan 2016 22:54:26 +0000 (22:54 +0000)]
Merge "Need to call getApplicationInfo from System id"
Eino-Ville Talvala [Wed, 27 Jan 2016 22:51:21 +0000 (22:51 +0000)]
Merge "Camera2: Clarify LEVEL_3 requirements."
xinhe [Tue, 26 Jan 2016 18:32:03 +0000 (10:32 -0800)]
Remodel Network Selection
There are two main changes in this CL:
(1) Add user selection preference support. If user
explicitly chooses a network, framework will remember
it and consider user has a higher preference of this
network over all other visible networks.
(2) Seperate user set BSSID and framework chosen BSSID.
The BSSID under WifiConfiguration is set by user and is
not allowed to be overrided. The BSSID under Network
selection status is the best BSSID chosen by the
framework to associate with.
BUG=
26012244
BUG=
26721725
Change-Id: Iece91d20b139ef1c6aec05828c734d1706d81007
Miao Wang [Tue, 26 Jan 2016 22:19:25 +0000 (14:19 -0800)]
[RenderScript] Unhide new Allocation APIs
Bug:
23535524
- ByteBuffer getByteBuffer()
- long getStride()
- Allocation[] createAllocations(rs, type, usage, num)
- long getTimeStamp()
Change-Id: I0cad88c81f9f48c7aca59af159c49f506b234aee
Lajos Molnar [Wed, 27 Jan 2016 02:57:28 +0000 (18:57 -0800)]
media: expose media format keys for color characteristics
Bug:
25684127
Change-Id: Ib4aa7487d1bca27eff5f31cd736e935f5bb7e8f0
Ashutosh Joshi [Wed, 27 Jan 2016 22:37:41 +0000 (22:37 +0000)]
Merge "Adding new sensor types."
Ashutosh Joshi [Tue, 26 Jan 2016 04:24:20 +0000 (20:24 -0800)]
Adding new sensor types.
Adding new sensor types for the following -
i) Stationay Detection
ii) Motion Detection
iii) Heart Beat Detection
Change-Id: I95dd81605e0ce2467fe5e0b65dbd25447bba412b
Eino-Ville Talvala [Wed, 27 Jan 2016 22:16:20 +0000 (14:16 -0800)]
Camera2: Clarify LEVEL_3 requirements.
Bug:
25114814
Change-Id: I0d7e0c17c8860e443cded79506e9144db25fe10b
Makoto Onuki [Wed, 27 Jan 2016 22:25:43 +0000 (22:25 +0000)]
Merge "Make DPM.clearProfileOwner() public."
Jorim Jaggi [Wed, 27 Jan 2016 22:23:39 +0000 (22:23 +0000)]
Merge changes I80100f39,I4b39c1c4,I65ce9a23,I5094a137,Id898752f, ...
* changes:
Make sure SysUI is not constantly redrawing status bar
Fix app staying in drag resizing when undocking
Fix flicker when dismissing non-docked stack
Start drawing immediately
Improve dismiss/scrolling handling in recents
Dim harder when dismissing
Joe LaPenna [Fri, 22 Jan 2016 15:11:49 +0000 (07:11 -0800)]
[DO NOT MERGE ANYWHERE]: Allow button events in ambient.
See thread: "key presses & Ambient"
BUG:
25964771
BUG:
26524301
Change-Id: I914edd447c38678a06d27677be4597c0ee384635
Ta-wei Yen [Wed, 27 Jan 2016 22:18:23 +0000 (22:18 +0000)]
Merge "Added more granular states to DATA_CHANNEL_STATE"
Phil Burk [Wed, 27 Jan 2016 22:17:53 +0000 (22:17 +0000)]
Merge "AudioFormat: add ENCODING_IEC61937"
Sailesh Nepal [Wed, 27 Jan 2016 22:16:59 +0000 (22:16 +0000)]
Merge "Add new public API to allow call screening"
Jorim Jaggi [Wed, 27 Jan 2016 22:16:21 +0000 (14:16 -0800)]
Make sure SysUI is not constantly redrawing status bar
When status bar was collapsed, bounds were negative thus triggering
a infinite draw loop.
Change-Id: I80100f394fa5e0dd5858569f9535563eac3aeeb4
Sailesh Nepal [Wed, 27 Jan 2016 22:15:48 +0000 (22:15 +0000)]
Merge "Expose a meta-data value to allow dialer ringing"
Phil Burk [Wed, 27 Jan 2016 19:45:06 +0000 (11:45 -0800)]
AudioFormat: add ENCODING_IEC61937
Allows applications to wrap compressed audio in a PCM
stream and pass through directly to HDMI output.
Bug:
24541671
Bug:
20891646
Bug:
26373761
Change-Id: I67a25672a3b5066b5747380d013c26e60c14c272
Signed-off-by: Phil Burk <philburk@google.com>
Makoto Onuki [Wed, 27 Jan 2016 21:49:19 +0000 (13:49 -0800)]
Make DPM.clearProfileOwner() public.
Bug
26827204
Change-Id: Ib32e5370b493aa3e36b869d9ed3d78782df4c895
Miao Wang [Wed, 27 Jan 2016 22:02:17 +0000 (22:02 +0000)]
Merge "[RenderScript] Implement APIs for better multi-frame process support." am:
6ebdbfa549
am:
d90b4a3266
* commit '
d90b4a3266ab2af3cbc6f131a0ed320f7a795a09':
[RenderScript] Implement APIs for better multi-frame process support.
Ta-wei Yen [Wed, 27 Jan 2016 22:00:27 +0000 (22:00 +0000)]
Merge "Add KEY_VVM_PREFETCH_BOOLEAN to CarrierConfigManager"
Jorim Jaggi [Wed, 27 Jan 2016 10:10:08 +0000 (02:10 -0800)]
Fix app staying in drag resizing when undocking
When dismissing the docked stack, the fullscreen stack stayed in drag
resize mode because it got a relayout, but because the bounds didn't
change (it switches to the fullscreen layout a bit earlier) it never
called WM.relayoutWindow, so it stayed in drag resize mode indefinitely.
To fix this, introduce forceRelayout in Window.resized(), which makes
sure the client always calls relayoutWindow. Set this to true whenever
drag resizing is changing.
For some very weird reason this also broke that home button was not
responding anymore.
Bug:
26806532
Change-Id: I4b39c1c419a166aa7093c31226f2a4915f642328
Jorim Jaggi [Wed, 27 Jan 2016 09:01:06 +0000 (01:01 -0800)]
Fix flicker when dismissing non-docked stack
Because the right/bottom side of divider moves offscreen when dismissing non
docked stack, it results in empty bounds which then results in window manager
thinking the just dismissed activity is fullscreen, which leads to a black
flicker. Make sure not to calculate garbage when calculating the bounds for the
non-docked stack.
Bug:
26070457
Change-Id: I65ce9a23dc216971a3ae4df8058d5b86b1b792a5
Sailesh Nepal [Mon, 25 Jan 2016 02:21:53 +0000 (18:21 -0800)]
Add new public API to allow call screening
This CL adds a new service that the default dialer can implement to
screen incoming calls.
If the service is implemented then Telecom uses it to decide if a call
should be shown to the user or rejected.
Note, I initially tried to simply extend InCallService instead of
creating a whole new service. The problem with this approach is that:
- this breaks some in call services which show UI as soon as they are
bound to
- the in call service lifecycle is tightly coupled to adding and
removing calls. Call screening happens before a call is added which
makes it a bad fit to in call service
- call screening is a function of only the default dialer's in call
service but the existing code also binds to "controller" call
services
For these reasons it seemed simpler to just create a new optional
service.
BUG:
22857261
Change-Id: I53f2ef93360e0af19b6ce45af21026be6cf3a7f3
Arunesh Mishra [Wed, 27 Jan 2016 21:49:58 +0000 (21:49 +0000)]
Merge "Fix SoundTriggerModel uses to GenericSoundModel."
Jorim Jaggi [Wed, 27 Jan 2016 02:48:44 +0000 (18:48 -0800)]
Start drawing immediately
We used to have a condition to start drawing only in the second traversal,
which added a delay of about 10-15ms. We believe that we don't need this
anymore, because we have other means of synchronizing the app transition
animation with the app drawing - we wait for all surfaces to be drawn
in window manager.
Bug:
21035872
Change-Id: I5094a1377817dc7e0a2392cc8f522e99cd7b4d6e
Jorim Jaggi [Wed, 27 Jan 2016 02:34:13 +0000 (18:34 -0800)]
Improve dismiss/scrolling handling in recents
Make sure to only enter dismiss mode if xDiff is bigger than yDiff,
and only start scrolling if yDiff is bigger than xDiff.
Change-Id: Id898752ff7a08df549e234678aed0dad074b202d
Jorim Jaggi [Tue, 26 Jan 2016 03:45:42 +0000 (19:45 -0800)]
Dim harder when dismissing
Also fix a bug when selecting the dim target stack.
Change-Id: Id9d5e28caf5e810c7eef1e3b0fd7a9f945f8d146
Miao Wang [Wed, 27 Jan 2016 21:43:27 +0000 (21:43 +0000)]
Merge "[RenderScript] Implement APIs for better multi-frame process support."
am:
6ebdbfa549
* commit '
6ebdbfa5498c486a96f2b8b07858eb1a25a6d08a':
[RenderScript] Implement APIs for better multi-frame process support.