OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Cumulative wakelock time per uid" into oc-dev am: 1effe000b8
Adam Bookatz [Fri, 19 May 2017 18:41:45 +0000 (18:41 +0000)]
Merge "Cumulative wakelock time per uid" into oc-dev am: 1effe000b8
am: 95cf947fba

Change-Id: I58660c0671a49388f8b9fdff28060e9312fa497d

7 years agoMerge "Cumulative wakelock time per uid" into oc-dev
Adam Bookatz [Fri, 19 May 2017 18:32:20 +0000 (18:32 +0000)]
Merge "Cumulative wakelock time per uid" into oc-dev
am: 1effe000b8

Change-Id: I475ced78c13cadd48ba3be70d680a4a3fa83e500

7 years agoMerge "Cumulative wakelock time per uid" into oc-dev
Adam Bookatz [Fri, 19 May 2017 18:24:31 +0000 (18:24 +0000)]
Merge "Cumulative wakelock time per uid" into oc-dev

7 years agoMerge "CommonTimeManagementService: fix error-prone warnings."
Andrew Scull [Fri, 19 May 2017 18:10:28 +0000 (18:10 +0000)]
Merge "CommonTimeManagementService: fix error-prone warnings."

7 years agoMerge "Fix "launcher starting on work profile"" into oc-dev am: b6d1a19819
Makoto Onuki [Fri, 19 May 2017 18:01:08 +0000 (18:01 +0000)]
Merge "Fix "launcher starting on work profile"" into oc-dev am: b6d1a19819
am: b5c6c3daa7

Change-Id: I228d7efd8c283882bb2d431b87ae73da01000156

7 years agoMerge "Fix "launcher starting on work profile"" into oc-dev
Makoto Onuki [Fri, 19 May 2017 17:54:07 +0000 (17:54 +0000)]
Merge "Fix "launcher starting on work profile"" into oc-dev
am: b6d1a19819

Change-Id: Id1e6bdc951b0c139406195af378ccdfa21730d12

7 years agoMerge "Make multi presses on power button timeout configurable through overlay."
Alain Vongsouvanh [Fri, 19 May 2017 17:47:39 +0000 (17:47 +0000)]
Merge "Make multi presses on power button timeout configurable through overlay."

7 years agoMerge "Fix "launcher starting on work profile"" into oc-dev
Makoto Onuki [Fri, 19 May 2017 17:43:54 +0000 (17:43 +0000)]
Merge "Fix "launcher starting on work profile"" into oc-dev

7 years agoMerge "WifiMetrics: Add metrics for HAL/wificond crashes"
Roshan Pius [Fri, 19 May 2017 17:39:18 +0000 (17:39 +0000)]
Merge "WifiMetrics: Add metrics for HAL/wificond crashes"

7 years agoMerge "Also pin vdex file for camera" into oc-dev am: 540c5bd354
Calin Juravle [Fri, 19 May 2017 17:14:33 +0000 (17:14 +0000)]
Merge "Also pin vdex file for camera" into oc-dev am: 540c5bd354
am: 38d73cfa1f

Change-Id: Ib7f9bfd72396c4273abd1b1ba26e1471f5de45b3

7 years agoMerge "Also pin vdex file for camera" into oc-dev
Calin Juravle [Fri, 19 May 2017 17:04:55 +0000 (17:04 +0000)]
Merge "Also pin vdex file for camera" into oc-dev
am: 540c5bd354

Change-Id: I4c78a055bdba42b0dc6050e0b06d606b65ec380d

7 years agoMerge "Also pin vdex file for camera" into oc-dev
Calin Juravle [Fri, 19 May 2017 16:56:37 +0000 (16:56 +0000)]
Merge "Also pin vdex file for camera" into oc-dev

7 years agoMerge "LegacyGlobalActions.java: add missing @Override annotations"
Andrew Scull [Fri, 19 May 2017 16:11:06 +0000 (16:11 +0000)]
Merge "LegacyGlobalActions.java: add missing @Override annotations"

7 years agoMerge "Fix underdraw during resizing" into oc-dev am: 906fe92759
Jorim Jaggi [Fri, 19 May 2017 16:04:17 +0000 (16:04 +0000)]
Merge "Fix underdraw during resizing" into oc-dev am: 906fe92759
am: c907b736a9

Change-Id: Iae0cfdbe8dfe79142c55d282069d9740f83f1b3f

7 years agoMake multi presses on power button timeout configurable through overlay.
Alain Vongsouvanh [Tue, 11 Apr 2017 00:13:17 +0000 (17:13 -0700)]
Make multi presses on power button timeout configurable through overlay.

Previous implementation used the same timeout value as screen double tap which
does not take into account device specific hardware differences.
New implementation uses the existing ViewConfiguration#getMultiPressTimeout()
value which is configurable through a Setting item and default overlay.

Bug: 37671926
Test: Cherry-picked back to cw-f-dev, flashed on Sculpin with no
      configuration changed and verified that timeout was still at
      300ms. Added an overlay to increase the timeout, flashed on
      Sculpin and verified that the new timeout was being used.

Change-Id: Ie0ab705cafb2a3be9a31e66a03a3c9c656196ca1

7 years agoMerge "Round the corners of the battery icon"
Evan Laird [Fri, 19 May 2017 16:00:10 +0000 (16:00 +0000)]
Merge "Round the corners of the battery icon"

7 years agoMerge "Fix underdraw during resizing" into oc-dev
Jorim Jaggi [Fri, 19 May 2017 15:53:18 +0000 (15:53 +0000)]
Merge "Fix underdraw during resizing" into oc-dev
am: 906fe92759

Change-Id: I25fe2b06324f238d2d5d6092837919d1f5659bf3

7 years agoMerge "Fix underdraw during resizing" into oc-dev
Jorim Jaggi [Fri, 19 May 2017 15:42:46 +0000 (15:42 +0000)]
Merge "Fix underdraw during resizing" into oc-dev

7 years agoMerge "Resolve error-prone warnings."
Andrew Scull [Fri, 19 May 2017 14:51:21 +0000 (14:51 +0000)]
Merge "Resolve error-prone warnings."

7 years agoLegacyGlobalActions.java: add missing @Override annotations
Andrew Scull [Fri, 19 May 2017 14:26:30 +0000 (15:26 +0100)]
LegacyGlobalActions.java: add missing @Override annotations

error-prone was raising warnings for these.

Change-Id: I65f98e4ff6385bcf5d63d4c9beec021bfe80f3f2
Fix: 38445791
Test: Build

7 years agoMerge "wm/Server.java: add missing @Override annotations"
Andrew Scull [Fri, 19 May 2017 13:12:46 +0000 (13:12 +0000)]
Merge "wm/Server.java: add missing @Override annotations"

7 years agoMerge "WebViewUpdater: make lock object final."
Andrew Scull [Fri, 19 May 2017 13:06:35 +0000 (13:06 +0000)]
Merge "WebViewUpdater: make lock object final."

7 years agoFix underdraw during resizing
Jorim Jaggi [Fri, 19 May 2017 12:53:55 +0000 (14:53 +0200)]
Fix underdraw during resizing

Since we hide the navigation bar background during resizing, we
need to fill it with the fallback background.

This was always an issue but somehow in OC we are displaying
garbage instead of black.

Test: Open Contacts/Dialer, resize, make sure no underdraw is
happening. Also test a couple of other apps.
Fixes: 36206155

Change-Id: I6b02060ef4acf36c2529d49063a61034f9261696

7 years agoMerge "Take snapshot when screen is turning off" into oc-dev am: 64900ad13c
Jorim Jaggi [Fri, 19 May 2017 12:50:06 +0000 (12:50 +0000)]
Merge "Take snapshot when screen is turning off" into oc-dev am: 64900ad13c
am: 8947e7a215

Change-Id: Ifec8c2e6368e01e47ae2fdf6fecded4a7aa9172e

7 years agoMerge "Take snapshot when screen is turning off" into oc-dev
Jorim Jaggi [Fri, 19 May 2017 12:41:03 +0000 (12:41 +0000)]
Merge "Take snapshot when screen is turning off" into oc-dev
am: 64900ad13c

Change-Id: If64b205fc27f33a4359f00fe7f551b9797b1380f

7 years agoMerge "Purge StoreWriteQueue items to avoid system health issues" into oc-dev am...
Jorim Jaggi [Fri, 19 May 2017 12:41:03 +0000 (12:41 +0000)]
Merge "Purge StoreWriteQueue items to avoid system health issues" into oc-dev am: 009d0460f0
am: 9309b3d219

Change-Id: Iec4c38618b9aeaf274d8c4f0b9141aa20db4b0fb

7 years agoMerge "Purge StoreWriteQueue items to avoid system health issues" into oc-dev
Jorim Jaggi [Fri, 19 May 2017 12:32:25 +0000 (12:32 +0000)]
Merge "Purge StoreWriteQueue items to avoid system health issues" into oc-dev
am: 009d0460f0

Change-Id: I7d23cfe0d175af9a17ed685d387a248045105784

7 years agoMerge "Take snapshot when screen is turning off" into oc-dev
Jorim Jaggi [Fri, 19 May 2017 12:29:49 +0000 (12:29 +0000)]
Merge "Take snapshot when screen is turning off" into oc-dev

7 years agoMerge "Purge StoreWriteQueue items to avoid system health issues" into oc-dev
Jorim Jaggi [Fri, 19 May 2017 12:26:43 +0000 (12:26 +0000)]
Merge "Purge StoreWriteQueue items to avoid system health issues" into oc-dev

7 years agowm/Server.java: add missing @Override annotations
Andrew Scull [Fri, 19 May 2017 11:16:10 +0000 (12:16 +0100)]
wm/Server.java: add missing @Override annotations

error-prone reported these as warnings.

Change-Id: I92839207fdbdeda2289b81faaecfd73bf4036b33
Fix: 38442333
Test: Build

7 years agoCommonTimeManagementService: fix error-prone warnings.
Andrew Scull [Fri, 19 May 2017 10:04:38 +0000 (11:04 +0100)]
CommonTimeManagementService: fix error-prone warnings.

Synchronizing on non-final fields is not safe: if the field is ever
updated, different threads may end up locking on different objects.

Missing @Override annotations.

Change-Id: I6ff0b47776333bc566148bb671205d0821ba774d
Fix: 38442014
Test: Build

7 years agoResolve error-prone warnings.
Andrew Scull [Fri, 19 May 2017 09:50:36 +0000 (10:50 +0100)]
Resolve error-prone warnings.

Objects used for synchronisation should be final and inner classes
should be static, if possible.

Change-Id: I2be5bae504835660fad752048b2ab9c7076fafc0
Fix: 38442000
Test: Build

7 years agoWebViewUpdater: make lock object final.
Andrew Scull [Fri, 19 May 2017 09:33:26 +0000 (10:33 +0100)]
WebViewUpdater: make lock object final.

Synchronizing on non-final fields is not safe: if the field is ever
updated, different threads may end up locking on different objects.

Bug: 38441224
Test: Build
Change-Id: Icc5dbfbaeeb276504a789d3a1c81af82e5128c9b

7 years agoMerge "Add a method to start the captive portal login app." am: 30f2544f0c am: f238a9...
Hugo Benichi [Fri, 19 May 2017 03:05:31 +0000 (03:05 +0000)]
Merge "Add a method to start the captive portal login app." am: 30f2544f0c am: f238a96172 am: 6246ddc338
am: abe47075bb

Change-Id: I29f04d352d601da18df193f3f46b2f6ff60d7ffd

7 years agoMerge "Add a method to start the captive portal login app." am: 30f2544f0c am: f238a96172
Hugo Benichi [Fri, 19 May 2017 02:56:58 +0000 (02:56 +0000)]
Merge "Add a method to start the captive portal login app." am: 30f2544f0c am: f238a96172
am: 6246ddc338

Change-Id: I0f5d39394d35d2977c81b704ded1d1119bcf47a7

7 years agoMerge "Add a method to start the captive portal login app." am: 30f2544f0c
Hugo Benichi [Fri, 19 May 2017 02:48:01 +0000 (02:48 +0000)]
Merge "Add a method to start the captive portal login app." am: 30f2544f0c
am: f238a96172

Change-Id: Ie42fa5148bc7fcaf5b64b767c06aba9f618c0aa7

7 years agoMerge "Add test coverage for explicitlySelected networks." am: 1bc1936ae9 am: 3d55c55...
Lorenzo Colitti [Fri, 19 May 2017 02:43:31 +0000 (02:43 +0000)]
Merge "Add test coverage for explicitlySelected networks." am: 1bc1936ae9 am: 3d55c5539c am: b7535c86a0
am: 00af3be22f

Change-Id: Ie104d3b939e99f67dd3267e16f6c27c403162453

7 years agoMerge "Add a method to start the captive portal login app."
Hugo Benichi [Fri, 19 May 2017 02:39:29 +0000 (02:39 +0000)]
Merge "Add a method to start the captive portal login app."
am: 30f2544f0c

Change-Id: I7bc42e7f9cbc3635684257b920ea4a1ba7b55740

7 years agoMerge "Add test coverage for explicitlySelected networks." am: 1bc1936ae9 am: 3d55c5539c
Lorenzo Colitti [Fri, 19 May 2017 02:34:58 +0000 (02:34 +0000)]
Merge "Add test coverage for explicitlySelected networks." am: 1bc1936ae9 am: 3d55c5539c
am: b7535c86a0

Change-Id: I4caf9f55edeb51365293558db9d7d028b61c501c

7 years agoMerge "Add a method to start the captive portal login app."
Hugo Benichi [Fri, 19 May 2017 02:29:19 +0000 (02:29 +0000)]
Merge "Add a method to start the captive portal login app."

7 years agoMerge "Add test coverage for explicitlySelected networks." am: 1bc1936ae9
Lorenzo Colitti [Fri, 19 May 2017 02:25:32 +0000 (02:25 +0000)]
Merge "Add test coverage for explicitlySelected networks." am: 1bc1936ae9
am: 3d55c5539c

Change-Id: If07a9e0f400c434fd7df6f52dbd43a6dab1b4d51

7 years agoMerge "Add test coverage for explicitlySelected networks."
Lorenzo Colitti [Fri, 19 May 2017 02:15:53 +0000 (02:15 +0000)]
Merge "Add test coverage for explicitlySelected networks."
am: 1bc1936ae9

Change-Id: I42ce887005325eee9fb1a60762cee375cff176a6

7 years agoMerge "Add test coverage for explicitlySelected networks."
Lorenzo Colitti [Fri, 19 May 2017 02:05:54 +0000 (02:05 +0000)]
Merge "Add test coverage for explicitlySelected networks."

7 years agoAdd a method to start the captive portal login app.
Lorenzo Colitti [Thu, 27 Apr 2017 05:30:21 +0000 (14:30 +0900)]
Add a method to start the captive portal login app.

Bug: 36203355
Bug: 36656914
Test: ConnectivityServiceTest (including new test) passes
Change-Id: Ide82858af67024623560ab79beea27c201b63447
Merged-In: I82a9a9a8da47870ba3f1bbef5941b37e970c844f

(cherry picked from commit 4734cdbbc38752765376aedb0d5208463674535e)

7 years agoMerge "Optimize latency when closing panel with animation" into oc-dev am: 6c0aba7d4f
Jorim Jaggi [Fri, 19 May 2017 00:41:19 +0000 (00:41 +0000)]
Merge "Optimize latency when closing panel with animation" into oc-dev am: 6c0aba7d4f
am: 8f1511e91a

Change-Id: I3a34ff4e1214836bf7250f2ade2ae4e8108a65f1

7 years agoMerge "Optimize latency when closing panel with animation" into oc-dev
Jorim Jaggi [Fri, 19 May 2017 00:32:43 +0000 (00:32 +0000)]
Merge "Optimize latency when closing panel with animation" into oc-dev
am: 6c0aba7d4f

Change-Id: I14488940604c73345ec559bacb1cc7e2cf272ca5

7 years agoMerge "Optimize latency when closing panel with animation" into oc-dev
Jorim Jaggi [Fri, 19 May 2017 00:24:12 +0000 (00:24 +0000)]
Merge "Optimize latency when closing panel with animation" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev am: d4c3c6e1b1 -s ours
Bill Yi [Fri, 19 May 2017 00:13:11 +0000 (00:13 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev am: d4c3c6e1b1  -s ours
am: ea87948cf9  -s ours

Change-Id: I6f2179a7f1228a883121c89ec6fc0d6c7dcd2c77

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev am: 75e1c53fa8 -s ours
Bill Yi [Fri, 19 May 2017 00:08:41 +0000 (00:08 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev am: 75e1c53fa8  -s ours
am: f332b5dfc8  -s ours

Change-Id: I339f5526d50023f54537322ff34a5cb20824bfed

7 years agoMerge "Import translations. DO NOT MERGE"
Bill Yi [Fri, 19 May 2017 00:01:37 +0000 (00:01 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Thu, 18 May 2017 23:59:17 +0000 (23:59 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: d4c3c6e1b1  -s ours

Change-Id: I3d2ad4363209ff05fc2dd5f50f0173ff6c748902

7 years agoMerge "Import translations. DO NOT MERGE"
Bill Yi [Thu, 18 May 2017 23:58:24 +0000 (23:58 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Revert "power hal: Use power HAL API 1.1""
Ahmed ElArabawy [Thu, 18 May 2017 23:57:18 +0000 (23:57 +0000)]
Merge "Revert "power hal: Use power HAL API 1.1""

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Thu, 18 May 2017 23:56:47 +0000 (23:56 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 75e1c53fa8  -s ours

Change-Id: I09b7d1b6e45a95538eb722e95c7a7da22f55ce6b

7 years agoMerge "Introduce early exit path for non resource path." into oc-dev am: 01d5b3d2af
Seigo Nonaka [Thu, 18 May 2017 23:54:24 +0000 (23:54 +0000)]
Merge "Introduce early exit path for non resource path." into oc-dev am: 01d5b3d2af
am: 99c587a9b1

Change-Id: I7e09b074f7fff0f273ca2be896439bae0c0c92d0

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Thu, 18 May 2017 23:47:31 +0000 (23:47 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Thu, 18 May 2017 23:46:42 +0000 (23:46 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Workaround issue with pip overlay not hiding cleanly." into oc-dev am: 99a885b5d6
Winson Chung [Thu, 18 May 2017 23:42:55 +0000 (23:42 +0000)]
Merge "Workaround issue with pip overlay not hiding cleanly." into oc-dev am: 99a885b5d6
am: 7289c0a98e

Change-Id: I47bbb909d172c7d65034676076142ec02af8dbae

7 years agoMerge "Fixing issue with double tapping PiP." into oc-dev am: 39d9ae20a6
Winson Chung [Thu, 18 May 2017 23:40:27 +0000 (23:40 +0000)]
Merge "Fixing issue with double tapping PiP." into oc-dev am: 39d9ae20a6
am: 6e566cda48

Change-Id: Iec63ad801044b22c017427b4d1e160432606e9b3

7 years agoMerge "Introduce early exit path for non resource path." into oc-dev
Seigo Nonaka [Thu, 18 May 2017 23:39:41 +0000 (23:39 +0000)]
Merge "Introduce early exit path for non resource path." into oc-dev
am: 01d5b3d2af

Change-Id: I07120a86307dd397862e0d341763d0048b066845

7 years agoMerge "Introduce early exit path for non resource path." into oc-dev
TreeHugger Robot [Thu, 18 May 2017 23:30:08 +0000 (23:30 +0000)]
Merge "Introduce early exit path for non resource path." into oc-dev

7 years agoMerge "Workaround issue with pip overlay not hiding cleanly." into oc-dev
Winson Chung [Thu, 18 May 2017 23:29:36 +0000 (23:29 +0000)]
Merge "Workaround issue with pip overlay not hiding cleanly." into oc-dev
am: 99a885b5d6

Change-Id: I867ea37ccf803f8e43b2a2a1c2b5099f2711a4d8

7 years agoMerge "Fixing issue with double tapping PiP." into oc-dev
Winson Chung [Thu, 18 May 2017 23:26:20 +0000 (23:26 +0000)]
Merge "Fixing issue with double tapping PiP." into oc-dev
am: 39d9ae20a6

Change-Id: Ibf0a355d5b171e360599620ce90aa7aee127e835

7 years agoMerge "Workaround issue with pip overlay not hiding cleanly." into oc-dev
Winson Chung [Thu, 18 May 2017 23:15:27 +0000 (23:15 +0000)]
Merge "Workaround issue with pip overlay not hiding cleanly." into oc-dev

7 years agoMerge "Fixing issue with double tapping PiP." into oc-dev
Winson Chung [Thu, 18 May 2017 23:14:54 +0000 (23:14 +0000)]
Merge "Fixing issue with double tapping PiP." into oc-dev

7 years agoTake snapshot when screen is turning off
Jorim Jaggi [Wed, 17 May 2017 15:25:32 +0000 (17:25 +0200)]
Take snapshot when screen is turning off

Since we can't take a snapshot when screen is turned off, we need
to snapshot before we are turning the screen off. For this, we
- Add a callback from DisplayPowerController to give policy a
chance to do something before display will be turned off.
- Implement this callback by taking snapshots of all visible
tasks.

Test: Inspect logs/traces about screen off blocking to make sure
callback is working correctly.
Test: Insert artificial 500ms delay in onScreenTurningOff and make
sure we are unblocking screen off when turning on screen in the
meantime.
Test: Open Maps, go to recents, open maps again, scroll to another
location, toggle power button, make sure the old location isn't
shown during unlock.

Change-Id: I489f31358f838d418f894f996495946084f136a4
Fixes: 37107783

7 years agoMerge "Fix ordering of notifying dismiss callback" into oc-dev am: e85f8eb0ca
Jorim Jaggi [Thu, 18 May 2017 22:47:12 +0000 (22:47 +0000)]
Merge "Fix ordering of notifying dismiss callback" into oc-dev am: e85f8eb0ca
am: a55a662600

Change-Id: Ic24eaca241ddc2c84395a1d2bdaf6dd554b0e55b

7 years agoMerge "Fix ordering of notifying dismiss callback" into oc-dev
Jorim Jaggi [Thu, 18 May 2017 22:39:08 +0000 (22:39 +0000)]
Merge "Fix ordering of notifying dismiss callback" into oc-dev
am: e85f8eb0ca

Change-Id: Ia851bbedb5fc429ea05eb0b1eaa5cbcddec7b961

7 years agoMerge "Fix ordering of notifying dismiss callback" into oc-dev
Jorim Jaggi [Thu, 18 May 2017 22:25:46 +0000 (22:25 +0000)]
Merge "Fix ordering of notifying dismiss callback" into oc-dev

7 years agoMerge "Fix a crash in Canvas.drawBitmap if empty dest rect is passed"
Stan Iliev [Thu, 18 May 2017 22:11:41 +0000 (22:11 +0000)]
Merge "Fix a crash in Canvas.drawBitmap if empty dest rect is passed"

7 years agoOptimize latency when closing panel with animation
Jorim Jaggi [Tue, 16 May 2017 12:23:19 +0000 (14:23 +0200)]
Optimize latency when closing panel with animation

The interpolator we chose had a very slow easy out where it
generated out frame with mExpandedHeight=0.3 pixels. We add a
check there and stop the animation immediately if this happens.

Furthermore, we just use a simple post when closing the panel
to not add to much latency. The frame will be shown in any case
since we are already in animation/input callback, such that a post
will be executed after the frame has been sent to RT.

Test: Capture trace, unlock phone, make sure no delays
Change-Id: I9fc45f4b081bd6143da1ba99e9bc652a9f64e4a7
Fixes: 38294347

7 years agoPurge StoreWriteQueue items to avoid system health issues
Jorim Jaggi [Thu, 18 May 2017 21:58:09 +0000 (23:58 +0200)]
Purge StoreWriteQueue items to avoid system health issues

If queue gets too deep we may run out of memory or cause other
system health issues.

Test: TaskSnapshotPersisterLoaderTest
Bug: 38416992
Bug: 37631016
Change-Id: I725c9a458f78af2e625f2451bb0030176035f596

7 years agoMerge "Also pin vdex file for camera" am: d4ae914be2 am: a433a9d9f4 am: d7a40aced2
Calin Juravle [Thu, 18 May 2017 21:42:45 +0000 (21:42 +0000)]
Merge "Also pin vdex file for camera" am: d4ae914be2 am: a433a9d9f4 am: d7a40aced2
am: d2eb85f5c8

Change-Id: Ia6fa6e66c9d104cc6b274f885e8d2a5ff8d0e721

7 years agoMerge "Also pin vdex file for camera" am: d4ae914be2 am: a433a9d9f4
Calin Juravle [Thu, 18 May 2017 21:29:46 +0000 (21:29 +0000)]
Merge "Also pin vdex file for camera" am: d4ae914be2 am: a433a9d9f4
am: d7a40aced2

Change-Id: I682843c8b76fc7249d6210aad2b344e463c8966a

7 years agoMerge "Also pin vdex file for camera" am: d4ae914be2
Calin Juravle [Thu, 18 May 2017 21:21:11 +0000 (21:21 +0000)]
Merge "Also pin vdex file for camera" am: d4ae914be2
am: a433a9d9f4

Change-Id: I943815b1e8b29734224d49140a667bf4d7d23b8f

7 years agoMerge "Also pin vdex file for camera"
Calin Juravle [Thu, 18 May 2017 21:12:05 +0000 (21:12 +0000)]
Merge "Also pin vdex file for camera"
am: d4ae914be2

Change-Id: I0d1a687ea2d90e968fe4e9705de223dc8b181238

7 years agoAlso pin vdex file for camera
Calin Juravle [Tue, 16 May 2017 03:20:50 +0000 (20:20 -0700)]
Also pin vdex file for camera

Test: device boots, manually confirming the pinning is successful
Bug: 33168521

(cherry picked from commit 8e0f959f76a9661fd10178ce9be44dbe1bc0c74f)

Change-Id: Ib3f36a1ae7f756993a0daa6868e2e2134d3a7578

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 18 May 2017 21:05:59 +0000 (14:05 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Also pin vdex file for camera"
Calin Juravle [Thu, 18 May 2017 21:03:48 +0000 (21:03 +0000)]
Merge "Also pin vdex file for camera"

7 years agoFix "launcher starting on work profile"
Makoto Onuki [Thu, 18 May 2017 20:56:30 +0000 (13:56 -0700)]
Fix "launcher starting on work profile"

Test: Repeat "adb install -r Velvet.apk" on 5x
Fix 37893215

Change-Id: I1a932fdc7c168542e8b71ca8daffbca9ee534b30

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 18 May 2017 20:31:33 +0000 (13:31 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev am: a239ed1c79 -s ours
Bill Yi [Thu, 18 May 2017 20:26:57 +0000 (20:26 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev am: a239ed1c79  -s ours
am: cfb3693fd8  -s ours

Change-Id: I6442efdc972861973d0330774b2f04503dc1c2e6

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Thu, 18 May 2017 20:18:53 +0000 (20:18 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: a239ed1c79  -s ours

Change-Id: Ic6c5ebc4242cdf2033a0fd272b842de1f482b396

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Thu, 18 May 2017 20:10:29 +0000 (20:10 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "don't dex when installing an instant app" into oc-dev am: d5f3bd46a1
Todd Kennedy [Thu, 18 May 2017 19:54:38 +0000 (19:54 +0000)]
Merge "don't dex when installing an instant app" into oc-dev am: d5f3bd46a1
am: ec7cd6dbbe

Change-Id: I70a7876ea219ab9e8503be9dcb4ff7349a3941eb

7 years agoMerge "Filter package related info" into oc-dev am: 72b7b1f001
Todd Kennedy [Thu, 18 May 2017 19:51:53 +0000 (19:51 +0000)]
Merge "Filter package related info" into oc-dev am: 72b7b1f001
am: 36482247ea

Change-Id: I8b5a7d1c08e7d6f822347aaed2b15e4e270d0a49

7 years agoMerge "Change currentTimeMillis to elapsedRealtime" into oc-dev am: b42205ee9e
Yipeng Cao [Thu, 18 May 2017 19:45:29 +0000 (19:45 +0000)]
Merge "Change currentTimeMillis to elapsedRealtime" into oc-dev am: b42205ee9e
am: ad17fd8fda  -s ours

Change-Id: I1481aed438cc531a304acad6e50893ba74c67a35

7 years agoMerge "don't dex when installing an instant app" into oc-dev
Todd Kennedy [Thu, 18 May 2017 19:45:12 +0000 (19:45 +0000)]
Merge "don't dex when installing an instant app" into oc-dev
am: d5f3bd46a1

Change-Id: Ia27a62acce14f8dbce07ceef942f0059ed8875cc

7 years agoMerge "Filter package related info" into oc-dev
Todd Kennedy [Thu, 18 May 2017 19:42:52 +0000 (19:42 +0000)]
Merge "Filter package related info" into oc-dev
am: 72b7b1f001

Change-Id: Iaf388732140d5e3d134c9a60db459410ad6a944c

7 years agoMerge "In onDragEvent(), don't assume text is Spannable" into oc-dev am: 99e620ef32
Roozbeh Pournader [Thu, 18 May 2017 19:42:51 +0000 (19:42 +0000)]
Merge "In onDragEvent(), don't assume text is Spannable" into oc-dev am: 99e620ef32
am: c9affff74c

Change-Id: I3501e9a7174b5e1ab8a9486710de515a605f5eb7

7 years agoFix a crash in Canvas.drawBitmap if empty dest rect is passed
Stan Iliev [Thu, 18 May 2017 18:21:23 +0000 (14:21 -0400)]
Fix a crash in Canvas.drawBitmap if empty dest rect is passed

Fix a crash in Canvas.drawBitmap if an empty dest or source rect
is passed. This issue is specific to Skia pipeline only.

Test: Ran hwui unit tests and verified nexuslauncher is not
crashing anymore.

Change-Id: I3f9f96d03541e960d463836200d2b01269b5e008

7 years agoMerge "don't dex when installing an instant app" into oc-dev
Todd Kennedy [Thu, 18 May 2017 19:36:11 +0000 (19:36 +0000)]
Merge "don't dex when installing an instant app" into oc-dev

7 years agoMerge "Filter package related info" into oc-dev
TreeHugger Robot [Thu, 18 May 2017 19:34:58 +0000 (19:34 +0000)]
Merge "Filter package related info" into oc-dev

7 years agoMerge "Change currentTimeMillis to elapsedRealtime" into oc-dev
Yipeng Cao [Thu, 18 May 2017 19:34:29 +0000 (19:34 +0000)]
Merge "Change currentTimeMillis to elapsedRealtime" into oc-dev
am: b42205ee9e

Change-Id: I479deb4dc114f2f169994501230a882377f1453e

7 years agoMerge "In onDragEvent(), don't assume text is Spannable" into oc-dev
Roozbeh Pournader [Thu, 18 May 2017 19:32:02 +0000 (19:32 +0000)]
Merge "In onDragEvent(), don't assume text is Spannable" into oc-dev
am: 99e620ef32

Change-Id: I5431864f75241c9f8b33064981ea332e7bef823b

7 years agoMerge "Audio focus: start players in ducked state when focus is already lost" into...
Jean-Michel Trivi [Thu, 18 May 2017 19:31:49 +0000 (19:31 +0000)]
Merge "Audio focus: start players in ducked state when focus is already lost" into oc-dev am: f8592a0d8b
am: 1c8334078d

Change-Id: I0fb19d951752a7010c0b00f93d4510e44ad740be

7 years agoMerge "Change currentTimeMillis to elapsedRealtime" into oc-dev
TreeHugger Robot [Thu, 18 May 2017 19:25:53 +0000 (19:25 +0000)]
Merge "Change currentTimeMillis to elapsedRealtime" into oc-dev

7 years agoMerge "Audio focus: start players in ducked state when focus is already lost" into...
Jean-Michel Trivi [Thu, 18 May 2017 19:22:07 +0000 (19:22 +0000)]
Merge "Audio focus: start players in ducked state when focus is already lost" into oc-dev
am: f8592a0d8b

Change-Id: Ia3a9606035b834d7e90d651cf8c473c0e0394b06

7 years agoMerge "In onDragEvent(), don't assume text is Spannable" into oc-dev
TreeHugger Robot [Thu, 18 May 2017 19:21:46 +0000 (19:21 +0000)]
Merge "In onDragEvent(), don't assume text is Spannable" into oc-dev

7 years agoMerge "Audio focus: start players in ducked state when focus is already lost" into...
Jean-Michel Trivi [Thu, 18 May 2017 19:06:38 +0000 (19:06 +0000)]
Merge "Audio focus: start players in ducked state when focus is already lost" into oc-dev