OSDN Git Service
Hugo Benichi [Tue, 4 Apr 2017 00:50:20 +0000 (00:50 +0000)]
Merge "Move back networking policy logic into NetworkPolicyManagerService" into oc-dev
TreeHugger Robot [Tue, 4 Apr 2017 00:39:52 +0000 (00:39 +0000)]
Merge "Fixed NPE when FillService replies with a null FillResponse." into oc-dev
TreeHugger Robot [Tue, 4 Apr 2017 00:39:05 +0000 (00:39 +0000)]
Merge "Fixing issue with activity incorrectly auto-entering PiP." into oc-dev
TreeHugger Robot [Tue, 4 Apr 2017 00:35:37 +0000 (00:35 +0000)]
Merge "Add some strings that will be needed for QS changes" into oc-dev
TreeHugger Robot [Tue, 4 Apr 2017 00:33:42 +0000 (00:33 +0000)]
Merge "media: unhide mediarecorder's setVideoEncodingProfileLevel api." into oc-dev
TreeHugger Robot [Tue, 4 Apr 2017 00:23:30 +0000 (00:23 +0000)]
Merge "Expose animator settings to Instant Apps" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 23:55:14 +0000 (23:55 +0000)]
Merge "Adds appropriate filtering for instant apps" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 23:51:34 +0000 (23:51 +0000)]
Merge "support shutdown animation from bootanim" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 23:51:02 +0000 (23:51 +0000)]
Merge "Expose framework activities to Instant Apps" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 23:44:41 +0000 (23:44 +0000)]
Merge "Not send switch intents if there is no real intent" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 23:31:56 +0000 (23:31 +0000)]
Merge "Don't wtf() for reverse profile access; make it a warning." into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 23:30:36 +0000 (23:30 +0000)]
Merge "Whitelist DMAgent from bg check" into oc-dev
Evan Rosky [Mon, 3 Apr 2017 23:10:48 +0000 (23:10 +0000)]
Merge "Handle edge-case where the focus-search root is focused" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 22:47:28 +0000 (22:47 +0000)]
Merge "Refresh opacity and statefulness on tint change" into oc-dev
Pankaj Kanwar [Mon, 3 Apr 2017 22:35:59 +0000 (22:35 +0000)]
Merge "Address API concerns for isConcurrentVoiceAndDataAllowed and OnReceiveUssdResponseCallback." into oc-dev
Jason Monk [Mon, 3 Apr 2017 22:27:01 +0000 (18:27 -0400)]
Add some strings that will be needed for QS changes
Test: make
Bug:
34765805
Change-Id: I8824314ffe7c91502dc6b516506a98507cdf03ab
TreeHugger Robot [Mon, 3 Apr 2017 22:25:53 +0000 (22:25 +0000)]
Merge "Framework support to improve bg check CTS tests." into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 22:17:13 +0000 (22:17 +0000)]
Merge "Revert "Deprecate EXTRA_STREAM."" into oc-dev
Yohei Yukawa [Mon, 3 Apr 2017 22:14:25 +0000 (22:14 +0000)]
Merge "Warn if IMM#showSoftInputUnchecked() is called" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 22:13:26 +0000 (22:13 +0000)]
Merge "Remove/fix broken test due to change to DUMP permission check." into oc-dev
Sanket Padawe [Mon, 3 Apr 2017 22:10:24 +0000 (22:10 +0000)]
Merge "Make some intents public in SubscriptionManager." into oc-dev
Winson Chung [Mon, 3 Apr 2017 22:04:20 +0000 (15:04 -0700)]
Fixing issue with activity incorrectly auto-entering PiP.
- When the PiP menu activity was brought forward, we were inadvertently
setting the auto-enter supported flag for the PiP base activity as
well, which would trigger auto-enter PiP once the activity is moved
back to fullscreen and then subsequently finished.
Bug:
36352343
Bug:
36364010
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: Id1b800bf392d03b55562fb13374e33a5ff0ebda6
Felipe Leme [Mon, 3 Apr 2017 20:53:21 +0000 (13:53 -0700)]
Fixed NPE when FillService replies with a null FillResponse.
This problem was not detected by CTS tests because the exception is
"harmless" (it's just ignored), but it can be verified at logcat:
W Binder : Caught a RuntimeException from the binder stub implementation.
W Binder : java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.IntentSender android.service.autofill.FillResponse.getAuthentication()' on a null object reference
W Binder : at com.android.server.autofill.ViewState.maybeCallOnFillReady(ViewState.java:159)
Bug:
35707731
Test: CtsAutoFillServiceTestCases pass
Test: manual verification
Change-Id: I58330a7e91b2c186bf97897b7d39640010ca630b
Chad Brubaker [Mon, 3 Apr 2017 21:45:23 +0000 (14:45 -0700)]
Expose framework activities to Instant Apps
Bug:
36864579
Test: Instant apps can use choosers and account picker
Change-Id: Ie8d3a019ffc91497a314b2c9d5a09f6ca5b0ba9f
TreeHugger Robot [Mon, 3 Apr 2017 21:46:32 +0000 (21:46 +0000)]
Merge "TIF: Rename COLUMN_APP_LINK_INTENT_URI to COLUMN_INTENT_URI" into oc-dev
Keun-young Park [Thu, 23 Mar 2017 20:46:24 +0000 (13:46 -0700)]
support shutdown animation from bootanim
- init will set sys.powerctl property and run bootanim.
- Use /oem/media/shutdownanimation.zip or
/system/media/shutdownanimation.zip for animation file.
If none of them exist, android animation will be used.
- Disable audio playing for shutdown animation.
- Disable TimeCheckThread for shutdown animation. It
accesses /data partition and can block umount.
bug:
36526187
Test: many reboots
Change-Id: If02c73cda2015317d88d056cd45201208da49946
TreeHugger Robot [Mon, 3 Apr 2017 21:41:12 +0000 (21:41 +0000)]
Merge "Remove workaround for end() not supported in some app" into oc-dev
Chad Brubaker [Mon, 3 Apr 2017 21:34:50 +0000 (14:34 -0700)]
Expose animator settings to Instant Apps
Bug:
36861394
Test: Instant Apps can access the settings
Change-Id: I0e414cb068a47e9a6f62239ffcb922de54586a71
TreeHugger Robot [Mon, 3 Apr 2017 21:21:13 +0000 (21:21 +0000)]
Merge "Make Color non-final because apps break..." into oc-dev
Makoto Onuki [Mon, 3 Apr 2017 19:48:42 +0000 (12:48 -0700)]
Don't wtf() for reverse profile access; make it a warning.
Bug:
36003688
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests
Change-Id: I6d6a73e1d9281dc0b92186dd0666865b0f6b3f1c
TreeHugger Robot [Mon, 3 Apr 2017 20:55:11 +0000 (20:55 +0000)]
Merge "Javadoc fix for View.setTooltipText" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 20:35:14 +0000 (20:35 +0000)]
Merge "Persistent connection to DO/PO service." into oc-dev
Jeff Sharkey [Mon, 3 Apr 2017 20:14:10 +0000 (20:14 +0000)]
Revert "Deprecate EXTRA_STREAM."
This reverts commit
a0ba51c2ab75c8e0406bbd43742597552b6dae98.
Bug:
35293781
Change-Id: I5f0b9000535ac0bcbbe125fe781c20c5fb0c8782
Makoto Onuki [Mon, 3 Apr 2017 18:24:25 +0000 (11:24 -0700)]
Remove/fix broken test due to change to DUMP permission check.
Bug
36854321
Test: adb shell am instrument -e class 'com.android.server.pm.ShortcutManagerTest2' -w com.android.frameworks.servicestests
Change-Id: I80f2a326b70f8d0598246732510e3725a0c58871
Hangyu Kuang [Sat, 10 Sep 2016 00:34:52 +0000 (17:34 -0700)]
media: unhide mediarecorder's setVideoEncodingProfileLevel api.
Test: GoogleCmaera app.
bug:
35151543
Change-Id: I37dee948298a14d338bca670af0bc01450c83529
Dongwon Kang [Fri, 24 Mar 2017 00:05:38 +0000 (17:05 -0700)]
TIF: Rename COLUMN_APP_LINK_INTENT_URI to COLUMN_INTENT_URI
Test: cts-tradefed run cts -m CtsTvTestCases
Bug:
35856179
Change-Id: I284cb1b764203c646e3edb3f105d90d59a7688d1
Makoto Onuki [Mon, 3 Apr 2017 19:45:08 +0000 (19:45 +0000)]
Merge "Revert "Push chooser targets to the shortcut manager."" into oc-dev
pkanwar [Tue, 28 Mar 2017 23:40:28 +0000 (16:40 -0700)]
Address API concerns for isConcurrentVoiceAndDataAllowed and
OnReceiveUssdResponseCallback.
Bug:
35766890
Test: Existing tests.
Change-Id: I1ddbdadafa2611edb0ecfce53d5cf32434e5236c
(cherry picked from commit
89731a8389c9726172989f1677b76cc0f6a96f4f)
Winson Chung [Mon, 3 Apr 2017 19:22:54 +0000 (19:22 +0000)]
Merge "Fix menu visibility while updating dismiss fraction." into oc-dev
Jason Monk [Mon, 3 Apr 2017 19:11:36 +0000 (19:11 +0000)]
Merge "Add test API for if the device supports QS" into oc-dev
Doris Liu [Mon, 3 Apr 2017 18:08:11 +0000 (11:08 -0700)]
Remove workaround for end() not supported in some app
BUG:
36241584
Test: Follow repro steps of comment #1 in the bug above
Change-Id: I1bf27a7cc9cc2bd398c372623d7978e838f1d8b2
Romain Guy [Mon, 3 Apr 2017 18:49:20 +0000 (11:49 -0700)]
Make Color non-final because apps break...
Bug:
36858735
Test: Manual run of crashing app
Change-Id: I3eb06260074ee6950bc91731e7093a26d7e32b49
Vladislav Kaznacheev [Thu, 30 Mar 2017 00:14:37 +0000 (17:14 -0700)]
Javadoc fix for View.setTooltipText
Change "unless is not handled" to "unless it is handled"
Bug:
36668465
Test: read the Javadoc
Change-Id: I432f24e313358b4448aff2ff9de382d4a58652bc
Evan Rosky [Mon, 3 Apr 2017 18:37:20 +0000 (11:37 -0700)]
Handle edge-case where the focus-search root is focused
Bug:
36854948
Test: Added check to FocusFinderTest#testFindNextFocus
Change-Id: Iac6ea6e255d16d4cd1f7fe053ba47e171fff73e0
Tony Mak [Mon, 3 Apr 2017 17:39:45 +0000 (18:39 +0100)]
Whitelist DMAgent from bg check
This should be reverted before O is shipped.
Test: Found DMAgent in the whitelist in Settings.
Bug:
36856786
Change-Id: I7828566e4bc93a30457c594471fa43270c0bf3b3
TreeHugger Robot [Mon, 3 Apr 2017 18:23:56 +0000 (18:23 +0000)]
Merge "Add friction icon for metered networks." into oc-dev
Winson Chung [Mon, 3 Apr 2017 18:23:24 +0000 (18:23 +0000)]
Merge "Ensuring multi-window callbacks contain new configuration and are in order" into oc-dev
Winson Chung [Mon, 3 Apr 2017 18:22:35 +0000 (18:22 +0000)]
Merge "Fixing regression in PiP TV." into oc-dev
Brad Ebinger [Mon, 3 Apr 2017 18:12:37 +0000 (18:12 +0000)]
Merge "Move CALL_PRIVILEGED/EMERGENCY to @SystemApi" into oc-dev
Winson Chung [Mon, 3 Apr 2017 17:44:57 +0000 (10:44 -0700)]
Fix menu visibility while updating dismiss fraction.
Bug:
36225602
Test: Enter PIP, move, tap field to show IME
Change-Id: Idf47728a2fa40703e4e68b2cc0925167b8e80c0c
Chad Brubaker [Mon, 3 Apr 2017 17:34:03 +0000 (17:34 +0000)]
Merge "Rename READ_PHONE_NUMBER to READ_PHONE_NUMBERS" into oc-dev
Andrii Kulian [Mon, 3 Apr 2017 17:33:56 +0000 (17:33 +0000)]
Merge "Fix some WM unit tests" into oc-dev
Daniel Nishi [Mon, 3 Apr 2017 17:25:09 +0000 (17:25 +0000)]
Merge "Use KB instead of kB." into oc-dev
Sanket Padawe [Fri, 31 Mar 2017 19:39:50 +0000 (12:39 -0700)]
Make some intents public in SubscriptionManager.
+ As per https://docs.google.com/document/d/1K8C7Ly8YVu032FQlwEdkv3ovcTYQCTvy0PaMax5PmZI/edit#heading=h.g6rt8vhyfjj1
Bug:
36572866
Test: Builds successfully.
Change-Id: Ibb1d1faae9a002ccb530446e24897955c12076e1
Yohei Yukawa [Fri, 31 Mar 2017 21:28:18 +0000 (14:28 -0700)]
Warn if IMM#showSoftInputUnchecked() is called
With this CL, an @hide method InputMethodManager#showSoftInputUnchecked
is marked to be deprecated and starts showing a warning message in logcat
when it gets called to tell application developers who are still using
old implementation fo android.support.v7.widget.SearchView that they
need to switch to support library ver. 26.0 or later version.
Other than that there is no behavior change in this CL.
Test: Manually verified as follows:
1. Flash an OS image
2. Complete the setup wizard (if any).
3. In N MR-1 AOSP repository
frameworks/support/gradlew -p frameworks/support support-v7-demos:assemble
4. adb install out/host/gradle/frameworks/support/support-v7-demos/build/outputs/apk/support-v7-demos-debug.apk
5. adb logcat -s InputMethodManager
6. adb shell am start -n com.example.android.supportv7/.Support7Demos
7. Tap AppCompat -> Action Bar -> Action Bar Usage
8. Tap the magnifier icon.
9. Make sure that the software keyboard shows up.
10. Make sure that in logcat a warning that showSoftInputUnchecked
is going to be removed is shown.
Fixes:
36015425
Change-Id: If01316a0c2a210f9ea03b53700d0ef651955ba9c
TreeHugger Robot [Mon, 3 Apr 2017 16:53:49 +0000 (16:53 +0000)]
Merge "Fix deleting Misc channel for o-aps" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 16:43:02 +0000 (16:43 +0000)]
Merge "Expose instant app to exposed providers" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 16:37:44 +0000 (16:37 +0000)]
Merge "Disable sounds on menu button" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 16:37:07 +0000 (16:37 +0000)]
Merge "Fix battery icon dark initialization" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 16:34:12 +0000 (16:34 +0000)]
Merge "Allow committing allowing state loss on detached FragmentManager." into oc-dev
Winson Chung [Sat, 1 Apr 2017 02:42:32 +0000 (19:42 -0700)]
Fixing regression in PiP TV.
- Don't clobber the state if we are deferring resizing due to finishing
activities.
- Fix issue with PiP tasks being visible after the stack is removed, due
to it being put below a non-fullscreen task in the fullscreen stack.
Instead just move it to the back of the stack.
Bug:
36592307
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: Ia18fe155b8a045a8ffea84612fd08af3ef3982d8
Philip P. Moltmann [Fri, 31 Mar 2017 19:42:52 +0000 (12:42 -0700)]
Not send switch intents if there is no real intent
When resolving activtities for the USB device/accessory connection UI a
special intent that allows to switch between profiles get added. This
also gets added if there is no activity in the secondary profile that
can be started.
Fixes:
36544815
Test: Added work profile. Add USB handling app only to personal profile
and plugged in USB device -> no crash anymore
Change-Id: I311ddd53b3ff0c8406e62bac57972d4b790ebddc
TreeHugger Robot [Mon, 3 Apr 2017 15:57:34 +0000 (15:57 +0000)]
Merge "Fix broken perf tests" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 15:37:13 +0000 (15:37 +0000)]
Merge "QS: Add transient animations for bluetooth and wifi" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 15:05:34 +0000 (15:05 +0000)]
Merge "Fix losing status bar icons on config changes" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 14:45:52 +0000 (14:45 +0000)]
Merge "Implement service filtering" into oc-dev
Bryce Lee [Mon, 3 Apr 2017 14:30:42 +0000 (14:30 +0000)]
Merge "Add app bounds to configuration." into oc-dev
Geoffrey Pitsch [Mon, 3 Apr 2017 14:19:11 +0000 (10:19 -0400)]
Fix deleting Misc channel for o-aps
Change-Id: If5ebebcd1b983e12dee860801db578dfe882bd9c
Fixes:
36816111
Test: runtest systemui-notification
Diego Perez [Mon, 27 Mar 2017 15:49:17 +0000 (16:49 +0100)]
Fix broken perf tests
Do not dispose Bridge on tearDown. The concept of disposing the Bridge
only made sense when we were loading it dynamically. Some classes have
static initializers that will fail after the dispose (like Typeface).
Test: N/A
Change-Id: I9c934432232bda02a4d26425587096fb6dc957b0
(cherry picked from commit
f1532e36e16e2b55f175a24f11df91cf344833ff)
Chris Wren [Mon, 3 Apr 2017 13:42:38 +0000 (13:42 +0000)]
Merge "standardize network policy notification IDs" into oc-dev
Jason Monk [Mon, 3 Apr 2017 13:34:13 +0000 (13:34 +0000)]
Merge "Switch cast over to support library dialog" into oc-dev
Jorim Jaggi [Mon, 3 Apr 2017 12:40:39 +0000 (14:40 +0200)]
Revert "Temporarily bg-whitelist the default container package-cleaning service"
Causes bootloop.
This reverts commit
f16e7423c79c4ccccf43265a5b1966eb8e7f7be7.
TreeHugger Robot [Mon, 3 Apr 2017 11:06:53 +0000 (11:06 +0000)]
Merge "Revert "Whitelist ManagedProvisioning from bg check"" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 09:52:13 +0000 (09:52 +0000)]
Merge "Prevent NPE when draw is called without bounds being set Test: unit test inside AdaptiveIconDrawableTest.java" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 08:36:04 +0000 (08:36 +0000)]
Merge "Lower-level user enumeration; fix disabled bug." into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 07:37:44 +0000 (07:37 +0000)]
Merge "We really want f_frsize and f_bavail." into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 07:34:01 +0000 (07:34 +0000)]
Merge "Camera: add batching support to HAL1 recording path" into oc-dev
Hyunyoung Song [Mon, 3 Apr 2017 07:23:49 +0000 (00:23 -0700)]
Prevent NPE when draw is called without bounds being set
Test: unit test inside AdaptiveIconDrawableTest.java
Change-Id: Ic3260ce9c6bae595c7eba7be1cd7ae249939a1cf
TreeHugger Robot [Mon, 3 Apr 2017 06:54:59 +0000 (06:54 +0000)]
Merge "Process FuseAppLoop messages in Handler.Callback" into oc-dev
Jeff Sharkey [Mon, 3 Apr 2017 05:42:17 +0000 (23:42 -0600)]
Lower-level user enumeration; fix disabled bug.
UserManager may not have been started yet, so discover users by
looking at filesystem.
Fix disabled bug where default should be "false."
Test: builds, boots
Bug:
36794413
Change-Id: If91fd27b955175072228a93aab4b8ac3b27df0bf
Jeff Sharkey [Mon, 3 Apr 2017 05:24:40 +0000 (23:24 -0600)]
We really want f_frsize and f_bavail.
It's confusing, but f_bsize is not the value you're looking for; the
real block size is f_frsize. Fix all those bugs.
Also, the vast majority of clients are interested in the usable
disk space, not including reserved space.
Test: builds, boots
Bug:
36840579
Change-Id: Ib1470389afd49c14cab62282ec1e978ebb2c4791
Daichi Hirono [Mon, 3 Apr 2017 04:18:40 +0000 (13:18 +0900)]
Process FuseAppLoop messages in Handler.Callback
Previously FuseAppLoop instantiates Runnable for each command, which
causes lots of instantiation and GC.
Test: CTS
Bug:
35229514
Change-Id: Ifea098e5ade044b1a954c0b714c5b3270a95cd1a
Jeff Sharkey [Fri, 31 Mar 2017 20:08:23 +0000 (14:08 -0600)]
Enforce PACKAGE_USAGE_STATS for usage data.
Some system services are offering package usage data through both
public/system APIs and through dump() calls. In principle, usage
data hould always be protected with PACKAGE_USAGE_STATS, so start
enforcing that. (Otherwise if a user blocked PACKAGE_USAGE_STATS
access to an app, that app could still obtain the data via dump()
if they held the DUMP permission.)
Bottom line, let's respect the user's wishes.
Protecting the entire output like this is pretty blunt, but future
CLs can add more nuance to the output if desired.
Test: cts-tradefed run commandAndExit cts-dev -m CtsSecurityTestCases -t android.security.cts.ServicePermissionsTest
Bug:
32806790
Change-Id: I46173562713bea7d89e12a4313c78eb52ea8d77d
Jeff Sharkey [Fri, 31 Mar 2017 20:08:23 +0000 (14:08 -0600)]
Consistent dump() permission checking.
This change introduces new methods on DumpUtils that can check if the
caller has DUMP and/or PACKAGE_USAGE_STATS access. It then moves all
existing dump() methods to use these checks so that we emit
consistent error messages.
Test: cts-tradefed run commandAndExit cts-dev -m CtsSecurityTestCases -t android.security.cts.ServicePermissionsTest
Bug:
32806790
Change-Id: Iaff6b9506818ee082b1e169c89ebe1001b3bfeca
TreeHugger Robot [Mon, 3 Apr 2017 00:21:50 +0000 (00:21 +0000)]
Merge "Override bidi property of new emojis" into oc-dev
Jesse Evans [Fri, 31 Mar 2017 00:30:00 +0000 (17:30 -0700)]
Adds appropriate filtering for instant apps
Adds a new filter that includes downloaded and launcher apps, as well
as instant apps, and ensured that instant apps do not appear where
they previously were not expected (downloaded and launcher apps).
Test: Added testing for the existing filter and the new one.
Bug:
36515324
Change-Id: I7ef94442bae14ee18d4b4d70f04f9bf62af9eff8
(cherry picked from commit
a4e0356ed48021c353a6964ec8ea4c6b55006282)
Yin-Chia Yeh [Wed, 22 Mar 2017 01:48:44 +0000 (18:48 -0700)]
Camera: add batching support to HAL1 recording path
Test: Angler HAL1 + batching normal recording mode
Bug:
35997432
Change-Id: Ibe82e7fed8d6e57291e0c009fb26ce156e66eee7
Chris Wren [Sat, 1 Apr 2017 16:15:30 +0000 (16:15 +0000)]
Merge "move network notification IDs to central registry" into oc-dev
Jakub Pawlowski [Sat, 1 Apr 2017 15:28:29 +0000 (15:28 +0000)]
Merge changes from topic 'bt5-cherry-pickery-1' into oc-dev
* changes:
Bluetooth 5 advertising duration refactoring (4/4)
Bluetooth LE Advertising minor improvements
Fix advertise data size estimation
Hide periodic scanning
Bluetooth API spelling fixes ("wether" -> "whether")
Jakub Pawlowski [Fri, 31 Mar 2017 02:10:08 +0000 (19:10 -0700)]
Bluetooth 5 advertising duration refactoring (4/4)
Expose both duration and maximum extended advertising events to limit
advertising time.
Test: manual
Bug:
30622771
Change-Id: I44df300995ef985526b93f8c24389775720b3432
(cherry picked from commit
5a355610fe6ac0460f7130375de97b4d7bae7ba4)
Jakub Pawlowski [Thu, 30 Mar 2017 18:19:24 +0000 (11:19 -0700)]
Bluetooth LE Advertising minor improvements
This patch adds some additional error checking for the advertising set
parameters, and some more comments.
Test: manual
Bug:
30622771
Change-Id: I87bd44f4179ef63694ad3ed656dc2acc52e40f1e
(cherry picked from commit
f4ed33f5fa6ffa3bda6faff773a3fb90b16a760c)
Jakub Pawlowski [Fri, 31 Mar 2017 23:49:13 +0000 (16:49 -0700)]
Fix advertise data size estimation
UUID in service data field can be 2, 4, or 16 bytes long.
Test: manual
Bug:
36553478
Change-Id: Ib5ba2d16065496ca311e8642a15a7ea6bc84d4c1
(cherry picked from commit
72e9e9f81504559ca18b71358203b1b39d9f0581)
Jakub Pawlowski [Thu, 30 Mar 2017 00:00:44 +0000 (17:00 -0700)]
Hide periodic scanning
Bug:
30622771
Test: manual
Change-Id: I5d786b13cf99287732e16769e2563ac7c4fe715c
(cherry picked from commit
63fad69a19bbfe78e64d56c9d775ddf6d7cd84c9)
Jakub Pawlowski [Thu, 23 Mar 2017 05:44:09 +0000 (22:44 -0700)]
Bluetooth API spelling fixes ("wether" -> "whether")
Bug:
30622771
Test: manual
Change-Id: I01c8b18d0057f2fd6e477ce2ca0b779321b6c0e6
(cherry picked from commit
08ed924d8922eec0555f6a860d80e6e2770c8a2d)
TreeHugger Robot [Sat, 1 Apr 2017 05:31:01 +0000 (05:31 +0000)]
Merge "Revert "Layoutlib changes to support the new ResourceUrl"" into oc-dev
Bryce Lee [Thu, 30 Mar 2017 16:34:15 +0000 (09:34 -0700)]
Add app bounds to configuration.
The system previously overrode the display size for a specific scope
(task/activity/etc.) by setting the associated Configuration's
screenWidthDp/screenHeightDp. This leads to two issues. First, the
conversion of screen size from pixels to display independent pixels
and then upconverting later on leads to rounding errors. Secondly,
the screenWidthDp and screenHeightDp values account for insets, such
as the status bar. These however are not reflected in the display
size when returned from Display#getMetrics/getSize.
This changelist addresses the issue by adding a Rect value to
Configuration which stores the app display bounds. This is always set
at the display level and overridden as appropriate. As the proper
app insets are accounted for at the root configuration, all overrides
(outside of specific exceptions) are the result of the intersection
between the requested bound and the parent bound.
Change-Id: I2c4fcd0bee92af12aabbca258de05b4ec061d0e1
Fixes:
34338931
Bug:
36812336
Bug:
36676979
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsAppTestCases android.app.cts.AspectRatioTests
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerDisplayTests
Test: bit FrameworksServicesTests:com.android.server.wm.AppBoundsTests
TreeHugger Robot [Sat, 1 Apr 2017 04:17:41 +0000 (04:17 +0000)]
Merge changes from topic 'bitmapfactory-options-outdecodecolorspace' into oc-dev
* changes:
Documentation for PorterDuffXfermode
Query color space before decoding a bitmap
TreeHugger Robot [Sat, 1 Apr 2017 04:16:36 +0000 (04:16 +0000)]
Merge "Fix tuner sub-screens attach" into oc-dev
TreeHugger Robot [Sat, 1 Apr 2017 03:38:07 +0000 (03:38 +0000)]
Merge "Bluetooth: Add additional BluetoothSocket logging to root cause errors" into oc-dev
TreeHugger Robot [Sat, 1 Apr 2017 03:16:35 +0000 (03:16 +0000)]
Merge "Handle disabled packages as removed." into oc-dev