OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Limit creating new surface for legacy apps to size changes." into oc-dev
Bryce Lee [Tue, 20 Jun 2017 22:17:39 +0000 (22:17 +0000)]
Merge "Limit creating new surface for legacy apps to size changes." into oc-dev
am: d523125679

Change-Id: Ie1c199bbc721f282dc0de788d36481fef9530460

7 years agoMerge "Limit creating new surface for legacy apps to size changes." into oc-dev
Bryce Lee [Tue, 20 Jun 2017 22:05:22 +0000 (22:05 +0000)]
Merge "Limit creating new surface for legacy apps to size changes." into oc-dev

7 years agoMerge "Fix confusing javadoc for WifiManager.EXTRA_RESULTS_UPDATED" into oc-dr1-dev
TreeHugger Robot [Tue, 20 Jun 2017 21:45:59 +0000 (21:45 +0000)]
Merge "Fix confusing javadoc for WifiManager.EXTRA_RESULTS_UPDATED" into oc-dr1-dev

7 years agoMerge "Update lockscreen to use config_headlineFontFamilyLight" into oc-dr1-dev
Andrew Sapperstein [Tue, 20 Jun 2017 20:49:13 +0000 (20:49 +0000)]
Merge "Update lockscreen to use config_headlineFontFamilyLight" into oc-dr1-dev

7 years agoMerge "Merge "Disable activity leak detection by default for userdebug" into oc-dev...
Android Build Merger (Role) [Tue, 20 Jun 2017 20:07:49 +0000 (20:07 +0000)]
Merge "Merge "Disable activity leak detection by default for userdebug" into oc-dev am: 956ea5f09d" into oc-dr1-dev

7 years agoMerge "Disable activity leak detection by default for userdebug" into oc-dev
Mathieu Chartier [Tue, 20 Jun 2017 20:06:32 +0000 (20:06 +0000)]
Merge "Disable activity leak detection by default for userdebug" into oc-dev
am: 956ea5f09d

Change-Id: I71d5feb7f558347ddb21dc53e7a7d5b9eda9db6d

7 years agoMerge "Merge "Fix battery percent text not updating on Font size change" into oc...
Android Build Merger (Role) [Tue, 20 Jun 2017 20:06:05 +0000 (20:06 +0000)]
Merge "Merge "Fix battery percent text not updating on Font size change" into oc-dev am: 2ca91661f0" into oc-dr1-dev

7 years agoMerge "Fix battery percent text not updating on Font size change" into oc-dev
Evan Laird [Tue, 20 Jun 2017 20:05:03 +0000 (20:05 +0000)]
Merge "Fix battery percent text not updating on Font size change" into oc-dev
am: 2ca91661f0

Change-Id: I45c6faf144a0e8c0710b10aec69a7dac0f316fe3

7 years agoMerge "Fix battery percent text not updating on Font size change" into oc-dev
Evan Laird [Tue, 20 Jun 2017 19:59:00 +0000 (19:59 +0000)]
Merge "Fix battery percent text not updating on Font size change" into oc-dev
am: 2ca91661f0

Change-Id: I32b0b2475982e1c93f58478407c9ac1f11670fc0

7 years agoMerge "Disable activity leak detection by default for userdebug" into oc-dev
Mathieu Chartier [Tue, 20 Jun 2017 19:55:19 +0000 (19:55 +0000)]
Merge "Disable activity leak detection by default for userdebug" into oc-dev

7 years agoMerge "Fix battery percent text not updating on Font size change" into oc-dev
Evan Laird [Tue, 20 Jun 2017 19:49:34 +0000 (19:49 +0000)]
Merge "Fix battery percent text not updating on Font size change" into oc-dev

7 years agoMerge "Enhance recent sync log in dumpsys content" into oc-dr1-dev
Makoto Onuki [Tue, 20 Jun 2017 19:20:04 +0000 (19:20 +0000)]
Merge "Enhance recent sync log in dumpsys content" into oc-dr1-dev

7 years agoMerge "remove the lock-use for prunePrintService in case blocking main thread" into...
Philip P. Moltmann [Tue, 20 Jun 2017 18:42:03 +0000 (18:42 +0000)]
Merge "remove the lock-use for prunePrintService in case blocking main thread" into oc-dev
am: c06746ce46

Change-Id: I0ac3d9bf7af40f672f7ae482318c375041b28d12

7 years agoMerge "remove the lock-use for prunePrintService in case blocking main thread" into...
Philip P. Moltmann [Tue, 20 Jun 2017 18:28:03 +0000 (18:28 +0000)]
Merge "remove the lock-use for prunePrintService in case blocking main thread" into oc-dev

7 years agoMerge "Look on all displays if can't launch on a source secondary one" into oc-dev
Andrii Kulian [Tue, 20 Jun 2017 18:14:22 +0000 (18:14 +0000)]
Merge "Look on all displays if can't launch on a source secondary one" into oc-dev
am: d883070267

Change-Id: I4129187f5ac00a08f5b0bb6fdf62a9703c861bd9

7 years agoMerge "Look on all displays if can't launch on a source secondary one" into oc-dev
Andrii Kulian [Tue, 20 Jun 2017 18:01:14 +0000 (18:01 +0000)]
Merge "Look on all displays if can't launch on a source secondary one" into oc-dev

7 years agoLimit creating new surface for legacy apps to size changes.
Bryce Lee [Tue, 20 Jun 2017 17:47:55 +0000 (10:47 -0700)]
Limit creating new surface for legacy apps to size changes.

Creating the surface for every change (such as creation and
visibility) can lead to issues swapping buffers. This
changelist limits the action to only when the size changes.

Change-Id: Ic549d244613a93a43a9f4ddf284bbfb0c13300fa
Fixes: 62801621
Test: follow repro steps in bug, verified no crash.
Test: go/wm-smoke

7 years agoMerge "Fix QS wifi accessibility announcements" into oc-dev
Jason Monk [Tue, 20 Jun 2017 17:42:30 +0000 (17:42 +0000)]
Merge "Fix QS wifi accessibility announcements" into oc-dev
am: accdadae9d

Change-Id: I3eca1aa3f0fac1067ed25cf74ad0b2301ee146bc

7 years agoMerge "Fix QS wifi accessibility announcements" into oc-dev
Jason Monk [Tue, 20 Jun 2017 17:32:26 +0000 (17:32 +0000)]
Merge "Fix QS wifi accessibility announcements" into oc-dev

7 years agoMerge "Log screenshot exceptions." into oc-dr1-dev
Daniel Sandler [Tue, 20 Jun 2017 17:25:11 +0000 (17:25 +0000)]
Merge "Log screenshot exceptions." into oc-dr1-dev

7 years agoFix QS wifi accessibility announcements
Jason Monk [Tue, 20 Jun 2017 17:16:05 +0000 (13:16 -0400)]
Fix QS wifi accessibility announcements

The state was being inverted in events to try to get clicks correct,
but events can occur at other times, so really we want to invert
the state between when the click happens and when the next state
change occurs. Also add a toString to fix equals checks on the content
description to make the announcements less noisy.

Test: manual
Change-Id: Ie4159664e9a81fd1719dbf7c06fba5e7b827cc6d
Fixes: 62679498

7 years agoEnhance recent sync log in dumpsys content
Makoto Onuki [Fri, 9 Jun 2017 00:12:05 +0000 (17:12 -0700)]
Enhance recent sync log in dumpsys content

- Add "Per Adapter History" section that has recent activities per adapter. Example:
  mxxxx@gmail.com/com.google u0 [com.android.calendar]
    2017-06-19 14:19:07 success Source=LOCAL Elapsed=0s Reason=10014 Extras=[upload=true ]
    2017-06-19 14:19:06 success Source=SERVER Elapsed=16s Reason=10014 Extras=[feed=#contacts@group.v.calendar.google.com ]
  mxxxx@gmail.com/com.google u0 [com.android.chrome]
    2017-06-19 13:26:25 canceled Source=POLL Elapsed=0s Reason=AccountsUpdated Extras=[initialize=true ]
  mxxxx@gmail.com/com.google u0 [com.android.contacts]

- Improve pending/periodic syncs with better formatting, and sort them in a sane order.

Bug: 38498544
Bug: 62391411
Test: manual test with "dumpsys content"
Change-Id: I947a9255230f27a7f438d648da324787fdf16f55

7 years agoMerge "Add an extra level of indirection to make sure that native IHwBinder" into...
Andreas Huber [Tue, 20 Jun 2017 17:05:23 +0000 (17:05 +0000)]
Merge "Add an extra level of indirection to make sure that native IHwBinder" into oc-dr1-dev

7 years agoMerge "Separate theme breakpoints" into oc-dr1-dev
TreeHugger Robot [Tue, 20 Jun 2017 16:51:38 +0000 (16:51 +0000)]
Merge "Separate theme breakpoints" into oc-dr1-dev

7 years agoMerge "Check for keyguard occlusion on camera lift" into oc-dr1-dev
Jonathan Solnit [Tue, 20 Jun 2017 16:24:23 +0000 (16:24 +0000)]
Merge "Check for keyguard occlusion on camera lift" into oc-dr1-dev

7 years agoMerge "Correct lastId on onCreate with unexpected state" into oc-dev
Philip P. Moltmann [Tue, 20 Jun 2017 15:48:54 +0000 (15:48 +0000)]
Merge "Correct lastId on onCreate with unexpected state" into oc-dev
am: aed0c10d52

Change-Id: I2197920ee7d6483276473129e74fd9527162dc0a

7 years agoMerge "Correct lastId on onCreate with unexpected state" into oc-dev
Philip P. Moltmann [Tue, 20 Jun 2017 15:42:13 +0000 (15:42 +0000)]
Merge "Correct lastId on onCreate with unexpected state" into oc-dev

7 years agoMerge changes I4d2be5d9,I34706201 into oc-dr1-dev
Hugo Benichi [Tue, 20 Jun 2017 08:38:27 +0000 (08:38 +0000)]
Merge changes I4d2be5d9,I34706201 into oc-dr1-dev

* changes:
  Better errors from unregisterNetworkCallback
  CaptivePortalLogin correctly unregisters callbacks

7 years agoMerge "Make interface IP serving code set LinkProperties" into oc-dr1-dev
TreeHugger Robot [Tue, 20 Jun 2017 06:06:07 +0000 (06:06 +0000)]
Merge "Make interface IP serving code set LinkProperties" into oc-dr1-dev

7 years agoMerge "Hack around b/36066697." into oc-dev
Josh Gao [Tue, 20 Jun 2017 04:30:07 +0000 (04:30 +0000)]
Merge "Hack around b/36066697." into oc-dev
am: e139434e3a

Change-Id: I422d2b73fc854047d1293919c25f0656df0842c9

7 years agoMerge "Hack around b/36066697." into oc-dev
TreeHugger Robot [Tue, 20 Jun 2017 04:24:08 +0000 (04:24 +0000)]
Merge "Hack around b/36066697." into oc-dev

7 years agoMake interface IP serving code set LinkProperties
Erik Kline [Mon, 12 Jun 2017 09:20:08 +0000 (18:20 +0900)]
Make interface IP serving code set LinkProperties

Additionally, clean up awkward IPv6TetheringInterfaceServices
instantiation mechanics.  In future, this class will be absorbed
by TetherInterfaceStateMachine (prior to its renaming to IpServer).

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 29337859
Bug: 32163131

Merged-In: I8b15edbf04c10cd9429da079c6b79352a6740b3b
Merged-In: I39a1744a7fa9b91e3b607429c79f39578e9bde19
Merged-In: I753ab701f2109c0972816724e73119dc1dbc4dca
Change-Id: Ib620e3df182f9f8e2c019aae1cd8981eb0b29376
(cherry picked from commit dd4d5820344205085c19dc142aec252ea9ac220b)

7 years agoDisable activity leak detection by default for userdebug
Mathieu Chartier [Tue, 20 Jun 2017 01:42:57 +0000 (18:42 -0700)]
Disable activity leak detection by default for userdebug

Causes too many GCs and related slowdowns.
Verified that assistant launch from holding down home button is now
faster than N.

Test: make and flash
Bug: 62769566

Change-Id: Ib0c1f7a45831b241d3376d1e56db3c6937913b1b

7 years agoMerge "Remove legacy advertiser from map after it's no longer used" into oc-dev
Jakub Pawlowski [Tue, 20 Jun 2017 01:47:01 +0000 (01:47 +0000)]
Merge "Remove legacy advertiser from map after it's no longer used" into oc-dev
am: 271e0aa02a

Change-Id: I9e8645c808d1b1cbee242e8a953be93fbf71e4e1

7 years agoMerge "Remove legacy advertiser from map after it's no longer used" into oc-dev
TreeHugger Robot [Tue, 20 Jun 2017 01:38:36 +0000 (01:38 +0000)]
Merge "Remove legacy advertiser from map after it's no longer used" into oc-dev

7 years agoMerge "Fix potential race in Theme creation" into oc-dev
Adam Lesinski [Tue, 20 Jun 2017 01:11:19 +0000 (01:11 +0000)]
Merge "Fix potential race in Theme creation" into oc-dev
am: b0a5fd0384

Change-Id: I964d23b0daad2326989ece5f8ffc086b6286cb44

7 years agoMerge "Fix potential race in Theme creation" into oc-dev
Adam Lesinski [Tue, 20 Jun 2017 01:07:06 +0000 (01:07 +0000)]
Merge "Fix potential race in Theme creation" into oc-dev

7 years agoBetter errors from unregisterNetworkCallback
Hugo Benichi [Sat, 17 Jun 2017 04:14:12 +0000 (13:14 +0900)]
Better errors from unregisterNetworkCallback

This patch changes the validation of unregisterNetworkCallback in
ConnectivityManager so that the caller can better distinguish the case
of a callback that was never registered from the case of a callback that
has already been unregistered.

Bug: 62497809
Test: runtest frameworks-net passes
Merged-In: I58eda22725dd4e67dc4b64207e38cf482032df10

(cherry picked from commit 605b295011be74c786a2eef586d31ccb07160422)

Change-Id: I4d2be5d9037cfec03218b702d707f50808ee0694

7 years agoCaptivePortalLogin correctly unregisters callbacks
Hugo Benichi [Sat, 17 Jun 2017 03:47:33 +0000 (12:47 +0900)]
CaptivePortalLogin correctly unregisters callbacks

The NetworkCallback registered by the CaptivePortalLogin activity in
onCreate was unregistered in both onDestroy() and done(). In addition
done() can be called concurrently from different places (from the
webview, from the captive portal test probe, from the activity menu),
resulting in incorrectly unregistering the callback more than once.

This patch fixes the lifecycle management of the NetworkCallback
registered by the CaptivePortalLogin activity so that it is unregistered
once only in onDestroy.

In addition the done() method is made robust against multiple calls and
becomes a no-op after the first call. This avoids multiple calls
to CaptivePortal for the same captive portal.

Bug: 62497809
Test: tested manually with captive portal setup in the office
Merged-In: I77fbeb55cf91d3b44e91d2fecb800dae40279652

(cherry pick from commit 31c176d91068934f5b79125afa3b5ce0f44dbe8f)

Change-Id: I34706201395ed5ddba11d12cc75c357e371d1920

7 years agoMerge "BT device renaming: move edit icon and add metrics proto" into oc-dr1-dev
TreeHugger Robot [Tue, 20 Jun 2017 01:00:16 +0000 (01:00 +0000)]
Merge "BT device renaming: move edit icon and add metrics proto" into oc-dr1-dev

7 years agoUpdate lockscreen to use config_headlineFontFamilyLight
Andrew Sapperstein [Wed, 14 Jun 2017 01:36:28 +0000 (18:36 -0700)]
Update lockscreen to use config_headlineFontFamilyLight

Allows OEMs to update the font family that's used for various places in
lockscreen (clock, num pad, and PIN password text). Also updates the
various text sizes to new numbers.

Fixes: 62411304
Fixes: 62411119
Test: ag/2430512 and manual verification
Change-Id: I3ecd1b18bbefe61c6a9cc5f549966ecd71858c9c

7 years agoMerge "Fixed updateAutofillValue() when mText is not set." into oc-dev
Felipe Leme [Tue, 20 Jun 2017 00:36:12 +0000 (00:36 +0000)]
Merge "Fixed updateAutofillValue() when mText is not set." into oc-dev
am: 4eaba84065

Change-Id: I7603a791f8c149799a0adf9e0fe735483ce1be1a

7 years agoSeparate theme breakpoints
Lucas Dupin [Tue, 13 Jun 2017 20:48:09 +0000 (13:48 -0700)]
Separate theme breakpoints

Separating dark sysui theme from dark
colors on lock screen since they should
be independent.

Bug: 62346335
Test: manual
Change-Id: I1e2ddc8b80f838bcac1647b7c5ac2d5ba50765e3

7 years agoMerge "Fixed updateAutofillValue() when mText is not set." into oc-dev
TreeHugger Robot [Tue, 20 Jun 2017 00:27:32 +0000 (00:27 +0000)]
Merge "Fixed updateAutofillValue() when mText is not set." into oc-dev

7 years agoMerge "Fix issue #62787070: restart due to NPE in JobServiceContext..." into oc-dev
Dianne Hackborn [Tue, 20 Jun 2017 00:03:54 +0000 (00:03 +0000)]
Merge "Fix issue #62787070: restart due to NPE in JobServiceContext..." into oc-dev
am: fa791d5e97

Change-Id: I399fdbe691b4d8a70fbc671e8f32fa842247d9df

7 years agoMerge "Revive DeadZone" into oc-dev
Siarhei Vishniakou [Mon, 19 Jun 2017 23:59:46 +0000 (23:59 +0000)]
Merge "Revive DeadZone" into oc-dev
am: b278424fa6

Change-Id: I5a06302eaad1e955aaea6ae8d2785c0b12e53cc4

7 years agoCorrect lastId on onCreate with unexpected state
Philip P. Moltmann [Mon, 19 Jun 2017 19:57:13 +0000 (12:57 -0700)]
Correct lastId on onCreate with unexpected state

onCreate might be called with a state not produced by
onSaveInstanceState. In this case the last autofill ID is not set, so we
incorrectly restore it to NO_ID instead of LAST_APP_AUTOFILL_ID

Change-Id: Id40c06bf223c0e3c6235b2d50779e3f4532898b5
Fixes: 62296699
Test: cts-tradefed run cts-dev -m CtsAutoFillServiceTestCases
(cherry picked from commit 1266d08be53c6ee2494d18363092c68825ef449e)

7 years agoMerge "Fix issue #62787070: restart due to NPE in JobServiceContext..." into oc-dev
TreeHugger Robot [Mon, 19 Jun 2017 23:50:23 +0000 (23:50 +0000)]
Merge "Fix issue #62787070: restart due to NPE in JobServiceContext..." into oc-dev

7 years agoMerge "Revive DeadZone" into oc-dev
Siarhei Vishniakou [Mon, 19 Jun 2017 23:47:48 +0000 (23:47 +0000)]
Merge "Revive DeadZone" into oc-dev

7 years agoMerge "Make --no-window-animation flag apply to animators, too" into oc-dev
Chet Haase [Mon, 19 Jun 2017 23:39:58 +0000 (23:39 +0000)]
Merge "Make --no-window-animation flag apply to animators, too" into oc-dev
am: c36e3e7fff

Change-Id: Ic680329647398f52a0d28633aa209e37556c1e31

7 years agoRemove legacy advertiser from map after it's no longer used
Jakub Pawlowski [Wed, 14 Jun 2017 01:59:07 +0000 (18:59 -0700)]
Remove legacy advertiser from map after it's no longer used

Test: manual
Bug: 62597369
Change-Id: Ief1e1b054f29b59b1ed72514b138d4f209f9847a

7 years agoMerge "Make --no-window-animation flag apply to animators, too" into oc-dev
TreeHugger Robot [Mon, 19 Jun 2017 23:29:04 +0000 (23:29 +0000)]
Merge "Make --no-window-animation flag apply to animators, too" into oc-dev

7 years agoMerge "Added back removed ctor from DisplayEventReceiver" into oc-dev
Wale Ogunwale [Mon, 19 Jun 2017 23:27:57 +0000 (23:27 +0000)]
Merge "Added back removed ctor from DisplayEventReceiver" into oc-dev
am: 113918f309

Change-Id: I655721c29b22da375742628a9e7b8b3075b2dd27

7 years agoMerge "Added back removed ctor from DisplayEventReceiver" into oc-dev
TreeHugger Robot [Mon, 19 Jun 2017 23:16:14 +0000 (23:16 +0000)]
Merge "Added back removed ctor from DisplayEventReceiver" into oc-dev

7 years agoremove the lock-use for prunePrintService in case blocking main thread
yangbingqian [Mon, 12 Jun 2017 14:45:50 +0000 (22:45 +0800)]
remove the lock-use for prunePrintService in case blocking main thread

As in the change: I4f4cdaba65132dc2ef054877cbb097b499a723f6
the lock object is removed when calling RemotePrintSpooler
and so as it in the method prunePrintService(). But in the
constructor of UserState, the mLock is still held when calling
prunePrintService(), it may also block the main thread

It is better to take it out of the synchronized block

Test: null
Fixes: 37481484

Change-Id: I21fe5380d5c6302f70e04eee7dac0050886ed4f0
Merged-In: I709b491d611dbcbf21a5fd493b879ed290dd0247
Signed-off-by: yangbingqian <yangbingqian@xiaomi.com>
7 years agoBT device renaming: move edit icon and add metrics proto
Antony Sargent [Fri, 16 Jun 2017 18:50:13 +0000 (11:50 -0700)]
BT device renaming: move edit icon and add metrics proto

On the bluetooth device details page, we need to have a dialog for editing
the display name of a paired device. This change moves the icon we need for
the menu item that launches the dialoge from SystemUI to SettingsLib (so we
can then use it in packages/apps/Settings), and also adds a metrics proto
entry to be used when the dialog is opened.

Bug: 62535241
Test: should be covered by existing tests
Change-Id: I63973e59cbd2eeac9bea04f66588f4e0b0254785

7 years agoFix potential race in Theme creation
Adam Lesinski [Mon, 12 Jun 2017 19:22:10 +0000 (12:22 -0700)]
Fix potential race in Theme creation

Bug: 38190555
Test: none
Change-Id: Id627bd6088dc469baffb1abb8310cd9e992996aa

7 years agoMerge "Add logging constant for wifi tether setting page." into oc-dr1-dev
TreeHugger Robot [Mon, 19 Jun 2017 22:27:47 +0000 (22:27 +0000)]
Merge "Add logging constant for wifi tether setting page." into oc-dr1-dev

7 years agoMerge "[Companion] Fix NPE in associate" into oc-dev
Eugene Susla [Mon, 19 Jun 2017 22:02:14 +0000 (22:02 +0000)]
Merge "[Companion] Fix NPE in associate" into oc-dev
am: ba003a97f8

Change-Id: Ib65cfee5e317b03ce57dc4cc695241dc62aaf282

7 years agoMerge "[Companion] Fix NPE in associate" into oc-dev
TreeHugger Robot [Mon, 19 Jun 2017 21:52:14 +0000 (21:52 +0000)]
Merge "[Companion] Fix NPE in associate" into oc-dev

7 years agoLook on all displays if can't launch on a source secondary one
Andrii Kulian [Fri, 16 Jun 2017 22:29:26 +0000 (15:29 -0700)]
Look on all displays if can't launch on a source secondary one

If an activity is launched from a secondary display but is not
allowed to land on it, then look for a topmost valid launch stack
across all displays.

Bug: 62544886
Test: go/wm-smoke
Test: android.server.cts.ActivityManagerDisplayTests
Test: #testLaunchNonResizeableActivityFromSecondaryDisplaySameTask
Test: #testLaunchNonResizeableActivityFromSecondaryDisplayNewTask
Change-Id: I57470e9ede317f7d492e2b7641a5cb02db13f1b0

7 years agoFix issue #62787070: restart due to NPE in JobServiceContext...
Dianne Hackborn [Mon, 19 Jun 2017 21:24:51 +0000 (14:24 -0700)]
Fix issue #62787070: restart due to NPE in JobServiceContext...

...handleOpTimeoutLocked

Don't try to print the running job if it is null.

Also, the timeout message should be scheduled with the actually
running job it is for, so we can ignore it if we happen to
dispatch one after the job is over.

Test: bit CtsJobSchedulerTestCases:*

Change-Id: I7bc55f55da645a9e116d3f0ee02f2ee115383ea9

7 years agoMerge "Do not update currently open tooltip." into oc-dev
Vladislav Kaznacheev [Mon, 19 Jun 2017 21:12:45 +0000 (21:12 +0000)]
Merge "Do not update currently open tooltip." into oc-dev
am: 139dbe5c1c

Change-Id: Ia3fc1f16e71a4a12a0a84704b7ca7a9d2ec33514

7 years agoHack around b/36066697.
Josh Gao [Mon, 19 Jun 2017 20:38:20 +0000 (13:38 -0700)]
Hack around b/36066697.

Avoid calling libbinder's static destructors by calling _exit instead
of returning in main.

Bug: http://b/36066697
Test: treehugger
Change-Id: I81dd50453f1ea64d97ec97d207fff732b3c62512

7 years agoRevive DeadZone
Siarhei Vishniakou [Sat, 3 Jun 2017 00:20:34 +0000 (17:20 -0700)]
Revive DeadZone

Override dispatchTouchEvent for the root FrameLayout
of NavigationBar to process ACTION_OUTSIDE MotionEvents
and dispatch directly to DeadZone to keep track of the
most recent outside tap.
Clarified documentation of ACTION_OUTSIDE behaviour.

Bug: 37552674
Test: open IME, tap any key, then quickly tap on top half
of the home button. The home button tap is ignored
and device does not go to homescreen.

Change-Id: Icb5cf6c76959f3514b8b94c09e38cc5434f31b23

7 years agoMerge "Do not update currently open tooltip." into oc-dev
TreeHugger Robot [Mon, 19 Jun 2017 21:01:42 +0000 (21:01 +0000)]
Merge "Do not update currently open tooltip." into oc-dev

7 years agoAdded back removed ctor from DisplayEventReceiver
Wale Ogunwale [Mon, 19 Jun 2017 20:53:32 +0000 (13:53 -0700)]
Added back removed ctor from DisplayEventReceiver

...because some app can't help but access hidden APIs...

Test: builds
Change-Id: Ia1d4a71b46a53b44e3ebe5844e446009785a90ac
Fixes: 62719884

7 years agoMerge "Add support for RGBA_F16 readbacks" into oc-dr1-dev
TreeHugger Robot [Mon, 19 Jun 2017 20:49:43 +0000 (20:49 +0000)]
Merge "Add support for RGBA_F16 readbacks" into oc-dr1-dev

7 years agoMerge "Reduce no-op notification log messages." into oc-dev
Dan Sandler [Mon, 19 Jun 2017 20:45:16 +0000 (20:45 +0000)]
Merge "Reduce no-op notification log messages." into oc-dev
am: 5e3fb57af8

Change-Id: I3f9d2d574ba20adf66d60c41e68b753e44c9c01a

7 years agoMerge "Reduce no-op notification log messages." into oc-dev
TreeHugger Robot [Mon, 19 Jun 2017 20:32:13 +0000 (20:32 +0000)]
Merge "Reduce no-op notification log messages." into oc-dev

7 years agoAdd logging constant for wifi tether setting page.
Fan Zhang [Tue, 13 Jun 2017 20:45:21 +0000 (13:45 -0700)]
Add logging constant for wifi tether setting page.

Bug: 37253404
Test: builds
Change-Id: If237e7d7fc02506aa80acfab7929086ac7172a53
(cherry picked from commit 45f3372d736f33e96cb5a214bdaee32e3f2d3f9a)

7 years agoMerge "Use EuiccManager API to disable current carrier." into oc-dr1-dev
Qingxi Li [Mon, 19 Jun 2017 20:07:51 +0000 (20:07 +0000)]
Merge "Use EuiccManager API to disable current carrier." into oc-dr1-dev

7 years agoAdd an extra level of indirection to make sure that native IHwBinder
Andreas Huber [Fri, 16 Jun 2017 21:56:12 +0000 (14:56 -0700)]
Add an extra level of indirection to make sure that native IHwBinder

objects, while alive, maintain a strong reference to their Java
counterpart.

Bug: 33042939
Test: hidl_test_java
Change-Id: I69179772b3218705e9ef46cbb10b21b6473280d6

7 years agoMerge "Introduce HapticFeedbackConstants.TEXT_HANDLE_MOVE" into oc-dr1-dev
TreeHugger Robot [Mon, 19 Jun 2017 19:44:45 +0000 (19:44 +0000)]
Merge "Introduce HapticFeedbackConstants.TEXT_HANDLE_MOVE" into oc-dr1-dev

7 years agoFixed updateAutofillValue() when mText is not set.
Felipe Leme [Mon, 19 Jun 2017 16:45:48 +0000 (09:45 -0700)]
Fixed updateAutofillValue() when mText is not set.

updateAutofillValue() was crashing some apps when the mText was not set at the
time it was called. One solution would be to not set mText at all - since the
Autofill Service should rely only on getAutofillValue() - but that could break
existing services.

Hence, a safer solution is to set that field if it's null.

Test: existing CtsAutoFillServiceTestCases tests pass
Test: manual verification using Fly Delta app

Fixes: 62751039

Change-Id: I91a8e0ed5db4148f5eb5729b8e254aa3531f15e4

7 years agoMerge "Flag the DH no threshold options menu." into oc-dr1-dev
Daniel Nishi [Mon, 19 Jun 2017 17:45:16 +0000 (17:45 +0000)]
Merge "Flag the DH no threshold options menu." into oc-dr1-dev

7 years agoUse EuiccManager API to disable current carrier.
qingxi [Wed, 24 May 2017 23:04:32 +0000 (16:04 -0700)]
Use EuiccManager API to disable current carrier.

Bug: 37353596
Test: existing test
Change-Id: I71e9ab13f48de07d4c7b9e25aabfa3c49dda6fb4

7 years agoMerge "Maybe fix issue #62199092: Alarm didn't ring, upcoming alarm..." into oc-dev
Dianne Hackborn [Mon, 19 Jun 2017 17:13:26 +0000 (17:13 +0000)]
Merge "Maybe fix issue #62199092: Alarm didn't ring, upcoming alarm..." into oc-dev
am: 8a95d49d8f

Change-Id: I2d59709712d96b78e1bd5d634e6c31cc0a0d6ff0

7 years agoMerge "Maybe fix issue #62199092: Alarm didn't ring, upcoming alarm..." into oc-dev
Dianne Hackborn [Mon, 19 Jun 2017 17:04:04 +0000 (17:04 +0000)]
Merge "Maybe fix issue #62199092: Alarm didn't ring, upcoming alarm..." into oc-dev

7 years agoMerge "Fix crash during TextView.onCreateContextMenu" into oc-dev
Siyamed Sinir [Mon, 19 Jun 2017 17:03:17 +0000 (17:03 +0000)]
Merge "Fix crash during TextView.onCreateContextMenu" into oc-dev
am: 58df6ab93f

Change-Id: Icd240aa9e5881067acd7521e4235692c5a538b29

7 years agoMerge "Fix crash during TextView.onCreateContextMenu" into oc-dev
Siyamed Sinir [Mon, 19 Jun 2017 16:53:11 +0000 (16:53 +0000)]
Merge "Fix crash during TextView.onCreateContextMenu" into oc-dev

7 years agoMerge "Fix flash of ambient on fp unlock" into oc-dev
Jason Monk [Mon, 19 Jun 2017 15:33:21 +0000 (15:33 +0000)]
Merge "Fix flash of ambient on fp unlock" into oc-dev
am: c885c24e10

Change-Id: Ibbff840983dc3f15745275d44393645f110b74c1

7 years agoMerge "Fix flash of ambient on fp unlock" into oc-dev
TreeHugger Robot [Mon, 19 Jun 2017 15:26:11 +0000 (15:26 +0000)]
Merge "Fix flash of ambient on fp unlock" into oc-dev

7 years agoMerge "make UpsreamNetworkMonitor the sole source of upstream network information...
TreeHugger Robot [Mon, 19 Jun 2017 08:31:31 +0000 (08:31 +0000)]
Merge "make UpsreamNetworkMonitor the sole source of upstream network information" into oc-dr1-dev

7 years agoMerge "Camera2: copy user tag to HFR request list" into oc-dr1-dev
TreeHugger Robot [Mon, 19 Jun 2017 04:56:51 +0000 (04:56 +0000)]
Merge "Camera2: copy user tag to HFR request list" into oc-dr1-dev

7 years agoMerge "Adds error codes and maximum RAN/Bands/Channels" into oc-dr1-dev
Ying Xu [Mon, 19 Jun 2017 04:30:23 +0000 (04:30 +0000)]
Merge "Adds error codes and maximum RAN/Bands/Channels" into oc-dr1-dev

7 years agoCamera2: copy user tag to HFR request list
Zhijun He [Sun, 18 Jun 2017 23:21:51 +0000 (16:21 -0700)]
Camera2: copy user tag to HFR request list

User tag is not part of native metadata, and need carry over explicitly.

Test: Camera CTS
Bug: 33761753
Change-Id: Ic58783fc204ce71e073f71d0fa50d4d961f4e7ce

7 years agoMerge "Track both framework and app overlays per package" into oc-dev
Todd Kennedy [Sun, 18 Jun 2017 17:15:12 +0000 (17:15 +0000)]
Merge "Track both framework and app overlays per package" into oc-dev
am: 65ffdba7f7

Change-Id: I4af23140f4d9ecc2c1e9faa09d03eddb22db9dae

7 years agoMerge "Track both framework and app overlays per package" into oc-dev
Todd Kennedy [Sun, 18 Jun 2017 17:06:17 +0000 (17:06 +0000)]
Merge "Track both framework and app overlays per package" into oc-dev

7 years agoMerge "AudioService: implement safe volume warning for USB Headsets" into oc-dr1-dev
TreeHugger Robot [Sun, 18 Jun 2017 05:15:31 +0000 (05:15 +0000)]
Merge "AudioService: implement safe volume warning for USB Headsets" into oc-dr1-dev

7 years agoMerge "K-Means color clustering" into oc-dr1-dev
Lucas Dupin [Sat, 17 Jun 2017 17:20:59 +0000 (17:20 +0000)]
Merge "K-Means color clustering" into oc-dr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Sat, 17 Jun 2017 11:29:10 +0000 (11:29 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Sat, 17 Jun 2017 06:10:52 +0000 (06:10 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Sat, 17 Jun 2017 06:07:03 +0000 (06:07 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: f0bdfbc508  -s ours

Change-Id: I2d6f99108a1aa2a170aac8d50cc1cf3398223fd2

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sat, 17 Jun 2017 05:57:54 +0000 (05:57 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 17 Jun 2017 04:22:31 +0000 (21:22 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Only preload selected pages" into oc-dev
Philip P. Moltmann [Sat, 17 Jun 2017 02:55:42 +0000 (02:55 +0000)]
Merge "Only preload selected pages" into oc-dev
am: 314457a424

Change-Id: Id45d32474d29f4e71fa85997088e7a478b659baf

7 years agoMerge "Only preload selected pages" into oc-dev
TreeHugger Robot [Sat, 17 Jun 2017 02:49:55 +0000 (02:49 +0000)]
Merge "Only preload selected pages" into oc-dev

7 years agoMerge "APs from old scans should not have RSSI values set." into oc-dev
Sundeep Ghuman [Sat, 17 Jun 2017 02:26:02 +0000 (02:26 +0000)]
Merge "APs from old scans should not have RSSI values set." into oc-dev
am: 65c00b2f4e

Change-Id: I543f873621ffa26818d6b237d8ed3d1c7769ad98

7 years agoMerge "APs from old scans should not have RSSI values set." into oc-dev
TreeHugger Robot [Sat, 17 Jun 2017 02:15:02 +0000 (02:15 +0000)]
Merge "APs from old scans should not have RSSI values set." into oc-dev