OSDN Git Service

android-x86/frameworks-base.git
7 years agoLoad splits on-demand
Todd Kennedy [Wed, 22 Feb 2017 00:00:11 +0000 (16:00 -0800)]
Load splits on-demand

A split may be declared in an application's base manifest, but,
defined in a feature split. When resolving such a component,
invoke the installer to download and install the necessary split(s)

At the moment, this only works for instant apps. However, the
implementation is generic and could be applied to any application.

Bug: 25119046
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest
Change-Id: I6598abb34becfd049fc03199813226736e5057b1

7 years agoMerge "Fix bug in auto launching with one entry."
TreeHugger Robot [Wed, 22 Feb 2017 20:12:45 +0000 (20:12 +0000)]
Merge "Fix bug in auto launching with one entry."

7 years agoMerge "Disable settings nav drawer entirely."
TreeHugger Robot [Wed, 22 Feb 2017 20:08:34 +0000 (20:08 +0000)]
Merge "Disable settings nav drawer entirely."

7 years agoMerge "underline is now only tracked by android"
Leon Scroggins [Wed, 22 Feb 2017 20:02:08 +0000 (20:02 +0000)]
Merge "underline is now only tracked by android"

7 years agoMerge "Default android app icon should use <adaptive-icon> Test: install apk without...
Hyunyoung Song [Wed, 22 Feb 2017 19:52:38 +0000 (19:52 +0000)]
Merge "Default android app icon should use <adaptive-icon> Test: install apk without application icon. manually check on default launcher."

7 years agoMerge "Fix issues with assistant stack visibility."
TreeHugger Robot [Wed, 22 Feb 2017 19:50:41 +0000 (19:50 +0000)]
Merge "Fix issues with assistant stack visibility."

7 years agoMerge "Unhide root MIME type."
TreeHugger Robot [Wed, 22 Feb 2017 19:45:43 +0000 (19:45 +0000)]
Merge "Unhide root MIME type."

7 years agoMerge "FloatingToolbar: Menu items with icon + text."
Abodunrinwa Toki [Wed, 22 Feb 2017 19:45:34 +0000 (19:45 +0000)]
Merge "FloatingToolbar: Menu items with icon + text."

7 years agoMerge "AOD: readd AOD settings on debuggable builds"
TreeHugger Robot [Wed, 22 Feb 2017 19:39:43 +0000 (19:39 +0000)]
Merge "AOD: readd AOD settings on debuggable builds"

7 years agoMerge "Improved documentation and added @CallSuper on onProvideAutoFillStructure()."
TreeHugger Robot [Wed, 22 Feb 2017 19:39:14 +0000 (19:39 +0000)]
Merge "Improved documentation and added @CallSuper on onProvideAutoFillStructure()."

7 years agoMerge "Rename CameraService to CameraServiceProxy"
TreeHugger Robot [Wed, 22 Feb 2017 19:36:55 +0000 (19:36 +0000)]
Merge "Rename CameraService to CameraServiceProxy"

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 22 Feb 2017 19:36:36 +0000 (19:36 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Grant notification listener access to overlay pkgs"
Julia Reynolds [Wed, 22 Feb 2017 19:35:10 +0000 (19:35 +0000)]
Merge "Grant notification listener access to overlay pkgs"

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 22 Feb 2017 19:33:56 +0000 (19:33 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Revert "Don't copy NoCopySpans in SpannableStringInternal""
Siyamed Sinir [Wed, 22 Feb 2017 19:28:02 +0000 (19:28 +0000)]
Merge "Revert "Don't copy NoCopySpans in SpannableStringInternal""

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 22 Feb 2017 19:27:03 +0000 (19:27 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Introduce APIs for RTT calls (part 1)" am: 27ad05169e am: d83b06cd31
Hall Liu [Wed, 22 Feb 2017 19:05:03 +0000 (19:05 +0000)]
Merge "Introduce APIs for RTT calls (part 1)" am: 27ad05169e am: d83b06cd31
am: ba6c607728

Change-Id: I02e7291091d2452cb7cdb7351c8744606b340e76

7 years agoMerge "Introduce APIs for RTT calls (part 1)" am: 27ad05169e
Hall Liu [Wed, 22 Feb 2017 19:00:55 +0000 (19:00 +0000)]
Merge "Introduce APIs for RTT calls (part 1)" am: 27ad05169e
am: d83b06cd31

Change-Id: Id3608cf918d829ed785d7b75dffa6b6ce6990f34

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 22 Feb 2017 19:00:26 +0000 (19:00 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Added auto-fill listeners for RadioGroup and CompoundButton."
TreeHugger Robot [Wed, 22 Feb 2017 18:58:50 +0000 (18:58 +0000)]
Merge "Added auto-fill listeners for RadioGroup and CompoundButton."

7 years agoMerge "Introduce APIs for RTT calls (part 1)"
Hall Liu [Wed, 22 Feb 2017 18:56:48 +0000 (18:56 +0000)]
Merge "Introduce APIs for RTT calls (part 1)"
am: 27ad05169e

Change-Id: I3fb3cb89b467e5df808967dcd478964a84e2e61f

7 years agoMerge "Fixes dragging divider up in splitscreen puts the docked stack behind"
TreeHugger Robot [Wed, 22 Feb 2017 18:53:08 +0000 (18:53 +0000)]
Merge "Fixes dragging divider up in splitscreen puts the docked stack behind"

7 years agoMerge "Introduce APIs for RTT calls (part 1)"
Hall Liu [Wed, 22 Feb 2017 18:48:52 +0000 (18:48 +0000)]
Merge "Introduce APIs for RTT calls (part 1)"

7 years agoMerge "Make precentage calculation round up by 0.5%"
Lei Yu [Wed, 22 Feb 2017 18:44:34 +0000 (18:44 +0000)]
Merge "Make precentage calculation round up by 0.5%"

7 years agoMerge "Fixed some notification leaks"
Selim Cinek [Wed, 22 Feb 2017 18:40:48 +0000 (18:40 +0000)]
Merge "Fixed some notification leaks"

7 years agoMerge "Add "Instant apps" filter to app listing"
Antony Sargent [Wed, 22 Feb 2017 18:40:40 +0000 (18:40 +0000)]
Merge "Add "Instant apps" filter to app listing"

7 years agoDisable settings nav drawer entirely.
Fan Zhang [Wed, 22 Feb 2017 18:10:10 +0000 (10:10 -0800)]
Disable settings nav drawer entirely.

Change-Id: I3e9bdd3759a47fc09a654b6dad00b611138d5de6
Fix: 34806148
Test: make RunSettingsLibRoboTests

7 years agoMerge "Limit Instant App notifications"
Chad Brubaker [Wed, 22 Feb 2017 18:04:39 +0000 (18:04 +0000)]
Merge "Limit Instant App notifications"

7 years agoFix bug in auto launching with one entry.
Hakan Seyalioglu [Wed, 22 Feb 2017 03:23:43 +0000 (19:23 -0800)]
Fix bug in auto launching with one entry.

bug: 35422006
Test: Confirmed linked bug is fixed with manual test.

Change-Id: Ie5d237c2b85f274b26f913dba3dff585c2547a2b

7 years agoRename CameraService to CameraServiceProxy
Wei Wang [Tue, 21 Feb 2017 19:35:10 +0000 (11:35 -0800)]
Rename CameraService to CameraServiceProxy

Bug: 32976450
Test: on marlin, camera app works fine
Change-Id: I71890c6814f97e461b0161fed6c31c041c9bfe59

7 years agoFix issues with assistant stack visibility.
Winson Chung [Fri, 17 Feb 2017 23:12:25 +0000 (15:12 -0800)]
Fix issues with assistant stack visibility.

- Ensure that we don't mark the docked or fullscreen stacks as
  invisible when the assistant stack is over them and translucent.

Bug: 35363819
Test: android.server.cts.ActivityManagerAssistantStackTests
Test: #testTranslucentAssistantActivityStackVisibility

Change-Id: I86698beec4963942dd3816e7d3f43c6614d892ac

7 years agoMerge "AOD: Enable double tap in AOD"
TreeHugger Robot [Wed, 22 Feb 2017 17:11:55 +0000 (17:11 +0000)]
Merge "AOD: Enable double tap in AOD"

7 years agoImproved documentation and added @CallSuper on onProvideAutoFillStructure().
Felipe Leme [Wed, 22 Feb 2017 17:05:07 +0000 (09:05 -0800)]
Improved documentation and added @CallSuper on onProvideAutoFillStructure().

onProvideAutoFillStructure() sets mandatory auto-fill information like the
auto-fill id, so we must enforce subclass to call it.

Bug: 35395043
Test: m update-api
Change-Id: I525690b38639d970f516a906ddeb3a6bd6e01d8c

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 22 Feb 2017 16:15:37 +0000 (08:15 -0800)]
Import translations. DO NOT MERGE

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

7 years agoFloatingToolbar: Menu items with icon + text.
Abodunrinwa Toki [Wed, 22 Feb 2017 00:20:15 +0000 (00:20 +0000)]
FloatingToolbar: Menu items with icon + text.

- introduced one layout file to rule them all
- removed specialized layout files

Test: Manual tests checking expected appearance
Bug: 34777048
Change-Id: Id5b84d60b48e84b40554c983bf8c144efd42c504

7 years agounderline is now only tracked by android
Mike Reed [Wed, 22 Feb 2017 15:02:40 +0000 (10:02 -0500)]
underline is now only tracked by android

Change-Id: I189c57dd47ad413b8964d7e5805dfd6d4af11982

7 years agoAOD: readd AOD settings on debuggable builds
Adrian Roos [Wed, 22 Feb 2017 15:02:02 +0000 (16:02 +0100)]
AOD: readd AOD settings on debuggable builds

Bug: 30876804
Test: On user build, verify that "Ambient Display" does not appear in SystemUI Tuner.
Change-Id: I75ba7ce11346f9cb8bf5683b17debe77edca20bf

7 years agoMerge "Remove conflicting package information for junit.runner and junit.textui"...
Paul Duffin [Wed, 22 Feb 2017 15:31:55 +0000 (15:31 +0000)]
Merge "Remove conflicting package information for junit.runner and junit.textui" am: f3f4775a35 am: 9b5522f8c4
am: da4597769b

Change-Id: Ibbcb838b9d41391b559a555111ebafce437a5679

7 years agoMerge "Remove conflicting package information for junit.runner and junit.textui"...
Paul Duffin [Wed, 22 Feb 2017 15:27:51 +0000 (15:27 +0000)]
Merge "Remove conflicting package information for junit.runner and junit.textui" am: f3f4775a35
am: 9b5522f8c4

Change-Id: I4925285c1ea3027d46ac396b8ea29ac44c075e0d

7 years agoMerge "Remove conflicting package information for junit.runner and junit.textui"
Paul Duffin [Wed, 22 Feb 2017 15:24:27 +0000 (15:24 +0000)]
Merge "Remove conflicting package information for junit.runner and junit.textui"
am: f3f4775a35

Change-Id: Ie0ca0b2b6b5f06e90f55996625f758521c9039cb

7 years agoMerge "Remove conflicting package information for junit.runner and junit.textui"
Treehugger Robot [Wed, 22 Feb 2017 15:15:33 +0000 (15:15 +0000)]
Merge "Remove conflicting package information for junit.runner and junit.textui"

7 years agoGrant notification listener access to overlay pkgs
Julia Reynolds [Wed, 15 Feb 2017 13:41:48 +0000 (08:41 -0500)]
Grant notification listener access to overlay pkgs

Test: manual
Change-Id: I935b701507cd8eafec991b03ac67364e9830d757

7 years agoAOD: Enable double tap in AOD
Adrian Roos [Wed, 22 Feb 2017 14:02:09 +0000 (15:02 +0100)]
AOD: Enable double tap in AOD

Bug: 30876804
Test: Enable AOD; turn off phone, double tap; receive notification, double tap outside notification; on lockscreen, tap shade, should still bounce
Change-Id: Ifb32461432f64c333b3a86a29b5ac51dfc27a43d

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 22 Feb 2017 12:57:10 +0000 (04:57 -0800)]
Import translations. DO NOT MERGE

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

7 years agoRemove conflicting package information for junit.runner and junit.textui
Paul Duffin [Wed, 22 Feb 2017 12:43:57 +0000 (12:43 +0000)]
Remove conflicting package information for junit.runner and junit.textui

Removes package.html files and update package-info.java files to
use same wording as previous releases.

Bug: 35653948
Test: make docs
Change-Id: Idbede2eb4f57818f152834fad7e75dd181fe25d6

7 years agoMerge "Shade: Factor out DoubleTapHelper"
TreeHugger Robot [Wed, 22 Feb 2017 12:02:44 +0000 (12:02 +0000)]
Merge "Shade: Factor out DoubleTapHelper"

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 22 Feb 2017 11:52:56 +0000 (03:52 -0800)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 22 Feb 2017 11:43:49 +0000 (03:43 -0800)]
Import translations. DO NOT MERGE

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

7 years agoMerge "CalendarView Material - fix exception if date is out of range"
Andrei Stingaceanu [Wed, 22 Feb 2017 10:45:49 +0000 (10:45 +0000)]
Merge "CalendarView Material - fix exception if date is out of range"

7 years agoShade: Factor out DoubleTapHelper
Adrian Roos [Tue, 21 Feb 2017 20:38:12 +0000 (21:38 +0100)]
Shade: Factor out DoubleTapHelper

Factors DoubleTapHelper out of ActivatableNotificationView, such that the
same logic can be reused for the StatusBarWindowView.

Bug: 30876804
Test: have a notification, lock phone, interact with notifications on the lockscreen
Change-Id: I4f3a43859d81677d5168424874b106bbfdea0be5

7 years agoMerge "Implement getAxes() method."
TreeHugger Robot [Wed, 22 Feb 2017 09:35:07 +0000 (09:35 +0000)]
Merge "Implement getAxes() method."

7 years agoMerge "Add missing GLES 3.x metadata"
TreeHugger Robot [Wed, 22 Feb 2017 07:39:15 +0000 (07:39 +0000)]
Merge "Add missing GLES 3.x metadata"

7 years agoDon't crash when primary volume is null in AppCollector. am: d54f3a487b
Daniel Nishi [Wed, 22 Feb 2017 06:01:01 +0000 (06:01 +0000)]
Don't crash when primary volume is null in AppCollector. am: d54f3a487b
am: e13bfbde1a

Change-Id: I8b35924b59938f84502b0afaa8165ebf1fc2e4d4

7 years agoMerge "ConnectivityManager: allow custom Handlers" am: ef69246260 am: cb47118af1
Hugo Benichi [Wed, 22 Feb 2017 05:59:44 +0000 (05:59 +0000)]
Merge "ConnectivityManager: allow custom Handlers" am: ef69246260 am: cb47118af1
am: 0f99e5367b

Change-Id: I9f7fc64c2d3d6f88344c9547b8e1ac17cf3d1104

7 years agoMerge "Added telephony manager set sim power state API" am: cbffe38631 am: d1f5b4245f
Jack Yu [Wed, 22 Feb 2017 05:58:35 +0000 (05:58 +0000)]
Merge "Added telephony manager set sim power state API" am: cbffe38631 am: d1f5b4245f
am: c2543c5357

Change-Id: I9a42b2543d3158ded2a7a5a5bbe4331a4c3d708a

7 years agoMerge "Fix 'Modifying dpm.setSecureSetting call for install_non_market_apps'"
TreeHugger Robot [Wed, 22 Feb 2017 05:37:32 +0000 (05:37 +0000)]
Merge "Fix 'Modifying dpm.setSecureSetting call for install_non_market_apps'"

7 years agoDon't crash when primary volume is null in AppCollector.
Daniel Nishi [Wed, 22 Feb 2017 04:04:38 +0000 (04:04 +0000)]
Don't crash when primary volume is null in AppCollector.
am: d54f3a487b

Change-Id: I77e27f4a7e901e98995039bcfd68453bec83a6cd

7 years agoRevert "Don't copy NoCopySpans in SpannableStringInternal"
Siyamed Sinir [Wed, 22 Feb 2017 00:05:52 +0000 (00:05 +0000)]
Revert "Don't copy NoCopySpans in SpannableStringInternal"

This reverts commit 5de4fb641adbf4f139c08e3b2504fb0545342402.

Bug: 34712634
Fixes: 35363881

Change-Id: I7311e1201152bde052511869c60a0d0c1c5b3242

7 years agoMerge "ConnectivityManager: allow custom Handlers" am: ef69246260
Hugo Benichi [Wed, 22 Feb 2017 03:51:08 +0000 (03:51 +0000)]
Merge "ConnectivityManager: allow custom Handlers" am: ef69246260
am: cb47118af1

Change-Id: I04171173890b161c053c41a2a5c7e1602e510b8c

7 years agoMerge "tv_cec HAL uses "default" service name"
TreeHugger Robot [Wed, 22 Feb 2017 03:49:13 +0000 (03:49 +0000)]
Merge "tv_cec HAL uses "default" service name"

7 years agoMerge "ConnectivityManager: allow custom Handlers"
Hugo Benichi [Wed, 22 Feb 2017 03:48:10 +0000 (03:48 +0000)]
Merge "ConnectivityManager: allow custom Handlers"
am: ef69246260

Change-Id: I8da5540f6561cdef4adc91bbeeb9c21a91c08d49

7 years agoMerge "ConnectivityManager: allow custom Handlers"
Hugo Benichi [Wed, 22 Feb 2017 03:42:14 +0000 (03:42 +0000)]
Merge "ConnectivityManager: allow custom Handlers"

7 years agoMerge "Move the presentation view to proper location."
TreeHugger Robot [Wed, 22 Feb 2017 03:31:49 +0000 (03:31 +0000)]
Merge "Move the presentation view to proper location."

7 years agoMerge "Mark some system intents as SystemApi"
TreeHugger Robot [Wed, 22 Feb 2017 03:07:42 +0000 (03:07 +0000)]
Merge "Mark some system intents as SystemApi"

7 years agoMerge "bluetoothmidiservice: fix timestamp for BLE-MIDI transmitted packets"
Phil Burk [Wed, 22 Feb 2017 03:03:28 +0000 (03:03 +0000)]
Merge "bluetoothmidiservice: fix timestamp for BLE-MIDI transmitted packets"

7 years agoMerge "Added telephony manager set sim power state API" am: cbffe38631
Jack Yu [Wed, 22 Feb 2017 02:56:44 +0000 (02:56 +0000)]
Merge "Added telephony manager set sim power state API" am: cbffe38631
am: d1f5b4245f

Change-Id: I0db1ff82aa80b3719efa9c0bdc2ca0a6f39347a5

7 years agoMerge "Added telephony manager set sim power state API"
Jack Yu [Wed, 22 Feb 2017 02:50:29 +0000 (02:50 +0000)]
Merge "Added telephony manager set sim power state API"
am: cbffe38631

Change-Id: I9fbe161505905c3d3c1c431d1589248324fb3e4f

7 years agoMerge "Fixing regression in entering PiP over keyguard."
TreeHugger Robot [Wed, 22 Feb 2017 02:47:35 +0000 (02:47 +0000)]
Merge "Fixing regression in entering PiP over keyguard."

7 years agoMerge "Added telephony manager set sim power state API"
Treehugger Robot [Wed, 22 Feb 2017 02:45:17 +0000 (02:45 +0000)]
Merge "Added telephony manager set sim power state API"

7 years agoFix 'Modifying dpm.setSecureSetting call for install_non_market_apps'
Suprabh Shukla [Tue, 21 Feb 2017 22:33:50 +0000 (14:33 -0800)]
Fix 'Modifying dpm.setSecureSetting call for install_non_market_apps'

The previous change was reverted as it broke work profile provisioning.
Clearing binder calling identity before calling into settings provider
should fix the issue.

Test: runtest managed-provisioning
Test: runtest -x services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java
Test: Manually tested that work profile is inflated with expected values
of install_non_market_apps

Bug: 33947615
Bug: 35590590

Change-Id: I3c31a73fef0c25c0e682e18f637272adad39b28d

7 years agoMerge "Avoid copying NoCopySpans."
TreeHugger Robot [Wed, 22 Feb 2017 02:14:00 +0000 (02:14 +0000)]
Merge "Avoid copying NoCopySpans."

7 years agoMerge "Deprecate "speak passwords" setting."
TreeHugger Robot [Wed, 22 Feb 2017 01:57:42 +0000 (01:57 +0000)]
Merge "Deprecate "speak passwords" setting."

7 years agoMove the presentation view to proper location.
Svet Ganov [Wed, 22 Feb 2017 01:47:07 +0000 (17:47 -0800)]
Move the presentation view to proper location.

Test: Auto-fill tests pass

bug:33550221

Change-Id: I041a084800e761859c67b962fb4aefafce8956d8

7 years agoMerge "BitmapFactory: Leave the P3 color space on wide gamut bitmaps"
TreeHugger Robot [Wed, 22 Feb 2017 01:46:16 +0000 (01:46 +0000)]
Merge "BitmapFactory: Leave the P3 color space on wide gamut bitmaps"

7 years agoAdded telephony manager set sim power state API
Jack Yu [Thu, 16 Feb 2017 23:31:59 +0000 (15:31 -0800)]
Added telephony manager set sim power state API

The new API can be used to power up/down the SIM. This is equivalent
to inserting and removing the card.

Test: Telephony sanity tests
bug: 32224755

Change-Id: Ib82ab1eff613946e7c31c9b2131183a40d09af80

7 years agoMark some system intents as SystemApi
Amith Yamasani [Sat, 18 Feb 2017 00:50:05 +0000 (16:50 -0800)]
Mark some system intents as SystemApi

These intents are handled by some system apps and use the
android.* namespace. So mark them as SystemApi for CTS verification
purposes.

Fixes some of the CTS signature tests.

Change-Id: I18664b3e92bb24a5cf96d89cf47d6abb88b13220
Fixes: 35253923
Test: cts-tradefed run cts-dev -m CtsSignatureTestCases

7 years agoMerge "Optimize AutoFillManager calls"
TreeHugger Robot [Wed, 22 Feb 2017 01:27:12 +0000 (01:27 +0000)]
Merge "Optimize AutoFillManager calls"

7 years agoMerge "Handle location enabled setting null value"
TreeHugger Robot [Wed, 22 Feb 2017 01:26:53 +0000 (01:26 +0000)]
Merge "Handle location enabled setting null value"

7 years agoDefault android app icon should use <adaptive-icon>
Hyunyoung Song [Sun, 19 Feb 2017 06:10:14 +0000 (22:10 -0800)]
Default android app icon should use <adaptive-icon>
Test: install apk without application icon. manually check on default launcher.

b/34948318

Change-Id: I8a7e5f4343d9ed3eb32cbfa69857aa6264107654

7 years agoDon't crash when primary volume is null in AppCollector.
Daniel Nishi [Wed, 22 Feb 2017 00:04:20 +0000 (16:04 -0800)]
Don't crash when primary volume is null in AppCollector.

getPrimaryStorageCurrentVolume() may return a null value. I did
not plan for this case in the AppCollector. This case occurs when
the primary storage is not mounted when the function is called.

By adding in a null check after getPrimaryStorageCurrentVolume()
and adding in preconditions to verify the non-nullness of the
volume as it propagates through the AppCollector, we ensure that
there should be no more NPE crashes for this reason.

Bug: 35636901
Test: FrameworkServicesTests
Change-Id: I4009e55502f71b8f14dd917ddd00caef3551aafd

7 years agoOptimize AutoFillManager calls
Svetoslav Ganov [Tue, 21 Feb 2017 23:28:20 +0000 (15:28 -0800)]
Optimize AutoFillManager calls

AutoFillManager needs to handle calls for value changes and
reset only if there was a focus change reported, hence the
APIs for value change and reset do not need to connect to
the backing service to determine the enabled state.

Test: Auto-fill CTS tests pass

bug:35641424

Change-Id: I50e449925034c54257e35aa78e066e2a0fa53c03

7 years agoAdded auto-fill listeners for RadioGroup and CompoundButton.
Felipe Leme [Fri, 17 Feb 2017 05:46:46 +0000 (21:46 -0800)]
Added auto-fill listeners for RadioGroup and CompoundButton.

Bug: 33550221
Bug: 3380254
Test: CtsAutoFillServiceTestCases pass

Change-Id: Ia9293d16b6fe092552e19563328697c298451f8a

7 years agoMake precentage calculation round up by 0.5%
jackqdyulei [Fri, 17 Feb 2017 22:41:05 +0000 (14:41 -0800)]
Make precentage calculation round up by 0.5%

So we will show 1% when actually number is 0.5%

Bug: 35305983
Test: RunSettingsLibRoboTests
Change-Id: I26f11f25a7d78cc6b09cb358abd82017fa7cea00

7 years agoMerge "Allow default permission exceptions to be read from vendor partition"
TreeHugger Robot [Wed, 22 Feb 2017 00:38:15 +0000 (00:38 +0000)]
Merge "Allow default permission exceptions to be read from vendor partition"

7 years agoAvoid copying NoCopySpans.
Phil Weaver [Wed, 22 Feb 2017 00:24:31 +0000 (16:24 -0800)]
Avoid copying NoCopySpans.

Move from Spannable to SpannableStringBuilder, as the latter doesn't
copy NoCopySpans.

Bug: 34712634
Test: CTS tests that verify clickable spans still work.
Change-Id: I0ab029a7c79cb7d0b48724890c5cabe841390f4a

7 years agoConnectivityManager: allow custom Handlers
Hugo Benichi [Thu, 2 Feb 2017 08:02:36 +0000 (17:02 +0900)]
ConnectivityManager: allow custom Handlers

This patch adds overloaded version of registerDefaultNetworkCallback
registerNetworkCallback, and requestNetwork with an additional Handler
argument that is used for running the caller provided NetworkCallback.

It also clarifies the documentation of the existing methods that
implicitly uses the internal singleton ConnectivityThread about which
internal Handler is used for running NetworkCallbacks.

Test: build, flashed, booted device
Bug: 32130437
Change-Id: Iae15f81e47e2dc0355baf2f2c1679b77e56af299

7 years agobluetoothmidiservice: fix timestamp for BLE-MIDI transmitted packets
Phil Burk [Wed, 22 Feb 2017 00:15:33 +0000 (16:15 -0800)]
bluetoothmidiservice: fix timestamp for BLE-MIDI transmitted packets

Transmitted packets that contained multiple MIDI messages and that did not
use running status were missing a timestamp! This CL fixes that bug.

Bug: 34708799
Test: a manual test using MidiMatrix is described in the bug report
Change-Id: Iddb55e01c60625787c5907fe8e4b202ef1415e59
Signed-off-by: Phil Burk <philburk@google.com>
7 years agoMerge "Revert "Update display contents when metrics change""
TreeHugger Robot [Wed, 22 Feb 2017 00:13:48 +0000 (00:13 +0000)]
Merge "Revert "Update display contents when metrics change""

7 years agoMerge "Use ArrayList instead of ArraySet for FillResponse.getDatasets()..."
TreeHugger Robot [Wed, 22 Feb 2017 00:12:04 +0000 (00:12 +0000)]
Merge "Use ArrayList instead of ArraySet for FillResponse.getDatasets()..."

7 years agoMerge "Added telephony manager set sim power state API"
Jack Yu [Tue, 21 Feb 2017 23:58:27 +0000 (23:58 +0000)]
Merge "Added telephony manager set sim power state API"

7 years agoMerge "Revert "Remove outdated emulator check which causes BT to not start"" am:...
Colin Cross [Tue, 21 Feb 2017 23:42:06 +0000 (23:42 +0000)]
Merge "Revert "Remove outdated emulator check which causes BT to not start"" am: 375ea2ae71 am: ebc05de919
am: cfbf226165  -s ours

Change-Id: I278d5afab4e15535dd2fc7b3501f805934e58f28

7 years agoMerge "Revert "Remove outdated emulator check which causes BT to not start"" am:...
Colin Cross [Tue, 21 Feb 2017 23:37:01 +0000 (23:37 +0000)]
Merge "Revert "Remove outdated emulator check which causes BT to not start"" am: 375ea2ae71
am: ebc05de919

Change-Id: Id61ee53f3147d90d8fbca053633e3115b69d3065

7 years agoMerge "Graphics: Make SurfaceTexture compile-time initializable"
Andreas Gampe [Tue, 21 Feb 2017 23:34:33 +0000 (23:34 +0000)]
Merge "Graphics: Make SurfaceTexture compile-time initializable"

7 years agoMerge "Revert "Remove outdated emulator check which causes BT to not start""
Colin Cross [Tue, 21 Feb 2017 23:32:32 +0000 (23:32 +0000)]
Merge "Revert "Remove outdated emulator check which causes BT to not start""
am: 375ea2ae71

Change-Id: I3d5abc52abf3f7c01ba4fbee47d7e487e99f5dda

7 years agoMerge "Mark new settings as being blacklisted for backup."
TreeHugger Robot [Tue, 21 Feb 2017 23:31:06 +0000 (23:31 +0000)]
Merge "Mark new settings as being blacklisted for backup."

7 years agoIntroduce APIs for RTT calls (part 1)
Hall Liu [Thu, 26 Jan 2017 01:12:49 +0000 (17:12 -0800)]
Introduce APIs for RTT calls (part 1)

Add signaling methods and data pipes for handling real-time text during
a call.

Change-Id: I876827c448252c5f786d7a4919c47891acb03877
Test: manual, through telecom testapps

7 years agoMerge "Revert "Remove outdated emulator check which causes BT to not start""
Colin Cross [Tue, 21 Feb 2017 23:25:05 +0000 (23:25 +0000)]
Merge "Revert "Remove outdated emulator check which causes BT to not start""

7 years agoDeprecate "speak passwords" setting.
Phil Weaver [Fri, 10 Feb 2017 18:06:56 +0000 (10:06 -0800)]
Deprecate "speak passwords" setting.

This will now be controlled by individual accessibility services.
We'll provide the password information to them, and they can
present or hide the information as it makes sense for their users.

Password information was anyway provided when a headset was
connected.

Bug: 28139568
Test: Manually verified that TalkBack now speaks passwords on the
lock screen and in text views. Since I'm removing functionality
that didn't have tests, it's tricky to have specific tests.
Change-Id: Ic3c724ccce5762ee9dcd9e7dcbd4eae6734dd05e

7 years agoMerge "Set default wait-for-network timeout to 0."
TreeHugger Robot [Tue, 21 Feb 2017 23:09:12 +0000 (23:09 +0000)]
Merge "Set default wait-for-network timeout to 0."

7 years agoMerge "Add metrics for default assist/voice input pickers"
TreeHugger Robot [Tue, 21 Feb 2017 23:02:22 +0000 (23:02 +0000)]
Merge "Add metrics for default assist/voice input pickers"