OSDN Git Service

android-x86/frameworks-base.git
7 years agoDon't provide Build.Serial to apps targeting v2 sandbox
Chad Brubaker [Mon, 13 Mar 2017 21:47:53 +0000 (14:47 -0700)]
Don't provide Build.Serial to apps targeting v2 sandbox

Bug: 35882064
Test: cts-tradefed run commandAndExit cts-dev -m
CtsAppSecurityHostTestCases -t
android.appsecurity.cts.EphemeralTest#testBuildSerialUnknown

Change-Id: I66360a2efe5b0df7935a74f22096a2b54e122300

7 years agoMerge "Fix the reset of boosted zygote thread priority." am: 83aceea07d am: 55310df6bc
Hiroshi Yamauchi [Mon, 13 Mar 2017 17:54:54 +0000 (17:54 +0000)]
Merge "Fix the reset of boosted zygote thread priority." am: 83aceea07d am: 55310df6bc
am: 4c618d8933

Change-Id: I7be43bedad9a3e189e64f140b585070b6ba6ee33

7 years agoMerge "Fix the reset of boosted zygote thread priority." am: 83aceea07d
Hiroshi Yamauchi [Mon, 13 Mar 2017 17:50:46 +0000 (17:50 +0000)]
Merge "Fix the reset of boosted zygote thread priority." am: 83aceea07d
am: 55310df6bc

Change-Id: I91d20bc046b721456e0a141def790aeccfbd39a6

7 years agoMerge "Make sure to notify WM about having "drawn" our surface"
TreeHugger Robot [Mon, 13 Mar 2017 17:49:15 +0000 (17:49 +0000)]
Merge "Make sure to notify WM about having "drawn" our surface"

7 years agoMerge "RecentsTV : Remove all Recents TV Code"
Sid Soundararajan [Mon, 13 Mar 2017 17:44:50 +0000 (17:44 +0000)]
Merge "RecentsTV : Remove all Recents TV Code"

7 years agoMerge "Fix the reset of boosted zygote thread priority."
Hiroshi Yamauchi [Mon, 13 Mar 2017 17:42:50 +0000 (17:42 +0000)]
Merge "Fix the reset of boosted zygote thread priority."
am: 83aceea07d

Change-Id: I6ebd30a631ae10ada65b3279ec66c41d3f50fb1f

7 years agoMerge "Fix ShapeDrawable#mutate"
Chris Craik [Mon, 13 Mar 2017 17:34:33 +0000 (17:34 +0000)]
Merge "Fix ShapeDrawable#mutate"

7 years agoMerge "Change behavior of setBitmap to cleanly reset the canvas - identity matrix...
TreeHugger Robot [Mon, 13 Mar 2017 17:32:56 +0000 (17:32 +0000)]
Merge "Change behavior of setBitmap to cleanly reset the canvas - identity matrix - no save stack - wide-open clip"

7 years agoMerge "Fix the reset of boosted zygote thread priority."
Hiroshi Yamauchi [Mon, 13 Mar 2017 17:32:30 +0000 (17:32 +0000)]
Merge "Fix the reset of boosted zygote thread priority."

7 years agoFix the reset of boosted zygote thread priority.
Hiroshi Yamauchi [Thu, 2 Mar 2017 21:39:07 +0000 (13:39 -0800)]
Fix the reset of boosted zygote thread priority.

This fixes the unexpected priority 112 of the daemon threads
(eg. HeapTaskDaemon). The problem was that when the zygote main
thread's priority is reset, it directly calls setpriority() and fails
to update the priority value in java.lang.Thread, which in turn causes
any threads created by the thread to unexpectedly inherit the boosted
priority. Calling java.lang.Thread.setPriority instead fixes.

(cherry picked from commit 1e3db871e52e59c69edb1843df7f4aecb030bc6f)

Bug: 35801778
Bug: 28866384
Test: angler master userdebug boots and thread priorities checked.

Change-Id: I68a6ed7244a9067acc2749feca7f88422bf44b02

7 years agoMerge changes from topics 'Passpoint API update', 'Passpoint intent update'
TreeHugger Robot [Mon, 13 Mar 2017 17:30:28 +0000 (17:30 +0000)]
Merge changes from topics 'Passpoint API update', 'Passpoint intent update'

* changes:
  hotspot2: update Passpoint configuration management APIs
  hotspot2: hide validate method for Passpoint configuration
  Osu: temporarily comment out the usage of deprecated intent definitions
  hotspot2: update Passpoint intent definitions

7 years agoMerge "Stop DocumentsContract from consuming Exceptions if app is targetting O or...
Ben Lin [Mon, 13 Mar 2017 17:27:17 +0000 (17:27 +0000)]
Merge "Stop DocumentsContract from consuming Exceptions if app is targetting O or above."

7 years agoMerge "Add logging constants for setting bluetooth preference."
Doris Ling [Mon, 13 Mar 2017 17:24:13 +0000 (17:24 +0000)]
Merge "Add logging constants for setting bluetooth preference."

7 years agoMerge "Add comment to Shader#mLocalMatrix"
Chris Craik [Mon, 13 Mar 2017 17:20:57 +0000 (17:20 +0000)]
Merge "Add comment to Shader#mLocalMatrix"

7 years agohotspot2: update Passpoint configuration management APIs
Peter Qiu [Mon, 6 Mar 2017 18:47:55 +0000 (10:47 -0800)]
hotspot2: update Passpoint configuration management APIs

Address API Councils comment to update both
WifiManager#addOrUpdatePasspointConfiguration and
WifiManager#removePasspointConfiguration to return void and throw
exception on failure instead of returning a boolean.

Bug: 35858311,35856174
Test: make -j32
Change-Id: Iac421eba7aa90e8bc3ffaf5d81210302c7557e95

7 years agohotspot2: hide validate method for Passpoint configuration
Peter Qiu [Fri, 3 Mar 2017 17:15:49 +0000 (09:15 -0800)]
hotspot2: hide validate method for Passpoint configuration

The validate method is used by Framework only, no need to expose
to app developers. So hide it.

Bug: 35756298
Test: make -j32
Change-Id: I15ccae472f30d7ae968816479f6ea35d90248fe0

7 years agoOsu: temporarily comment out the usage of deprecated intent definitions
Peter Qiu [Fri, 10 Mar 2017 19:23:47 +0000 (11:23 -0800)]
Osu: temporarily comment out the usage of deprecated intent definitions

Bug: 35857805
Test: mmma frameworks/base/packages/Osu
Change-Id: Ie4ea352e11b10a7c1f8780557554486bc2b4fcef

7 years agoMerge "Move WebViewUpdater to its own file."
TreeHugger Robot [Mon, 13 Mar 2017 16:14:14 +0000 (16:14 +0000)]
Merge "Move WebViewUpdater to its own file."

7 years agoMerge "Add a new macrobench to test layer resize"
TreeHugger Robot [Mon, 13 Mar 2017 16:03:22 +0000 (16:03 +0000)]
Merge "Add a new macrobench to test layer resize"

7 years agoMerge "Add host-side version of framework-protos."
Insaf Latypov [Mon, 13 Mar 2017 15:56:21 +0000 (15:56 +0000)]
Merge "Add host-side version of framework-protos."

7 years agoMake sure to notify WM about having "drawn" our surface
Jorim Jaggi [Mon, 13 Mar 2017 15:41:13 +0000 (16:41 +0100)]
Make sure to notify WM about having "drawn" our surface

Otherwise window manager won't start the transition.

Test: Open app, reopen app, make sure snapshot is actually used.
Bug: 31339431
Change-Id: I57708b48768fe3b561f797a0b9c6aa5ce7f84976

7 years agoChange behavior of setBitmap to cleanly reset the canvas
Mike Reed [Wed, 1 Mar 2017 16:32:53 +0000 (11:32 -0500)]
Change behavior of setBitmap to cleanly reset the canvas
- identity matrix
- no save stack
- wide-open clip

Behavior around the new bitmap is the same.

Tests : CtsGraphicsTestCases

Change-Id: Ieaf8c2a1b96262ed33940dd852a86089eb93efdb

7 years agoMerge "Update enterprise disclosure strings"
TreeHugger Robot [Mon, 13 Mar 2017 15:18:21 +0000 (15:18 +0000)]
Merge "Update enterprise disclosure strings"

7 years agoAdd a new macrobench to test layer resize
Stan Iliev [Wed, 28 Sep 2016 22:14:24 +0000 (18:14 -0400)]
Add a new macrobench to test layer resize

Create a new HWUI macrobench to test hardware layer resize code path.

Test: Executed the new test on bullhead device with "adb shell
/data/benchmarktest64/hwuimacro hwlayersize --onscreen --wait-for-gpu -c
1000".

Change-Id: I9ed411d76ac3d51339a69add8ab1843c3256994a

7 years agoMove WebViewUpdater to its own file.
Gustav Sennton [Fri, 10 Mar 2017 14:37:15 +0000 (14:37 +0000)]
Move WebViewUpdater to its own file.

WebViewUpdater is a large portion of WebViewUpdateServiceImpl, split it
into its own file.
Also restructure the members of WebViewUpdater to give them a logical
order.

Bug: 36094936
Test: Build and flash an Angler build.
Change-Id: If11cc46d73ceeaf54de34f0648ed1d2df57d9a1c

7 years agoAdd host-side version of framework-protos.
Insaf Latypov [Mon, 20 Feb 2017 11:33:48 +0000 (11:33 +0000)]
Add host-side version of framework-protos.

AfwTestHarness needs to use framework-protos from host-side. This is why
new rule is added to build framework-protos usable from host-side.

Change-Id: Ifa35c5de04483d41e97c5853ea781fc29cef4947

7 years agoMerge "Minor formatting cleanup to remove overlong line" am: d6998d4bd6 am: cc935f5e6d
Hugo Benichi [Mon, 13 Mar 2017 07:40:25 +0000 (07:40 +0000)]
Merge "Minor formatting cleanup to remove overlong line" am: d6998d4bd6 am: cc935f5e6d
am: 3d61c89305

Change-Id: I1a4311525a7b9674daa3713ca3ec7001d4bb30fe

7 years agoMerge "Minor formatting cleanup to remove overlong line" am: d6998d4bd6
Hugo Benichi [Mon, 13 Mar 2017 07:35:48 +0000 (07:35 +0000)]
Merge "Minor formatting cleanup to remove overlong line" am: d6998d4bd6
am: cc935f5e6d

Change-Id: I2830664720e366792a8b35eac5295995c96461fa

7 years agoMerge "Minor formatting cleanup to remove overlong line"
Hugo Benichi [Mon, 13 Mar 2017 07:31:54 +0000 (07:31 +0000)]
Merge "Minor formatting cleanup to remove overlong line"
am: d6998d4bd6

Change-Id: I3a4582ebfc1cb7436e570e37cacbc3cabf8c0182

7 years agoMerge "Minor formatting cleanup to remove overlong line"
Hugo Benichi [Mon, 13 Mar 2017 07:23:05 +0000 (07:23 +0000)]
Merge "Minor formatting cleanup to remove overlong line"

7 years agoMerge "ConnectivityManager: unhide methods with Handler argument" am: e940d5458d...
Hugo Benichi [Mon, 13 Mar 2017 07:18:54 +0000 (07:18 +0000)]
Merge "ConnectivityManager: unhide methods with Handler argument" am: e940d5458d am: 5c5850d2f0
am: 1673f71afb

Change-Id: Ic575f187803548ce15965d6fde942a5322d9e35e

7 years agoMerge "ConnectivityManager: unhide methods with Handler argument" am: e940d5458d
Hugo Benichi [Mon, 13 Mar 2017 07:14:12 +0000 (07:14 +0000)]
Merge "ConnectivityManager: unhide methods with Handler argument" am: e940d5458d
am: 5c5850d2f0

Change-Id: Ie563d1b8f64e2b42d3a146495dfdfafdd5e1965a

7 years agoMerge "ConnectivityManager: unhide methods with Handler argument"
Hugo Benichi [Mon, 13 Mar 2017 07:09:49 +0000 (07:09 +0000)]
Merge "ConnectivityManager: unhide methods with Handler argument"
am: e940d5458d

Change-Id: I470d68a25e62b9493ac7cfb5887e8345968f1097

7 years agoMerge "ConnectivityManager: unhide methods with Handler argument"
Hugo Benichi [Mon, 13 Mar 2017 06:58:29 +0000 (06:58 +0000)]
Merge "ConnectivityManager: unhide methods with Handler argument"

7 years agoMerge "MediaSessionService: Keep the media sessions per full user"
TreeHugger Robot [Mon, 13 Mar 2017 04:50:01 +0000 (04:50 +0000)]
Merge "MediaSessionService: Keep the media sessions per full user"

7 years agoMediaSessionService: Keep the media sessions per full user
Jaewan Kim [Thu, 16 Feb 2017 08:10:54 +0000 (17:10 +0900)]
MediaSessionService: Keep the media sessions per full user

This is the intermediate CL to simplify the media button handling.
With this, it's easier to get the lastly played media app among the
foreground users.

Test: Manual test (Setup a device with multiple users and work profile,
    and press media keys)
Change-Id: I240191fdc64a9f1240682f56407bf5de873345d7

7 years agoMerge "IP connectivity metrics: ConnectStats additions"
TreeHugger Robot [Mon, 13 Mar 2017 03:01:56 +0000 (03:01 +0000)]
Merge "IP connectivity metrics: ConnectStats additions"

7 years agoMerge "ExifInterface: Correct thumbnail compression info"
TreeHugger Robot [Mon, 13 Mar 2017 02:54:06 +0000 (02:54 +0000)]
Merge "ExifInterface: Correct thumbnail compression info"

7 years agoMerge "Enable/disable system audio mode by changing the setting value"
Donghyun Cho [Mon, 13 Mar 2017 02:41:25 +0000 (02:41 +0000)]
Merge "Enable/disable system audio mode by changing the setting value"

7 years agoMerge "Fix documentation for the Web Links API."
Tomasz Mikolajewski [Mon, 13 Mar 2017 01:29:28 +0000 (01:29 +0000)]
Merge "Fix documentation for the Web Links API."

7 years agoMerge "Deprecate storage "low" and "ok" broadcasts."
TreeHugger Robot [Mon, 13 Mar 2017 01:04:52 +0000 (01:04 +0000)]
Merge "Deprecate storage "low" and "ok" broadcasts."

7 years agoMerge "Offer flag to force manual calculation."
TreeHugger Robot [Mon, 13 Mar 2017 00:28:42 +0000 (00:28 +0000)]
Merge "Offer flag to force manual calculation."

7 years agoIP connectivity metrics: ConnectStats additions
Hugo Benichi [Wed, 22 Feb 2017 05:32:27 +0000 (14:32 +0900)]
IP connectivity metrics: ConnectStats additions

This patch:
  - adds a counter to ConnectStats for counting the number of successful
    connect() calls done in blocking mode. This allows to compute error
    rates for connect() in blocking mode.
  - add printing of ConnectStats when dumping NetdEventListenerService
    and/or IpConnectivityMetrics service.

Test: $ runtest frameworks-net, + manual tests verifying logged events.
Bug: 34901696
Change-Id: I889e8ccd12681b0511be487e9d2ee44290a2d7d7

7 years agoMerge "Simple cleanups to Tethering" am: 7eaa2ad172 am: 921c40c0ce
Hugo Benichi [Mon, 13 Mar 2017 00:23:32 +0000 (00:23 +0000)]
Merge "Simple cleanups to Tethering" am: 7eaa2ad172 am: 921c40c0ce
am: bc559bad9d

Change-Id: I393817fac7402d51fbd8dfd1fda20d16b398de17

7 years agoMerge "Simple cleanups to Tethering" am: 7eaa2ad172
Hugo Benichi [Mon, 13 Mar 2017 00:18:57 +0000 (00:18 +0000)]
Merge "Simple cleanups to Tethering" am: 7eaa2ad172
am: 921c40c0ce

Change-Id: I95b614848060fc2b43f646dbe64409d3cd6fd04e

7 years agoMerge "Simple cleanups to Tethering"
Hugo Benichi [Mon, 13 Mar 2017 00:14:55 +0000 (00:14 +0000)]
Merge "Simple cleanups to Tethering"
am: 7eaa2ad172

Change-Id: I3bb7e4756eaa0b7e702ff7270beb7420b7b6aac5

7 years agoMerge "Simple cleanups to Tethering"
Hugo Benichi [Mon, 13 Mar 2017 00:03:58 +0000 (00:03 +0000)]
Merge "Simple cleanups to Tethering"

7 years agoDeprecate storage "low" and "ok" broadcasts.
Jeff Sharkey [Sun, 12 Mar 2017 23:27:47 +0000 (17:27 -0600)]
Deprecate storage "low" and "ok" broadcasts.

These broadcasts resulted in a terrible user experience where dozens
of apps would wake up and try deleting everything they possibly can,
meaning that we'd thrash between showing/hiding the low space
notification to users.

Instead, if apps have data that they're okay being purged when the
system is chronically low on space, we want to strongly encourage
them to rely on the much-improved getCacheDir() behaviors in OC.

Test: builds, boots
Bug: 35406598
Change-Id: I74abfba1b8d3948363b79f8b66ca0ad60faac756

7 years agoOffer flag to force manual calculation.
Jeff Sharkey [Sun, 12 Mar 2017 22:25:20 +0000 (16:25 -0600)]
Offer flag to force manual calculation.

Can be used to quickly pivot between manual and quota calculations
when running CTS tests.

Bug: 356849693544100634945234
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest
Change-Id: I7500dde597a4f3cde20998df45c5d54a053181fc

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 12 Mar 2017 22:23:02 +0000 (22:23 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Switch RescueParty to PMS.logCriticalInfo()."
TreeHugger Robot [Sun, 12 Mar 2017 20:22:15 +0000 (20:22 +0000)]
Merge "Switch RescueParty to PMS.logCriticalInfo()."

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 12 Mar 2017 19:50:31 +0000 (19:50 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 12 Mar 2017 19:49:29 +0000 (19:49 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 12 Mar 2017 19:40:54 +0000 (19:40 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 12 Mar 2017 14:16:18 +0000 (07:16 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 12 Mar 2017 13:05:26 +0000 (06:05 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 12 Mar 2017 12:59:02 +0000 (05:59 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 12 Mar 2017 12:55:18 +0000 (05:55 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Fix two storage measurement bugs."
TreeHugger Robot [Sun, 12 Mar 2017 04:56:11 +0000 (04:56 +0000)]
Merge "Fix two storage measurement bugs."

7 years agoSwitch RescueParty to PMS.logCriticalInfo().
Jeff Sharkey [Sun, 12 Mar 2017 03:38:21 +0000 (20:38 -0700)]
Switch RescueParty to PMS.logCriticalInfo().

When RescueParty is triggered, we could end up in recovery before a
bugreport can be taken.  To help understand why RescueParty was
triggered after the fact, this change switches a handful of critical
log messages to use PMS.logCriticalInfo().

These logs then go into our persistent log on disk, which is also
included in all future bugreports.

Bug: 3580533136033178
Test: builds, boots, forced crashing recorded in persistent log
Change-Id: Ic71206b25c4b0b703e464ff1d07c5e0b31549257

7 years agoFix two storage measurement bugs.
Jeff Sharkey [Sun, 12 Mar 2017 02:44:16 +0000 (19:44 -0700)]
Fix two storage measurement bugs.

First, every time installd starts up we need to invalidateMounts()
to ensure we have valid mappings for quotactl() to work.  (Without
this forced invalidation, we were falling back to manual calculation
after an installd restart.)

Second, when calculating the disk space for an app, we need to use
the real appId deconstructed from the uid; oops!  (Without this we
were always trying to calculate the disk usage for UID 0, which
forced us back into the slow-path.)

Bug: 3603244435706513
Test: runtest -x frameworks/base/services/tests/servicestests/src/com/android/server/pm/InstallerTest.java
Change-Id: I1ca55e2b7670678ed55798e2e06857d727ce2487

7 years agoMerge "Move mac_permissions to etc/selinux" am: b063fe384f am: 1376b937ed
Jeff Vander Stoep [Sat, 11 Mar 2017 23:41:05 +0000 (23:41 +0000)]
Merge "Move mac_permissions to etc/selinux" am: b063fe384f am: 1376b937ed
am: 7f9630868c

Change-Id: Ie90342ef543ed0803fc279adbfb3e919f6bf63d5

7 years agoMerge "Move mac_permissions to etc/selinux" am: b063fe384f
Jeff Vander Stoep [Sat, 11 Mar 2017 23:36:09 +0000 (23:36 +0000)]
Merge "Move mac_permissions to etc/selinux" am: b063fe384f
am: 1376b937ed

Change-Id: Iac3ff86d133cbd8cdbee69456be0677a5c2f7c51

7 years agoMerge "Move mac_permissions to etc/selinux"
Jeff Vander Stoep [Sat, 11 Mar 2017 23:30:01 +0000 (23:30 +0000)]
Merge "Move mac_permissions to etc/selinux"
am: b063fe384f

Change-Id: Ia6da81ff48e749c8d3f4f150e81fc0c138e7763e

7 years agoMerge "Move mac_permissions to etc/selinux"
Treehugger Robot [Sat, 11 Mar 2017 23:23:09 +0000 (23:23 +0000)]
Merge "Move mac_permissions to etc/selinux"

7 years agoMerge "Use --multi-dex native to avoid dex limit"
Paul Duffin [Sat, 11 Mar 2017 21:34:31 +0000 (21:34 +0000)]
Merge "Use --multi-dex native to avoid dex limit"

7 years agoUse --multi-dex native to avoid dex limit
Paul Duffin [Sat, 11 Mar 2017 21:29:48 +0000 (21:29 +0000)]
Use --multi-dex native to avoid dex limit

Bug: 32912773
Test: make checkbuild
Change-Id: I1adb219894c90487fe9455765972cadf50fb295a

7 years agoMerge "Use --multi-dex native to avoid dex limit"
Paul Duffin [Sat, 11 Mar 2017 18:08:01 +0000 (18:08 +0000)]
Merge "Use --multi-dex native to avoid dex limit"

7 years agoUse --multi-dex native to avoid dex limit
Paul Duffin [Sat, 11 Mar 2017 18:02:22 +0000 (18:02 +0000)]
Use --multi-dex native to avoid dex limit

Bug: 32912773
Test: make checkbuild
Change-Id: I70fed0e838003fb7909838696fa6ceed66e99711

7 years agoMerge "Switching Native MIDI API to an "opaque pointers" model."
Paul Mclean [Sat, 11 Mar 2017 17:49:14 +0000 (17:49 +0000)]
Merge "Switching Native MIDI API to an "opaque pointers" model."

7 years agoMerge "Use --multi-dex native to avoid dex limit"
Paul Duffin [Sat, 11 Mar 2017 12:28:55 +0000 (12:28 +0000)]
Merge "Use --multi-dex native to avoid dex limit"

7 years agoUse --multi-dex native to avoid dex limit
Paul Duffin [Sat, 11 Mar 2017 12:26:13 +0000 (12:26 +0000)]
Use --multi-dex native to avoid dex limit

Bug: 32912773
Test: make checkbuild
Change-Id: If23b6a746494d862059ce76ef20b225a6c27c379

7 years agoMerge "Throw IllegalStateException in MediaBrowser.search()"
Hyundo Moon [Sat, 11 Mar 2017 12:03:32 +0000 (12:03 +0000)]
Merge "Throw IllegalStateException in MediaBrowser.search()"

7 years agoMerge "AAPT: Process XML in mipmap directory"
TreeHugger Robot [Sat, 11 Mar 2017 04:14:32 +0000 (04:14 +0000)]
Merge "AAPT: Process XML in mipmap directory"

7 years agoMerge "Fix regression in rotation rect being clobbered."
TreeHugger Robot [Sat, 11 Mar 2017 03:51:14 +0000 (03:51 +0000)]
Merge "Fix regression in rotation rect being clobbered."

7 years agoUpdate enterprise disclosure strings
Bartosz Fabianowski [Fri, 10 Mar 2017 16:50:45 +0000 (17:50 +0100)]
Update enterprise disclosure strings

This updates the disclosure shown on the Keyguard screen for managed
devices to the final strings.

Bug: 32692748
Test: Manual

Change-Id: If70be667274937812a4dcb0d1c97586f15136e1c

7 years agoMerge "Add Secure setting for the assist gesture's sensitivity."
TreeHugger Robot [Sat, 11 Mar 2017 03:17:37 +0000 (03:17 +0000)]
Merge "Add Secure setting for the assist gesture's sensitivity."

7 years agoAAPT: Process XML in mipmap directory
Adam Lesinski [Sat, 11 Mar 2017 02:42:32 +0000 (18:42 -0800)]
AAPT: Process XML in mipmap directory

Mipmap directories should be treated like drawables.
They are just a convention that prevents them from
being split or stripped for multi-apk.

Bug: 36068314
Test: manual
Change-Id: I93ab3871c7d9d403b77989bcc88304e9939866c4

7 years agoMerge "Bluetooth 5 spelling fixes"
Jakub Pawlowski [Sat, 11 Mar 2017 02:22:34 +0000 (02:22 +0000)]
Merge "Bluetooth 5 spelling fixes"

7 years agoFix regression in rotation rect being clobbered.
Winson Chung [Sat, 11 Mar 2017 02:06:25 +0000 (18:06 -0800)]
Fix regression in rotation rect being clobbered.

- We should not be using the tmp rect as it's already being used
  by the caller in onTaskStackBoundsChanged().

Test: Rotate device while PiP is up.
Change-Id: I826f6379666c72be505185cd0c101b18a8277177

7 years agoMerge "Fixes minimized state to match task and stack bounds for cts test"
TreeHugger Robot [Sat, 11 Mar 2017 01:58:11 +0000 (01:58 +0000)]
Merge "Fixes minimized state to match task and stack bounds for cts test"

7 years agoMerge "Basic accessibility support for picture-in-picture"
TreeHugger Robot [Sat, 11 Mar 2017 01:52:43 +0000 (01:52 +0000)]
Merge "Basic accessibility support for picture-in-picture"

7 years agoMerge "Remove dependency on EGL private headers"
TreeHugger Robot [Sat, 11 Mar 2017 01:32:41 +0000 (01:32 +0000)]
Merge "Remove dependency on EGL private headers"

7 years agoAdd Secure setting for the assist gesture's sensitivity.
Philip Quinn [Fri, 3 Mar 2017 18:38:38 +0000 (10:38 -0800)]
Add Secure setting for the assist gesture's sensitivity.

Test: make
Change-Id: I458419fce5ef092780220cdef99621d5eb251623

7 years agoMerge "Support multiple filters per association request"
TreeHugger Robot [Sat, 11 Mar 2017 01:14:43 +0000 (01:14 +0000)]
Merge "Support multiple filters per association request"

7 years agoMerge "Fixing issue with TaskRecord lookup."
TreeHugger Robot [Sat, 11 Mar 2017 00:59:41 +0000 (00:59 +0000)]
Merge "Fixing issue with TaskRecord lookup."

7 years agoAdd comment to Shader#mLocalMatrix
Chris Craik [Sat, 11 Mar 2017 00:53:14 +0000 (16:53 -0800)]
Add comment to Shader#mLocalMatrix

Test: just comments, none

Change-Id: Idd337deef5fa796f3d83ffbddca58949b27d5169

7 years agoFix ShapeDrawable#mutate
Chris Craik [Sat, 11 Mar 2017 00:39:04 +0000 (16:39 -0800)]
Fix ShapeDrawable#mutate

Fixes: 35940396
Test: cts-tradefed run singleCommand cts-dev --module CtsGraphicsTestCases --test android.graphics.drawable.cts.ShapeDrawableTest

Change-Id: I5731ce131785ded07bcde9e54ecb9d4f5dcfa96b

7 years agoBluetooth 5 spelling fixes
Jakub Pawlowski [Sat, 11 Mar 2017 00:07:59 +0000 (16:07 -0800)]
Bluetooth 5 spelling fixes

Bug: 30622771
Test: manual
Change-Id: I46b6486619cc7366e56b25ca48937e6792f53e1d

7 years agoFixes minimized state to match task and stack bounds for cts test
Matthew Ng [Fri, 10 Feb 2017 22:48:21 +0000 (14:48 -0800)]
Fixes minimized state to match task and stack bounds for cts test

Fixes minimized state for its task and stack bounds to always match
inline with the cts test that was failing.

This also fixes multiple state issues related to splitting home and
recents into different stacks when recents incorrectly reads home stack
bounds to determine bounds for recents.

Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test
CtsServicesHostTestCases
android.server.cts.ActivityManagerActivityVisibilityTests or
ActivityManagerDockedStackTests
Fixes: 3535107435145587
Change-Id: I6417a567e937c647818ff26dc08df463e6ef4257

7 years agoMerge "Update IUidObserver.onUidStateChanged to include procStateSeq."
Sudheer Shanka [Sat, 11 Mar 2017 00:19:45 +0000 (00:19 +0000)]
Merge "Update IUidObserver.onUidStateChanged to include procStateSeq."

7 years agoMove mac_permissions to etc/selinux
Jeff Vander Stoep [Sat, 11 Mar 2017 00:01:19 +0000 (16:01 -0800)]
Move mac_permissions to etc/selinux

Test: Build and boot Marlin
Test: See the following in the logs:
01-01 02:10:28.756  1345  1345 D SELinuxMMAC: Using policy file /system/etc/selinux/plat_mac_permissions.xml
01-01 02:10:28.787  1345  1345 D SELinuxMMAC: Using policy file /vendor/etc/selinux/nonplat_mac_permissions.xml
Bug: 36003167

Change-Id: I97479260eabe14c1b1dcc238d7322016f6b5c4dd

7 years agoUpdate IUidObserver.onUidStateChanged to include procStateSeq.
Sudheer Shanka [Sat, 4 Mar 2017 22:48:53 +0000 (14:48 -0800)]
Update IUidObserver.onUidStateChanged to include procStateSeq.

This procStateSeq is associated with the process state change of
an uid and will help in identifying if network policy rules have been
updated for a process state change.

Bug: 27803922
Test: runtest -c com.android.server.am.ActivityManagerServiceTest
      frameworks-services
Change-Id: Iaab8d004f476b96f28d08c886c7b0a6b585b9fef

7 years agoMerge changes If6c9684f,Iefab4b8b
Sudheer Shanka [Sat, 11 Mar 2017 00:03:46 +0000 (00:03 +0000)]
Merge changes If6c9684f,Iefab4b8b

* changes:
  Extract the logic to dispatch uid state changes into separate method.
  Add tests for ActivityManagerService.dispatchUidsChanged.

7 years agoMerge "Reenable task snapshots without using RenderThread in SystemServer."
TreeHugger Robot [Fri, 10 Mar 2017 23:54:47 +0000 (23:54 +0000)]
Merge "Reenable task snapshots without using RenderThread in SystemServer."

7 years agoBasic accessibility support for picture-in-picture
Phil Weaver [Fri, 3 Mar 2017 21:44:00 +0000 (13:44 -0800)]
Basic accessibility support for picture-in-picture

Exposing actions from the PIP InputConsumer to accessibility,
stripping all actions from a covered PIP app, and adding the
InputConsumer's actions on the PIP app's root view.

We were also using an "undefined" accessibility ID to mean
three different things: a root view, a host view of a virtual
view hierarchy, and a truly undefined view. I've introduced
new values for cases where the id could be defined.

Also gathering all window IDs into one place to reduce the
chance of collisions.

Bug: 34773134
Test: In progress. Current cts passes.
Change-Id: I97269741a292cf406272bf02359c76c396f84640

7 years agoMerge "Updated alert window notification to new UX spec."
TreeHugger Robot [Fri, 10 Mar 2017 23:26:23 +0000 (23:26 +0000)]
Merge "Updated alert window notification to new UX spec."

7 years agoMerge "Introduce debounce to filter rapidly toggling type-c ports"
Badhri Jagan Sridharan [Fri, 10 Mar 2017 23:23:45 +0000 (23:23 +0000)]
Merge "Introduce debounce to filter rapidly toggling type-c ports"

7 years agoMerge "Fix handling usb dialog for wall chargers."
TreeHugger Robot [Fri, 10 Mar 2017 23:22:40 +0000 (23:22 +0000)]
Merge "Fix handling usb dialog for wall chargers."

7 years agoMerge "Add a config for WiFi exponential backoff scan base interval" am: c25e2b79b1...
Randy Pan [Fri, 10 Mar 2017 23:15:46 +0000 (23:15 +0000)]
Merge "Add a config for WiFi exponential backoff scan base interval" am: c25e2b79b1 am: aa72261023
am: bb76af7c44

Change-Id: Ie442c9e26e4b936d62f86205847b10b4c23875fa