OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Fix an NPE that can result from a race condition." into oc-dev
Sundeep Ghuman [Thu, 4 May 2017 19:29:05 +0000 (19:29 +0000)]
Merge "Fix an NPE that can result from a race condition." into oc-dev
am: d8aa2acea3

Change-Id: I6b167ad55790159769e13b77da1cf43106f1c654

7 years agoMerge "Fix an NPE that can result from a race condition." into oc-dev
TreeHugger Robot [Thu, 4 May 2017 19:17:57 +0000 (19:17 +0000)]
Merge "Fix an NPE that can result from a race condition." into oc-dev

7 years agoMerge "Destroy Allocation with ScriptIntrinsicLut" am: 622b140f94 am: 088eca8302
Yang Ni [Thu, 4 May 2017 19:08:27 +0000 (19:08 +0000)]
Merge "Destroy Allocation with ScriptIntrinsicLut" am: 622b140f94 am: 088eca8302
am: 43dca4780f

Change-Id: Ic180a772a7131e32987364d01581b0333315b798

7 years agoMerge "Destroy Allocation with ScriptIntrinsicLut" am: 622b140f94
Yang Ni [Thu, 4 May 2017 19:02:44 +0000 (19:02 +0000)]
Merge "Destroy Allocation with ScriptIntrinsicLut" am: 622b140f94
am: 088eca8302

Change-Id: I9b5cf20890474a8921def39b955863cf7eaade67

7 years agoMerge "Destroy Allocation with ScriptIntrinsicLut"
Yang Ni [Thu, 4 May 2017 18:56:34 +0000 (18:56 +0000)]
Merge "Destroy Allocation with ScriptIntrinsicLut"
am: 622b140f94

Change-Id: I7d781ce6f36d0205bb35a9b3416e4ea55f4b8eeb

7 years agoMerge "Destroy Allocation with ScriptIntrinsicLut"
Yang Ni [Thu, 4 May 2017 18:44:28 +0000 (18:44 +0000)]
Merge "Destroy Allocation with ScriptIntrinsicLut"

7 years agoDestroy Allocation with ScriptIntrinsicLut
Yang Ni [Fri, 28 Apr 2017 15:50:33 +0000 (08:50 -0700)]
Destroy Allocation with ScriptIntrinsicLut

Bug: 28053584

On destroying the intrinsic, destroy its contained Allocation right away.

Test: CTS on x86_64 emulator
Change-Id: I5ca0da33b620c3291b7cafda31a6cc83eb7461a0

7 years agoMerge "Merge "Moved data retry handler from broadcast to message." am: 19cd7568c6...
Jack Yu [Thu, 4 May 2017 18:37:33 +0000 (18:37 +0000)]
Merge "Merge "Moved data retry handler from broadcast to message." am: 19cd7568c6" into stage-aosp-master am: 6904af3684  -s ours
am: 951549ed0f  -s ours

Change-Id: Ia185fabdad280d9fd6bcb122f512a50ac27d4476

7 years agoMerge "Merge "Remove default network recommendation provider." into oc-dev am: f37f1f...
Android Build Merger (Role) [Thu, 4 May 2017 18:35:11 +0000 (18:35 +0000)]
Merge "Merge "Remove default network recommendation provider." into oc-dev am: f37f1f199c" into oc-dev-plus-aosp

7 years agoMerge "Remove default network recommendation provider." into oc-dev
Joe LaPenna [Thu, 4 May 2017 18:34:14 +0000 (18:34 +0000)]
Merge "Remove default network recommendation provider." into oc-dev
am: f37f1f199c

Change-Id: I7cc1d9cbc1d22fa6896ebf14d27b06efcac19b23

7 years agoMerge "Merge "Moved data retry handler from broadcast to message." am: 19cd7568c6...
Jack Yu [Thu, 4 May 2017 18:29:01 +0000 (18:29 +0000)]
Merge "Merge "Moved data retry handler from broadcast to message." am: 19cd7568c6" into stage-aosp-master
am: 6904af3684  -s ours

Change-Id: I5ae05ad2f4e2b4ca749b730f0ef98e70f272980c

7 years agoMerge "Moved data retry handler from broadcast to message." am: 19cd7568c6 am: 7e61d2a0de
Jack Yu [Thu, 4 May 2017 18:28:18 +0000 (18:28 +0000)]
Merge "Moved data retry handler from broadcast to message." am: 19cd7568c6 am: 7e61d2a0de
am: 807e5f4684

Change-Id: Ica3f05b54c3f35cc05a07c9e2a4f29f59787802b

7 years agoMerge "Remove default network recommendation provider." into oc-dev
TreeHugger Robot [Thu, 4 May 2017 18:24:52 +0000 (18:24 +0000)]
Merge "Remove default network recommendation provider." into oc-dev

7 years agoMerge "Moved data retry handler from broadcast to message." am: 19cd7568c6
Jack Yu [Thu, 4 May 2017 18:22:09 +0000 (18:22 +0000)]
Merge "Moved data retry handler from broadcast to message." am: 19cd7568c6
am: 7e61d2a0de

Change-Id: I8649b9ed175c6f04f6e1e81a19bd6fb6adb59471

7 years agoMerge "Merge "Moved data retry handler from broadcast to message." am: 19cd7568c6...
Android Build Merger (Role) [Thu, 4 May 2017 18:20:12 +0000 (18:20 +0000)]
Merge "Merge "Moved data retry handler from broadcast to message." am: 19cd7568c6" into stage-aosp-master

7 years agoMerge "Moved data retry handler from broadcast to message."
Jack Yu [Thu, 4 May 2017 18:19:09 +0000 (18:19 +0000)]
Merge "Moved data retry handler from broadcast to message."
am: 19cd7568c6

Change-Id: Ie1d413ba04d3efbd159c43dcff9646d0b6f75a35

7 years agoMerge "Moved data retry handler from broadcast to message."
Jack Yu [Thu, 4 May 2017 18:13:24 +0000 (18:13 +0000)]
Merge "Moved data retry handler from broadcast to message."
am: 19cd7568c6

Change-Id: I8a7c38b4cd6f1307cace357e206a93978e53d4bf

7 years agoMerge "Moved data retry handler from broadcast to message."
Treehugger Robot [Thu, 4 May 2017 18:04:29 +0000 (18:04 +0000)]
Merge "Moved data retry handler from broadcast to message."

7 years agoMerge "Fix issue #37938835: Undismissable "Camera is running in the..." into oc-dev
Dianne Hackborn [Thu, 4 May 2017 17:37:33 +0000 (17:37 +0000)]
Merge "Fix issue #37938835: Undismissable "Camera is running in the..." into oc-dev
am: c45d88b602

Change-Id: I8693b94bf24b53fdba1c2c03667a9ed90ef3931e

7 years agoMerge "Fix issue #37938835: Undismissable "Camera is running in the..." into oc-dev
Dianne Hackborn [Thu, 4 May 2017 17:28:08 +0000 (17:28 +0000)]
Merge "Fix issue #37938835: Undismissable "Camera is running in the..." into oc-dev

7 years agoMerge "Better handle MSIM DDS changed event" into oc-dev
Brad Ebinger [Thu, 4 May 2017 17:19:34 +0000 (17:19 +0000)]
Merge "Better handle MSIM DDS changed event" into oc-dev
am: e44125cd3a  -s ours

Change-Id: I1033e1b102efcfa30b1d16c3fc8631b8b4cc8017

7 years agoMerge "Convert libhwui to Android.bp" into oc-dev-plus-aosp
TreeHugger Robot [Thu, 4 May 2017 17:12:48 +0000 (17:12 +0000)]
Merge "Convert libhwui to Android.bp" into oc-dev-plus-aosp

7 years agoMerge "Better handle MSIM DDS changed event" into oc-dev
Brad Ebinger [Thu, 4 May 2017 17:11:46 +0000 (17:11 +0000)]
Merge "Better handle MSIM DDS changed event" into oc-dev

7 years agoConvert libhwui to Android.bp
Colin Cross [Wed, 19 Apr 2017 22:25:25 +0000 (15:25 -0700)]
Convert libhwui to Android.bp

See build/soong/README.md for more information.

Test: m -j checkbuild
Change-Id: Ifebdb3797498d49f2bebe5fc728e6d6d8def71cb
Merged-In: Ifebdb3797498d49f2bebe5fc728e6d6d8def71cb
(cherry picked from commit f6298101181122b5b70d1094b131e44580cf62b2)

7 years agoConvert libplatfomprotos to Android.bp
Colin Cross [Tue, 2 May 2017 21:14:56 +0000 (14:14 -0700)]
Convert libplatfomprotos to Android.bp

See build/soong/README.md for more information.

Test: m -j checkbuild
Change-Id: I0b45697d1042cb1647f2609b2257444dede84d2a
(cherry picked from commit aa0d4355d78a94b2c6557983d1fa9aa6c529294c)

7 years agoMoved data retry handler from broadcast to message.
Jack Yu [Wed, 3 May 2017 20:32:30 +0000 (13:32 -0700)]
Moved data retry handler from broadcast to message.

The broadcast handler onReceive implmentations should
only handle minimum works. Made this consistent with
other DcTracker broadcast handler.

Test: Manual tests, Telephony sanity tests, and unit tests
bug: 37413302
Merged-In: I4c65b2f7b8aa5674eb7e131d26e404ec390ed19a
Change-Id: I4c65b2f7b8aa5674eb7e131d26e404ec390ed19a

7 years agoMerge "Workaround launching PiP task with CLEAR_TASK & NEW_TASK flag." into oc-dev
Winson Chung [Thu, 4 May 2017 16:21:30 +0000 (16:21 +0000)]
Merge "Workaround launching PiP task with CLEAR_TASK & NEW_TASK flag." into oc-dev
am: c5e289d479

Change-Id: I11edbc227141a31fddef985c7d94cc77ffb6ae80

7 years agoMerge "Workaround launching PiP task with CLEAR_TASK & NEW_TASK flag." into oc-dev
Winson Chung [Thu, 4 May 2017 16:16:28 +0000 (16:16 +0000)]
Merge "Workaround launching PiP task with CLEAR_TASK & NEW_TASK flag." into oc-dev

7 years agoMerge "Only classify text when the toolbar is shown." into oc-dev
Abodunrinwa Toki [Thu, 4 May 2017 15:24:23 +0000 (15:24 +0000)]
Merge "Only classify text when the toolbar is shown." into oc-dev
am: a20b6ba1f2

Change-Id: I94619c59f052a170c3b40d8de25a5c6f7a71fa85

7 years agoMerge "Only classify text when the toolbar is shown." into oc-dev
TreeHugger Robot [Thu, 4 May 2017 15:15:30 +0000 (15:15 +0000)]
Merge "Only classify text when the toolbar is shown." into oc-dev

7 years agoMerge "Time zone update API classes" into oc-dev-plus-aosp
Neil Fuller [Thu, 4 May 2017 15:12:18 +0000 (15:12 +0000)]
Merge "Time zone update API classes" into oc-dev-plus-aosp

7 years agoMerge "More time zone update API classes" am: c301339498 am: 9798dc47b1
Neil Fuller [Thu, 4 May 2017 14:59:58 +0000 (14:59 +0000)]
Merge "More time zone update API classes" am: c301339498 am: 9798dc47b1
am: 2cf4771469

Change-Id: Ic82572f406fd56dd11afce108e14ff0dcb45557e

7 years agoTime zone update API classes
Neil Fuller [Thu, 16 Mar 2017 18:29:36 +0000 (18:29 +0000)]
Time zone update API classes

Time zone update API classes. Currently hidden but they
will go on to be unhidden in future.

This forms the basis of client and system server code to
support time zone updates.

Tests can be run with:

make -j30 FrameworksCoreTests
adb install out/target/product/angler/data/app/FrameworksCoreTests/FrameworksCoreTests.apk
adb shell am instrument -e package android.app.timezone \
    -w com.android.frameworks.coretests \
    "com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner"

This contains a cherry-pick / conflict resolution of
commit bede17c216815a849be0c43d5ce7daaf750a9fac after an automerger skip.
(cherry picked from commit bede17c216815a849be0c43d5ce7daaf750a9fac)

Bug: 31008728
Test: See above.
Merged-In: I668bc8ac0cb78f3d4d9a4b7ad6ac1534b88af833
Change-Id: Icde574f8974152617a1f7ac9fa225bd5011dcce1

7 years agoMerge "More time zone update API classes" am: c301339498
Neil Fuller [Thu, 4 May 2017 14:53:53 +0000 (14:53 +0000)]
Merge "More time zone update API classes" am: c301339498
am: 9798dc47b1

Change-Id: Ia85f1ec883b8ac8cb9a93dfbfabacd1589aafe8f

7 years agoMerge "More time zone update API classes"
Neil Fuller [Thu, 4 May 2017 14:48:21 +0000 (14:48 +0000)]
Merge "More time zone update API classes"
am: c301339498

Change-Id: I23ace2d5102f197ca6d6e22a37b54b43e38753ed

7 years agoMerge "More time zone update API classes"
Treehugger Robot [Thu, 4 May 2017 14:41:08 +0000 (14:41 +0000)]
Merge "More time zone update API classes"

7 years agoMerge "Merge "Time zone update API classes" am: cfe0c2f1ec am: 463f3f8cf7" into nyc...
Neil Fuller [Thu, 4 May 2017 14:29:30 +0000 (14:29 +0000)]
Merge "Merge "Time zone update API classes" am: cfe0c2f1ec am: 463f3f8cf7" into nyc-mr2-dev-plus-aosp
am: 5b14a2f0b5

Change-Id: I614964f97c141532560932955fecb5bcd61eb075

7 years agoMerge "Time zone update API classes" am: cfe0c2f1ec am: 463f3f8cf7
Neil Fuller [Thu, 4 May 2017 14:27:28 +0000 (14:27 +0000)]
Merge "Time zone update API classes" am: cfe0c2f1ec am: 463f3f8cf7
am: 3620392aca  -s ours

Change-Id: I2e7c0837ec5f5bc0f93c695ef7cc812305aa6d5c

7 years agoMerge "Merge "Time zone update API classes" am: cfe0c2f1ec am: 463f3f8cf7" into nyc...
Android Build Merger (Role) [Thu, 4 May 2017 14:19:36 +0000 (14:19 +0000)]
Merge "Merge "Time zone update API classes" am: cfe0c2f1ec am: 463f3f8cf7" into nyc-mr2-dev-plus-aosp

7 years agoMerge "Time zone update API classes" am: cfe0c2f1ec
Neil Fuller [Thu, 4 May 2017 14:18:53 +0000 (14:18 +0000)]
Merge "Time zone update API classes" am: cfe0c2f1ec
am: 463f3f8cf7

Change-Id: I633e734b90cb2f4fb12590a15d2fdc634faf7a9c

7 years agoMerge "Developer setting to show toast for notifications without a channel" into...
Geoffrey Pitsch [Thu, 4 May 2017 14:15:51 +0000 (14:15 +0000)]
Merge "Developer setting to show toast for notifications without a channel" into oc-dev
am: 3c0e3d8a36

Change-Id: Ib5f7130e2940365b3868f735fe2f9881a54f0e71

7 years agoMerge "Developer setting to show toast for notifications without a channel" into...
TreeHugger Robot [Thu, 4 May 2017 14:08:58 +0000 (14:08 +0000)]
Merge "Developer setting to show toast for notifications without a channel" into oc-dev

7 years agoMerge "Time zone update API classes" am: cfe0c2f1ec
Neil Fuller [Thu, 4 May 2017 14:06:56 +0000 (14:06 +0000)]
Merge "Time zone update API classes" am: cfe0c2f1ec
am: 463f3f8cf7

Change-Id: I519483f82e12a038e52f3b4813b0db0325749925

7 years agoMerge "Time zone update API classes"
Neil Fuller [Thu, 4 May 2017 14:01:23 +0000 (14:01 +0000)]
Merge "Time zone update API classes"
am: cfe0c2f1ec

Change-Id: I6442aee1844ec9c6ef1017a4744936252ef45243

7 years agoMerge "Time zone update API classes"
Neil Fuller [Thu, 4 May 2017 13:51:38 +0000 (13:51 +0000)]
Merge "Time zone update API classes"

7 years agoMerge "ignore exception calling unlinkToDeath" into oc-dev
Todd Kennedy [Thu, 4 May 2017 13:30:45 +0000 (13:30 +0000)]
Merge "ignore exception calling unlinkToDeath" into oc-dev
am: 79777a5b43

Change-Id: Iaffd850d9422244d92340ac8c5c2346cbb58f39f

7 years agoMerge "ignore exception calling unlinkToDeath" into oc-dev
TreeHugger Robot [Thu, 4 May 2017 13:23:46 +0000 (13:23 +0000)]
Merge "ignore exception calling unlinkToDeath" into oc-dev

7 years agoMore time zone update API classes
Neil Fuller [Thu, 16 Mar 2017 18:31:56 +0000 (18:31 +0000)]
More time zone update API classes

This class forms the contract between the updater app
(the app provided by and triggered by the system)
and the data app (the app provided by the OEM to
provide time zone data).

Bug: 31008728
Test: make only, just constants
Change-Id: I687b75954e132884aec962fcf8955f3f38a00b2f

7 years agoOnly classify text when the toolbar is shown.
Abodunrinwa Toki [Wed, 3 May 2017 19:22:55 +0000 (20:22 +0100)]
Only classify text when the toolbar is shown.

classifyText() is used to generate a menu item in the selection toolbar
to handle the selected text. In this cl we avoid calling classifyText()
when the selection is changing but instead call it when we are about to
show the toolbar.

Previously, we depended on invalidateActionModeAsync() to classify text
after a call to startActionMode(). Now that we've introduced
invalidateActionMode() we need to be able to tell
startSelectionActionMode() that we also want the text to be classified,
hence the introduction of an input parameter, "adjustSelection", to
startSelectionActionModeAysnc().

Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Bug: 34966796
Change-Id: I5b9fc9e8ab443f024f8ca461df5a4bcc6485d26b

7 years agoMerge "Merge "Adjust forced dexopt in case of stripped APKs." am: 5669550a83 am:...
Android Build Merger (Role) [Thu, 4 May 2017 12:00:06 +0000 (12:00 +0000)]
Merge "Merge "Adjust forced dexopt in case of stripped APKs." am: 5669550a83 am: f59dd816b1 am: 8d76994c5b" into oc-dev-plus-aosp

7 years agoMerge "Adjust forced dexopt in case of stripped APKs." am: 5669550a83 am: f59dd816b1
Nicolas Geoffray [Thu, 4 May 2017 11:59:12 +0000 (11:59 +0000)]
Merge "Adjust forced dexopt in case of stripped APKs." am: 5669550a83 am: f59dd816b1
am: 8d76994c5b

Change-Id: I11871e75179ec64bd30fe23d6bcb40765ce6c64b

7 years agoMerge "Adjust forced dexopt in case of stripped APKs." am: 5669550a83 am: f59dd816b1
Nicolas Geoffray [Thu, 4 May 2017 11:53:58 +0000 (11:53 +0000)]
Merge "Adjust forced dexopt in case of stripped APKs." am: 5669550a83 am: f59dd816b1
am: 8d76994c5b

Change-Id: I87acb3200de0e731eab78107d30c3c8999674c6d

7 years agoMerge "Merge "Handle volume keys to apps in Vr mode" into oc-dev am: a58589bdc1"...
Android Build Merger (Role) [Thu, 4 May 2017 11:46:16 +0000 (11:46 +0000)]
Merge "Merge "Handle volume keys to apps in Vr mode" into oc-dev am: a58589bdc1" into oc-dev-plus-aosp

7 years agoMerge "Adjust forced dexopt in case of stripped APKs." am: 5669550a83
Nicolas Geoffray [Thu, 4 May 2017 11:42:13 +0000 (11:42 +0000)]
Merge "Adjust forced dexopt in case of stripped APKs." am: 5669550a83
am: f59dd816b1

Change-Id: If41af16abab0e193fcfef6a939f039a4f24a38ef

7 years agoMerge "Handle volume keys to apps in Vr mode" into oc-dev
Karthik Ravi Shankar [Thu, 4 May 2017 11:42:03 +0000 (11:42 +0000)]
Merge "Handle volume keys to apps in Vr mode" into oc-dev
am: a58589bdc1

Change-Id: Ib4ef4f2e70fe86970c7d1224466dc75cc8883f7f

7 years agoMerge "Handle volume keys to apps in Vr mode" into oc-dev
Karthik Ravi Shankar [Thu, 4 May 2017 11:38:26 +0000 (11:38 +0000)]
Merge "Handle volume keys to apps in Vr mode" into oc-dev
am: a58589bdc1

Change-Id: I05992bb4a0f3ac1343bf55a9c33297542ff45424

7 years agoMerge "Adjust forced dexopt in case of stripped APKs."
Nicolas Geoffray [Thu, 4 May 2017 11:34:06 +0000 (11:34 +0000)]
Merge "Adjust forced dexopt in case of stripped APKs."
am: 5669550a83

Change-Id: I1ca14c8eee35cb3f793b2a004f5bd6f6b8ca6120

7 years agoTime zone update API classes
Neil Fuller [Thu, 16 Mar 2017 18:29:36 +0000 (18:29 +0000)]
Time zone update API classes

Time zone update API classes. Currently hidden but they
will go on to be unhidden in future.

This forms the basis of client and system server code to
support time zone updates.

Tests can be run with:

make -j30 FrameworksCoreTests
adb install out/target/product/angler/data/app/FrameworksCoreTests/FrameworksCoreTests.apk
adb shell am instrument -e package android.app.timezone \
    -w com.android.frameworks.coretests \
    "com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner"

Bug: 31008728
Test: See above.
Merged-In: I668bc8ac0cb78f3d4d9a4b7ad6ac1534b88af833
Change-Id: Icde574f8974152617a1f7ac9fa225bd5011dcce1

7 years agoMerge "Handle volume keys to apps in Vr mode" into oc-dev
TreeHugger Robot [Thu, 4 May 2017 11:26:53 +0000 (11:26 +0000)]
Merge "Handle volume keys to apps in Vr mode" into oc-dev

7 years agoMerge "Adjust forced dexopt in case of stripped APKs."
Nicolas Geoffray [Thu, 4 May 2017 11:25:03 +0000 (11:25 +0000)]
Merge "Adjust forced dexopt in case of stripped APKs."

7 years agoAdjust forced dexopt in case of stripped APKs.
Nicolas Geoffray [Wed, 3 May 2017 10:51:53 +0000 (11:51 +0100)]
Adjust forced dexopt in case of stripped APKs.

We cannot compile from scratch for strip APK. So
if getDexOptNeeded returns NotNeeded, pretend there was
a compiler filter change, in order to pick up the vdex file.

bug: 37558732
Test: "adb shell cmd package compile" of a stripped /system apk
Change-Id: I531010e01e44adfa300872c1739c49dab7292317

7 years agoMerge "selectBackupTransportAsync should report failure when backup is not available...
Tony Mak [Thu, 4 May 2017 08:50:01 +0000 (08:50 +0000)]
Merge "selectBackupTransportAsync should report failure when backup is not available" into oc-dev
am: 9dee975361

Change-Id: I174fa48341337fa38e1edf40460f01a655fff62a

7 years agoMerge "selectBackupTransportAsync should report failure when backup is not available...
TreeHugger Robot [Thu, 4 May 2017 08:43:59 +0000 (08:43 +0000)]
Merge "selectBackupTransportAsync should report failure when backup is not available" into oc-dev

7 years agoMerge "Reset touch location after touch slop is exceeded in recents" into oc-dev
Matthew Ng [Thu, 4 May 2017 06:40:45 +0000 (06:40 +0000)]
Merge "Reset touch location after touch slop is exceeded in recents" into oc-dev
am: 02862f31f8

Change-Id: Ided4114855fa866fca637f8171ea7030e347f485

7 years agoMerge "Reset touch location after touch slop is exceeded in recents" into oc-dev
TreeHugger Robot [Thu, 4 May 2017 06:35:48 +0000 (06:35 +0000)]
Merge "Reset touch location after touch slop is exceeded in recents" into oc-dev

7 years agoMerge "Allow TIMEZONE_CHANGED to launch apps" into oc-dev
Christopher Tate [Thu, 4 May 2017 06:32:49 +0000 (06:32 +0000)]
Merge "Allow TIMEZONE_CHANGED to launch apps" into oc-dev
am: b84b8bd40d

Change-Id: I7fe49ac402da96a8279212ba3e35442c26075cbd

7 years agoMerge "Allow TIMEZONE_CHANGED to launch apps" into oc-dev
TreeHugger Robot [Thu, 4 May 2017 06:27:29 +0000 (06:27 +0000)]
Merge "Allow TIMEZONE_CHANGED to launch apps" into oc-dev

7 years agoFix an NPE that can result from a race condition.
Sundeep Ghuman [Wed, 3 May 2017 19:45:44 +0000 (12:45 -0700)]
Fix an NPE that can result from a race condition.

NetworkInfo and WifiInfo are set via broadcast receiver so while in a
true stable state network info should not be null if wifi info is, this
can occur in rare instances due to a race condition. It is convention in
AccessPoint.java to always null check network info.

Bug: b/37951301
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java

Change-Id: Ia1b357c84b961a555ec24a5b930ade35ddf8dbba

7 years agoMerge "Rename CompatibilityDisplay to Vr2dDisplay" into oc-dev
Karthik Ravi Shankar [Thu, 4 May 2017 05:23:42 +0000 (05:23 +0000)]
Merge "Rename CompatibilityDisplay to Vr2dDisplay" into oc-dev
am: 1d01f9cf67

Change-Id: I4072d3d1ccd258473ccc35412dd3b002e0239f2d

7 years agoMerge "Rename CompatibilityDisplay to Vr2dDisplay" into oc-dev
Karthik Ravi Shankar [Thu, 4 May 2017 05:17:13 +0000 (05:17 +0000)]
Merge "Rename CompatibilityDisplay to Vr2dDisplay" into oc-dev

7 years agoRename CompatibilityDisplay to Vr2dDisplay
Karthik Ravi Shankar [Mon, 1 May 2017 08:34:19 +0000 (01:34 -0700)]
Rename CompatibilityDisplay to Vr2dDisplay

CompatibilityDisplay used for displaying 2D activities in Vr world. This
is confusing in more than one way. To clarify what it really means,
rename it to Vr2dDisplay.

Changes in this CL -

- /s/CompatibilityDisplay/Vr2dDisplay
- /s/Compatibility/Vr2d - in CompatibilityDisplay context.

Bug: 37851944
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test
CtsServicesHostTestCases android.server.cts.ActivityManagerDisplayTests
passes on Marlin.

Change-Id: I0a442302fa9d0f48bbd0c01a7766b94369e04386
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
7 years agoMerge "fix KeyEvent can't correctly finish when inputmethod time out happend" am...
gaoshang [Thu, 4 May 2017 03:57:46 +0000 (03:57 +0000)]
Merge "fix KeyEvent can't correctly finish when inputmethod time out happend" am: 36247646e3 am: 0f722b529c
am: ca8edea785

Change-Id: Ice647d05aff24a317862f54fb52ebccbeddd5e1a

7 years agoMerge "fix KeyEvent can't correctly finish when inputmethod time out happend" am...
gaoshang [Thu, 4 May 2017 03:51:43 +0000 (03:51 +0000)]
Merge "fix KeyEvent can't correctly finish when inputmethod time out happend" am: 36247646e3
am: 0f722b529c

Change-Id: Ic315d3c7d7cfc0132237de29fc7426d412cdb96b

7 years agoMerge "fix KeyEvent can't correctly finish when inputmethod time out happend"
gaoshang [Thu, 4 May 2017 03:46:13 +0000 (03:46 +0000)]
Merge "fix KeyEvent can't correctly finish when inputmethod time out happend"
am: 36247646e3

Change-Id: I245d63d33fdc7376e05539486be3b31b284ea11f

7 years agoMerge "fix KeyEvent can't correctly finish when inputmethod time out happend"
Treehugger Robot [Thu, 4 May 2017 03:37:36 +0000 (03:37 +0000)]
Merge "fix KeyEvent can't correctly finish when inputmethod time out happend"

7 years agoMerge "Merge "Added TaskSnapshotCacheTest back to presubmit" into oc-dev am: 2ecf42f9...
Android Build Merger (Role) [Thu, 4 May 2017 03:03:49 +0000 (03:03 +0000)]
Merge "Merge "Added TaskSnapshotCacheTest back to presubmit" into oc-dev am: 2ecf42f96c" into oc-dev-plus-aosp

7 years agoMerge "Added TaskSnapshotCacheTest back to presubmit" into oc-dev
Wale Ogunwale [Thu, 4 May 2017 03:03:10 +0000 (03:03 +0000)]
Merge "Added TaskSnapshotCacheTest back to presubmit" into oc-dev
am: 2ecf42f96c

Change-Id: If89b6af0c20e7a42ce1cd6fe31b042f4d7ffdaad

7 years agoMerge "Added TaskSnapshotCacheTest back to presubmit" into oc-dev
Wale Ogunwale [Thu, 4 May 2017 03:00:31 +0000 (03:00 +0000)]
Merge "Added TaskSnapshotCacheTest back to presubmit" into oc-dev
am: 2ecf42f96c

Change-Id: Ia90b5875ccf5baea70b6d7ae844cf07b8b9dd67c

7 years agoMerge "Added TaskSnapshotCacheTest back to presubmit" into oc-dev
TreeHugger Robot [Thu, 4 May 2017 02:51:58 +0000 (02:51 +0000)]
Merge "Added TaskSnapshotCacheTest back to presubmit" into oc-dev

7 years agofix KeyEvent can't correctly finish when inputmethod time out happend
gaoshang [Thu, 20 Apr 2017 06:14:18 +0000 (14:14 +0800)]
fix KeyEvent can't correctly finish when inputmethod time out happend

Symptom: If inputmethod handle an KeyEvent time out ,
Did not finish this event correctly , eventually lead to app ANR
Root Cause: without seq number when obtainMessage MSG_TIMEOUT_INPUT_EVENT
Solution: add seq parameter

Test: Input
Test: InputMethod

Fixes: 37648930
Change-Id: I3a2b964b34aa57267bd777305200a2bfdc66f65c
Merged-In: I3a2b964b34aa57267bd777305200a2bfdc66f65c
Signed-off-by: gaoshang <gaoshang@xiaomi.com>
7 years agoMerge "Always start a manual request, even if view was already autofilled." into...
Felipe Leme [Thu, 4 May 2017 01:55:14 +0000 (01:55 +0000)]
Merge "Always start a manual request, even if view was already autofilled." into oc-dev
am: 5fafafaba2

Change-Id: I52f98e7126a036eb2925660ab36284cfb57801d9

7 years agoMerge "Always start a manual request, even if view was already autofilled." into...
TreeHugger Robot [Thu, 4 May 2017 01:47:00 +0000 (01:47 +0000)]
Merge "Always start a manual request, even if view was already autofilled." into oc-dev

7 years agoMerge "Add persistent state for Bluetooth high quality audio support" into oc-dev
Antony Sargent [Thu, 4 May 2017 01:43:00 +0000 (01:43 +0000)]
Merge "Add persistent state for Bluetooth high quality audio support" into oc-dev
am: d53a71f443

Change-Id: I735640f2c9c7a00ab206372ffa33f51621546e78

7 years agoMerge "Add persistent state for Bluetooth high quality audio support" into oc-dev
TreeHugger Robot [Thu, 4 May 2017 01:37:02 +0000 (01:37 +0000)]
Merge "Add persistent state for Bluetooth high quality audio support" into oc-dev

7 years agoMerge "Revert "Don't add other's child as header or footer"" into oc-dev
Jeff Sharkey [Thu, 4 May 2017 01:11:36 +0000 (01:11 +0000)]
Merge "Revert "Don't add other's child as header or footer"" into oc-dev
am: 6e0332f308

Change-Id: I088c65f866de6a9df51784865531b0cc44ea4248

7 years agoAllow TIMEZONE_CHANGED to launch apps
Christopher Tate [Thu, 4 May 2017 01:10:39 +0000 (18:10 -0700)]
Allow TIMEZONE_CHANGED to launch apps

Bug 37866305
Test: manual

Change-Id: If15df909e99e910c012f2a7b33ae8600c0f97d8d

7 years agoFix issue #37938835: Undismissable "Camera is running in the...
Dianne Hackborn [Thu, 4 May 2017 01:04:05 +0000 (18:04 -0700)]
Fix issue #37938835: Undismissable "Camera is running in the...

...background" notification even after force stopping camera

Ensure we have a message scheduled to dismiss the next app every
time we go through the app list.  Also don't show the notification
for an app when it is in the foreground.

Test: manual

Change-Id: Idd93c8d9f8252b880c8b4bf069c71ad71a6b27c9

7 years agoMerge "Revert "Don't add other's child as header or footer"" into oc-dev
TreeHugger Robot [Thu, 4 May 2017 01:03:56 +0000 (01:03 +0000)]
Merge "Revert "Don't add other's child as header or footer"" into oc-dev

7 years agoMerge "Fix potential race in DexManager" into oc-dev
Calin Juravle [Thu, 4 May 2017 00:41:15 +0000 (00:41 +0000)]
Merge "Fix potential race in DexManager" into oc-dev
am: c54fa39d8b

Change-Id: I1c7f3138ac6354ccc98d66dfb350bc184e5f1059

7 years agoMerge "Don't copy NoCopySpans for assist and autofill" into oc-dev
Siyamed Sinir [Thu, 4 May 2017 00:37:01 +0000 (00:37 +0000)]
Merge "Don't copy NoCopySpans for assist and autofill" into oc-dev
am: 5073b91236

Change-Id: I3320735cffac4a6802b0a4e64bf0a64e845ac6df

7 years agoMerge "Fix potential race in DexManager" into oc-dev
Calin Juravle [Thu, 4 May 2017 00:35:39 +0000 (00:35 +0000)]
Merge "Fix potential race in DexManager" into oc-dev

7 years agoMerge "Reduce the timeout for waiting for the network state update." into oc-dev
Sudheer Shanka [Thu, 4 May 2017 00:35:03 +0000 (00:35 +0000)]
Merge "Reduce the timeout for waiting for the network state update." into oc-dev
am: f345a436be

Change-Id: I62dcd82ec7dc1ef4b3fb9ab2c332f18581b7425d

7 years agoMerge "Don't copy NoCopySpans for assist and autofill" into oc-dev
Siyamed Sinir [Thu, 4 May 2017 00:27:27 +0000 (00:27 +0000)]
Merge "Don't copy NoCopySpans for assist and autofill" into oc-dev

7 years agoMerge "Reduce the timeout for waiting for the network state update." into oc-dev
Sudheer Shanka [Thu, 4 May 2017 00:26:52 +0000 (00:26 +0000)]
Merge "Reduce the timeout for waiting for the network state update." into oc-dev

7 years agoMerge "Avoid reading HW bitmap pixels twice" into oc-dev
Jorim Jaggi [Thu, 4 May 2017 00:23:24 +0000 (00:23 +0000)]
Merge "Avoid reading HW bitmap pixels twice" into oc-dev
am: afe23b9b53

Change-Id: If844553df8ef3516880c51dad93edce49146fb70

7 years agoMerge "Revert "O is API 26"" into oc-dev
Ian Pedowitz [Thu, 4 May 2017 00:18:19 +0000 (00:18 +0000)]
Merge "Revert "O is API 26"" into oc-dev
am: b42b9a22df

Change-Id: Ic869f9f6f627c960222cb5364e04e6f4491c0a88

7 years agoMerge "Avoid reading HW bitmap pixels twice" into oc-dev
TreeHugger Robot [Thu, 4 May 2017 00:14:13 +0000 (00:14 +0000)]
Merge "Avoid reading HW bitmap pixels twice" into oc-dev

7 years agoReset touch location after touch slop is exceeded in recents
Matthew Ng [Tue, 2 May 2017 23:47:53 +0000 (16:47 -0700)]
Reset touch location after touch slop is exceeded in recents

There was a jump when a user touch moves over the slop value. To fix
this the location is updated to new y position so that the move
animation of the card after has no visual jump.

Change-Id: Ia9b1d04cc0b2983c2e61114ebbf3bdeb154404e9
Fixes: 35720341
Test: manual - enter recents and slowly drag a card vertically and
notice no jump with the fix, moving after the slop has a consistent
motion

7 years agoMerge "Revert "O is API 26"" into oc-dev
Ian Pedowitz [Thu, 4 May 2017 00:07:05 +0000 (00:07 +0000)]
Merge "Revert "O is API 26"" into oc-dev

7 years agoMerge "Grant ephemeral app access during service bind" into oc-dev
Jesse Evans [Thu, 4 May 2017 00:06:55 +0000 (00:06 +0000)]
Merge "Grant ephemeral app access during service bind" into oc-dev
am: b3af9b7eb7

Change-Id: Id5f5c10b732218d424be259fc1578adbbf9794b7