OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Merge "Removing check preventing pinned stack tasks from matching by affinity...
Android Build Merger (Role) [Tue, 2 May 2017 19:20:28 +0000 (19:20 +0000)]
Merge "Merge "Removing check preventing pinned stack tasks from matching by affinity." into oc-dev am: 4ec5dd1d88" into oc-dev-plus-aosp

7 years agoMerge "Removing check preventing pinned stack tasks from matching by affinity." into...
Winson Chung [Tue, 2 May 2017 19:19:15 +0000 (19:19 +0000)]
Merge "Removing check preventing pinned stack tasks from matching by affinity." into oc-dev
am: 4ec5dd1d88

Change-Id: I72050ea3a1a6d2345d1f511cad2f048b4224c63c

7 years agoMerge "RenderScript: IWYU" into oc-dev-plus-aosp
TreeHugger Robot [Tue, 2 May 2017 19:18:33 +0000 (19:18 +0000)]
Merge "RenderScript: IWYU" into oc-dev-plus-aosp

7 years agoMerge "Make PM#notifyDexLoad oneway" into oc-dev
Calin Juravle [Tue, 2 May 2017 19:10:17 +0000 (19:10 +0000)]
Merge "Make PM#notifyDexLoad oneway" into oc-dev
am: 5f016f6705

Change-Id: Ica5f01a3c66c71104ff0e3b26e9e5fdf7802bc60

7 years agoMerge "Removing check preventing pinned stack tasks from matching by affinity." into...
Winson Chung [Tue, 2 May 2017 19:07:24 +0000 (19:07 +0000)]
Merge "Removing check preventing pinned stack tasks from matching by affinity." into oc-dev

7 years agoRenderScript: IWYU
Steven Moreland [Mon, 1 May 2017 19:56:08 +0000 (12:56 -0700)]
RenderScript: IWYU

Renderscript was depending on macros from android-base that were
transitively included from MQDescriptor.h

Test: links
Bug: 37791060
Change-Id: Ie34ddef67328c5fcc6b0122a32725b980615ff43
(cherry picked from commit dc01e938c2550390a540311b22e3e6c7603ed975)

7 years agoMerge "Make PM#notifyDexLoad oneway" into oc-dev
Calin Juravle [Tue, 2 May 2017 19:03:18 +0000 (19:03 +0000)]
Merge "Make PM#notifyDexLoad oneway" into oc-dev

7 years agoMerge "Close file descriptor after SmartSelection is initialized." into oc-dev
Abodunrinwa Toki [Tue, 2 May 2017 19:00:53 +0000 (19:00 +0000)]
Merge "Close file descriptor after SmartSelection is initialized." into oc-dev
am: b950ac6b0f

Change-Id: I9ec0463e9641fb6a54e26311273932d3d1a6d41e

7 years agoMerge "Close file descriptor after SmartSelection is initialized." into oc-dev
TreeHugger Robot [Tue, 2 May 2017 18:54:59 +0000 (18:54 +0000)]
Merge "Close file descriptor after SmartSelection is initialized." into oc-dev

7 years agoMerge "Audio focus: fix notifying apps to pause without an external policy" into...
Jean-Michel Trivi [Tue, 2 May 2017 17:56:07 +0000 (17:56 +0000)]
Merge "Audio focus: fix notifying apps to pause without an external policy" into oc-dev
am: dce4dfc6fc

Change-Id: Ic42056d370ecd0a08574dd575856ff15813bc8c0

7 years agoMerge "Audio focus: fix notifying apps to pause without an external policy" into...
Jean-Michel Trivi [Tue, 2 May 2017 17:52:32 +0000 (17:52 +0000)]
Merge "Audio focus: fix notifying apps to pause without an external policy" into oc-dev

7 years agoMerge "Work on issue #37815224: DeviceManagementService is incorrectly..." into oc-dev
Dianne Hackborn [Tue, 2 May 2017 17:51:20 +0000 (17:51 +0000)]
Merge "Work on issue #37815224: DeviceManagementService is incorrectly..." into oc-dev
am: 72c0ab518a

Change-Id: I1987075221d0d5fa16483e6a41003b0394291d10

7 years agoMerge "Work on issue #37815224: DeviceManagementService is incorrectly..." into oc-dev
Dianne Hackborn [Tue, 2 May 2017 17:45:46 +0000 (17:45 +0000)]
Merge "Work on issue #37815224: DeviceManagementService is incorrectly..." into oc-dev

7 years agoMerge "Fix NPE happens if no source was specified to font element." into oc-dev
Seigo Nonaka [Tue, 2 May 2017 17:32:04 +0000 (17:32 +0000)]
Merge "Fix NPE happens if no source was specified to font element." into oc-dev
am: b3e92234fa

Change-Id: If06bf0e49030839f1b4f95c0a776e4aab1ed94d8

7 years agoMerge "Clear calling uid before changing whitelist" into oc-dev
Amith Yamasani [Tue, 2 May 2017 17:29:39 +0000 (17:29 +0000)]
Merge "Clear calling uid before changing whitelist" into oc-dev
am: 97e3db9aee

Change-Id: Icc858733afb22720a9adf1a1c4e85ba47cf03e2d

7 years agoMerge "Fix NPE happens if no source was specified to font element." into oc-dev
TreeHugger Robot [Tue, 2 May 2017 17:22:58 +0000 (17:22 +0000)]
Merge "Fix NPE happens if no source was specified to font element." into oc-dev

7 years agoMerge "Fix app transition logging when switching quickly" into oc-dev
Jorim Jaggi [Tue, 2 May 2017 17:21:24 +0000 (17:21 +0000)]
Merge "Fix app transition logging when switching quickly" into oc-dev
am: 4cbad7fac1

Change-Id: I2b759dbcc3f010172c843e84835ccb68182b5efd

7 years agoMerge "Clear calling uid before changing whitelist" into oc-dev
Amith Yamasani [Tue, 2 May 2017 17:20:31 +0000 (17:20 +0000)]
Merge "Clear calling uid before changing whitelist" into oc-dev

7 years agoClose file descriptor after SmartSelection is initialized.
Abodunrinwa Toki [Fri, 28 Apr 2017 18:25:24 +0000 (19:25 +0100)]
Close file descriptor after SmartSelection is initialized.

Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Bug: 37446398
Change-Id: I6f6d927f447d3cc1dffaee2406ff240d0600eb19

7 years agoMerge "Fix app transition logging when switching quickly" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 17:14:57 +0000 (17:14 +0000)]
Merge "Fix app transition logging when switching quickly" into oc-dev

7 years agoMerge "Don't crash during app uninstall." into oc-dev
Daniel Nishi [Tue, 2 May 2017 17:09:51 +0000 (17:09 +0000)]
Merge "Don't crash during app uninstall." into oc-dev
am: 661b6badef

Change-Id: Iceab4bdd88e348c4bd4019ee1fb6c7c8b3f5baf1

7 years agoMerge "Don't crash during app uninstall." into oc-dev
Daniel Nishi [Tue, 2 May 2017 17:03:51 +0000 (17:03 +0000)]
Merge "Don't crash during app uninstall." into oc-dev

7 years agoMerge "Add "Paste as plain text" in TextView's toolbar." into oc-dev
Abodunrinwa Toki [Tue, 2 May 2017 16:31:50 +0000 (16:31 +0000)]
Merge "Add "Paste as plain text" in TextView's toolbar." into oc-dev
am: 0fe5a2d5b3

Change-Id: I72d5fdd4351860bc02289abde6b1c36e13407e69

7 years agoMerge "Add "Paste as plain text" in TextView's toolbar." into oc-dev
TreeHugger Robot [Tue, 2 May 2017 16:21:10 +0000 (16:21 +0000)]
Merge "Add "Paste as plain text" in TextView's toolbar." into oc-dev

7 years agoMerge "Merge "DO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerS...
Android Build Merger (Role) [Tue, 2 May 2017 16:10:47 +0000 (16:10 +0000)]
Merge "Merge "DO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService to 15s am: a686345759 am: a399705286  -s ours" into oc-dev am: 550e1c9a6b" into oc-dev-plus-aosp

7 years agoMerge "DO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService...
Erik Wolsheimer [Tue, 2 May 2017 16:10:00 +0000 (16:10 +0000)]
Merge "DO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService to 15s am: a686345759 am: a399705286  -s ours" into oc-dev
am: 550e1c9a6b

Change-Id: Ie3ec9c7b8aee293f79cccde97b197c8c77d63281

7 years agoMerge "Merge "SurfaceTexture: setConsumerIsProtected" into oc-dev am: 9967a4d3af...
Android Build Merger (Role) [Tue, 2 May 2017 16:09:21 +0000 (16:09 +0000)]
Merge "Merge "SurfaceTexture: setConsumerIsProtected" into oc-dev am: 9967a4d3af" into oc-dev-plus-aosp

7 years agoDO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService to...
Erik Wolsheimer [Tue, 2 May 2017 16:07:10 +0000 (16:07 +0000)]
DO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService to 15s am: a686345759 am: a399705286
am: ab4617dd92  -s ours

Change-Id: I4d65ed8df4f31b6e7aff05a554207a6a3d093614

7 years agoMerge "SurfaceTexture: setConsumerIsProtected" into oc-dev
Jiwen Cai [Tue, 2 May 2017 16:04:26 +0000 (16:04 +0000)]
Merge "SurfaceTexture: setConsumerIsProtected" into oc-dev
am: 9967a4d3af

Change-Id: If2ec26782f82e0f22deb7d952b79436e30a91867

7 years agoMerge "DO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService...
Android Build Merger (Role) [Tue, 2 May 2017 16:00:52 +0000 (16:00 +0000)]
Merge "DO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService to 15s am: a686345759 am: a399705286  -s ours" into oc-dev

7 years agoDO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService to...
Erik Wolsheimer [Tue, 2 May 2017 15:59:55 +0000 (15:59 +0000)]
DO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService to 15s am: a686345759
am: a399705286

Change-Id: I31b67a7bb496051a9062d4770a96119251a1b434

7 years agoDO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService to...
Erik Wolsheimer [Tue, 2 May 2017 15:59:43 +0000 (15:59 +0000)]
DO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService to 15s am: a686345759
am: a399705286  -s ours

Change-Id: I654fc19afef7f11d894590d287cde3650b8252af

7 years agoMerge "SurfaceTexture: setConsumerIsProtected" into oc-dev
Jiwen Cai [Tue, 2 May 2017 15:59:21 +0000 (15:59 +0000)]
Merge "SurfaceTexture: setConsumerIsProtected" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
The Android Open Source Project [Tue, 2 May 2017 15:56:20 +0000 (15:56 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 7f43068aa5  -s ours

Change-Id: Ib3bf970248fec4410e2a4de47825c511b34fff6e

7 years agoDO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService to 15s
Erik Wolsheimer [Tue, 2 May 2017 15:54:40 +0000 (15:54 +0000)]
DO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService to 15s
am: a686345759

Change-Id: I0598c6210dbf0d0447c31112419a2fee829037be

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
The Android Open Source Project [Tue, 2 May 2017 15:54:35 +0000 (15:54 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 71ffd8bc87  -s ours

Change-Id: Iff4a81cc730f7d35d95da27937df2d171b3379d9

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 15:49:24 +0000 (15:49 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Fix submenu position when showing with Gravity.END" into oc-dev
Vladislav Kaznacheev [Tue, 2 May 2017 15:48:11 +0000 (15:48 +0000)]
Merge "Fix submenu position when showing with Gravity.END" into oc-dev
am: 883af0766a

Change-Id: Ib2799189f34cb8fc2baeb19a6a4a005eb13b64d1

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 15:47:33 +0000 (15:47 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Add back the throwIfParentInstance checking in getAffiliationIds" into oc-dev
Tony Mak [Tue, 2 May 2017 15:46:13 +0000 (15:46 +0000)]
Merge "Add back the throwIfParentInstance checking in getAffiliationIds" into oc-dev
am: 91c6e44e9e

Change-Id: I360c03f15bf8a84d58100e371ed5528db6975f4d

7 years agoMerge "Fix submenu position when showing with Gravity.END" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 15:40:37 +0000 (15:40 +0000)]
Merge "Fix submenu position when showing with Gravity.END" into oc-dev

7 years agoMerge "Add back the throwIfParentInstance checking in getAffiliationIds" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 15:38:44 +0000 (15:38 +0000)]
Merge "Add back the throwIfParentInstance checking in getAffiliationIds" into oc-dev

7 years agoMerge "Split out whether frame callback and tick is scheduled" into oc-dev
Jorim Jaggi [Tue, 2 May 2017 15:05:12 +0000 (15:05 +0000)]
Merge "Split out whether frame callback and tick is scheduled" into oc-dev
am: 756efea145

Change-Id: I73a1585ac7e287afcf2f0d15d9ccedc5627deed0

7 years agoFix app transition logging when switching quickly
Jorim Jaggi [Fri, 28 Apr 2017 17:06:24 +0000 (19:06 +0200)]
Fix app transition logging when switching quickly

If an app was set to invisible before the transition started,
which happens when quickly open an app and then closing again
before the animation is starting (only possible if starting
window is slightly delayed), we never receive onWindowsDrawn so we
need to cancel the transition in this case.

Also fixes an issue where the wrong activity was reported as
starting to us in case reusedActivity != null but we'll only reuse
it for the task and not the actual activity.

Test: Open Calendar, press home immediately, open another app, make
sure all logged events and times are correct.
Fixes: 37538546

Change-Id: I5819bd97964ab2dd5cb40b2f4e3bc5a9ac348152

7 years agoMerge "Split out whether frame callback and tick is scheduled" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 14:58:15 +0000 (14:58 +0000)]
Merge "Split out whether frame callback and tick is scheduled" into oc-dev

7 years agoAdd "Paste as plain text" in TextView's toolbar.
Abodunrinwa Toki [Fri, 28 Apr 2017 21:14:13 +0000 (22:14 +0100)]
Add "Paste as plain text" in TextView's toolbar.

Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Bug: 36179795
Change-Id: Iee0502678adcfb9de58c107b9247a528718b2c40

7 years agoMerge "Don't send configuration that app doesn't support to it." into oc-dev
Wale Ogunwale [Tue, 2 May 2017 14:06:01 +0000 (14:06 +0000)]
Merge "Don't send configuration that app doesn't support to it." into oc-dev
am: 22c1275c89

Change-Id: Ib7b3b945c476fae59800421c6075397d8bb6352c

7 years agoMerge "Don't send configuration that app doesn't support to it." into oc-dev
TreeHugger Robot [Tue, 2 May 2017 13:58:55 +0000 (13:58 +0000)]
Merge "Don't send configuration that app doesn't support to it." into oc-dev

7 years agoAdd back the throwIfParentInstance checking in getAffiliationIds
Tony Mak [Tue, 2 May 2017 12:50:18 +0000 (13:50 +0100)]
Add back the throwIfParentInstance checking in getAffiliationIds

Fix: 37887947

Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.ParentProfileTest#testParentProfileApiDisabled

Change-Id: I05944c7a2447998d3ea948195fb25b09ab9735fc

7 years agoMerge "Force a light to be set for the first time" am: e6ad7a6704 am: 96a8556990
Oleksiy Avramchenko [Tue, 2 May 2017 12:58:12 +0000 (12:58 +0000)]
Merge "Force a light to be set for the first time" am: e6ad7a6704 am: 96a8556990
am: db877fa31c

Change-Id: Ib03f7ded6bb232193eec32a4f566244d3caa94b5

7 years agoMerge "Force a light to be set for the first time" am: e6ad7a6704
Oleksiy Avramchenko [Tue, 2 May 2017 12:53:33 +0000 (12:53 +0000)]
Merge "Force a light to be set for the first time" am: e6ad7a6704
am: 96a8556990

Change-Id: I5caed909e1ba67931f05b0b44a0ff0fd62b131d0

7 years agoMerge "Force a light to be set for the first time"
Oleksiy Avramchenko [Tue, 2 May 2017 12:48:34 +0000 (12:48 +0000)]
Merge "Force a light to be set for the first time"
am: e6ad7a6704

Change-Id: Icc13b24debc55f4c107dea61123e468a79828f11

7 years agoMerge "Force a light to be set for the first time"
Treehugger Robot [Tue, 2 May 2017 12:42:12 +0000 (12:42 +0000)]
Merge "Force a light to be set for the first time"

7 years agoSplit out whether frame callback and tick is scheduled
Jorim Jaggi [Fri, 28 Apr 2017 14:39:19 +0000 (16:39 +0200)]
Split out whether frame callback and tick is scheduled

Since the animation/gesture for screen zoom is running at
vsync-app, calling WMS.scheduleAnimation will schedule only
at the next frame. However, in the next frame, only the frame
callback is handled but not the tick yet, however
mAnimationScheduled was still true. Thus, the request to schedule
another frame callback is ignored, and then the things get
updated only every 2nd frame.

Fix this by splitting the information whether the frame callback
is scheduled or the actual tick.

Test: Use accessibility screen zoom, make sure gestures are
smooth.
Fixes: 37476440

Change-Id: I2301fab5bf3f3b896d4aa131fb041b89572fa3a7

7 years agoMerge "Track libcore change 03e8c7dca78a95ccf719a7." am: 194f8471fd am: f06800c3ff
Narayan Kamath [Tue, 2 May 2017 10:26:33 +0000 (10:26 +0000)]
Merge "Track libcore change 03e8c7dca78a95ccf719a7." am: 194f8471fd am: f06800c3ff
am: 58508dfd6e

Change-Id: Ia3f2a9ac5843a32da7c730a172af248abebd7b00

7 years agoMerge "Track libcore change 03e8c7dca78a95ccf719a7." am: 194f8471fd
Narayan Kamath [Tue, 2 May 2017 10:19:30 +0000 (10:19 +0000)]
Merge "Track libcore change 03e8c7dca78a95ccf719a7." am: 194f8471fd
am: f06800c3ff

Change-Id: I3c734734bf553e0b4695a897de113d9031f18abd

7 years agoMerge "Track libcore change 03e8c7dca78a95ccf719a7."
Narayan Kamath [Tue, 2 May 2017 10:13:48 +0000 (10:13 +0000)]
Merge "Track libcore change 03e8c7dca78a95ccf719a7."
am: 194f8471fd

Change-Id: Ie4fbcc4defee14c91cd3b84adf4f3ae5f47add3f

7 years agoMerge "Track libcore change 03e8c7dca78a95ccf719a7."
Narayan Kamath [Tue, 2 May 2017 10:06:48 +0000 (10:06 +0000)]
Merge "Track libcore change 03e8c7dca78a95ccf719a7."

7 years agoMerge "NsdManager: add test coverage for discoverServices()" am: 3e21b1745c am: 60182...
Hugo Benichi [Tue, 2 May 2017 09:04:59 +0000 (09:04 +0000)]
Merge "NsdManager: add test coverage for discoverServices()" am: 3e21b1745c am: 60182dbe4e
am: 27b0eebb4d

Change-Id: I46acfd104ac3457126c3ccef5041788e4146321c

7 years agoMerge "NsdManager: add test coverage for discoverServices()" am: 3e21b1745c
Hugo Benichi [Tue, 2 May 2017 08:59:22 +0000 (08:59 +0000)]
Merge "NsdManager: add test coverage for discoverServices()" am: 3e21b1745c
am: 60182dbe4e

Change-Id: I341cbbfd36b4e849651505c187053115833ca4b0

7 years agoMerge "NsdManager: add test coverage for discoverServices()"
Hugo Benichi [Tue, 2 May 2017 08:54:46 +0000 (08:54 +0000)]
Merge "NsdManager: add test coverage for discoverServices()"
am: 3e21b1745c

Change-Id: I0fd1d8e6ea3264a96b144c6701200f7b0be5f9c4

7 years agoMerge "NsdManager: add test coverage for discoverServices()"
Treehugger Robot [Tue, 2 May 2017 08:44:27 +0000 (08:44 +0000)]
Merge "NsdManager: add test coverage for discoverServices()"

7 years agoForce a light to be set for the first time
Oleksiy Avramchenko [Tue, 25 Apr 2017 10:30:49 +0000 (12:30 +0200)]
Force a light to be set for the first time

The check in LightImpl::setLightLocked skips HAL call if light
parameters aren't changed. During initialization these parameters
are zeroed, thus it's not possible to turn the light off at the
startup.

As an example this fixes the issue with "stuck" battery light
in the following scenario:
1. Device has secure start-up option set (either pin or pattern).
2. Charger is connected at the startup and battery light shows the
   charging state on pin or pattern prompt.
3. Device is unlocked and charger disconnected after some time,
   e.g. after com.android.server.lights.LightsService restarted.
4. The battery light is not off and stuck in the previous state
   until charger is connected / disconnected again.

Bug: 37662368
Test: manual - follow the above step-by-step
Change-Id: I45470e945fe4d26d37a5641dfff3311968f51ee4

7 years agoImport translations. DO NOT MERGE
The Android Open Source Project [Tue, 2 May 2017 07:05:25 +0000 (00:05 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Allow null setup activity for TV input" into oc-dev
Chulwoo Lee [Tue, 2 May 2017 07:02:35 +0000 (07:02 +0000)]
Merge "Allow null setup activity for TV input" into oc-dev
am: 90074d1ec8

Change-Id: I18545582572c60956548af8c732b7e6543f00d76

7 years agoMerge "Allow null setup activity for TV input" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 06:56:48 +0000 (06:56 +0000)]
Merge "Allow null setup activity for TV input" into oc-dev

7 years agoMerge "NsdManager: unit test coverage for servive registration" am: b0e408450c am...
Hugo Benichi [Tue, 2 May 2017 06:49:52 +0000 (06:49 +0000)]
Merge "NsdManager: unit test coverage for servive registration" am: b0e408450c am: bc57faa1ac
am: 9a3e69d9b6

Change-Id: Ideabb1c929ddd4307e66831cddb20e2feac2c6d9

7 years agoMerge "NsdManager: unit test coverage for servive registration" am: b0e408450c
Hugo Benichi [Tue, 2 May 2017 06:42:44 +0000 (06:42 +0000)]
Merge "NsdManager: unit test coverage for servive registration" am: b0e408450c
am: bc57faa1ac

Change-Id: I55a7a1a33cfd30a5c8d5ede67f6a1c602a840e6a

7 years agoMerge "NsdManager: unit test coverage for servive registration"
Hugo Benichi [Tue, 2 May 2017 06:35:11 +0000 (06:35 +0000)]
Merge "NsdManager: unit test coverage for servive registration"
am: b0e408450c

Change-Id: I0b47ad5a1ccee4a2efb169d717b512a46ad4ecc2

7 years agoMerge "NsdManager: unit test coverage for servive registration"
Treehugger Robot [Tue, 2 May 2017 06:27:08 +0000 (06:27 +0000)]
Merge "NsdManager: unit test coverage for servive registration"

7 years agoNsdManager: add test coverage for discoverServices()
Hugo Benichi [Fri, 28 Apr 2017 04:29:21 +0000 (13:29 +0900)]
NsdManager: add test coverage for discoverServices()

Test: added new tests
Bug: 3701336933298084
Change-Id: If6c1113ee1bd4690db90abd5a61c3e229c827aec

7 years agoFix NPE happens if no source was specified to font element.
Seigo Nonaka [Mon, 1 May 2017 21:24:32 +0000 (14:24 -0700)]
Fix NPE happens if no source was specified to font element.

This also fixes unexpected fallback to the old implemntation by calling
allowUnsupportedFont() which is only for backward compatibility.

This CL also remove getResourceId() method. Nobody uses this method.

Bug: 37865521
Bug: 37844248
Test: am instrument -w -e class android.content.res.cts.ResourcesTest\
      android.content.cts/android.support.test.runner.AndroidJUnitRunner
Change-Id: I987448add728c53c916f24a2ea8f337be417248f

7 years agoMerge "Add a method to start the captive portal login app." into oc-dev
Lorenzo Colitti [Tue, 2 May 2017 04:44:31 +0000 (04:44 +0000)]
Merge "Add a method to start the captive portal login app." into oc-dev
am: 5555b1e3d1

Change-Id: Ic7c14bd3dfd07f97c04901f043ed1cd3b1eee6e4

7 years agoMerge "Add a method to start the captive portal login app." into oc-dev
Lorenzo Colitti [Tue, 2 May 2017 04:38:50 +0000 (04:38 +0000)]
Merge "Add a method to start the captive portal login app." into oc-dev

7 years agoNsdManager: unit test coverage for servive registration
Hugo Benichi [Fri, 28 Apr 2017 02:01:22 +0000 (11:01 +0900)]
NsdManager: unit test coverage for servive registration

This patch adds test coverage for NsdManager#registerService() and
NsdManager#unregisterService(). This test shows a potential defect in
the api: if unregisterService() fails, the associated listener is always
unregistered from NsdManager. If the service initially registered is
still registered, this potentially make it impossible to unregister.

Test: added new unit test
Bug: 3701336933298084
Change-Id: Ia089b6d2f2a349907a8b29d9a3acd7f59e177887

7 years agoMerge "Refactor accessibility button support detection" into oc-dev
Casey Burkhardt [Tue, 2 May 2017 04:11:01 +0000 (04:11 +0000)]
Merge "Refactor accessibility button support detection" into oc-dev
am: 337e2aae53

Change-Id: I4f96a5ae3e847b2439d017b34038a4b7b07965fa

7 years agoMerge "Refactor accessibility button support detection" into oc-dev
Casey Burkhardt [Tue, 2 May 2017 04:05:26 +0000 (04:05 +0000)]
Merge "Refactor accessibility button support detection" into oc-dev

7 years agoMerge "TIF: change documentation wording for onSetSurface()" into oc-dev
Conrad Chen [Tue, 2 May 2017 03:34:25 +0000 (03:34 +0000)]
Merge "TIF: change documentation wording for onSetSurface()" into oc-dev
am: 12c6a04db0

Change-Id: I8c60455d744a2f44175cc913a0266fd6a4cb8995

7 years agoMerge "TIF: change documentation wording for onSetSurface()" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 03:26:29 +0000 (03:26 +0000)]
Merge "TIF: change documentation wording for onSetSurface()" into oc-dev

7 years agoMake PM#notifyDexLoad oneway
Calin Juravle [Tue, 2 May 2017 02:49:21 +0000 (19:49 -0700)]
Make PM#notifyDexLoad oneway

There's not need to wait for the PM to process the dex load
notification.

Make notifyPackageUse one way as well (for the same reason).

Bug: 37876265
Test: manual test to verify that notifications still work
Change-Id: I29d076348c2999a4441c2047a89a45b085bf3761

7 years agoMerge "Adding the AOSP header." into oc-dev
Jeremy Joslin [Tue, 2 May 2017 02:24:52 +0000 (02:24 +0000)]
Merge "Adding the AOSP header." into oc-dev
am: 35dcb5f5bb

Change-Id: I89a4019f462958c8b87597b5bb3cc11e751fb476

7 years agoMerge "Adding the AOSP header." into oc-dev
TreeHugger Robot [Tue, 2 May 2017 02:18:50 +0000 (02:18 +0000)]
Merge "Adding the AOSP header." into oc-dev

7 years agoMerge "Don't relaunch activity in TaskRecord.size if caller deferResume" into oc-dev
Wale Ogunwale [Tue, 2 May 2017 02:02:13 +0000 (02:02 +0000)]
Merge "Don't relaunch activity in TaskRecord.size if caller deferResume" into oc-dev
am: 25cedc232d

Change-Id: I66994bfd9c39c60f78f2afda6953bef162c74d6f

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
The Android Open Source Project [Tue, 2 May 2017 01:55:24 +0000 (01:55 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 71d03d43f1  -s ours

Change-Id: I926c75446383b667bbc70d9e83fe686d6870ef4f

7 years agoMerge "Don't relaunch activity in TaskRecord.size if caller deferResume" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 01:55:15 +0000 (01:55 +0000)]
Merge "Don't relaunch activity in TaskRecord.size if caller deferResume" into oc-dev

7 years agoMerge "hotspot2: hide Release 2 APIs" into oc-dev
Peter Qiu [Tue, 2 May 2017 01:52:44 +0000 (01:52 +0000)]
Merge "hotspot2: hide Release 2 APIs" into oc-dev
am: 39da850a95

Change-Id: Id5e1f6184de563b51fcd185fb2768c648f788ff9

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 01:48:15 +0000 (01:48 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
The Android Open Source Project [Tue, 2 May 2017 01:48:05 +0000 (01:48 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 8864da5149  -s ours

Change-Id: I6cb8a94cee9188985185288fbf6320c1927bc0c1

7 years agoMerge "hotspot2: hide Release 2 APIs" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 01:44:41 +0000 (01:44 +0000)]
Merge "hotspot2: hide Release 2 APIs" into oc-dev

7 years agoMerge "Make auth fill UI size sane size" into oc-dev
Svetoslav Ganov [Tue, 2 May 2017 01:41:58 +0000 (01:41 +0000)]
Merge "Make auth fill UI size sane size" into oc-dev
am: c0851e72a5

Change-Id: Ie7ce1a2a92e2fa3e653df3f95be8ff6a8f4d2a47

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 01:38:26 +0000 (01:38 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Make auth fill UI size sane size" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 01:33:24 +0000 (01:33 +0000)]
Merge "Make auth fill UI size sane size" into oc-dev

7 years agoMerge "Fix cropping in docked stack." into oc-dev
Rob Carr [Tue, 2 May 2017 01:11:16 +0000 (01:11 +0000)]
Merge "Fix cropping in docked stack." into oc-dev
am: 8658d43382

Change-Id: I2202a702f7d30c991399eccaa330ddfa650f5278

7 years agoMerge "Fix rotation animation selection." into oc-dev
Rob Carr [Tue, 2 May 2017 01:09:25 +0000 (01:09 +0000)]
Merge "Fix rotation animation selection." into oc-dev
am: e8d7c01e8a

Change-Id: Ife07062b479b5cffc6e56a8d46d545c22caf8198

7 years agoImport translations. DO NOT MERGE
The Android Open Source Project [Tue, 2 May 2017 01:07:07 +0000 (18:07 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Fix cropping in docked stack." into oc-dev
Rob Carr [Tue, 2 May 2017 01:03:44 +0000 (01:03 +0000)]
Merge "Fix cropping in docked stack." into oc-dev

7 years agoMerge "Removed deprecated setAuthentication() method that didn't take ids." into...
Felipe Leme [Tue, 2 May 2017 01:02:55 +0000 (01:02 +0000)]
Merge "Removed deprecated setAuthentication() method that didn't take ids." into oc-dev
am: 136a48e36a

Change-Id: Ia81cd576c5acdaf0008c21fbea9fb5a16c3c89bf

7 years agoMerge "Fix rotation animation selection." into oc-dev
Rob Carr [Tue, 2 May 2017 01:01:29 +0000 (01:01 +0000)]
Merge "Fix rotation animation selection." into oc-dev

7 years agoMerge "AudioService: send AUDIO_BECOMING_NOISY intent when disconnecting USB" into...
Eric Laurent [Tue, 2 May 2017 01:01:13 +0000 (01:01 +0000)]
Merge "AudioService: send AUDIO_BECOMING_NOISY intent when disconnecting USB" into oc-dev
am: fe79cbed5d

Change-Id: I1f10b386f6e71d3c758199d880e235a0775aea66

7 years agoMerge "Removed deprecated setAuthentication() method that didn't take ids." into...
TreeHugger Robot [Tue, 2 May 2017 00:53:30 +0000 (00:53 +0000)]
Merge "Removed deprecated setAuthentication() method that didn't take ids." into oc-dev