OSDN Git Service
TreeHugger Robot [Thu, 13 Apr 2017 19:43:25 +0000 (19:43 +0000)]
Merge "Filter instant app content providers" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 19:37:31 +0000 (19:37 +0000)]
Merge "Update mobile data icon" into oc-dev
Chris Tate [Thu, 13 Apr 2017 19:24:08 +0000 (19:24 +0000)]
Merge "Introduce PACKAGE_FIRST_ADDED broadcast" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 19:21:21 +0000 (19:21 +0000)]
Merge "Introduce setFallbackTypeface" into oc-dev
Yu Liu [Thu, 13 Apr 2017 19:20:58 +0000 (19:20 +0000)]
Merge "Fix some issues came up from the reviews of the newly added APIs Test: Existing unit tests still pass. BUG:
36554361 Change-Id: I6c2dab2e0df7f8578f92c70907f45aa69909892c" into oc-dev
Daniel Sandler [Thu, 13 Apr 2017 19:06:24 +0000 (19:06 +0000)]
Merge "Quick fix to lockscreen text color." into oc-dev
Dan Sandler [Thu, 13 Apr 2017 18:38:40 +0000 (14:38 -0400)]
Quick fix to lockscreen text color.
Bug:
37299706
Test: visual
Change-Id: Ide48186f0f1cb4a50c77b45ae8b80a79781d7b0d
Daniel Nishi [Thu, 13 Apr 2017 18:39:53 +0000 (18:39 +0000)]
Merge changes from topic 'cp-movies' into oc-dev
* changes:
Use the real filters when determining Other Apps.
Add support for movies & tv apps querying.
TreeHugger Robot [Thu, 13 Apr 2017 18:23:01 +0000 (18:23 +0000)]
Merge "Switch i18n listeners to use IME hint locales" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 18:18:23 +0000 (18:18 +0000)]
Merge "don't interpret milliseconds as nanoseconds" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 18:12:08 +0000 (18:12 +0000)]
Merge "Remove support for auto-paging of cursors." into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 18:11:45 +0000 (18:11 +0000)]
Merge "Address API review for ProxyFileDescriptorCallback" into oc-dev
Andrew Solovay [Thu, 13 Apr 2017 17:46:13 +0000 (17:46 +0000)]
Merge "doc: Add note to Context.bindService()" into oc-dev
Android Build Merger (Role) [Thu, 13 Apr 2017 17:29:09 +0000 (17:29 +0000)]
Merge "Docs: Fixes broken link in Javadoc. am:
df0fd34d50 am:
506a8b39fb am:
4eff74f8cb am:
2d642f9e2d am:
f125662db1" into oc-dev
Matt Sarett [Thu, 13 Apr 2017 17:28:55 +0000 (17:28 +0000)]
Merge "Add SkiaCanvas::captureCanvasState()" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 17:28:47 +0000 (17:28 +0000)]
Merge "Always call unbind." into oc-dev
Dave Friedman [Thu, 13 Apr 2017 17:28:18 +0000 (17:28 +0000)]
Docs: Fixes broken link in Javadoc. am:
df0fd34d50 am:
506a8b39fb am:
4eff74f8cb am:
2d642f9e2d
am:
f125662db1
Change-Id: Ic69e95f68255e5e0bea646cdce2c56881586d24d
Dave Friedman [Thu, 13 Apr 2017 17:19:36 +0000 (17:19 +0000)]
Docs: Fixes broken link in Javadoc. am:
df0fd34d50 am:
506a8b39fb am:
4eff74f8cb
am:
2d642f9e2d
Change-Id: I5257f51a37e6e45a928befea94b2ecdb0cf01f45
TreeHugger Robot [Thu, 13 Apr 2017 17:13:31 +0000 (17:13 +0000)]
Merge "Introduce FontsContract.requestFont and deprecate Typeface.create" into oc-dev
Jason Monk [Thu, 13 Apr 2017 17:13:19 +0000 (13:13 -0400)]
Update mobile data icon
Test: visual
Change-Id: I21be005b0f4c4371b616377be77025412c2b58e6
Fixes:
35996345
Seigo Nonaka [Fri, 31 Mar 2017 21:30:05 +0000 (14:30 -0700)]
Introduce setFallbackTypeface
setFallbackTypeface is returned by Builder.build() method when the
provided font is not loaded due to some reasons.
The fallback family is resolved with width/italic passed to Builder.
Bug:
36794225
Test: android.graphics.cts.TypefaceTest passes
Change-Id: I65e220aca823fd815a52437b11c8e6dc952de8e2
Sudheer Shanka [Thu, 13 Apr 2017 17:09:55 +0000 (17:09 +0000)]
Merge "Fix the issue of voice interactor getting reset after reboot." into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 17:08:00 +0000 (17:08 +0000)]
Merge "Listen to RSSI_CHANGED_ACTION broadcasts in WifiTracker." into oc-dev
Julia Reynolds [Thu, 13 Apr 2017 17:07:41 +0000 (17:07 +0000)]
Merge "Allow notification channels to be silent." into oc-dev
Dave Friedman [Thu, 13 Apr 2017 17:06:11 +0000 (17:06 +0000)]
Docs: Fixes broken link in Javadoc. am:
df0fd34d50 am:
506a8b39fb
am:
4eff74f8cb
Change-Id: Id237b5c6ead732111feb29e1dc0dcd8a444366ee
Dave Friedman [Thu, 13 Apr 2017 17:00:44 +0000 (17:00 +0000)]
Docs: Fixes broken link in Javadoc. am:
df0fd34d50
am:
506a8b39fb
Change-Id: If60b7db71fe92508daaec1255c637927432d7b55
Hyunyoung Song [Thu, 13 Apr 2017 16:53:37 +0000 (16:53 +0000)]
Merge "Update API, add more documentation on AdaptiveIconDrawable" into oc-dev
Martijn Coenen [Thu, 13 Apr 2017 16:53:18 +0000 (16:53 +0000)]
Merge "Add persistentFeature application attribute." into oc-dev
Lucas Dupin [Thu, 13 Apr 2017 16:51:58 +0000 (16:51 +0000)]
Merge "Add transfer mode support to ShapeDrawable" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 16:50:47 +0000 (16:50 +0000)]
Merge "Companion device mgr doesn't always exist" into oc-dev
Dave Friedman [Thu, 13 Apr 2017 16:48:41 +0000 (16:48 +0000)]
Docs: Fixes broken link in Javadoc.
am:
df0fd34d50
Change-Id: I76ed5361426065d5e532c5a11c2d11f28ba8c2d7
Winson Chung [Thu, 13 Apr 2017 16:01:48 +0000 (16:01 +0000)]
Merge "Fix issue with non-focusable PiP activities being resumed." into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 15:54:59 +0000 (15:54 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 15:42:26 +0000 (15:42 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 15:27:22 +0000 (15:27 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 15:26:24 +0000 (15:26 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 15:26:00 +0000 (15:26 +0000)]
Merge changes I33ac2b52,I5ab8bb11 into oc-dev
* changes:
Captive portal: fix probe urls at network creation
NetworkMonitor: improve captive portal validation logs
Matt Sarett [Thu, 13 Apr 2017 13:33:18 +0000 (09:33 -0400)]
Add SkiaCanvas::captureCanvasState()
Test: Verified bug is fixed. Wrote unit test.
Bug:
37268771
Change-Id: I9deb7db353cd2129ad245e7f65419670463bb717
Julia Reynolds [Thu, 13 Apr 2017 14:54:01 +0000 (10:54 -0400)]
Companion device mgr doesn't always exist
E.g. on tvs.
Test: runtest systemui-notification
Change-Id: I1f1fd3cc5d361d3854eef5e5726816b50f5d7eb6
Fixes:
37276184
Julia Reynolds [Wed, 12 Apr 2017 17:27:58 +0000 (13:27 -0400)]
Allow notification channels to be silent.
This better accomodates those apps that play their own sounds.
Since most apps don't play their own sounds, update the documentation
on notificationchannel to add guidance about when they should add a
sound.
Fixes:
37237013
Test: runtest systemui-notification
Change-Id: If00b15b1b44da66d24dacb2895e9a6c0a06d1890
Julia Reynolds [Wed, 12 Apr 2017 16:27:00 +0000 (12:27 -0400)]
Only foreground notis should be sorted higher
Having the ongoing flag is not enough.
Test: runtest systemui-notification
Change-Id: I8a6c15af819f2bb4ad3937ae45d33361663fbe13
TreeHugger Robot [Thu, 13 Apr 2017 14:41:55 +0000 (14:41 +0000)]
Merge "Document examples where a developer might use the APIs." into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 14:32:37 +0000 (14:32 +0000)]
Merge "Debugging issue #
37272284: ActivityManager: SELinux tag not defined" into oc-dev
Seigo Nonaka [Tue, 11 Apr 2017 22:59:58 +0000 (15:59 -0700)]
Introduce FontsContract.requestFont and deprecate Typeface.create
Since background fetch should be synchronized with life cycle of
Activities, so should not create new background thread inside this
method. Not to break existing apps, mark as deprecated and will be
removed from public API untile next release.
New API accepts Handler so that the developer can pass their own thread
.
Test: TBD
Bug:
37253785
Change-Id: I87fdc6a354a829db679253824f42489f25698fa0
TreeHugger Robot [Thu, 13 Apr 2017 13:22:06 +0000 (13:22 +0000)]
Merge "Introduce FontsContract.fetchFonts and expose URI for watching." into oc-dev
Niels Egberts [Wed, 12 Apr 2017 14:03:10 +0000 (15:03 +0100)]
Document examples where a developer might use the APIs.
Test: mmma frameworks/base/
Bug:
35767714
Change-Id: I845db36869b84a18e79d7fe28f10031cfe836617
TreeHugger Robot [Thu, 13 Apr 2017 12:13:00 +0000 (12:13 +0000)]
Merge "Add hidden API startActivityForResultAsUser" into oc-dev
Bill Yi [Thu, 13 Apr 2017 11:43:14 +0000 (04:43 -0700)]
Import translations. DO NOT MERGE
Change-Id: Iaf188ae0fe780b83f7caa70e8221126d1ffed110
Auto-generated-cl: translation import
TreeHugger Robot [Thu, 13 Apr 2017 08:25:05 +0000 (08:25 +0000)]
Merge "ViewRoot: More surgically fix child-life time." into oc-dev
Narayan Kamath [Thu, 13 Apr 2017 08:16:45 +0000 (08:16 +0000)]
Merge "Binder: Be forceful about a forceful exit." into oc-dev
Tadashi G. Takaoka [Thu, 13 Apr 2017 07:41:29 +0000 (07:41 +0000)]
Merge "Remove supportsDismissingSelfWindow attribute of IME" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 07:12:51 +0000 (07:12 +0000)]
Merge "Stack APPLICATION_MEDIA_OVERLAY windows with relative layering." into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 07:00:54 +0000 (07:00 +0000)]
Merge "Minor text fixes." into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 06:54:18 +0000 (06:54 +0000)]
Merge "AAPT2: Generate R.txt" into oc-dev
Bill Yi [Thu, 13 Apr 2017 06:53:10 +0000 (23:53 -0700)]
Import translations. DO NOT MERGE
Change-Id: I3bf092ebb3c99f4708f20d2d303e201c1da1ae9a
Auto-generated-cl: translation import
TreeHugger Robot [Thu, 13 Apr 2017 06:48:25 +0000 (06:48 +0000)]
Merge "Catch exceptions in Vibrator to maintain compatibility" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 06:42:48 +0000 (06:42 +0000)]
Merge "OMS: Fix bug where overlay settings wouldn't persist" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 06:23:45 +0000 (06:23 +0000)]
Merge changes from topic 'api-review' into oc-dev
* changes:
MediaCas: combine openSession methods
MediaCas: address comments for API reviews
Bill Yi [Thu, 13 Apr 2017 05:38:20 +0000 (22:38 -0700)]
Import translations. DO NOT MERGE
Change-Id: I4d7599fdee360cf86ce1980b9759a692a493d21b
Auto-generated-cl: translation import
Winson Chung [Thu, 13 Apr 2017 04:53:59 +0000 (21:53 -0700)]
Fix issue with non-focusable PiP activities being resumed.
- When the change to finish activities was made in ag/
2067154, it exposed
an issue in pinned stacks where we would resume the next top activity
once the top activity finished pausing. Normally, the pinned stack is
not focusable, but since it has an alwaysFocusable menu activity it
becomes the focused stack and falls into this case.
Instead of finding the next top activity, we need to find the next top
focusable activity to resume, and fall through to focusing the top
activity in the next focusable stack if there is none.
Bug:
37199067
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testNoResumeAfterTaskOverlayFinishes
Change-Id: Ib79826ff38bb3beb38a40183ddc6819e5040bb27
Robert Carr [Tue, 11 Apr 2017 01:34:33 +0000 (18:34 -0700)]
Stack APPLICATION_MEDIA_OVERLAY windows with relative layering.
See accompanying frameworks/native commit
"SurfaceFlinger: Add parent-less relative layering" for a full explanation.
Test: Manual of bug repro steps. Plus tests for new SurfaceControl functionality included in frameworks/native.
Bug:
36693738
Change-Id: Ic54598117c1f44a206d33f03d0cc463fbef43fcc
TreeHugger Robot [Thu, 13 Apr 2017 04:36:45 +0000 (04:36 +0000)]
Merge "Use Context#startForegroundService in MTP provider" into oc-dev
Bill Yi [Thu, 13 Apr 2017 04:31:16 +0000 (21:31 -0700)]
Import translations. DO NOT MERGE
Change-Id: I140e40e34c4ee3482c87f180d292bdba8594961b
Auto-generated-cl: translation import
TreeHugger Robot [Thu, 13 Apr 2017 04:08:17 +0000 (04:08 +0000)]
Merge "Report app data fixup and prepare timings" into oc-dev
Daichi Hirono [Tue, 4 Apr 2017 04:13:24 +0000 (13:13 +0900)]
Address API review for ProxyFileDescriptorCallback
The CL revise the documentation for ProxyFileDescriptorCallback.
* Added explanation to onFsync.
* Added explanation about offset.
* Mentioned ErrnoException should contain E constants in OsConstants.
Bug:
35813046
Test: Build succeed
Change-Id: Ied2490b1913445ea8240eb3aaf7c12170ae4e42d
(cherry picked from commit
9555e30288fe984dcb788c496e7582c14faa66da)
TreeHugger Robot [Thu, 13 Apr 2017 03:36:23 +0000 (03:36 +0000)]
Merge "Revert "Make scrollbarSize in Material Design theme configurable"" into oc-dev
Jocelyn Dang [Thu, 13 Apr 2017 02:50:48 +0000 (02:50 +0000)]
Merge "Add set-mode command to turn battery saver mode on and off." into oc-dev
Hugo Benichi [Mon, 10 Apr 2017 13:45:13 +0000 (22:45 +0900)]
Captive portal: fix probe urls at network creation
This patch changes how url configuration values for captive portal
detection are read: instead of re-reading the settings at every probe
detection, the settings are read once when the NetworkMonitor associated
to a network is created.
If the settings are updated, the new values are picked up by new
networks, but not by existing networks. Since captive portal detection
is most important when joining WiFi networks, the newest available
settings values will still be used.
This change prepares introducing further changes for rotating probe
urls. Especially it helps making the detection strategy stateful with
respect to the lifecycle of a single NetworkMonitor.
Test: built, flashed, tested manually with various portal networks
Bug:
36532213
Merged-In: I71cc8bb8b996462f27f50798d67bceee5ffb898d
(cherry picked from commit
b03272c9b5d1b5c71ae591f0e38b1d139d11f19f)
Change-Id: I33ac2b52fea6099969c3fec9b60ba0131f9d672d
Hugo Benichi [Thu, 6 Apr 2017 05:36:39 +0000 (14:36 +0900)]
NetworkMonitor: improve captive portal validation logs
This patch adds probe type and url to all validation logs about web
probes sent for captive portal detection.
Test: built, flashed, looked at $ adb shell dumpsys connectivity
Bug:
36830206,
36532213
Merged-In: Iee2caaf6664f3d097f9d1888ccc5fece0a95994c
(cherry picked from commit
d9ac87ed65aa12b93e0b70f5e8560562c850fde0)
Change-Id: I5ab8bb117d2bbad123136dfbbf78cbe84a7f688e
Sudheer Shanka [Thu, 13 Apr 2017 01:53:28 +0000 (01:53 +0000)]
Merge "Update NPMS internal state when app idle parole state is changed." into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 01:29:27 +0000 (01:29 +0000)]
Merge "Fix regression when removing task." into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 01:27:50 +0000 (01:27 +0000)]
Merge "Work on issue #
36427964: SecurityException: Unable to find app..." into oc-dev
Sundeep Ghuman [Wed, 5 Apr 2017 00:23:29 +0000 (17:23 -0700)]
Listen to RSSI_CHANGED_ACTION broadcasts in WifiTracker.
This solves issues where the phone status bar and connected AP in the
picker are out of date.
Bug:
35971425
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/and
roid/settingslib/wifi/WifiTrackerTest.java
Change-Id: I2a7c50de6c754623fd262aac4e9e21d6bd7fc5cf
TreeHugger Robot [Thu, 13 Apr 2017 00:51:22 +0000 (00:51 +0000)]
Merge "Added strings for thermal shutdown warning" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 00:43:38 +0000 (00:43 +0000)]
Merge "Dump controller for AppWindowToken" into oc-dev
Wale Ogunwale [Thu, 13 Apr 2017 00:39:12 +0000 (00:39 +0000)]
Merge "Revert "Ensure visible activities when device is unlocked."" into oc-dev
Wale Ogunwale [Thu, 13 Apr 2017 00:36:34 +0000 (00:36 +0000)]
Revert "Ensure visible activities when device is unlocked."
Causes issues with window life-cycle...
Bug:
37119770
Bug:
37244415
Bug:
37281544
This reverts commit
7004a8801d0a60013681a86043bab74b4d42d680.
Change-Id: I0039db6e44488cd82ef745aa979bc8549fd8aeed
Steve McKay [Tue, 11 Apr 2017 19:22:10 +0000 (12:22 -0700)]
Remove support for auto-paging of cursors.
Auto-paging of cursors is being removed in favor of a support lib component.
Rationale:
1) Auto-paging as implemented has potential to negatively impact system health.
2) Similar functionality w/o system health concerns can be provided
specific to RecyclerView.
Test: Removed. CTS coverage updated.
Bug:
30927484
Change-Id: I43e62181d8ceeeba6265d44536967a2102751320
(cherry picked from commit
4677c2b7f0ec847f32acba067f9d2486bca56439)
Martijn Coenen [Wed, 12 Apr 2017 20:52:40 +0000 (13:52 -0700)]
Add persistentFeature application attribute.
This allows us to only mark processes as persistent
when a feature it actually depends on is present on
the device.
Also adds a "android.hardware.nfc.any" feature, to
indicate the device supports any of the NFC features
that require the NFC process to run persistently.
Bug:
36873979
Bug:
37269025
Test: NFC is still started on devices with NFC
Change-Id: I5792d75d8714f39718fa957177a632efcbbd37d3
Chad Brubaker [Wed, 12 Apr 2017 23:51:37 +0000 (23:51 +0000)]
Merge "Expose more settings to Instant Apps" into oc-dev
Evan Rosky [Wed, 12 Apr 2017 23:49:57 +0000 (23:49 +0000)]
Merge "Fix focus ordering with duplicate ids" into oc-dev
Jeremy Joslin [Wed, 5 Apr 2017 21:50:32 +0000 (14:50 -0700)]
Always call unbind.
Per a recent discussion unbind should always be called, even if
bind() returns false.
Restructured the NetworkScoreService code to allow for easier and
more robust testing of the inner ServiceConnection class.
Bug:
36999204
Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Change-Id: I08870b7109cb7f51cdab8b632b7d1d0898c3c015
Roozbeh Pournader [Wed, 12 Apr 2017 23:22:33 +0000 (23:22 +0000)]
Merge "Revert "Make selection end handle stick to selection at line end."" into oc-dev
Dianne Hackborn [Wed, 12 Apr 2017 23:14:42 +0000 (16:14 -0700)]
Debugging issue #
37272284: ActivityManager: SELinux tag not defined
Add a little more info to the exception message.
Test: manual
Change-Id: I7ccbd5720d0e6c22a6caa9bfcb24cf40effde804
Chris Wren [Wed, 12 Apr 2017 20:19:57 +0000 (16:19 -0400)]
don't interpret milliseconds as nanoseconds
The bug fix is in the readEvents() wrapper, but also make sure that
both the Event and LogReader interfaces only expose milliseconds.
No test changes, because the Java-layer didn't change, the bug was
in the JNI wrapper, below the level that's easily testable.
Bug:
37205954
Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics
Change-Id: I0c4ad9233a81bcf585ab525b3a5cc63fbb645093
Christopher Tate [Tue, 11 Apr 2017 18:30:10 +0000 (11:30 -0700)]
Introduce PACKAGE_FIRST_ADDED broadcast
When an app first appears on a device, this new broadcast is issued
including to manifest receivers. The more general PACKAGE_ADDED
broadcast continues to be issued for both first install and updates,
but is not delivered to manifest receivers of apps that target O+.
Bug
37219124
Test: manual
Change-Id: I59b0a0b0dce96a909076b41280771f63e59584be
Hyunyoung Song [Fri, 7 Apr 2017 06:04:19 +0000 (23:04 -0700)]
Update API, add more documentation on AdaptiveIconDrawable
and fix multiple miscellaneous bugs.
Bug:
37079814
Bug:
37100106
Bug:
34829216
Test: $ runtest --path=frameworks/base/core/tests/coretests/src/android/graphics/drawable/IconTest.java
Test: $ runtest --path=frameworks/base/services/tests/servicestests/src/com/android/server/pm/ShortcutManagerTest1.java
Test: $ runtest --path=frameworks/base/core/tests/coretests/src/android/grpahics/drawable/AdaptiveIconDrawableTest.java
Change-Id: I0f5b2232853031bf3860ebea2736e894d17e4d2e
Todd Kennedy [Mon, 10 Apr 2017 21:57:19 +0000 (14:57 -0700)]
Filter instant app content providers
Only expose the correct content providers depending upon which
component defines/exposes them.
Change-Id: I283c787165e33d9515068487f83de6d28616b427
Fixes:
35871462
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest
Yu Liu [Tue, 28 Mar 2017 23:50:11 +0000 (16:50 -0700)]
Fix some issues came up from the reviews of the newly added APIs
Test: Existing unit tests still pass.
BUG:
36554361
Change-Id: I6c2dab2e0df7f8578f92c70907f45aa69909892c
Rob Carr [Wed, 12 Apr 2017 22:46:22 +0000 (22:46 +0000)]
Merge "Fix auto-pip visibility issues." into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 22:40:06 +0000 (22:40 +0000)]
Merge changes from topics 'KeyboardFocusHighlight-oc-dev', 'KeyboardFocusHighlight_ mDefaultFocusHighlightEnabled-oc-dev', 'KeyboardFocusHighlight_ hasFocusStateSpecified-oc-dev' into oc-dev
* changes:
Fix broken CTS tests.
Draw a default focus highlight if needed.
Add a public API defaultFocusHighlightEnabled.
Detect unhandled keyboard focused state.
Jocelyn Dang [Fri, 31 Mar 2017 21:03:37 +0000 (14:03 -0700)]
Add set-mode command to turn battery saver mode on and off.
Affected test will be modified in ag/
2101279
Test: adb shell cmd battery unplug && adb shell cmd power set-mode 0
Bug:
31944272
Change-Id: Ia88e7e164aa9b8b4d0ab51f607a64b35e2159273
TreeHugger Robot [Wed, 12 Apr 2017 22:09:19 +0000 (22:09 +0000)]
Merge "clear calling identity before calling settings provider" into oc-dev
Amit Mahajan [Wed, 12 Apr 2017 22:02:34 +0000 (22:02 +0000)]
Merge "Add p2 option in openLogicalChannel." into oc-dev
Andrew Solovay [Fri, 7 Apr 2017 22:38:33 +0000 (15:38 -0700)]
doc: Add note to Context.bindService()
Per email from Dianne H, even if bindService() returns false, the
client should still call unbindService() to release the connection.
Doc is staged to:
http://go/dac-stage/reference/android/content/Context.html#bindService(android.content.Intent,%20android.content.ServiceConnection,%20int)
Bug:
37092557
Test: make ds-docs
Change-Id: I5849aaccec933ee7660b31241e4d8eff9ee1ef72
Dianne Hackborn [Wed, 12 Apr 2017 21:37:47 +0000 (21:37 +0000)]
Merge "Allow appops command to modify uid ops." into oc-dev
Sudheer Shanka [Wed, 12 Apr 2017 21:29:14 +0000 (14:29 -0700)]
Update NPMS internal state when app idle parole state is changed.
Fixes:
37250313
Test: 1. cts-tradefed run singleCommand cts-dev --module CtsHostsideNetworkTests -t \
com.android.cts.net.HostsideRestrictBackgroundNetworkTests
2. runtest -c com.android.server.NetworkPolicyManagerServiceTest frameworks-services
Change-Id: I5fcac397116a07fe9015b7dabf5bca57b0b23176
Svet Ganov [Wed, 12 Apr 2017 21:21:56 +0000 (21:21 +0000)]
Merge "[DO NOT MERGE] Allow multiple toasts for the focused app" into cw-f-dev am:
39c3d2cf16
am:
91ed4d7553 -s ours
Change-Id: Ia744f56107b83b6a5d5e236d24641bd7db71ab02
Julius D'souza [Wed, 12 Apr 2017 21:20:47 +0000 (21:20 +0000)]
DO NOT MERGE: Remove the development privelege level from SET_DISPLAY_OFFSET. am:
0a8ecc6886
am:
f72dd4142b -s ours
Change-Id: Ia99beb815b720219daecfdc9446c5ff2c4d1b16f
Roozbeh Pournader [Tue, 11 Apr 2017 23:23:45 +0000 (16:23 -0700)]
Switch i18n listeners to use IME hint locales
Previously, the i18n listeners were keyed off the text locales of the
TextView. This could create some unanticipated backward
compatibility headaches. The IME hint locales seems to be a better
match, since they are supposed to be used for input.
Fixes:
37249649
Fixes:
37133729
Fixes:
37222714
Bug: https://code.google.com/p/android/issues/detail?id=2626
Bug:
8319249
Bug:
33276673
Bug:
34394455
Bug:
37160895
Test: Updated and added CTS tests pass
Change-Id: If8a115f3e30ff1601dee426a504984e2ce24a776