OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Minor fix on autofill() javadoc." into oc-dev
Felipe Leme [Fri, 9 Jun 2017 22:07:19 +0000 (22:07 +0000)]
Merge "Minor fix on autofill() javadoc." into oc-dev
am: 211e760408

Change-Id: Iaea8691ad9d7ce3ff1936f966a780a801e508e1f

7 years agoMerge "Minor fix on autofill() javadoc." into oc-dev
Felipe Leme [Fri, 9 Jun 2017 22:02:40 +0000 (22:02 +0000)]
Merge "Minor fix on autofill() javadoc." into oc-dev

7 years agoAdd missing values for screen percent width dimens am: 5fc6653ea7 am: a58e208394
Todd Lee [Fri, 9 Jun 2017 21:40:05 +0000 (21:40 +0000)]
Add missing values for screen percent width dimens am: 5fc6653ea7 am: a58e208394
am: 1b39c88b97

Change-Id: Ib1de633f27978fd6b87606b44b45c3ac71bc2113

7 years agoMerge "Force Autofill in FloatingToolbar overflow menu" into oc-dev
Siyamed Sinir [Fri, 9 Jun 2017 21:37:17 +0000 (21:37 +0000)]
Merge "Force Autofill in FloatingToolbar overflow menu" into oc-dev
am: bc626c6358

Change-Id: I8688bda33124a78d439f1cbcf23926a0672b0735

7 years agoMerge "Protect autofill UI against redressing" into oc-dev
Svetoslav Ganov [Fri, 9 Jun 2017 21:25:58 +0000 (21:25 +0000)]
Merge "Protect autofill UI against redressing" into oc-dev
am: 0541862ec5

Change-Id: I0073d1eb75fc3460ad126ad08b9d4cf3f566a305

7 years agoMerge changes from topic 'battery_smear_move' into oc-dev
Lei Yu [Fri, 9 Jun 2017 21:17:14 +0000 (21:17 +0000)]
Merge changes from topic 'battery_smear_move' into oc-dev
am: 883db32859

Change-Id: Ibb862780286006efb4a4a117f007cc652dac4ce9

7 years agoAdd missing values for screen percent width dimens am: 5fc6653ea7
Todd Lee [Fri, 9 Jun 2017 21:16:04 +0000 (21:16 +0000)]
Add missing values for screen percent width dimens am: 5fc6653ea7
am: a58e208394

Change-Id: I0bd6a5e8fe67439d823068229f4bbd828560d7c1

7 years agoCopy smearing method to BatteryStatsHelper
jackqdyulei [Fri, 9 Jun 2017 21:15:56 +0000 (21:15 +0000)]
Copy smearing method to BatteryStatsHelper
am: 5dad8068e2

Change-Id: I1a99fc38a665c3219999b464c1549dd707832f3d

7 years agoAdd missing values for screen percent width dimens
Todd Lee [Fri, 9 Jun 2017 21:07:04 +0000 (21:07 +0000)]
Add missing values for screen percent width dimens
am: 5fc6653ea7

Change-Id: Icecf451c5cb97275234f75f55292729a5f213560

7 years agoMerge "Closes Autofill UIs when back button is pressed." into oc-dev
Felipe Leme [Fri, 9 Jun 2017 21:05:39 +0000 (21:05 +0000)]
Merge "Closes Autofill UIs when back button is pressed." into oc-dev
am: 8db148093c

Change-Id: I8f0bfb221b17804d3f9ec7b682ebd1256f53aa76

7 years agoMerge "Ignore dispatchProvideStructureForAutofill() when layout is being updated...
Felipe Leme [Fri, 9 Jun 2017 20:59:53 +0000 (20:59 +0000)]
Merge "Ignore dispatchProvideStructureForAutofill() when layout is being updated." into oc-dev
am: e4835a2af4

Change-Id: I43a0e7bec7328d7a272c74145817bf4d9a03b69a

7 years agoMerge "Force Autofill in FloatingToolbar overflow menu" into oc-dev
Siyamed Sinir [Fri, 9 Jun 2017 20:58:30 +0000 (20:58 +0000)]
Merge "Force Autofill in FloatingToolbar overflow menu" into oc-dev

7 years agoMerge "add an extra for rebroadcast of SIM_STATE_CHANGED" into oc-dev
Chen Xu [Fri, 9 Jun 2017 20:57:02 +0000 (20:57 +0000)]
Merge "add an extra for rebroadcast of SIM_STATE_CHANGED" into oc-dev
am: cdec393aa3

Change-Id: I657161b898c66efdf13c48c322e25cefc7733750

7 years agoMerge "Protect autofill UI against redressing" into oc-dev
Svetoslav Ganov [Fri, 9 Jun 2017 20:53:26 +0000 (20:53 +0000)]
Merge "Protect autofill UI against redressing" into oc-dev

7 years agoMerge changes from topic 'battery_smear_move' into oc-dev
Lei Yu [Fri, 9 Jun 2017 20:50:36 +0000 (20:50 +0000)]
Merge changes from topic 'battery_smear_move' into oc-dev

* changes:
  Batterystats logs smeared power model values
  Copy smearing method to BatteryStatsHelper

7 years agoOBEX: Add required parameters TAG ID's for PBAP 1.2
Hemant Gupta [Fri, 9 Jun 2017 20:50:16 +0000 (20:50 +0000)]
OBEX: Add required parameters TAG ID's for PBAP 1.2
am: 6f2b75f574

Change-Id: I9110d7fd8b687f3ee59e3d9ea5ef3319873cdf69

7 years agoMerge "Closes Autofill UIs when back button is pressed." into oc-dev
Felipe Leme [Fri, 9 Jun 2017 19:47:52 +0000 (19:47 +0000)]
Merge "Closes Autofill UIs when back button is pressed." into oc-dev

7 years agoMerge "Ignore dispatchProvideStructureForAutofill() when layout is being updated...
Felipe Leme [Fri, 9 Jun 2017 19:42:13 +0000 (19:42 +0000)]
Merge "Ignore dispatchProvideStructureForAutofill() when layout is being updated." into oc-dev

7 years agoMerge "add an extra for rebroadcast of SIM_STATE_CHANGED" into oc-dev
Chen Xu [Fri, 9 Jun 2017 19:39:50 +0000 (19:39 +0000)]
Merge "add an extra for rebroadcast of SIM_STATE_CHANGED" into oc-dev

7 years agoAdd missing values for screen percent width dimens
Todd Lee [Wed, 3 May 2017 23:22:42 +0000 (16:22 -0700)]
Add missing values for screen percent width dimens

Protects against bootlooping in the event that developer
inadvertently changes DPI to unsupported value for device.

Use 0dp as it will not be mistaken for anything other
than a broken experience (cts test to validate device DPIs
so as to avoid shipping with this).

bug: b/37755288
Change-Id: Ie9f4aa0d6d226383824e06d28151e06038d0110b

7 years agoMerge "Add IApnSourceService.aidl" am: 1d5d409f6f
Jordan Liu [Fri, 9 Jun 2017 19:04:48 +0000 (19:04 +0000)]
Merge "Add IApnSourceService.aidl" am: 1d5d409f6f
am: 7b78a176a9

Change-Id: I8fd54598aae183364ba44a0d5ca2f4331436292a

7 years agoOBEX: Add required parameters TAG ID's for PBAP 1.2
Hemant Gupta [Sat, 17 Oct 2015 14:10:53 +0000 (19:40 +0530)]
OBEX: Add required parameters TAG ID's for PBAP 1.2

Add required OBEX application parameters TAGID's and length
declarations required to support PBAP 1.2 specification.

Test: Connected with Remote PBAP Client supporting PBAP 1.2 and
      verified that connection and transfer happens over L2CAP.
      Connected with Remote PBAP Client supporting PBAP 1.1 and
      and verified that connection and transfer happens over RFCOMM.
      TestTracker: 89053
Bug: 33011817
Change-Id: I8a772b0dddf6ecf74b057e12d7596421c0e0f558
(cherry picked from commit 9e91b62c1fa4f6c51f53ddb3f2155f345be30a2a)

7 years agoMerge "Removing legacy default thumbnail logic." into oc-dev
Winson Chung [Fri, 9 Jun 2017 17:55:08 +0000 (17:55 +0000)]
Merge "Removing legacy default thumbnail logic." into oc-dev
am: a0e44e7335

Change-Id: I39c832f1ff5b0905bb497c3970c4ce40dad237b8

7 years agoMerge "Removing legacy default thumbnail logic." into oc-dev
Winson Chung [Fri, 9 Jun 2017 17:50:44 +0000 (17:50 +0000)]
Merge "Removing legacy default thumbnail logic." into oc-dev

7 years agoMerge "Replace fonts of unknown origin" into oc-dev
Clara Bayarri [Fri, 9 Jun 2017 17:37:58 +0000 (17:37 +0000)]
Merge "Replace fonts of unknown origin" into oc-dev
am: 3eae564fec

Change-Id: Ied313294ca2de00f654e0c912717286f2725cc18

7 years agoMerge "Add IApnSourceService.aidl"
Jordan Liu [Fri, 9 Jun 2017 17:33:56 +0000 (17:33 +0000)]
Merge "Add IApnSourceService.aidl"
am: 1d5d409f6f

Change-Id: Id76c6c83d18482594730f7e584231f7f4714b46d

7 years agoMerge "Replace fonts of unknown origin" into oc-dev
Clara Bayarri [Fri, 9 Jun 2017 17:31:14 +0000 (17:31 +0000)]
Merge "Replace fonts of unknown origin" into oc-dev

7 years agoMerge "Add IApnSourceService.aidl"
Jordan Liu [Fri, 9 Jun 2017 17:25:08 +0000 (17:25 +0000)]
Merge "Add IApnSourceService.aidl"

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Fri, 9 Jun 2017 16:08:19 +0000 (16:08 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 728c610446  -s ours

Change-Id: I6b15bd645c0d70a710a45e213a95066e93be50b1

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Fri, 9 Jun 2017 16:02:23 +0000 (16:02 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Fix the finding logic of MediaButtonSession" into oc-dev
Sungsoo Lim [Fri, 9 Jun 2017 15:44:33 +0000 (15:44 +0000)]
Merge "Fix the finding logic of MediaButtonSession" into oc-dev
am: 9cfd30202d

Change-Id: I4de9857958f30cfa251da56d20c07fcca8973d95

7 years agoMerge "Fix the finding logic of MediaButtonSession" into oc-dev
Sungsoo Lim [Fri, 9 Jun 2017 15:38:42 +0000 (15:38 +0000)]
Merge "Fix the finding logic of MediaButtonSession" into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 9 Jun 2017 14:01:59 +0000 (07:01 -0700)]
Import translations. DO NOT MERGE

Change-Id: I868ab44fa40985282a8a7b46ea94d951d18e4fd3
Auto-generated-cl: translation import

7 years agoMerge "Fix deadlock when create alert window notification" into oc-dev
Wale Ogunwale [Fri, 9 Jun 2017 13:15:38 +0000 (13:15 +0000)]
Merge "Fix deadlock when create alert window notification" into oc-dev
am: 678477b383

Change-Id: If4da36399c68f7a91c0ab87d398eb3cdb70f2215

7 years agoMerge "Fix deadlock when create alert window notification" into oc-dev
Wale Ogunwale [Fri, 9 Jun 2017 13:07:13 +0000 (13:07 +0000)]
Merge "Fix deadlock when create alert window notification" into oc-dev

7 years agoMerge "Revert "Instrument captive portal login activity"" am: 2921320517
Hugo Benichi [Fri, 9 Jun 2017 11:47:25 +0000 (11:47 +0000)]
Merge "Revert "Instrument captive portal login activity"" am: 2921320517
am: bbddbfc451

Change-Id: I0271fa4138ac9c4f1ddfea648c003a79909214df

7 years agoMerge "Revert "Instrument captive portal login activity""
Hugo Benichi [Fri, 9 Jun 2017 11:40:01 +0000 (11:40 +0000)]
Merge "Revert "Instrument captive portal login activity""
am: 2921320517

Change-Id: Iacae406a0998bb91c84b73a66ff383dfa8038665

7 years agoMerge "Revert "Instrument captive portal login activity""
Hugo Benichi [Fri, 9 Jun 2017 11:31:21 +0000 (11:31 +0000)]
Merge "Revert "Instrument captive portal login activity""

7 years agoRevert "Instrument captive portal login activity"
Hugo Benichi [Fri, 9 Jun 2017 11:30:05 +0000 (11:30 +0000)]
Revert "Instrument captive portal login activity"

This reverts commit f867da14eaa194cb53b0726b50e570268e70f1d7.

Change-Id: Ic900c91ed87c2d65c151f8386954bd7b74128348

7 years agoMerge "Prioritize reused activity's stack over computed stack." into oc-dev
Bryce Lee [Fri, 9 Jun 2017 11:17:58 +0000 (11:17 +0000)]
Merge "Prioritize reused activity's stack over computed stack." into oc-dev
am: ac56b8adde

Change-Id: Ib4fd790e9ee235b25ddde40d839c01e7685a2f12

7 years agoMerge "Prioritize reused activity's stack over computed stack." into oc-dev
Bryce Lee [Fri, 9 Jun 2017 11:11:12 +0000 (11:11 +0000)]
Merge "Prioritize reused activity's stack over computed stack." into oc-dev

7 years agoMerge "Convert IControlsTethering from interface into callback" am: 5b9d362b60
Erik Kline [Fri, 9 Jun 2017 09:23:37 +0000 (09:23 +0000)]
Merge "Convert IControlsTethering from interface into callback" am: 5b9d362b60
am: ad3fd82f8b

Change-Id: Ib1f41df1200378191c0722a280939ccbde539920

7 years agoMerge "Convert IControlsTethering from interface into callback"
Erik Kline [Fri, 9 Jun 2017 09:16:01 +0000 (09:16 +0000)]
Merge "Convert IControlsTethering from interface into callback"
am: 5b9d362b60

Change-Id: I911548e994761778cf5434b2513d433eeaccd4f3

7 years agoMerge "Convert IControlsTethering from interface into callback"
Erik Kline [Fri, 9 Jun 2017 09:06:39 +0000 (09:06 +0000)]
Merge "Convert IControlsTethering from interface into callback"

7 years agoMerge "Instrument captive portal login activity" am: b213053def
Hugo Benichi [Fri, 9 Jun 2017 07:11:46 +0000 (07:11 +0000)]
Merge "Instrument captive portal login activity" am: b213053def
am: 30b7dfb526

Change-Id: Iec106e30ce9dbb38189fe3888f6111be92816891

7 years agoMerge "New Metrics constants for captive portal related UI" am: aac9aff5dc
Hugo Benichi [Fri, 9 Jun 2017 07:08:25 +0000 (07:08 +0000)]
Merge "New Metrics constants for captive portal related UI" am: aac9aff5dc
am: 75792d4299  -s ours

Change-Id: Ic7a559a6a5759dc0528e2a2d167d999b208225dd

7 years agoMerge "Instrument captive portal login activity"
Hugo Benichi [Fri, 9 Jun 2017 06:50:52 +0000 (06:50 +0000)]
Merge "Instrument captive portal login activity"
am: b213053def

Change-Id: Ic8205b609f8c6e0bc04eac17c3bcbe7df0508207

7 years agoMerge "New Metrics constants for captive portal related UI"
Hugo Benichi [Fri, 9 Jun 2017 06:47:47 +0000 (06:47 +0000)]
Merge "New Metrics constants for captive portal related UI"
am: aac9aff5dc

Change-Id: Ib55742148a08ae21f01539939e41699cdb581ca2

7 years agoMerge "Instrument captive portal login activity"
Hugo Benichi [Fri, 9 Jun 2017 06:39:19 +0000 (06:39 +0000)]
Merge "Instrument captive portal login activity"

7 years agoMerge "New Metrics constants for captive portal related UI"
Hugo Benichi [Fri, 9 Jun 2017 06:38:09 +0000 (06:38 +0000)]
Merge "New Metrics constants for captive portal related UI"

7 years agoadd an extra for rebroadcast of SIM_STATE_CHANGED
fionaxu [Thu, 8 Jun 2017 22:48:05 +0000 (15:48 -0700)]
add an extra for rebroadcast of SIM_STATE_CHANGED

Bug: 62459330
Test: Manaual Test
Change-Id: I0e1c676d99a38273047a84d4467cff44dae7c5af

7 years agoInstrument captive portal login activity
Hugo Benichi [Mon, 5 Jun 2017 05:52:24 +0000 (14:52 +0900)]
Instrument captive portal login activity

Also add CAPTIVE_PORTAL_LOGIN_ACTIVITY_SSL_ERROR constants to
metrics_constants.proto for counting ssl error pages shown by the
captive portal login activity.

Bug: 36203355
Bug: 34901696
Bug: 36532213
Test: manually tested with captive portal testing setup while watching
      event logs: adb logcat -b events | grep captiveportallogin
        06-08 16:25:20.279 21558 21558 I sysui_action: [1004,com.android.captiveportallogin]
        06-08 17:01:04.052 21558 21558 I sysui_action: [1007,com.android.captiveportallogin]

Merged-In: Ia05853506d424ad4cb2c11770ae7718fbef3f01c

(cherry picked from commit c61dc92fc0619d101c4b789f6305012701cc47a0)

Change-Id: I9184f6263a003c2be28f41a550c6164c8d6ee907

7 years agoFix the finding logic of MediaButtonSession
Sungsoo [Fri, 9 Jun 2017 03:59:47 +0000 (12:59 +0900)]
Fix the finding logic of MediaButtonSession

When we find a media button session with the given UID, we should
ignore the sessions whose playback state is not set.

Bug: 62373831
Test: passed CtsMediaTestCases
Change-Id: I484c888c5bdbceb85dd4524c1353906efc0c4f02

7 years agoMerge "Fixed an issue where the notification could stay userlocked" into oc-dev
Selim Cinek [Fri, 9 Jun 2017 04:38:10 +0000 (04:38 +0000)]
Merge "Fixed an issue where the notification could stay userlocked" into oc-dev
am: dc66506f0a

Change-Id: I541a5d64c0111057b709ca7179ff439da02bed29

7 years agoMerge "Fixed a bug where systemui could crash while cloning" into oc-dev
Selim Cinek [Fri, 9 Jun 2017 04:30:51 +0000 (04:30 +0000)]
Merge "Fixed a bug where systemui could crash while cloning" into oc-dev
am: b9eb205bd7

Change-Id: I5b1ff4ba5708c7d470940fd46074aefe9c210b83

7 years agoMerge "Fixed an issue where the notification could stay userlocked" into oc-dev
Selim Cinek [Fri, 9 Jun 2017 04:25:36 +0000 (04:25 +0000)]
Merge "Fixed an issue where the notification could stay userlocked" into oc-dev

7 years agoMerge "Fixed a bug where systemui could crash while cloning" into oc-dev
Selim Cinek [Fri, 9 Jun 2017 04:21:59 +0000 (04:21 +0000)]
Merge "Fixed a bug where systemui could crash while cloning" into oc-dev

7 years agoMerge "Properly run window animations at vsync-sf (1/2)" into oc-dev
Jorim Jaggi [Fri, 9 Jun 2017 04:16:28 +0000 (04:16 +0000)]
Merge "Properly run window animations at vsync-sf (1/2)" into oc-dev
am: d1f55f6302

Change-Id: Ibc28f6019637dbc9696c62f1ad1ce4679954fbd5

7 years agoMerge "Boost android.anim and wm lock sections to -10 during transition" into oc-dev
Jorim Jaggi [Fri, 9 Jun 2017 04:11:29 +0000 (04:11 +0000)]
Merge "Boost android.anim and wm lock sections to -10 during transition" into oc-dev
am: 713ad88afe

Change-Id: Idd18d8e092b1628eb0a08d579d6a6a488ce01026

7 years agoMerge "Properly run window animations at vsync-sf (1/2)" into oc-dev
Jorim Jaggi [Fri, 9 Jun 2017 04:06:38 +0000 (04:06 +0000)]
Merge "Properly run window animations at vsync-sf (1/2)" into oc-dev

7 years agoMerge "Boost android.anim and wm lock sections to -10 during transition" into oc-dev
Jorim Jaggi [Fri, 9 Jun 2017 04:05:31 +0000 (04:05 +0000)]
Merge "Boost android.anim and wm lock sections to -10 during transition" into oc-dev

7 years agoMinor fix on autofill() javadoc.
Felipe Leme [Fri, 9 Jun 2017 01:50:05 +0000 (18:50 -0700)]
Minor fix on autofill() javadoc.

Bug: 62465574
Test: N/A

Change-Id: I4a55b4064a8af835e962a77c6ad55a29c1954efd

7 years agoIgnore dispatchProvideStructureForAutofill() when layout is being updated.
Felipe Leme [Fri, 9 Jun 2017 01:12:32 +0000 (18:12 -0700)]
Ignore dispatchProvideStructureForAutofill() when layout is being updated.

View already checks if its layout is being updated when calling
notifyEnterOrExitForAutoFillIfNeeded(), but that doesn't prevent apps crashing
when the autofill process was triggered by another view.

Test: existing CtsAutoFillServiceTestCases pass
Fixes: 38198484

change-Id: I8e9435ddc4cf21fb648d39aace93f3af0e1fdf4f

7 years agoProtect autofill UI against redressing
Svetoslav Ganov [Fri, 9 Jun 2017 00:15:29 +0000 (17:15 -0700)]
Protect autofill UI against redressing

Test: LoginActivityTest#testAutoFillOneDatasetAndSaveHidingOverlays

bug:62357517

Change-Id: Idcac67e1013178ba6c0d83994d49f8b485b2d334

7 years agoProperly run window animations at vsync-sf (1/2)
Jorim Jaggi [Thu, 8 Jun 2017 22:40:38 +0000 (15:40 -0700)]
Properly run window animations at vsync-sf (1/2)

- Add new Choreographer instance that runs on vsync-sf
- Use this new Choreographer for WindowAnimator, and remove all
the hacks around it

Test: Open apps and close apps, notice no stutter
Test: Screen zoom animations
Test: go/wm-smoke
Bug: 36631902
Change-Id: I988ae25645effc3ac20efa7cb9b68f23444da0d0

7 years agoForce Autofill in FloatingToolbar overflow menu
Siyamed Sinir [Wed, 7 Jun 2017 23:26:19 +0000 (16:26 -0700)]
Force Autofill in FloatingToolbar overflow menu

Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
bit CtsWidgetTestCases:android.widget.cts.EditTextTest

Bug: 62271937
Change-Id: Ib3447281f3bd1abc811a25fc55ad55e34e155bbb

7 years agoMerge "Bluetooth: fix connectGatt overload invocations" into oc-dev
Jakub Pawlowski [Fri, 9 Jun 2017 00:01:44 +0000 (00:01 +0000)]
Merge "Bluetooth: fix connectGatt overload invocations" into oc-dev
am: 556b10a4e6

Change-Id: I92c46f849d80794d6c658b4ec0cfd071bf89a7bf

7 years agoFix deadlock when create alert window notification
Wale Ogunwale [Thu, 8 Jun 2017 23:51:48 +0000 (16:51 -0700)]
Fix deadlock when create alert window notification

Don't hold WM lock when calling into notification manager which
can call into activity manager.

Test: Make sure alert window notification is displayed
Change-Id: Id8831878093f8079f815a830ff8acdfad99d48cb
Fixes: 62458061

7 years agoMerge "Bluetooth: fix connectGatt overload invocations" into oc-dev
Jakub Pawlowski [Thu, 8 Jun 2017 23:51:21 +0000 (23:51 +0000)]
Merge "Bluetooth: fix connectGatt overload invocations" into oc-dev

7 years agoMerge "Merge "Fixes the animation and state when docking a task by drag" into oc...
Android Build Merger (Role) [Thu, 8 Jun 2017 23:44:38 +0000 (23:44 +0000)]
Merge "Merge "Fixes the animation and state when docking a task by drag" into oc-dev am: 008e620153" into oc-dev-plus-aosp

7 years agoMerge "Fixes the animation and state when docking a task by drag" into oc-dev
Matthew Ng [Thu, 8 Jun 2017 23:43:49 +0000 (23:43 +0000)]
Merge "Fixes the animation and state when docking a task by drag" into oc-dev
am: 008e620153

Change-Id: If6a7101ba7055e23562b87195f35f1e068048389

7 years agoMerge "Fixes the animation and state when docking a task by drag" into oc-dev
Matthew Ng [Thu, 8 Jun 2017 23:31:02 +0000 (23:31 +0000)]
Merge "Fixes the animation and state when docking a task by drag" into oc-dev
am: 008e620153

Change-Id: If1947aac627b92213202b22b721a397492173508

7 years agoBatterystats logs smeared power model values
Bookatz [Thu, 8 Jun 2017 21:50:46 +0000 (14:50 -0700)]
Batterystats logs smeared power model values

Fixes: 62302932
Test: cts-tradefed run cts-dev -m CtsDumpsysHostTestCases -t android.dumpsys.cts.BatteryStatsDumpsysTest
Change-Id: I8942aa9bc557fada4cf0be76aee6bd0bcee9ebb6

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Thu, 8 Jun 2017 23:23:02 +0000 (23:23 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: dd5886bc5b  -s ours

Change-Id: I99f7800bccdd03503185c593f86c1daab328c7f5

7 years agoMerge "Fixes the animation and state when docking a task by drag" into oc-dev
TreeHugger Robot [Thu, 8 Jun 2017 23:21:05 +0000 (23:21 +0000)]
Merge "Fixes the animation and state when docking a task by drag" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Thu, 8 Jun 2017 23:14:52 +0000 (23:14 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 67a947b636  -s ours

Change-Id: I87e77b18f173d20154743daf5e735bf72bfc685f

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Thu, 8 Jun 2017 23:04:51 +0000 (23:04 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Thu, 8 Jun 2017 23:03:52 +0000 (23:03 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoBoost android.anim and wm lock sections to -10 during transition
Jorim Jaggi [Wed, 7 Jun 2017 21:33:04 +0000 (14:33 -0700)]
Boost android.anim and wm lock sections to -10 during transition

-4 is not enough if we have to compete against RT and main thread
from top app that have -10. Boost it more during app transitions

Test: Inspect systrace, make sure priorities are right, including
getting reset after the transition.
Test: Open Chrome 100x
Test: go/wm-smoke

Change-Id: Id6b060b8aafded67b4bae61b6e8960e37976b096
Fixes: 36631902

7 years agoAdd IApnSourceService.aidl
Jordan Liu [Tue, 23 May 2017 20:07:07 +0000 (13:07 -0700)]
Add IApnSourceService.aidl

This service is bound to by TelephonyProvider on devices where we don't
use the apns-conf.xml file.

Bug: 37283190
Test: manual
Change-Id: I16da1c5acc5ba1fe0237cc0d37c73d831c2d1508
Merged-In: I16da1c5acc5ba1fe0237cc0d37c73d831c2d1508

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Thu, 8 Jun 2017 22:45:15 +0000 (22:45 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 75b5199e9d  -s ours

Change-Id: I3393f85819b8ed0fec35cfa0cbea0899141d73dc

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Thu, 8 Jun 2017 22:34:26 +0000 (22:34 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoCopy smearing method to BatteryStatsHelper
jackqdyulei [Mon, 5 Jun 2017 23:15:54 +0000 (16:15 -0700)]
Copy smearing method to BatteryStatsHelper

This cl adds the following data in BatterySipper
1. screenPowerMah: power smeared by screen
2. proportionalSmearMah: power need to smeared proportionally
3. displayPowerMah: smeared power usage

This cl also copies bunch of methods from BatteryUtils to
BatteryStatsHelper with minor changes, so we could log smearing
logic in BatteryStatsHelper

Bug: 62300864
Test: runtest -x BatteryStatsHelperTest
Change-Id: I9f92f5c1ac5fa483d0c15a3d5daad570da68a7ff
Merged-In: I9f92f5c1ac5fa483d0c15a3d5daad570da68a7ff

7 years agoMerge "Add system property for hot startup method threshold" am: a370159592
Mathieu Chartier [Thu, 8 Jun 2017 22:00:09 +0000 (22:00 +0000)]
Merge "Add system property for hot startup method threshold" am: a370159592
am: 187b15bbd5

Change-Id: Id56adbe39e8a81ef12c4b9d8fdcf65c94a316d6f

7 years agoMerge "Add system property for hot startup method threshold"
Mathieu Chartier [Thu, 8 Jun 2017 21:54:22 +0000 (21:54 +0000)]
Merge "Add system property for hot startup method threshold"
am: a370159592

Change-Id: I271cf74364b7b9c2d16282ef6a9ab24b6d243e1e

7 years agoMerge "Add system property for hot startup method threshold"
Mathieu Chartier [Thu, 8 Jun 2017 21:44:06 +0000 (21:44 +0000)]
Merge "Add system property for hot startup method threshold"

7 years agoMerge "Merge "Revert "always adjust per-user application info"" into oc-dev am: 88754...
Android Build Merger (Role) [Thu, 8 Jun 2017 21:23:30 +0000 (21:23 +0000)]
Merge "Merge "Revert "always adjust per-user application info"" into oc-dev am: 887544e100" into oc-dev-plus-aosp

7 years agoMerge "Revert "always adjust per-user application info"" into oc-dev
Adam Lesinski [Thu, 8 Jun 2017 21:22:21 +0000 (21:22 +0000)]
Merge "Revert "always adjust per-user application info"" into oc-dev
am: 887544e100

Change-Id: I944c449954876353c7e597fca19ac5fe00e62906

7 years agoMerge "Bluetooth: fix connectGatt overload invocations" am: 404e9f209f
Jakub Pawlowski [Thu, 8 Jun 2017 21:20:27 +0000 (21:20 +0000)]
Merge "Bluetooth: fix connectGatt overload invocations" am: 404e9f209f
am: c0fed83b84

Change-Id: I871bc30dcd7aeb5c4a6f6c15d84b43dee84994f2

7 years agoMerge "Revert "always adjust per-user application info"" into oc-dev
Adam Lesinski [Thu, 8 Jun 2017 21:14:02 +0000 (21:14 +0000)]
Merge "Revert "always adjust per-user application info"" into oc-dev

7 years agoMerge "Bluetooth: fix connectGatt overload invocations"
Jakub Pawlowski [Thu, 8 Jun 2017 21:12:26 +0000 (21:12 +0000)]
Merge "Bluetooth: fix connectGatt overload invocations"
am: 404e9f209f

Change-Id: I01699795f733fbf46af10ba25afd8cb3feecc9ea

7 years agoRevert "always adjust per-user application info"
Adam Lesinski [Thu, 8 Jun 2017 20:16:39 +0000 (20:16 +0000)]
Revert "always adjust per-user application info"

This reverts commit e0046cecb079ec4d063444cee64795a6b734e6e7.

Reason for revert: Regresses UI theme

Bug: 62445682
Bug: 36561125
Change-Id: I9b60bd8e4eb89129368d38e83c0036ab459a524e

7 years agoBluetooth: fix connectGatt overload invocations
Jakub Pawlowski [Wed, 7 Jun 2017 20:45:33 +0000 (13:45 -0700)]
Bluetooth: fix connectGatt overload invocations

Merged-In: I726252e85e78bff2c9585332d2748a0d92a9f6d3
Test: sl4a GattOverBrEdrTest
Bug: 62387078
Change-Id: I5bfb87683e25f8862587e8000eb4c9bb6ff14f99

7 years agoMerge "Bluetooth: fix connectGatt overload invocations"
Jakub Pawlowski [Thu, 8 Jun 2017 20:59:33 +0000 (20:59 +0000)]
Merge "Bluetooth: fix connectGatt overload invocations"

7 years agoRemoving legacy default thumbnail logic.
Winson Chung [Thu, 8 Jun 2017 20:46:12 +0000 (13:46 -0700)]
Removing legacy default thumbnail logic.

- With the move to snapshots, we no longer keep a local cache of the
  thumbnails and tasks which have no thumbnails will be handled
  in the snapshot from the system (if it uses FLAG_SECURE) or in
  Recents directly through the task description background color.

  In the case of this bug, the default thumbnail (1x1 white bitmap) was
  incorrectly being applied because the system could not take a snapshot
  of the app due to DRM.

Bug: 62447895
Test: Open any app with DRM, play video, tap Recents

Change-Id: I02e87cf513eb9750b39d54d085b0c19645b7ed52

7 years agoFixed a bug where systemui could crash while cloning
Selim Cinek [Thu, 8 Jun 2017 20:20:08 +0000 (13:20 -0700)]
Fixed a bug where systemui could crash while cloning

Because cloning wasn't synchronized, the notification
could become a non-root temporarily which in turn could
lead to a crash.
1. We're now properly synchronizing the cloning, such that
this can't happen anymore
2. We're now only cloning the old statusbar notification lightly
instead of heavily to avoid this altogether

Test: manual, update decoratedcustomview notifications really fast
Change-Id: Ia6525eec64ad9a26956ca2198e20198f55b2173c
Fixes: 62181033

7 years agoMerge "Add carrier config for allowing USSD requests via telephony manger APIs."...
Tyler Gunn [Thu, 8 Jun 2017 20:15:58 +0000 (20:15 +0000)]
Merge "Add carrier config for allowing USSD requests via telephony manger APIs." into oc-dev
am: 980582e555

Change-Id: I50666f5d3c4e224221a07a170598a5ea25d5f5ef

7 years agoCloses Autofill UIs when back button is pressed.
Felipe Leme [Thu, 8 Jun 2017 20:01:13 +0000 (13:01 -0700)]
Closes Autofill UIs when back button is pressed.

Test: existing CtsAutoFillServiceTestCases pass
Test: LoginActivityTest#testSaveGoesAwayWhenTappingBackButton pass

Fixes: 62272098

Change-Id: Id34767ca32836f040e04790f0f2935ae49d88d71

7 years agoMerge "Add carrier config for allowing USSD requests via telephony manger APIs."...
Tyler Gunn [Thu, 8 Jun 2017 20:06:52 +0000 (20:06 +0000)]
Merge "Add carrier config for allowing USSD requests via telephony manger APIs." into oc-dev

7 years agoMerge "Fix NPE in MtpDocumentsProviderTests" into oc-dev
Daichi Hirono [Thu, 8 Jun 2017 18:30:15 +0000 (18:30 +0000)]
Merge "Fix NPE in MtpDocumentsProviderTests" into oc-dev
am: ebb6e998d5

Change-Id: I8973b62b103f4f40275bc5681f54b5957385ecb1