OSDN Git Service
Andy Hung [Mon, 6 Mar 2017 19:39:10 +0000 (11:39 -0800)]
VolumeShaper: Update Builder methods and Object overrides
Builder methods now throw IllegalArgumentExceptions on invalid
conditions.
Object hashCode, toString, equals updated for element-wise structural
equivalence.
Test: CTS VolumeShaperTest
Bug:
31015569
Change-Id: I02860a51da58d8207145a9b8a5d2cb13806774b4
Lingjun Li [Mon, 6 Mar 2017 21:01:31 +0000 (21:01 +0000)]
Merge "Null check before calling TrustAgentService and throw Security exception if the API is not allowed. Test: manual"
Tom Cherry [Mon, 6 Mar 2017 20:14:37 +0000 (20:14 +0000)]
Merge "Check for spurious wake ups" am:
3a3cd0a27f am:
c2dcebe6e6
am:
1344c034c5
Change-Id: I8ffc749ab6fbd825ce238fff4ba1d12609585c04
Tom Cherry [Mon, 6 Mar 2017 20:06:31 +0000 (20:06 +0000)]
Merge "Check for spurious wake ups" am:
3a3cd0a27f
am:
c2dcebe6e6
Change-Id: I6777a0845cbfbef3681e3f3779779c83001c0456
TreeHugger Robot [Mon, 6 Mar 2017 20:01:13 +0000 (20:01 +0000)]
Merge "AAPT2: Fix parsing ResTable_type"
Tom Cherry [Mon, 6 Mar 2017 19:57:18 +0000 (19:57 +0000)]
Merge "Check for spurious wake ups"
am:
3a3cd0a27f
Change-Id: Ia445070278f5a80c85b48e06ddf614d462db45af
TreeHugger Robot [Mon, 6 Mar 2017 19:48:14 +0000 (19:48 +0000)]
Merge "Limit instant app access to clipboard"
TreeHugger Robot [Mon, 6 Mar 2017 19:31:25 +0000 (19:31 +0000)]
Merge "Fix Loader bugs"
Tom Cherry [Mon, 6 Mar 2017 19:25:58 +0000 (19:25 +0000)]
Merge "Check for spurious wake ups"
Roozbeh Pournader [Mon, 6 Mar 2017 19:19:06 +0000 (19:19 +0000)]
Merge "Frameworks support for hyphenation for various complex cases"
Jeff Davidson [Mon, 6 Mar 2017 18:57:42 +0000 (18:57 +0000)]
Merge "Declare new com.android.phone permission in whitelist."
TreeHugger Robot [Mon, 6 Mar 2017 18:46:03 +0000 (18:46 +0000)]
Merge "Removing check for launched-from package to expand PiP."
Ajay Panicker [Mon, 6 Mar 2017 18:35:08 +0000 (18:35 +0000)]
Merge "Bluetooth: Use content observer for airplane mode" am:
8871623b8d -s ours am:
4ddee9722d
am:
a38d289d8a
Change-Id: I8f4d104bef04919b0ca74394a94d2d75b65ced6e
Michal Karpinski [Mon, 6 Mar 2017 18:30:01 +0000 (18:30 +0000)]
Merge "BackupManagerService#cancelBackups() releases mCurrentOpLock sooner"
Ajay Panicker [Mon, 6 Mar 2017 18:26:56 +0000 (18:26 +0000)]
Merge "Bluetooth: Use content observer for airplane mode" am:
8871623b8d -s ours
am:
4ddee9722d
Change-Id: Ia3653b1737eb48d52eed98c3b6ba99d8e95636d7
Ajay Panicker [Mon, 6 Mar 2017 18:21:33 +0000 (18:21 +0000)]
Merge "Bluetooth: Use content observer for airplane mode"
am:
8871623b8d -s ours
Change-Id: I83e81bd944c36c0f96a213bf57f99e61a7b35404
TreeHugger Robot [Mon, 6 Mar 2017 18:16:10 +0000 (18:16 +0000)]
Merge "Change group ranking."
Treehugger Robot [Mon, 6 Mar 2017 17:59:02 +0000 (17:59 +0000)]
Merge "Bluetooth: Use content observer for airplane mode"
Ajay Panicker [Wed, 22 Feb 2017 20:23:15 +0000 (12:23 -0800)]
Bluetooth: Use content observer for airplane mode
We are making this switch as the airplane mode switch intent is going away.
Fix:
35256299
Test: Toggle Airplane Mode
Change-Id: I3b1e5bbdf689b0db98cfbb0ab377198d34f0ba05
Chad Brubaker [Thu, 2 Mar 2017 23:56:43 +0000 (15:56 -0800)]
Limit instant app access to clipboard
Instant apps can access the clipboard (both read and write) in order for
copy/paste UI to work correctly. In order to limit the exposure of user
data Instant Apps can only access the clipboard while running in the
foreground.
Longer term it would be nice to gate Instant Apps clipboard access
around user interaction to prevent shenanigains, but this is a good
start.
Test: Manually verified that ClipboardManager.getPrimaryClip returns
null when the instant app transitions out of the foreground
Bug:
34231507
Change-Id: I7ea83e503d249c61e9df2d8bd83028e24705be11
Makoto Onuki [Mon, 6 Mar 2017 17:22:51 +0000 (17:22 +0000)]
Merge "Mention the relaxed security check on UM.isUserRunningOrStopping()."
Mathieu Chartier [Mon, 6 Mar 2017 16:49:19 +0000 (16:49 +0000)]
Merge "Generate app image for system-server"
TreeHugger Robot [Mon, 6 Mar 2017 16:31:54 +0000 (16:31 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Mon, 6 Mar 2017 16:26:21 +0000 (16:26 +0000)]
Merge "Import translations. DO NOT MERGE"
Charlie Tsai [Mon, 6 Mar 2017 13:43:38 +0000 (13:43 +0000)]
Merge "Implement drawPoint and drawPoints of BaseCanvas_Delegate"
Michal Karpinski [Mon, 6 Mar 2017 13:39:19 +0000 (13:39 +0000)]
BackupManagerService#cancelBackups() releases mCurrentOpLock sooner
Incoming operations don't have to block until all backup ops to be
cancelled are handled.
Test: make gts -j40 && gts-tradefed run gts -m GtsGmscoreHostTestCases -t com.google.android.gts.backup.BackupManagerHostTest
Bug:
35767318
Change-Id: I1c6f7a1cfbfc18483311044a75e46cd4e8f9f4f3
Filip Pavlis [Mon, 6 Mar 2017 13:29:28 +0000 (13:29 +0000)]
Merge "Improve preferences for PreferenceDataStore."
Bill Yi [Mon, 6 Mar 2017 12:46:32 +0000 (04:46 -0800)]
Import translations. DO NOT MERGE
Change-Id: Id4a9d4c2e278304cbc4bb76cc59a266b9a6f693e
Auto-generated-cl: translation import
Hugo Benichi [Mon, 6 Mar 2017 12:45:10 +0000 (12:45 +0000)]
Merge "Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions b/
35955593, http://b/
35921499." am:
704520c392 am:
4cf199383f
am:
22d4258a75
Change-Id: I8e66e223003a38735b707d21d7bedb19170b1937
Hugo Benichi [Mon, 6 Mar 2017 12:37:36 +0000 (12:37 +0000)]
Merge "Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions b/
35955593, http://b/
35921499." am:
704520c392
am:
4cf199383f
Change-Id: I79234b267fccb31dfd53cf970a8da039654e684b
Hugo Benichi [Mon, 6 Mar 2017 12:30:05 +0000 (12:30 +0000)]
Merge "Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions b/
35955593, http://b/
35921499."
am:
704520c392
Change-Id: Ia0ae78f8406b81377491407cf5ef8ca339952def
Hugo Benichi [Mon, 6 Mar 2017 12:20:40 +0000 (12:20 +0000)]
Merge "Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions b/
35955593, http://b/
35921499."
Charlie Tsai [Thu, 2 Mar 2017 18:09:56 +0000 (18:09 +0000)]
Implement drawPoint and drawPoints of BaseCanvas_Delegate
Test: Layoutlib tests
Change-Id: Ic6d81b9581db9dab4ecbacb8f08ab41e0077bab0
Bill Yi [Mon, 6 Mar 2017 11:29:50 +0000 (03:29 -0800)]
Import translations. DO NOT MERGE
Change-Id: Iff822fac67b1b27301b96e63af899e7e1279875f
Auto-generated-cl: translation import
Clara Bayarri [Mon, 6 Mar 2017 10:40:20 +0000 (10:40 +0000)]
Merge "Ignore non-font resource references in TextView constructor"
Anton Philippov [Mon, 6 Mar 2017 10:25:22 +0000 (10:25 +0000)]
Merge "Pass an empty list to PerformBackupTask constructor instead of null"
TreeHugger Robot [Mon, 6 Mar 2017 06:39:34 +0000 (06:39 +0000)]
Merge "Import translations. DO NOT MERGE"
Hugo Benichi [Mon, 6 Mar 2017 06:16:51 +0000 (06:16 +0000)]
Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions b/
35955593, http://b/
35921499.
This reverts commit
faa70976b490116323107166f90fdd944c5bdc77.
Change-Id: I86c07c113f24753be7c977e6d7f570b99391e1b5
Andrii Kulian [Mon, 6 Mar 2017 06:12:33 +0000 (06:12 +0000)]
Merge "Compute merged configuration changes"
Bill Yi [Mon, 6 Mar 2017 03:29:15 +0000 (19:29 -0800)]
Import translations. DO NOT MERGE
Change-Id: I3af1430764f59d462cc653f0a1870611d5ac51a9
Auto-generated-cl: translation import
Jaewan Kim [Mon, 6 Mar 2017 02:57:27 +0000 (02:57 +0000)]
Merge "MediaSessionService: Leave volume key event logs by default"
Mathieu Chartier [Tue, 28 Feb 2017 21:04:43 +0000 (13:04 -0800)]
Generate app image for system-server
Use new override properties.
Bug:
34929159
Test: phone boot
Change-Id: Iea7f50d34020255d27a5a303da2801afecb60f25
Hyundo Moon [Sun, 5 Mar 2017 14:18:07 +0000 (14:18 +0000)]
Merge "Modify JavaDoc of MediaBrowserService.getBrowserRootHints"
Jason Monk [Sat, 4 Mar 2017 02:49:29 +0000 (21:49 -0500)]
Updated QS UI
- Adds footer to QS which contains the date/alarm info
and all touch targets (settings, edit, etc.)
- Swaps out emergency + carrier text on cell tile for a
standard CarrierText from lock screen in the header
to make the header only contain status info.
- Add dividing line
- Work on animations
Test: runtest systemui
Change-Id: I97dfea1b1ea7006b53eb61ac3a1f942c64dd282d
Jason Monk [Fri, 3 Mar 2017 21:53:44 +0000 (16:53 -0500)]
Add plugin API for individual QS tiles
This will allow prototyping of individual QS tiles and/or their
visual representation without having to write a plugin for the
entire panel. This will allow quick iteration on QS UI + dual
target tiles.
Test: Install plugin using new API
Change-Id: I05ca9d9f5a200a1dad2c3582251a36edb5cb9aba
TreeHugger Robot [Sat, 4 Mar 2017 10:10:55 +0000 (10:10 +0000)]
Merge "Don't set auto-fill options when Spinner has no adapter."
TreeHugger Robot [Sat, 4 Mar 2017 10:03:54 +0000 (10:03 +0000)]
Merge "Minor changes on AutoFill Save UI."
Felipe Leme [Sat, 4 Mar 2017 08:17:59 +0000 (00:17 -0800)]
Don't set auto-fill options when Spinner has no adapter.
Change-Id: Ib42fe5ba57d5ef31a00b39945ac3bcacbb217cc8
Fixes:
35965642
Bug:
33550221
Test: compilation only
TreeHugger Robot [Sat, 4 Mar 2017 06:57:21 +0000 (06:57 +0000)]
Merge "Don't run autoFill on detached view or mode=manual"
TreeHugger Robot [Sat, 4 Mar 2017 03:25:40 +0000 (03:25 +0000)]
Merge "Fix bug #
35673706 - null verifier component..."
Paul Lawrence [Sat, 4 Mar 2017 02:29:36 +0000 (02:29 +0000)]
Merge "Make seccomp honor setenforce" am:
c337e32bb0 am:
071dcc02b4
am:
fb350eb0c7
Change-Id: Id8d8c478d9e1d929d216286bbf0fbdc423018c17
TreeHugger Robot [Sat, 4 Mar 2017 02:27:05 +0000 (02:27 +0000)]
Merge "Bluetooth: Use content observer for airplane mode"
Paul Lawrence [Sat, 4 Mar 2017 02:23:14 +0000 (02:23 +0000)]
Merge "Make seccomp honor setenforce" am:
c337e32bb0
am:
071dcc02b4
Change-Id: I95d2303229f38c3d0719d830deefd58cc3280278
Paul Lawrence [Sat, 4 Mar 2017 02:17:43 +0000 (02:17 +0000)]
Merge "Make seccomp honor setenforce"
am:
c337e32bb0
Change-Id: I9d1bfd35f7da304188da2d6aff6b937108ae4680
Treehugger Robot [Sat, 4 Mar 2017 02:08:53 +0000 (02:08 +0000)]
Merge "Make seccomp honor setenforce"
Jeff Davidson [Sat, 4 Mar 2017 01:42:35 +0000 (17:42 -0800)]
Declare new com.android.phone permission in whitelist.
Bug:
35948554
Test: Will verify T/H build
Change-Id: I41773160aa6515983a15365905a2cbb6b13e10c6
Christopher Tate [Sat, 4 Mar 2017 01:18:20 +0000 (17:18 -0800)]
Fix bug #
35673706 - null verifier component...
...causing an NPE when we attempted to call getPackageName() on it.
This patch avoids the NPE, but does not address the underlying
question of why the component we're attempting to target is coming
back null. This new approach guarantees the security of the broadcast,
though, so we needn't worry further about that.
Test: install app & note verifier action
Change-Id: I0d316e0815210ba1fbb14da6b76d5c23a85c96a4
George Mount [Thu, 2 Mar 2017 21:22:18 +0000 (13:22 -0800)]
Fix Loader bugs
Bug
32758881
Bug
34264461
When destroying the LoaderManager, the host was not being cleared.
The host was being leaked and this leaked the Activity.
When a LoaderManager is reused, for example with an orientation
change, the host was updated, but it wasn't started. This
adds a test for that case to ensure that when a reused
LoaderManager is loaded that it is properly started.
Test: Ib90f14e16083916a21a25ce87a4dd29ab9a33878
Change-Id: Id4c8afab5db0a78bbff376d597be294a6e3dbcba
TreeHugger Robot [Sat, 4 Mar 2017 00:52:43 +0000 (00:52 +0000)]
Merge "fallout of cleaning-up libutils includes"
TreeHugger Robot [Sat, 4 Mar 2017 00:50:49 +0000 (00:50 +0000)]
Merge "AAPT2: Fix Plural::Equals() method"
TreeHugger Robot [Sat, 4 Mar 2017 00:47:32 +0000 (00:47 +0000)]
Merge "expose isSealed() from the installer session"
Ashutosh Joshi [Sat, 4 Mar 2017 00:37:33 +0000 (00:37 +0000)]
Merge "Pass on the Apps Query Response to clients."
TreeHugger Robot [Sat, 4 Mar 2017 00:37:11 +0000 (00:37 +0000)]
Merge "Add forAutoFill suffix on ViewStructure methods that add children."
Billy Lamberta [Sat, 4 Mar 2017 00:19:11 +0000 (00:19 +0000)]
Merge "Set hdf var 'dac' to true in droiddoc options. Allows for DAC template customizations in Doclava."
TreeHugger Robot [Sat, 4 Mar 2017 00:03:42 +0000 (00:03 +0000)]
Merge "Restrict access from apps to bluetooth_address setting"
TreeHugger Robot [Fri, 3 Mar 2017 23:58:16 +0000 (23:58 +0000)]
Merge "Mark ACTION_VOICE_ASSIST as SystemApi"
TreeHugger Robot [Fri, 3 Mar 2017 23:44:02 +0000 (23:44 +0000)]
Merge "Minor documentation fixes."
Roozbeh Pournader [Tue, 21 Feb 2017 20:18:31 +0000 (12:18 -0800)]
Frameworks support for hyphenation for various complex cases
This adds better support for Arabic script languages, Armenian,
Catalan, Hebrew, Kannada, Malayalam, Polish, Tamil, and Telugu by
adding various hyphenation types and edits appropriate for the
locales.
The actual implementations are in Minikin. This CL takes care of the
changes needed in frameworks, to support different end-of-line and
start-of-line hyphen edits.
Two bugs in TextLine.java are also fixed:
1. Where hyphen edits on non-spanned texts were not eliminated in
handleRun() when they should have. This had manifested itself in
double hyphenation in some bidi paragraphs.
2. Some no op assignments and comparions around the change for the
above bug are removed.
Test: thorough manual testing for various cases
Bug:
19756624
Bug:
19950445
Bug:
19955011
Bug:
25623243
Bug:
26154469
Bug:
26154471
Bug:
33387871
Bug:
33560754
Bug:
33752592
Bug:
33754204
Change-Id: I48c047d1f6a75c39a78a6ea38a0a3282f63326ec
TreeHugger Robot [Fri, 3 Mar 2017 23:10:28 +0000 (23:10 +0000)]
Merge "Fix crash in secondary user"
Todd Kennedy [Fri, 3 Mar 2017 21:05:12 +0000 (13:05 -0800)]
expose isSealed() from the installer session
Change-Id: I5232a012fbee8931b0e3f584d6bb2e273a789dee
Fixes:
35948628
Test: Manual
Nathan Harold [Fri, 3 Mar 2017 22:51:38 +0000 (22:51 +0000)]
Merge changes from topic 'sms-file-refactor'
* changes:
Permit privileged system apps to send SMS without persisting.
Move newFromRil() function to a utility class
Remove dependency on telephony-common from services/core
Move OTASP_* Consts from ServiceStateTracker to TelephonyManager
Port Utility Functions from DefaultPhoneNotifier
Remove dependency on IccConstants from SmsManager
Merge branch 'stage-telephony-refactor' into master
Julia Reynolds [Tue, 28 Feb 2017 21:06:55 +0000 (16:06 -0500)]
Change group ranking.
Rank notification groups where the highest child ranks
Change-Id: Ia45455a34fc10ece75e11a7b58c60a6b2e59a7c3
Fixes:
34844490
Test: notificationtestlist
TreeHugger Robot [Fri, 3 Mar 2017 22:45:20 +0000 (22:45 +0000)]
Merge "Modify SurfaceView to use SurfaceFlinger child surfaces."
Felipe Leme [Fri, 3 Mar 2017 22:29:17 +0000 (14:29 -0800)]
Add forAutoFill suffix on ViewStructure methods that add children.
Change-Id: I36f7bd26b7d45fd809d7398cc86de3d2671f2b28
Fixes:
35764877
Test: m update-api
TreeHugger Robot [Fri, 3 Mar 2017 22:26:46 +0000 (22:26 +0000)]
Merge "Adding support for passing arbitrary extras when requesting to pin a widget. Also defining an extra constant for widget preview which can be used by developers to provide a snapshot of the widget with the pin request"
TreeHugger Robot [Fri, 3 Mar 2017 22:26:16 +0000 (22:26 +0000)]
Merge "Fix qs tiles disappearing when leaving edit"
Billy Lamberta [Fri, 3 Mar 2017 21:09:15 +0000 (13:09 -0800)]
Set hdf var 'dac' to true in droiddoc options.
Allows for DAC template customizations in Doclava.
Test: make offline-sdk-docs
Change-Id: I11aa79eeba2f7440fa68ee92276eecec6db7f836
Alex Klyubin [Fri, 3 Mar 2017 22:08:36 +0000 (14:08 -0800)]
Restrict access from apps to bluetooth_address setting
BluetoothManagerService for some reason leaks the Android's Bluetooth
MAC address via Settings.Secure which is normally readable by all
apps. This lets apps bypass the restriction on access to Bluetooth MAC
address from apps.
This commit fixes the issue by restricting access to bluetooth_address
secure setting (Settings.Secure). Only packages which hold the
android.permission.LOCAL_MAC_ADDRESS permission retain access.
This commit accordingly grants LOCAL_MAC_ADDRESS permission to the
system Shell app because a number of scripts (including Android CTS)
use "adb shell settings get secure bluetooth_address" as a convenient
way to query the device's Bluetooth MAC address over ADB. This is
acceptable because the user of the device can see the Bluetooth MAC
address and thus it's fine for shell to be able to see the address as
well.
Test: See CTS test added in the cts project in this topic.
Test: "adb shell settings get secure bluetooth_address" returns the
Bluetooth MAC address of the Android.
Test: "adb shell settings list secure | grep bluetooth_address"
returns the Bluetooth MAC address of the Android.
Test: Bluetooth works (toggling off/on, pairing, file transfer)
Bug:
33701414
Change-Id: I17b110b96eb3794b25c1661e93d29a7a003e3c9a
Amith Yamasani [Fri, 3 Mar 2017 18:15:57 +0000 (10:15 -0800)]
Mark ACTION_VOICE_ASSIST as SystemApi
.. since it is implemented by a system app. This allows the
CTS test that verifies android.* namespace intents to pass.
Change-Id: I083e1d12a79fa67e15158ca7390353303cd0e06e
Fixes:
35274957
Test: cts-tradefed run cts-dev -m CtsSignatureTestCases
Felipe Leme [Fri, 3 Mar 2017 01:57:06 +0000 (17:57 -0800)]
Minor changes on AutoFill Save UI.
- Fixed subtitle layout.
- Added a Shell command to change snackbar lifetime (so CTS tests can verify
it's dismissed).
BUG:
35727295
Test: CtsAutoFillServiceTestCases (with new tests) pass
Test: manual verification
Change-Id: Ie6d42c94599ad59a319ca6f6a1ab02882f8d5f81
Philip P. Moltmann [Thu, 23 Feb 2017 20:52:46 +0000 (12:52 -0800)]
Don't run autoFill on detached view or mode=manual
We only run autoFill on views that are attached, auto-fillable, not
auto-fill blocked, resolvedMode=auto and focused. If any of the
conditions change we have to re-evaluate the auto-fill state.
This reverts commit
e572989b3f838cc76b51699710d11aa2f992a474.
Test: Ran amended ViewAttributesTest, set a PIN for the device
(previously crashed)
Bug:
35701500
Change-Id: Idcdf1fd7b7dee6bfbc800fb84fdc1c72dcb088f9
Adam Lesinski [Fri, 3 Mar 2017 21:50:21 +0000 (13:50 -0800)]
AAPT2: Fix parsing ResTable_type
ResTable_type's size changes due to it containing
ResTable_config. Make sure we check for the minimum size
required to read it.
Bug:
35861796
Test: Manual (don't have an integration test harness setup yet)
Change-Id: Ifb0cd1d732625f59835c8ed0449adb78129636de
Ajay Panicker [Wed, 22 Feb 2017 20:23:15 +0000 (12:23 -0800)]
Bluetooth: Use content observer for airplane mode
We are making this switch as the airplane mode switch intent is going away.
Fix:
35256299
Test: Toggle Airplane Mode
Change-Id: I3b1e5bbdf689b0db98cfbb0ab377198d34f0ba05
TreeHugger Robot [Fri, 3 Mar 2017 21:59:24 +0000 (21:59 +0000)]
Merge "Move framework-specific portions of pathmap.mk into frameworks/base"
TreeHugger Robot [Fri, 3 Mar 2017 21:58:59 +0000 (21:58 +0000)]
Merge "Fix initial StatusBar wiping out disabled state"
Felipe Leme [Fri, 3 Mar 2017 21:56:11 +0000 (13:56 -0800)]
Minor documentation fixes.
Test: m update-api
Bug:
33550221
Change-Id: I757f161eb78a5c0c662743f35a372c91130c5b34
TreeHugger Robot [Fri, 3 Mar 2017 21:36:05 +0000 (21:36 +0000)]
Merge "OMS: Introduce default overlays"
Daniel Nishi [Fri, 3 Mar 2017 21:35:13 +0000 (21:35 +0000)]
Merge "Persist the debug time correction flag."
Makoto Onuki [Fri, 3 Mar 2017 21:33:05 +0000 (13:33 -0800)]
Fix crash in secondary user
Test: manual test
Change-Id: If406807094f216fd3cfd80db7c6498c954a3fc95
Fix:
35938801
Anton Philippov [Fri, 3 Mar 2017 12:58:16 +0000 (12:58 +0000)]
Pass an empty list to PerformBackupTask constructor instead of null
Recent changes to PerformBackupTask made it expect empty list rather
than null for the ArrayList<String> pendingFullBackups argument.
Bug:
35420596
Test: manual
Change-Id: I8e1f69e78856b9bb8fc8aa9ab1adcac634314a36
TreeHugger Robot [Fri, 3 Mar 2017 21:09:43 +0000 (21:09 +0000)]
Merge "Use SkPaint.nothingToDraw instead of PaintUtils helper."
Paul Lawrence [Fri, 3 Mar 2017 21:04:35 +0000 (13:04 -0800)]
Make seccomp honor setenforce
Note: This code is in frameworks, since we might want to have tools
linked against seccomp_policy that continue to enforce seccomp
Bug:
35950093
Test: Builds, Seccomp: 2 is in zygote & zygote64 status
Run setenforce 0 && stop && start
Seccomp: 0 is in zygote & zygote64 status
Change-Id: I797a6c29f58725f84089c570f784125fb99f57ce
Robert Carr [Fri, 3 Mar 2017 18:48:11 +0000 (10:48 -0800)]
Modify SurfaceView to use SurfaceFlinger child surfaces.
Here we have SurfaceView bypass the WindowManager and speak
directly to SurfaceFlinger using child surfaces. We also
implement some logic in the WM to handle child surfaces
in various Surface replacement scenarios.
For those following along in the revert Saga, this
also includes the follow up CLs to the original CL.
- Surface inset calculation
- Animation fixes.
The error causing revert was a deferTransactionUntil(-1)...-1
cast to uint, defer transaction until MAX_UINT.
Bug:
28858420
Bug:
31518219
Bug:
34888808
Bug:
35588318
Bug:
35396882
Test: Existing tests still pass (except for the ones that don't and will be deleted).
Change-Id: Ib37236950a1dd3c4f9f4b58fd41ef9003c0557ef
Winson Chung [Fri, 3 Mar 2017 20:06:21 +0000 (12:06 -0800)]
Removing check for launched-from package to expand PiP.
Bug:
35946309
Bug:
35927986
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: I71ed03dc664a080e93427c6e18a4c1e7ff99d726
Philip P. Moltmann [Fri, 3 Mar 2017 20:53:39 +0000 (20:53 +0000)]
Merge "Add autoFillHint property to view"
Paul Mclean [Fri, 3 Mar 2017 20:51:43 +0000 (20:51 +0000)]
Merge "nativemidi: Prototype demonstrating native access to IMidiDeviceServer"
Mathias Agopian [Wed, 1 Mar 2017 01:43:39 +0000 (17:43 -0800)]
fallout of cleaning-up libutils includes
Test: run & compile
Bug: n/a
Change-Id: I0f6a0be03f4b120b1b5876aae0c0618c025d9f2b
TreeHugger Robot [Fri, 3 Mar 2017 20:28:33 +0000 (20:28 +0000)]
Merge "Add API for checking which CA certs were installed by the DO/PO"
Jason Monk [Fri, 3 Mar 2017 15:28:45 +0000 (10:28 -0500)]
Fix initial StatusBar wiping out disabled state
It was injecting some current disabled state before it actually
had any, which made us lose the disabled state.
Change-Id: Ie6947e72733212e3efcfaea09a59e586ae35fb1d
Fixes:
35767933
Test: Set pin, go to bouncer, look at home
Srinivas Visvanathan [Fri, 3 Mar 2017 20:09:35 +0000 (20:09 +0000)]
Merge "Defining extras for New Unread-Message Broadcast"