OSDN Git Service
Kevin Chyn [Mon, 3 Apr 2017 20:37:48 +0000 (13:37 -0700)]
Implement enumerate in FingerprintService
Enumeration will happen only for the current active user.
Fixes
35358801
Test: manual
Change-Id: I4c935626edba6eceb1aec4f79a7b3a39313943a5
TreeHugger Robot [Fri, 7 Apr 2017 22:21:37 +0000 (22:21 +0000)]
Merge "Add RecommendationPlugin for Cloud Print" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 22:05:14 +0000 (22:05 +0000)]
Merge changes I5d41419a,I763be06c into oc-dev
* changes:
Introduce android.anim thread in system_server
Fix thread booster
TreeHugger Robot [Fri, 7 Apr 2017 22:04:04 +0000 (22:04 +0000)]
Merge "copy 'visbileToInstantApps' setting" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 22:00:40 +0000 (22:00 +0000)]
Merge "Don't show alert window notifications when in Vr mode." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 21:56:32 +0000 (21:56 +0000)]
Merge "AAPT2: fixing the -c flag being ignored" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 21:46:34 +0000 (21:46 +0000)]
Merge "MediaPlayer: hide BufferingParams API" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 21:44:45 +0000 (21:44 +0000)]
Merge "ViewRootImpl: Fix child lifetime." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 21:42:46 +0000 (21:42 +0000)]
Merge "Show recents at correct time when starting activity in docked stack" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 20:55:10 +0000 (20:55 +0000)]
Merge "renaming/removing fingerprints should be reflected in UI immediately" into oc-dev
Wale Ogunwale [Fri, 7 Apr 2017 15:53:41 +0000 (08:53 -0700)]
Show recents at correct time when starting activity in docked stack
Previous logic relied on the returnTo type of the task of the activity
we are launching which can get the wrong signal at times because the
original task might have been started from home, but since we are
already in docked mode it shouldn't cause recents activity to be
launched.
We now decide if recents ability should be shown based on if the home
stack is currently visible at the time we started the new activity.
Also, renamed ActivityStack.getStackVisibilityLocked() to
ActivityStack.shouldBeVisible() since it is used to determine if the
stack should be visible and also so it isn't confused with the new
method ActivityStack.isVisible() which returns true if the stack is
currently visible.
Test: manual
Change-Id: I051e72ce93c886d25526af2afef851c95812ab3e
Fixes:
37005549
Andrii Kulian [Fri, 7 Apr 2017 20:22:54 +0000 (20:22 +0000)]
Merge "Add hidden API to check support of Multi-Display" into oc-dev
Jorim Jaggi [Tue, 28 Mar 2017 17:50:01 +0000 (18:50 +0100)]
Introduce android.anim thread in system_server
We create a new thread on which everything is running that
directly impacts window animations, i.e. layout, anim tick and
starting window creation. This is such that any work on
android.display can not lead to jank in the window animation,
specifically lock contention on activity manager lock that blocks
callbacks from android.display into AM can not lead to window
animation jank.
Test: Run animation, take systrace, make sure animation is on
android.anim
Test: AppWindowContainerControllerTestTest: AppWindowContainerControllerTestss
Fixes:
36792959
Change-Id: I5d41419a709b7984724e7053a3afdcc1ffe1aaa2
Charles He [Fri, 7 Apr 2017 20:06:16 +0000 (20:06 +0000)]
Merge "FingerprintService: check current user correctly" into oc-dev
Todd Kennedy [Fri, 7 Apr 2017 18:38:39 +0000 (11:38 -0700)]
copy 'visbileToInstantApps' setting
Change-Id: I342a133ae8d7f38008cb03706d160e6f2e2cca97
Fixes:
37002720
Test: Start instant app [adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d http://www.realestate.com.au/property-apartment-nsw-pyrmont-
124879602] and see that hitting the 'share' icon works
Robert Carr [Fri, 7 Apr 2017 02:53:07 +0000 (19:53 -0700)]
ViewRootImpl: Fix child lifetime.
As far as I can tell this has always been broken. We've always had
intermittent reports of buffer-queue-abandoned as well (a recent bug
came with some reports from N). During onStop SurfaceView relies on
onWindowVisibilityChanged, to trigger a visibility change. At this
point SurfaceView will emit the SurfaceDestroyed callback in order to
stop the client from further use of the Surface. The contract we've
been using with ViewRootImpl is at any point following
Activity.performStop returning the WindowManager was free to destroy
the Surfaces. This is why in setWindowsStopped we destroy the hardware
resources for the ViewRoot. However we aren't dispatching anything to
the SurfaceView. The WindowManager will send an app visibility
notification, but that would go through the handler. This means by the
time we return from Stop, there is no guarantee that the
onWindowVisibilityChanged callbacks have been invoked at all. It
seemed most sensible to dispatch the visibility callbacks directly. We
also ensure that getHostVisibility will return false after this point,
so that performTraversals will not reverse our visibility request if
it occurs again prior to the window visibility notification from the
WindowManager. We also guard against emitting a second window
visibility changed callback in the traversals. I don't know at this
point what value the window visibility notification provides but I
don't feel excited about removing it in this CL at this point in
the development cycle.
Test: Put Chrome in PiP. Turn screen off. No Crash!
Bug:
36561071
Change-Id: Id1673561b2299d477b2761b3ac6afa14eabbf7fb
TreeHugger Robot [Fri, 7 Apr 2017 19:21:51 +0000 (19:21 +0000)]
Merge "Special-case English for DateTime and Time key listeners" into oc-dev
Wale Ogunwale [Fri, 7 Apr 2017 19:06:50 +0000 (19:06 +0000)]
Merge "Revert "Do not make strong reference to Resources."" into oc-dev
Ying Xu [Fri, 7 Apr 2017 18:47:54 +0000 (18:47 +0000)]
Merge "Add a carrier option to hide the option of "Enhanced 4G LTE Mode"" into oc-dev
Bryce Lee [Fri, 7 Apr 2017 18:42:23 +0000 (18:42 +0000)]
Revert "Do not make strong reference to Resources."
This reverts commit
2d2315a66d81d29896e6a0ffedbfbbed3981b9ed.
Reason for revert: possible cause for b/
37156733
Change-Id: I02d468449f0632d1281ab5ad2a381e7e36a5b0ea
TreeHugger Robot [Fri, 7 Apr 2017 18:34:34 +0000 (18:34 +0000)]
Merge "Color management, the missing pieces" into oc-dev
Geoffrey Pitsch [Fri, 7 Apr 2017 18:16:30 +0000 (18:16 +0000)]
Merge "Don't delete new notification channels not present in backup" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 18:13:22 +0000 (18:13 +0000)]
Merge "Remove WebView-fallback code for handling the non-functional stub." into oc-dev
Andrii Kulian [Fri, 7 Apr 2017 17:54:00 +0000 (10:54 -0700)]
Add hidden API to check support of Multi-Display
Added ActivityManager#supportsMultiDisplay() to check if system
supports running activities on secondary displays.
Bug:
36776777
Test: android.server.cts.ActivityManagerDisplayTests
Test: #testMultiDisplayDisabled
Change-Id: I18f98f2f6a9e865ad8dc63a470210190536d3271
TreeHugger Robot [Fri, 7 Apr 2017 17:37:46 +0000 (17:37 +0000)]
Merge "Fix theming on brightness dialog" into oc-dev
Adrian Roos [Fri, 7 Apr 2017 17:35:44 +0000 (17:35 +0000)]
Merge "Revert "Ignore a broken test until it can be fixed."" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 17:24:57 +0000 (17:24 +0000)]
Merge "Make sure to synchronize on references to plugin dependencies" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 17:23:31 +0000 (17:23 +0000)]
Merge "Synchronize on sysui dependency references" into oc-dev
Philip P. Moltmann [Thu, 6 Apr 2017 02:51:08 +0000 (19:51 -0700)]
Add RecommendationPlugin for Cloud Print
Reuses already existing infrastructure. The mMDNSFilteredDiscovery lambda
is called for every network service that supports #PRIVET_SERVICE. Then
the plugin checks the txt fields to make sure the printer is valid. The
check is not complete but good enough to make sure this is either a
cloud print capable printer or something that tries really hard.
Test: Connected to network with three printers, 2 GCP capable. Found the
two printers
Fixes:
35766193
Change-Id: I7c9180c8c154fa092fec5b943a94bad77da74c86
Mihai Nita [Fri, 7 Apr 2017 15:25:06 +0000 (08:25 -0700)]
AAPT2: fixing the -c flag being ignored
Bug:
36999175
Test: manual
Change-Id: Id9a4a00a3b37bc088d86df7c75bbe711536b980f
TreeHugger Robot [Fri, 7 Apr 2017 16:03:29 +0000 (16:03 +0000)]
Merge "AOD: More VisD updates" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 15:59:12 +0000 (15:59 +0000)]
Merge changes If96c0146,I0d68ad60 into oc-dev
* changes:
Improved accessibility behavior of the notification shelf
Fixed a bug where the indeterminate progressbar janky
Chen Xu [Fri, 7 Apr 2017 15:53:07 +0000 (15:53 +0000)]
Merge "remove deprecated API sendDialerCode" into oc-dev
Bryce Lee [Fri, 7 Apr 2017 14:58:13 +0000 (14:58 +0000)]
Merge "Check component before notifying activity is visible." into oc-dev
Romain Guy [Wed, 5 Apr 2017 02:38:50 +0000 (19:38 -0700)]
Color management, the missing pieces
Implement missing color management pieces for bitmaps:
- Bitmap.createBitmap(Bitmap src, ...) now creates a bitmap
in the same color space as the source bitmap
- Bitmap.createScaledBitmap() now creates a bitmap in the
same color space as the source bitmap
- Bitmap.createBitmap(..., ColorSpace colorSpace) to create
bitmaps in a specific color space
- Fix copy from A8 to F16
- Copying bitmaps in F16 or with a color space does not work,
it's currently a limitation in Skia
Bug:
36905374
Test: BitmapColorSpaceTest
Change-Id: I0092fe4432511db50daa3a9393389a9db05e0c2a
TreeHugger Robot [Fri, 7 Apr 2017 14:45:42 +0000 (14:45 +0000)]
Merge "Removed unused variables in PerformBackupTask#finalizeBackup()" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 14:12:02 +0000 (14:12 +0000)]
Merge "Expose package_verifier_user_consent to Instant Apps" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 14:11:35 +0000 (14:11 +0000)]
Merge "Fix format for VR virtual display backing buffers" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 13:19:04 +0000 (13:19 +0000)]
Merge "Change requestWait API according to request" into oc-dev
Jorim Jaggi [Fri, 7 Apr 2017 10:16:33 +0000 (12:16 +0200)]
Fix thread booster
If thread was boost priority already before boosting we reset it
to default priority after.
Test: Open app, run systrace, make sure priorities are right
Bug:
36631902
Change-Id: I763be06c0dc68db73548b22f96dd07864a6ace1f
Wale Ogunwale [Thu, 6 Apr 2017 14:09:51 +0000 (07:09 -0700)]
Don't show alert window notifications when in Vr mode.
Change-Id: I6ef60682197f6581fb101598290b2390ea676091
Fixes:
35854095
Test: manual
Gustav Sennton [Thu, 6 Apr 2017 15:18:02 +0000 (16:18 +0100)]
Remove WebView-fallback code for handling the non-functional stub.
We have already removed the non-functional WebView stub, so we can now
remove the logic ensuring that a primary device user could use any
valid WebView package even when a secondary user did not have any
WebView package to choose from (since all device users should always
have a valid package to use as WebView implementation).
Bug:
34730873
Test: run WebViewUpdateServiceTest tests.
Test: Create new user, disable Chrome for that user, ensure WebView
loads for that user and for the primary user.
Change-Id: Ia77cc2efd9e40a157fb5b68a988425ef15508033
TreeHugger Robot [Fri, 7 Apr 2017 12:40:19 +0000 (12:40 +0000)]
Merge "Add NETWORK_STACK permission" into oc-dev
Filip Pavlis [Fri, 7 Apr 2017 10:31:39 +0000 (10:31 +0000)]
Merge "Omit using ctor of PreferenceViewHolder in tests." into oc-dev
Michal Karpinski [Fri, 7 Apr 2017 09:47:02 +0000 (10:47 +0100)]
Removed unused variables in PerformBackupTask#finalizeBackup()
The unused variables got left behind after changes in ag/
1841867.
Bug:
35994670
Test: it builds
Change-Id: Ic28719dafb83542d7e4c73cb48508d6792d10174
TreeHugger Robot [Fri, 7 Apr 2017 06:20:56 +0000 (06:20 +0000)]
Merge "Do not make strong reference to Resources." into oc-dev
Chad Brubaker [Fri, 7 Apr 2017 05:57:18 +0000 (22:57 -0700)]
Expose package_verifier_user_consent to Instant Apps
Test: manual
Bug:
37119785
Change-Id: I0a6deb96f1267f3f80bcf017d898fcf365515353
Lorenzo Colitti [Fri, 7 Apr 2017 05:13:29 +0000 (05:13 +0000)]
Add NETWORK_STACK permission
Add a new permission that only allows other system services to call
networking related methods. This permission is intended to prevent
other apps from calling these methods that might leave networking
services in intermediate states.
Bug:
36538042
Test: build, run wifi unit tests, boots, wifi connects
Change-Id: Icba6ad5280e9a8863bd1c706ca34b7add8de5294
(cherry picked from commit
fa84050a7e51e2a6643ea242b43f16cd6e3114dd)
Bryce Lee [Thu, 6 Apr 2017 17:27:53 +0000 (10:27 -0700)]
Do not make strong reference to Resources.
This CL removes the strong reference added for mapping display ids
and Resources to Displays. Instead, the key pair is now the display
id and ResourcesKey, and the mapping is pruned when key is
invalidated.
Change-Id: I60d767b52de7bbf769f6761f5a3301dd7aff6ddf
Fixes:
36625868
Test: make -j32 cts; cts-tradefed; run cts --module CtsAppTestCases --test android.app.cts.DisplayTest#testRotation
TreeHugger Robot [Fri, 7 Apr 2017 03:47:22 +0000 (03:47 +0000)]
Merge "NetworkPolicyManagerService: turn off rule debugging" into oc-dev
Philip P. Moltmann [Fri, 7 Apr 2017 03:04:12 +0000 (03:04 +0000)]
Merge "Return inet addr for discoverable printers" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 03:00:01 +0000 (03:00 +0000)]
Merge "Who wants...to live...forever? The "Save for Autofill?" dialog does!" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 02:58:50 +0000 (02:58 +0000)]
Merge "Log excessive remote callbacks" into oc-dev
Calin Juravle [Fri, 7 Apr 2017 02:53:19 +0000 (02:53 +0000)]
Merge "Check for a null packageInfo before notifying about app install" into oc-dev
Casey Burkhardt [Fri, 7 Apr 2017 02:40:11 +0000 (02:40 +0000)]
Merge "Revise Accessibility button chooser intent/permissions" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 02:28:19 +0000 (02:28 +0000)]
Merge "Add UPDATE_TZDATA to config updater intents" into oc-dev
Jason Monk [Fri, 7 Apr 2017 01:39:25 +0000 (01:39 +0000)]
Merge "Tuner plugin settings updates" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 01:18:55 +0000 (01:18 +0000)]
Merge "Added onMovedToDisplay method to WebView" into oc-dev
Philip P. Moltmann [Thu, 6 Apr 2017 22:34:04 +0000 (15:34 -0700)]
Change requestWait API according to request
Test: USB Device CTSVerifier test
Change-Id: Ib55bed248d7b37c6f5f4a7be7ec2d90a7ac396c7
Fixes:
36555805
Felipe Leme [Fri, 7 Apr 2017 01:03:39 +0000 (18:03 -0700)]
Who wants...to live...forever? The "Save for Autofill?" dialog does!
Fixes:
37083017
Test: manual verification
Test: CtsAutoFillServiceTestCases pass
Change-Id: Id177fb59810956e4b43c1d357de415d64ab9d89a
Kevin Chyn [Thu, 6 Apr 2017 19:11:04 +0000 (12:11 -0700)]
renaming/removing fingerprints should be reflected in UI immediately
Fixes
30252265
Test: manual
Change-Id: I1828a9f24f732ae3026074fe58542988ca839ef7
TreeHugger Robot [Fri, 7 Apr 2017 00:39:27 +0000 (00:39 +0000)]
Merge "Add metrics for nav buttons through KeyButtonView" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 00:26:30 +0000 (00:26 +0000)]
Merge "NotiViewWrapper: Fix test that breaks on master" into oc-dev
Calin Juravle [Fri, 7 Apr 2017 00:24:21 +0000 (00:24 +0000)]
Merge "Reconcile secondary dex paths when compiling with adb shell cmd..." into oc-dev
Calin Juravle [Fri, 7 Apr 2017 00:23:43 +0000 (00:23 +0000)]
Merge "Pass SElinux info to installd dexopt" into oc-dev
Andrii Kulian [Fri, 7 Apr 2017 00:22:37 +0000 (00:22 +0000)]
Merge "Add system config to specify Multi-Display support" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 00:08:20 +0000 (00:08 +0000)]
Merge "Fix crash when using list of enabled a11y services" into oc-dev
William Luh [Fri, 7 Apr 2017 00:00:40 +0000 (00:00 +0000)]
Merge "Fix injected settings titles not matching a locale change." into oc-dev
Hugo Benichi [Thu, 6 Apr 2017 23:53:25 +0000 (08:53 +0900)]
NetworkPolicyManagerService: turn off rule debugging
Left over from Change-Id Ic75d4f7a8853e6be20e51262c4b59805ec35093a.
Test: no functional changes
Bug:
37084734
Change-Id: Ifb10b4fe146bb6bea6260d8cd723a8e7f5b853a9
Amith Yamasani [Thu, 6 Apr 2017 17:29:33 +0000 (10:29 -0700)]
Log excessive remote callbacks
Bug:
36778087
Test: N/A
Change-Id: Ifb02fe09e3c0869f7f6c741f886421064e5c1b8a
TreeHugger Robot [Thu, 6 Apr 2017 23:35:31 +0000 (23:35 +0000)]
Merge "SurfaceControl: Crash due to invalid JNI cast" into oc-dev
Adrian Roos [Thu, 6 Apr 2017 23:06:24 +0000 (23:06 +0000)]
Revert "Ignore a broken test until it can be fixed."
This reverts commit
1ee48434efc8129c604b20eae90605b0098f674e.
Change-Id: Ie51d2931a6bafb187902c6ac845066ca70937f2c
TreeHugger Robot [Thu, 6 Apr 2017 22:51:38 +0000 (22:51 +0000)]
Merge "Set android.display thread to top-app cpusets and schedtune group" into oc-dev
Tima Vaisburd [Thu, 6 Apr 2017 22:50:05 +0000 (15:50 -0700)]
Added onMovedToDisplay method to WebView
Delegate the action to WebViewProvider, by default it is no-op.
Bug:
36006397
Test: There is no implementation yet to test.
Change-Id: Ib5101d3669a92ae81cfb34cc5db607c374712a3d
Dongwon Kang [Thu, 6 Apr 2017 22:49:46 +0000 (22:49 +0000)]
Merge "Add intent to intialize programs on APP installed" into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 22:41:59 +0000 (22:41 +0000)]
Merge "Don't start a partition when session is pending FillResponse authentication." into oc-dev
Adrian Roos [Wed, 5 Apr 2017 20:59:15 +0000 (13:59 -0700)]
NotiViewWrapper: Fix test that breaks on master
oc-dev allows constructing views with a null context, but
that doesn't work any longer on master.
Bug:
36430936
Change-Id: If069f81d54e3e3b9145ca5187b87888cd6173c0f
Merged-In: If069f81d54e3e3b9145ca5187b87888cd6173c0f
Adrian Roos [Thu, 6 Apr 2017 22:39:22 +0000 (15:39 -0700)]
AOD: More VisD updates
- Change alpha for clock on AOD2
- Increase header bottom margin on ambient notification
Fixes:
37089014
Bug:
30876804
Test: visual inspection
Change-Id: If7ba1a51fdce3167129e8d8845bcb4a09b22a78d
TreeHugger Robot [Thu, 6 Apr 2017 22:32:35 +0000 (22:32 +0000)]
Merge "Preserve app window when it requests a relaunch" into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 22:30:45 +0000 (22:30 +0000)]
Merge "Add lower case charging string." into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 22:20:45 +0000 (22:20 +0000)]
Merge "Removed deprecated onFillRequest() method" into oc-dev
Jason Monk [Fri, 31 Mar 2017 19:42:27 +0000 (15:42 -0400)]
Add metrics for nav buttons through KeyButtonView
Doesn't cover home-long-press or overview, but those appear to be
covered by other events.
Test: runtest systemui
Merged-In: I590b52765aaef3c2bf573ce8ab980aa992b1d5b0
Change-Id: I630356245e223a3fb8d4d2fe11be5d498227c0e3
Fixes:
25931698
TreeHugger Robot [Thu, 6 Apr 2017 22:15:04 +0000 (22:15 +0000)]
Merge "Use hwservicemanager getTransport." into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 22:06:21 +0000 (22:06 +0000)]
Merge "Add showChargingMethod in BatteryInfo" into oc-dev
Sudheer Shanka [Thu, 6 Apr 2017 22:06:14 +0000 (22:06 +0000)]
Merge "Add tests for verifying network availability on activity start." into oc-dev
Sudheer Shanka [Thu, 6 Apr 2017 22:05:51 +0000 (22:05 +0000)]
Merge "Fix testWaitForNetworkStateUpdate." into oc-dev
Roozbeh Pournader [Thu, 6 Apr 2017 21:48:28 +0000 (14:48 -0700)]
Special-case English for DateTime and Time key listeners
Because English time patterns use uppercase letters by default (and a
comma to separate date and time when both are represented), we were
concluding they need internationalized input. Although they
literally do, let's keep the world simple and assume they don't need
internationalized input.
Compared to Nougat, we will now accept uppercase AM and PM and comma
for English if the IME allows them, we just continue to not signal
that an internationalized layout is needed.
Test: CTS tests pass
Bug: https://code.google.com/p/android/issues/detail?id=2626
Bug: https://code.google.com/p/android/issues/detail?id=82993
Bug:
8319249
Bug:
33276673
Bug:
34394455
Bug:
37079150
Change-Id: I82bfde323ba49ae1a27ff5c2e729063b7d81dcc8
William Luh [Fri, 31 Mar 2017 22:08:16 +0000 (15:08 -0700)]
Fix injected settings titles not matching a locale change.
The injected tiles code currently treats the string metadata value
for the title key in the Activity's manifest as the title itself.
When the language on the device is changed the title remains in the
previous language until a reboot.
This CL will make injected tiles attempt to treat the string metadata
value as a resource variable to get the integer res id and then
properly load the localized title using the res id. To be backwards
compatible, if the res id is 0, we treat the string metadata value as
the title itself (current behavior).
Bug:
36470694
Test: make RunSettingsLibRoboTests
Change-Id: I3963534a3a3a27d0455c4ed1ad4fa574b03d67fc
TreeHugger Robot [Thu, 6 Apr 2017 21:34:13 +0000 (21:34 +0000)]
Merge "Rename getIntent() to getRenderIntent()" into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 21:21:55 +0000 (21:21 +0000)]
Merge changes I6f00614d,I987eeab2 into oc-dev
* changes:
Convert 16 bit bitmaps to 8 bit on devices that do not have GLES3.0
Fix HardwareBitmapTests.testBitmapConfigFromRGB565
Patrik Torstensson [Mon, 27 Mar 2017 14:04:11 +0000 (15:04 +0100)]
SurfaceControl: Crash due to invalid JNI cast
The (void*)buffer.get on ARM32 is 4 byte, so the calling convention
will put the argument in [sp, #12]. However, the caller actually
expects a long (the signature of gGraphicBufferClassInfo.builder),
which means it will expect it to be in [sp, #16]
Test: Tested on mtk device
Fixes:
36631082
Fixes:
36974487
Change-Id: I0f723125e612d096c0d76ca3360d895f3f23f286
(cherry picked from commit
98dd5d9a85e8911cf41dea6198d4111f737a5892)
Joel Fernandes [Tue, 4 Apr 2017 23:32:15 +0000 (16:32 -0700)]
Set android.display thread to top-app cpusets and schedtune group
android.display being in the foreground cpuset group is an issue. As
seen on M/S, during heavily CPU load it is not given core 3 even though
it might be free and causes jank. This patch adds the thread to the
top-app group to ensure it is placed on all cores during scheduling
decisions.
Doing this required a couple of changes:
- new API to set per-thread cpusets
- changes to DisplayManagerService to set the thread to top-app group
- changes to SystemServer to set the policy toward the end, as doing it
during start of the DisplayManagerService was in issue (issue being
SystemServer calls setSystemProcess.. -> setProcessGroup which overrides
the group settings for threads in the system server process, including
android.display)
Bug:
36631902
Test: Boot and make sure android.display thread is in the top-app group
Change-Id: Icc394ea0ffcf159d11728ad38de114234a29d20f
Signed-off-by: Joel Fernandes <joelaf@google.com>
(cherry picked from commit
474d311cb098e86c078c3f615e1161e2854f1847)
Roozbeh Pournader [Thu, 6 Apr 2017 21:13:22 +0000 (21:13 +0000)]
Merge "Use additions/emoji-data.txt instead of hardcoded values" into oc-dev
Roozbeh Pournader [Thu, 6 Apr 2017 21:13:01 +0000 (21:13 +0000)]
Merge "Force direction of phone number fields to (practically) LTR" into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 21:06:43 +0000 (21:06 +0000)]
Merge "Shows a Toast when manual autofill request cannot be fulfilled." into oc-dev
Chad Brubaker [Thu, 6 Apr 2017 20:35:23 +0000 (13:35 -0700)]
Add UPDATE_TZDATA to config updater intents
Change-Id: I5fcd011e0ab030ebf1aa40818a05853117cc6811
Fixes:
36977046
Test: checkbuild
TreeHugger Robot [Thu, 6 Apr 2017 20:32:37 +0000 (20:32 +0000)]
Merge "Update comment on why Keep is needed." into oc-dev
Felipe Leme [Thu, 6 Apr 2017 20:27:52 +0000 (13:27 -0700)]
Don't start a partition when session is pending FillResponse authentication.
BUG:
35707731
Test: fixed testFillResponseAuthBothFields and testFillResponseAuthJustOneField
Change-Id: Ib74e46dd37feb7e5c03e40cfbe8133ace6db0709
TreeHugger Robot [Thu, 6 Apr 2017 20:25:42 +0000 (20:25 +0000)]
Merge "Add a service to rank apps for ResolverActivity." into oc-dev
jackqdyulei [Mon, 3 Apr 2017 18:31:40 +0000 (11:31 -0700)]
Add lower case charging string.
The previous charging string is "75% - Charging", this cl add lower
case string to make it "75% - charging".
Bug:
36558216
Test: Build
Change-Id: I683843de0b6cbd45bea6a465c7b6d8ee0b7c4f93