OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Added back removed ctor from DisplayEventReceiver" into oc-dev
Wale Ogunwale [Mon, 19 Jun 2017 23:29:53 +0000 (23:29 +0000)]
Merge "Added back removed ctor from DisplayEventReceiver" into oc-dev
am: 113918f309

Change-Id: Iab45bb64e04cbddde6cd627763aab19b663aa919

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 agoMerge "Add an extra level of indirection to make sure that native IHwBinder" am:...
Andreas Huber [Mon, 19 Jun 2017 22:19:55 +0000 (22:19 +0000)]
Merge "Add an extra level of indirection to make sure that native IHwBinder" am: b6dde12ef0
am: e7191f50b5

Change-Id: If9c376697a638523f6b691fa37d9cfb73fc8e20d

7 years agoMerge "Add an extra level of indirection to make sure that native IHwBinder"
Andreas Huber [Mon, 19 Jun 2017 22:07:45 +0000 (22:07 +0000)]
Merge "Add an extra level of indirection to make sure that native IHwBinder"
am: b6dde12ef0

Change-Id: I342d0d1a09ed1677b7619df7df033471b48c937a

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

Change-Id: I690b6d88bcce507d7fbae855cd9939616ac86212

7 years agoMerge "Add an extra level of indirection to make sure that native IHwBinder"
Treehugger Robot [Mon, 19 Jun 2017 21:55:04 +0000 (21:55 +0000)]
Merge "Add an extra level of indirection to make sure that native IHwBinder"

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 agoMerge "Do not update currently open tooltip." into oc-dev
Vladislav Kaznacheev [Mon, 19 Jun 2017 21:12:41 +0000 (21:12 +0000)]
Merge "Do not update currently open tooltip." into oc-dev
am: 139dbe5c1c

Change-Id: Ia0b5b2c7ee9dc8a0cc975562de350ac0ff4a0449

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 "Reduce no-op notification log messages." into oc-dev
Dan Sandler [Mon, 19 Jun 2017 20:45:20 +0000 (20:45 +0000)]
Merge "Reduce no-op notification log messages." into oc-dev
am: 5e3fb57af8

Change-Id: I6835b0804b66ad0ee0ff682b29a728f3cceca0bf

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 agoMerge changes from topics 'embms-init-fix', 'embms-download-2' am: e601160a96
Hall Liu [Mon, 19 Jun 2017 20:16:07 +0000 (20:16 +0000)]
Merge changes from topics 'embms-init-fix', 'embms-download-2' am: e601160a96
am: d974296f8c

Change-Id: I61d4f04ec27b0298c9ab77dd92bf14d44a1ed93f

7 years agoMerge changes from topics 'embms-init-fix', 'embms-download-2'
Hall Liu [Mon, 19 Jun 2017 20:03:42 +0000 (20:03 +0000)]
Merge changes from topics 'embms-init-fix', 'embms-download-2'
am: e601160a96

Change-Id: Icb84816dc98198ad6ed85dd8b030fbd0198d73a4

7 years agoMerge changes from topics 'embms-init-fix', 'embms-download-2'
Hall Liu [Mon, 19 Jun 2017 19:53:40 +0000 (19:53 +0000)]
Merge changes from topics 'embms-init-fix', 'embms-download-2'

* changes:
  Add callback for initialization done
  Embms download part 2

7 years agoMerge "Remove legacy advertiser from map after it's no longer used" am: 42b1578867
Jakub Pawlowski [Mon, 19 Jun 2017 19:40:38 +0000 (19:40 +0000)]
Merge "Remove legacy advertiser from map after it's no longer used" am: 42b1578867
am: de1f0d7607

Change-Id: I89b5be7443dff10a3a52a0b6dbee76a5d34b8173

7 years agoMerge "Remove legacy advertiser from map after it's no longer used"
Jakub Pawlowski [Mon, 19 Jun 2017 19:26:32 +0000 (19:26 +0000)]
Merge "Remove legacy advertiser from map after it's no longer used"
am: 42b1578867

Change-Id: I8f6f49f0d75c840faa8a7dbdb56a1debecd28d97

7 years agoMerge "Remove legacy advertiser from map after it's no longer used"
Treehugger Robot [Mon, 19 Jun 2017 19:17:38 +0000 (19:17 +0000)]
Merge "Remove legacy advertiser from map after it's no longer used"

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

Change-Id: I40b069c811b9cc687265f802524b8b290cd4f269

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

Change-Id: Ic6b3aa97edffd87e643a778d73aa61e890f52a4b

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 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:12 +0000 (15:33 +0000)]
Merge "Fix flash of ambient on fp unlock" into oc-dev
am: c885c24e10

Change-Id: I70a913e7743e79e90e3d5c1e8bbcb8e6a4071193

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 interface IP serving code set LinkProperties" am: 1dae9a4709
Erik Kline [Mon, 19 Jun 2017 13:26:13 +0000 (13:26 +0000)]
Merge "Make interface IP serving code set LinkProperties" am: 1dae9a4709
am: 9461f78541

Change-Id: I753ab701f2109c0972816724e73119dc1dbc4dca

7 years agoMerge "Make interface IP serving code set LinkProperties"
Erik Kline [Mon, 19 Jun 2017 13:15:02 +0000 (13:15 +0000)]
Merge "Make interface IP serving code set LinkProperties"
am: 1dae9a4709

Change-Id: I84e4b3fb0be210f59eb663597a6c81c95d3e51d6

7 years agoMerge "Make interface IP serving code set LinkProperties"
Treehugger Robot [Mon, 19 Jun 2017 13:00:34 +0000 (13:00 +0000)]
Merge "Make interface IP serving code set LinkProperties"

7 years agoMerge "Documentation: changed tid parameter description for getThreadPriority()"...
Alessio Balsini [Mon, 19 Jun 2017 11:54:05 +0000 (11:54 +0000)]
Merge "Documentation: changed tid parameter description for getThreadPriority()" am: 663b02dd28
am: 6f0adbfaea

Change-Id: I0626fb2d9de978f204ba9898a56e4225a71f03e8

7 years agoMerge "Documentation: changed tid parameter description for getThreadPriority()"
Alessio Balsini [Mon, 19 Jun 2017 11:43:00 +0000 (11:43 +0000)]
Merge "Documentation: changed tid parameter description for getThreadPriority()"
am: 663b02dd28

Change-Id: I4953cf4bf4af592e080114bf937453b84b4a3e4e

7 years agoMerge "Documentation: changed tid parameter description for getThreadPriority()"
Treehugger Robot [Mon, 19 Jun 2017 11:29:58 +0000 (11:29 +0000)]
Merge "Documentation: changed tid parameter description for getThreadPriority()"

7 years agoDocumentation: changed tid parameter description for getThreadPriority()
Alessio Balsini [Wed, 7 Jun 2017 09:41:33 +0000 (11:41 +0200)]
Documentation: changed tid parameter description for getThreadPriority()

Wrong description of the "tid" parameter used by getThreadPriority():
the function does not "change" the priority of the thread associated to
"tid".
Defined also the meaning of setting tid parameter to 0.

Test: None

Change-Id: I8552f3b110eaab1aefa51477e82d3e295547be34
Signed-off-by: Alessio Balsini <alessio.balsini@gmail.com>
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

Change-Id: Ib620e3df182f9f8e2c019aae1cd8981eb0b29376

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

Change-Id: Ib58b5ed03daa375c0ba667829d4a38567c99ac78

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 "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Sat, 17 Jun 2017 06:06:58 +0000 (06:06 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: f0bdfbc508  -s ours

Change-Id: I451787702af10fa932a1b5fd256c989ee979ba74

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 agoMerge "Only preload selected pages" into oc-dev
Philip P. Moltmann [Sat, 17 Jun 2017 02:57:26 +0000 (02:57 +0000)]
Merge "Only preload selected pages" into oc-dev
am: 314457a424

Change-Id: Ice10d16e149ce7807c50b413939cb71caf52f715

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:25:57 +0000 (02:25 +0000)]
Merge "APs from old scans should not have RSSI values set." into oc-dev
am: 65c00b2f4e

Change-Id: I46fc6ca0334f2637007fc188304310475267a20c

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

7 years agoAdd callback for initialization done
Hall Liu [Fri, 16 Jun 2017 21:59:57 +0000 (14:59 -0700)]
Add callback for initialization done

Add callback for initialization done in the framework, and listen to it
in the testapps. Make initialization asynchronous as well for both
download and streaming.

Change-Id: Iea7f803df9d2752401b2eca9f6c7375007cac35e

7 years agoMerge "Simplify NfcCommand and avoid NullPointerExceptions" am: b5c4e80ecd
Myles Watson [Sat, 17 Jun 2017 01:41:09 +0000 (01:41 +0000)]
Merge "Simplify NfcCommand and avoid NullPointerExceptions" am: b5c4e80ecd
am: 7ba9270427

Change-Id: I28b151f93f00cbd3086e8416dbd433f34806205c

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 17 Jun 2017 01:39:16 +0000 (18:39 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Simplify NfcCommand and avoid NullPointerExceptions"
Myles Watson [Sat, 17 Jun 2017 01:34:00 +0000 (01:34 +0000)]
Merge "Simplify NfcCommand and avoid NullPointerExceptions"
am: b5c4e80ecd

Change-Id: I2dcff4d7d0b0bdc5b344f08ce5d563da0a272ddf

7 years agoMerge "Simplify NfcCommand and avoid NullPointerExceptions"
Treehugger Robot [Sat, 17 Jun 2017 01:25:12 +0000 (01:25 +0000)]
Merge "Simplify NfcCommand and avoid NullPointerExceptions"

7 years agoEmbms download part 2
Hall Liu [Wed, 7 Jun 2017 20:57:11 +0000 (13:57 -0700)]
Embms download part 2

Add support for multi-part file downloads.
Improves destination directory handling in the download process.

Change-Id: Ibad57bab8804530ce09305424790d5520cd02071

7 years agoMerge "Revert "Trim text from autofillvalue when checking for empty."" into oc-dev
Felipe Leme [Sat, 17 Jun 2017 01:01:25 +0000 (01:01 +0000)]
Merge "Revert "Trim text from autofillvalue when checking for empty."" into oc-dev
am: 215ebb941d

Change-Id: I4adf0b0ed352f7f20f93c5fe1bbebea84b4b9bda

7 years agoMaybe fix issue #62199092: Alarm didn't ring, upcoming alarm...
Dianne Hackborn [Sat, 17 Jun 2017 00:59:35 +0000 (17:59 -0700)]
Maybe fix issue #62199092: Alarm didn't ring, upcoming alarm...

...notification was stuck

Don't deliver to a ProcessRecord that has been killed, instead
go through creating a new process.

Test: manual

Change-Id: I74eb0843200b5b99d6496e4b3f6eef5ed38c926e

7 years agoMerge "Separate a11y and autofill view ids" into oc-dev
Phil Weaver [Sat, 17 Jun 2017 00:56:19 +0000 (00:56 +0000)]
Merge "Separate a11y and autofill view ids" into oc-dev
am: c91290a6e9

Change-Id: Ib4566c2f0e32477d5f9eb6510edc140c2b66e0a4

7 years agoMerge "Revert "Trim text from autofillvalue when checking for empty."" into oc-dev
TreeHugger Robot [Sat, 17 Jun 2017 00:52:57 +0000 (00:52 +0000)]
Merge "Revert "Trim text from autofillvalue when checking for empty."" into oc-dev

7 years agoMerge "Resolve 3 inconsistencies in accessibility button API - Unify logic for detect...
Casey Burkhardt [Sat, 17 Jun 2017 00:52:46 +0000 (00:52 +0000)]
Merge "Resolve 3 inconsistencies in accessibility button API - Unify logic for detecting availability of the accessibility button - Ensure the initial visibility state is propagated to A11yMS - Ensure services only receive availability callbacks for changes" into oc-dev
am: 4ab690a50d

Change-Id: I38798fabc99c8db5618a6bd39c8eb6953dbf2bbb

7 years agoMerge "Separate a11y and autofill view ids" into oc-dev
Phil Weaver [Sat, 17 Jun 2017 00:45:59 +0000 (00:45 +0000)]
Merge "Separate a11y and autofill view ids" into oc-dev

7 years agoMerge "Resolve 3 inconsistencies in accessibility button API - Unify logic for detect...
Casey Burkhardt [Sat, 17 Jun 2017 00:40:57 +0000 (00:40 +0000)]
Merge "Resolve 3 inconsistencies in accessibility button API - Unify logic for detecting availability of the accessibility button - Ensure the initial visibility state is propagated to A11yMS - Ensure services only receive availability callbacks for changes" into oc-dev

7 years ago[Companion] Fix NPE in associate
Eugene Susla [Sat, 17 Jun 2017 00:20:41 +0000 (17:20 -0700)]
[Companion] Fix NPE in associate

The root cause of the exception was that the activity destroy listener was
reacting to any activity being destroyed instead of just the one used with
the CompanionDeviceManager

Fixes: 62549525
Test: Ensure the attached bug no longer reproduces
Change-Id: I2f977e9ac9176247f5be9d08d19b3875f2b4a703

7 years agoMerge "Add a svc command for enabling/disabling Bluetooth" am: 7d136b777a
Myles Watson [Fri, 16 Jun 2017 23:47:57 +0000 (23:47 +0000)]
Merge "Add a svc command for enabling/disabling Bluetooth" am: 7d136b777a
am: c0c6e1243b

Change-Id: Iab78d232230a6d9ef02d40a03558f7967af7f48c

7 years agoMerge "Add a svc command for enabling/disabling Bluetooth"
Myles Watson [Fri, 16 Jun 2017 23:40:26 +0000 (23:40 +0000)]
Merge "Add a svc command for enabling/disabling Bluetooth"
am: 7d136b777a

Change-Id: I62158ee728e6c431c21e5de30ecd9b7b33bbc73a

7 years agoMerge "Add a svc command for enabling/disabling Bluetooth"
Treehugger Robot [Fri, 16 Jun 2017 23:28:23 +0000 (23:28 +0000)]
Merge "Add a svc command for enabling/disabling Bluetooth"

7 years agoMerge "Create native Surface object on updateWindow for legacy apps." into oc-dev
Bryce Lee [Fri, 16 Jun 2017 23:24:31 +0000 (23:24 +0000)]
Merge "Create native Surface object on updateWindow for legacy apps." into oc-dev
am: 1e1c5d7b77

Change-Id: I35b9aa813c4140cc273272421a05df22b69aeb2e

7 years agoMerge "Create native Surface object on updateWindow for legacy apps." into oc-dev
Bryce Lee [Fri, 16 Jun 2017 23:15:03 +0000 (23:15 +0000)]
Merge "Create native Surface object on updateWindow for legacy apps." into oc-dev

7 years agoAdd a svc command for enabling/disabling Bluetooth
Myles Watson [Tue, 13 Jun 2017 18:42:36 +0000 (11:42 -0700)]
Add a svc command for enabling/disabling Bluetooth

Bug: 62067926
Test: svc bluetooth disable
      svc bluetooth enable
Change-Id: I9a53d7ab1805df98d8cf1292cf1061eacc14655d

7 years agoRevert "Trim text from autofillvalue when checking for empty."
Felipe Leme [Fri, 16 Jun 2017 22:57:58 +0000 (22:57 +0000)]
Revert "Trim text from autofillvalue when checking for empty."

This reverts commit c5d4e068f2a0c47dc69b72200f8a9fc4bd5a2c28.

Change-Id: I4027cf0f91ebb9032c21efad7025118891188bc6

7 years agoMerge "Trim text from autofillvalue when checking for empty." into oc-dev
Felipe Leme [Fri, 16 Jun 2017 22:57:29 +0000 (22:57 +0000)]
Merge "Trim text from autofillvalue when checking for empty." into oc-dev
am: b3b13ff62c

Change-Id: I4059509efe6cfa0b2f3acdf8fdfb99b4daeca0bb

7 years agoDO NOT MERGE ANYWHERE Vibrator: Allow priority vibrations in low-power mode for acces...
Tyler Freeman [Fri, 16 Jun 2017 22:51:31 +0000 (22:51 +0000)]
DO NOT MERGE ANYWHERE Vibrator: Allow priority vibrations in low-power mode for accessibility. am: 79613777df  -s ours am: cf82b09998  -s ours
am: 2c3ca52a91  -s ours

Change-Id: Ia77b2954ecafe93cf01381c0c1fe781612187229

7 years agoMerge "Trim text from autofillvalue when checking for empty." into oc-dev
TreeHugger Robot [Fri, 16 Jun 2017 22:50:42 +0000 (22:50 +0000)]
Merge "Trim text from autofillvalue when checking for empty." into oc-dev

7 years agoDO NOT MERGE ANYWHERE Vibrator: Allow priority vibrations in low-power mode for acces...
Tyler Freeman [Fri, 16 Jun 2017 22:43:12 +0000 (22:43 +0000)]
DO NOT MERGE ANYWHERE Vibrator: Allow priority vibrations in low-power mode for accessibility. am: 79613777df  -s ours
am: cf82b09998  -s ours

Change-Id: I128c5a5b07fc2aef5ada9118e3cc491a87970758

7 years agoDO NOT MERGE ANYWHERE Vibrator: Allow priority vibrations in low-power mode for acces...
Tyler Freeman [Fri, 16 Jun 2017 22:36:26 +0000 (22:36 +0000)]
DO NOT MERGE ANYWHERE Vibrator: Allow priority vibrations in low-power mode for accessibility.
am: 79613777df  -s ours

Change-Id: I965bac24a8d62b44b08679bda58b8ba37dbed5b4

7 years agoMerge "Log last home activity and result we tried to start" into oc-dev
Wale Ogunwale [Fri, 16 Jun 2017 22:15:21 +0000 (22:15 +0000)]
Merge "Log last home activity and result we tried to start" into oc-dev
am: e8f1a74361

Change-Id: I6c9e5fdd75717b1c4fc0ba723afe3ff8797f3a16

7 years agoMerge "Disable notification sounds on TV" into oc-dev
Tony Mantler [Fri, 16 Jun 2017 22:12:03 +0000 (22:12 +0000)]
Merge "Disable notification sounds on TV" into oc-dev
am: b5979092b8

Change-Id: Iec7f207648a7df13c2d963be4b48f3286ded2dc2

7 years agoMerge "Use an optimized findViewNodeByAutofillId(id) to get just one node." into...
Felipe Leme [Fri, 16 Jun 2017 21:59:45 +0000 (21:59 +0000)]
Merge "Use an optimized findViewNodeByAutofillId(id) to get just one node." into oc-dev
am: a89414962d

Change-Id: Ie4bebf468d564dcf67ed56b6152f49f2c5f5cda1

7 years agoMerge "Log last home activity and result we tried to start" into oc-dev
TreeHugger Robot [Fri, 16 Jun 2017 21:57:20 +0000 (21:57 +0000)]
Merge "Log last home activity and result we tried to start" into oc-dev

7 years agoMerge "Disable notification sounds on TV" into oc-dev
TreeHugger Robot [Fri, 16 Jun 2017 21:55:28 +0000 (21:55 +0000)]
Merge "Disable notification sounds on TV" into oc-dev

7 years agoMerge "Use an optimized findViewNodeByAutofillId(id) to get just one node." into...
TreeHugger Robot [Fri, 16 Jun 2017 21:45:39 +0000 (21:45 +0000)]
Merge "Use an optimized findViewNodeByAutofillId(id) to get just one node." into oc-dev

7 years agoMerge changes I20bdab1b,Id82f9081 into oc-dev
Winson Chung [Fri, 16 Jun 2017 21:41:43 +0000 (21:41 +0000)]
Merge changes I20bdab1b,Id82f9081 into oc-dev
am: 64b044680c

Change-Id: I6bf7127bd9f46855e186e13fc4e06f27535c4916

7 years agoSeparate a11y and autofill view ids
Phil Weaver [Thu, 15 Jun 2017 17:10:06 +0000 (10:10 -0700)]
Separate a11y and autofill view ids

Autofill seems to need IDs to be preserved across things
like configuration changes, while accessibility will not
function without views with unique ids. Separating out the
two types of IDs. We can re-combine them once it's clear
that both demands can be satisfied.

Bug: 62301218
Test: Run a11y and autofill CTS, and verify that the play
store app functions with TalkBack after a screen rotation.

Change-Id: I17a99de2874768fc0ade3aa354130dd1f6b4cd7e

7 years agoMerge changes I20bdab1b,Id82f9081 into oc-dev
Winson Chung [Fri, 16 Jun 2017 21:32:39 +0000 (21:32 +0000)]
Merge changes I20bdab1b,Id82f9081 into oc-dev

* changes:
  Fix backwards flag causing crash.
  Fixing issue with PiP aspect ratio being clobbered.

7 years agoCreate native Surface object on updateWindow for legacy apps.
Bryce Lee [Fri, 16 Jun 2017 14:20:34 +0000 (07:20 -0700)]
Create native Surface object on updateWindow for legacy apps.

There are some apps that use the Surface object itself to indicate
changes. As a result, recycling the existing Surface object for
updates can lead to such apps ignoring events such as size changes.

This changelist restores the original behavior for legacy apps, where
the underlying native Surface object is recreated during updates.

Fixes: 62108743
Test: go/wm-smoke
Test: Open affected application, observe expansion to fullscreen when
      nav bar disappears. Rotate to other orientation and observe
      expansion to fullscreen.

Change-Id: I874602b6b8686c6ecb05cf7b1a04ec4b700ad3f9

7 years agoTrack both framework and app overlays per package
Todd Kennedy [Fri, 16 Jun 2017 20:55:13 +0000 (13:55 -0700)]
Track both framework and app overlays per package

Always bundle framework and app overlays. The old implementation, where
framework and app overlays were tracked independently, lead to an error
in the following scenario:

  1. Enable app overlay -> change reflected in app
  2. Enable framework overlay -> error: no change reflected in app
  3. Disable app overlay -> change reflected in app, including framework
     overlay

This change also leads to better architecture since the package manager
no longer needs to know that an app's overlays consist of both framework
and app specific overlays. Instead, that knowledge is handled by the
overlay manager.

Also, correct indentation in "cmd package dump packages" output and
remove obsolete constant DUMP_ENABLED_OVERLAYS.

Test: Manual
Change-Id: I707fc00052a15b22fb8c17e6155732520e6b2e52
Bug: 62680061

7 years agoTrim text from autofillvalue when checking for empty.
Felipe Leme [Fri, 16 Jun 2017 20:24:32 +0000 (13:24 -0700)]
Trim text from autofillvalue when checking for empty.

Test: VirtualContainerActivityTest#testSaveDialogNotShownWhenBackIsPressed
Fixes: 62667931

Change-Id: I7e673eedd39fff7af89c694d0bfc5a495f14ea26

7 years agoDO NOT MERGE ANYWHERE Vibrator: Allow priority vibrations in low-power mode for acces...
Tyler Freeman [Fri, 5 May 2017 00:23:35 +0000 (17:23 -0700)]
DO NOT MERGE ANYWHERE Vibrator: Allow priority vibrations in low-power mode for accessibility.

This is mainly for Wear devices that don't have speakers.

Bug: 37543478
Bug: 37257715

Merged-In: Ia6dffa7e528886e7c84390dbb33b44f298c7afa4
Change-Id: Ia6dffa7e528886e7c84390dbb33b44f298c7afa4

7 years agoMerge "ViewRootImpl: More null checks for performTraversals." into oc-dev
Rob Carr [Fri, 16 Jun 2017 20:08:28 +0000 (20:08 +0000)]
Merge "ViewRootImpl: More null checks for performTraversals." into oc-dev
am: 6f87503ed8

Change-Id: I8685f019f33861bffb3b82ef0f494a80a8067d88

7 years agoMerge "Always log new user state to event log" into oc-dev
Fyodor Kupolov [Fri, 16 Jun 2017 20:05:31 +0000 (20:05 +0000)]
Merge "Always log new user state to event log" into oc-dev
am: 6db4406fbd

Change-Id: I975664bc2943ef95340ce8003a1e78d72c7dc2b5

7 years agoMerge "ViewRootImpl: More null checks for performTraversals." into oc-dev
Rob Carr [Fri, 16 Jun 2017 19:55:07 +0000 (19:55 +0000)]
Merge "ViewRootImpl: More null checks for performTraversals." into oc-dev

7 years agoLog last home activity and result we tried to start
Wale Ogunwale [Fri, 16 Jun 2017 19:42:51 +0000 (12:42 -0700)]
Log last home activity and result we tried to start

To help debug ANR.

Bug: 38121026
Test: manual
Change-Id: I484301810d07dcf7330dfdbab7310eac14638b90

7 years agoMerge "Always log new user state to event log" into oc-dev
Fyodor Kupolov [Fri, 16 Jun 2017 19:51:00 +0000 (19:51 +0000)]
Merge "Always log new user state to event log" into oc-dev

7 years agoDisable notification sounds on TV
Tony Mantler [Fri, 16 Jun 2017 17:50:00 +0000 (10:50 -0700)]
Disable notification sounds on TV

Bug: 38495875
Test: BuzzBeepBlinkTest
Change-Id: Iffebe2063de3d73c1538a3bbbe9edd2233005ba3

7 years agoMerge "Throw IAE when service add null AutofillIds on SaveInfo methods." into oc-dev
Felipe Leme [Fri, 16 Jun 2017 19:36:07 +0000 (19:36 +0000)]
Merge "Throw IAE when service add null AutofillIds on SaveInfo methods." into oc-dev
am: 6cde68752c

Change-Id: Ia67129efce12d99e566c1987d653fa3956a926db

7 years agoFix crash during TextView.onCreateContextMenu
Siyamed Sinir [Fri, 16 Jun 2017 01:22:31 +0000 (18:22 -0700)]
Fix crash during TextView.onCreateContextMenu

Test: bit CtsWidgetTestCases:TextViewTest

Bug:62450393
Change-Id: I162c28d253ca197eba9c4c148c76179c2880daa5

7 years agoMerge "Throw IAE when service add null AutofillIds on SaveInfo methods." into oc-dev
TreeHugger Robot [Fri, 16 Jun 2017 19:23:37 +0000 (19:23 +0000)]
Merge "Throw IAE when service add null AutofillIds on SaveInfo methods." into oc-dev

7 years agoUse an optimized findViewNodeByAutofillId(id) to get just one node.
Felipe Leme [Fri, 16 Jun 2017 18:49:48 +0000 (11:49 -0700)]
Use an optimized findViewNodeByAutofillId(id) to get just one node.

Session was using findViewNodesByAutofillIds(ids) before, which not only was
not optimal, but error prone (for example, it could return a non-empty array
with an empty value).

Test: CtsAutoFillServiceTestCases pass
Fixes: 62532979

Change-Id: If984f1263cc3f2aac1d1e098687fe02d73c55211

7 years agoOnly preload selected pages
Philip P. Moltmann [Fri, 16 Jun 2017 18:30:52 +0000 (11:30 -0700)]
Only preload selected pages

Otherwise if only some pages are selected all (non-selected) pages in
between are preloaded.

Test: Selected only some pages of a large document and observed which
      pages got preloaded
      cts-tradefed run cts-dev -m Print
Fixes: 62296301
Change-Id: I3a97cfa6991e5a95ff73628c4bb540c629160c0c

7 years agoDo not update currently open tooltip.
Vladislav Kaznacheev [Fri, 16 Jun 2017 18:31:23 +0000 (11:31 -0700)]
Do not update currently open tooltip.

Currently if View.setTooltipText is called while
the tooltip is being shown for that view, it will
update the displayed text. The tooltip then will
resize to wrap around the new text, but not change
its position. This looks confusing if the new text
is significantly shorter or longer.

Removing this functionality until proper
re-positioning is implemented.

Bug: 38491655
Test: android.view.cts.TooltipTest passes
Change-Id: I79689288185888854b992b89e19fe381d3ac50e4

7 years agoMerge "enable/disable dexopt for instant apps remotely" into oc-dev
Todd Kennedy [Fri, 16 Jun 2017 18:19:45 +0000 (18:19 +0000)]
Merge "enable/disable dexopt for instant apps remotely" into oc-dev
am: 5d969b9862

Change-Id: Ica29f01779c2bb504d682a2b457f861264cc00b0

7 years agoMerge "enable/disable dexopt for instant apps remotely" into oc-dev
TreeHugger Robot [Fri, 16 Jun 2017 18:07:46 +0000 (18:07 +0000)]
Merge "enable/disable dexopt for instant apps remotely" into oc-dev

7 years agoFix backwards flag causing crash.
Winson Chung [Fri, 16 Jun 2017 18:07:29 +0000 (11:07 -0700)]
Fix backwards flag causing crash.

Bug: 62692677
Test: Use an activity options that requires the bitmap copy, ensure
      that it does not crash.

Change-Id: I20bdab1b91dfe47f7fe134fd17fe104eb4b27ec1

7 years agoAlways log new user state to event log
Fyodor Kupolov [Fri, 16 Jun 2017 17:45:51 +0000 (10:45 -0700)]
Always log new user state to event log

Previously it wasn't logged for stopping users...

Test: manual
Bug: 38121026
Change-Id: I0fc37224ce1043745dfffcc78639f003c35b402e

7 years agoFixing issue with PiP aspect ratio being clobbered.
Winson Chung [Fri, 16 Jun 2017 17:52:40 +0000 (10:52 -0700)]
Fixing issue with PiP aspect ratio being clobbered.

- We should only initialize the initial aspect ratio to the default
  aspect ratio once, instead of when the resources are reloaded.
  Otherwise, they will be clobbered when the configuration changes.
  This is a regression from ag/2295004.

Bug: 62702553
Test: Set PiP aspect ratio from landscape-locked activity, ensure that
      it stays in that aspect ratio after the pip menu dismisses.

Change-Id: Id82f9081c25c7d6482cf7bcf0268fedb9068eabe

7 years agolibmedia_jni.so doesn't need libjhead.so am: 9a4a34afd8 -s ours am: 398d50feeb ...
Marco Nelissen [Fri, 16 Jun 2017 17:47:09 +0000 (17:47 +0000)]
libmedia_jni.so doesn't need libjhead.so am: 9a4a34afd8  -s ours am: 398d50feeb  -s ours am: 49fc959be3  -s ours am: 23118a9b77  -s ours am: 45cd809caa  -s ours am: ce4c7df6a0  -s ours am: 035e2a5c37  -s ours am: 4e5ed845c7  -s ours am: 3cd244e872  -s ours am: a9bf75f50c  -s ours am: 21caf4aee4  -s ours am: 009b3c6aec  -s ours
am: acbd7ba4aa  -s ours

Change-Id: I17c0c2beb412135905d48636971ad2099b23fcc7

7 years agolibmedia_jni.so doesn't need libjhead.so am: 9a4a34afd8 -s ours am: 398d50feeb ...
Marco Nelissen [Fri, 16 Jun 2017 17:38:19 +0000 (17:38 +0000)]
libmedia_jni.so doesn't need libjhead.so am: 9a4a34afd8  -s ours am: 398d50feeb  -s ours am: 49fc959be3  -s ours am: 23118a9b77  -s ours am: 45cd809caa  -s ours am: ce4c7df6a0  -s ours am: 035e2a5c37  -s ours am: 4e5ed845c7  -s ours am: 3cd244e872  -s ours am: a9bf75f50c  -s ours am: 21caf4aee4  -s ours
am: 009b3c6aec  -s ours

Change-Id: Ied441cf591abb8933a5601c6d36066e0288dfbd7