OSDN Git Service
TreeHugger Robot [Fri, 21 Apr 2017 01:20:19 +0000 (01:20 +0000)]
Merge "Fixed NPE on dump() and other minor fixes..." into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 01:11:07 +0000 (01:11 +0000)]
Merge "Fix a11y text location in clipped views" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 00:31:05 +0000 (00:31 +0000)]
Merge "Renaming setAsyncExecutor to setExecutor" into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 00:30:15 +0000 (00:30 +0000)]
Merge "browserIntent needs proper flags for PendingIntent" into oc-dev
Phil Weaver [Fri, 21 Apr 2017 00:11:03 +0000 (00:11 +0000)]
Merge "Hide API to listen to a11y service state" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 23:52:41 +0000 (23:52 +0000)]
Merge "Kill running animations on fragment view's when removed." into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 23:51:03 +0000 (23:51 +0000)]
Merge "Execute pending transactions after FM state change." into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 23:43:33 +0000 (23:43 +0000)]
Merge "Added missing important-for-autofill mappings." into oc-dev
Michael Plass [Thu, 20 Apr 2017 23:37:47 +0000 (23:37 +0000)]
Merge "Deprecate BSSID Hostlist system API" into oc-dev
Felipe Leme [Thu, 20 Apr 2017 22:46:18 +0000 (15:46 -0700)]
Fixed NPE on dump() and other minor fixes...
Bug:
36871500
Test: manual verification
Change-Id: I1c3a8406344280da37b728eae56f26447c48e0b2
Sunny Goyal [Thu, 20 Apr 2017 22:25:47 +0000 (15:25 -0700)]
Renaming setAsyncExecutor to setExecutor
Bug:
37534990
Test: Tests updated
Change-Id: I9ea467d05b4ac4d96c23d53750727096a511686d
Jason Monk [Thu, 20 Apr 2017 22:18:18 +0000 (22:18 +0000)]
Merge "Fix status bar not hiding quickly" into oc-dev
Jesse Evans [Thu, 20 Apr 2017 21:44:49 +0000 (14:44 -0700)]
browserIntent needs proper flags for PendingIntent
Previously the browserIntent was updated after the call to
PendingIntent.getActivity. It should be updated correctly
before the PendingIntent.getActivity call so that the
PendingIntent is correctly created for the browser instead
of the Instant App.
Test: Existing tests, manually tested fixed behavior.
Bug:
35873804
Change-Id: Ie77344a4190fbc6a3896b02e3adfcdd29985006d
TreeHugger Robot [Thu, 20 Apr 2017 21:23:59 +0000 (21:23 +0000)]
Merge "docs: Restoring file to allow staging reference docs from Gerrit" into oc-dev
George Mount [Thu, 20 Apr 2017 20:38:07 +0000 (20:38 +0000)]
Merge "fix NPE when fragment container is null" into oc-dev
George Mount [Thu, 20 Apr 2017 20:16:52 +0000 (13:16 -0700)]
fix NPE when fragment container is null
Bug
37529822
Test: ran against breaking application
Change-Id: Ib829b817eddf2e91898989a2f9e7885a6f5847e5
Makoto Onuki [Thu, 20 Apr 2017 20:14:23 +0000 (20:14 +0000)]
Merge "Enhance the shortcut manager javadoc." into oc-dev
Chad Brubaker [Thu, 20 Apr 2017 19:52:44 +0000 (19:52 +0000)]
Merge "Address API review comments for registerReceiver" into oc-dev
Phil Weaver [Thu, 20 Apr 2017 19:11:15 +0000 (12:11 -0700)]
Fix a11y text location in clipped views
Bug:
37482849
Test: Run Select to Speak, open apps, scroll so top row is
partially visible, have it read the screen.
Change-Id: Ibbd51221f8e93372ccff6d5fb57cdc2a09f2c19f
TreeHugger Robot [Thu, 20 Apr 2017 18:56:39 +0000 (18:56 +0000)]
Merge "Stop fetching font data if the context is restricted." into oc-dev
Makoto Onuki [Mon, 17 Apr 2017 17:55:21 +0000 (10:55 -0700)]
Enhance the shortcut manager javadoc.
Test: make -j offline-sdk-docs
Bug
37418396
Change-Id: Ic82eb45ea232c2f032abaade12ac9ca967c35cae
Conrad Chen [Thu, 20 Apr 2017 18:08:09 +0000 (18:08 +0000)]
Merge "Fix overlay view not updated during scaling TvView" into oc-dev
Eugene Susla [Thu, 20 Apr 2017 17:50:55 +0000 (17:50 +0000)]
Merge "StopScan before each new Companion device scan" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 17:25:15 +0000 (17:25 +0000)]
Merge "Moved getAutofillOptions() logic from SpinnerAbs to AdapterView and Adapter." into oc-dev
Jason Monk [Thu, 20 Apr 2017 17:24:20 +0000 (17:24 +0000)]
Merge changes I8953967a,If17eddad into oc-dev
* changes:
Add go to web action for instant apps
Fix when instant app notif is showing
Jordan Liu [Thu, 20 Apr 2017 17:02:50 +0000 (17:02 +0000)]
Merge "Use SubscriptionId instead of SubId" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 17:02:11 +0000 (17:02 +0000)]
Merge "Remove swipe to exit persistent Vr mode behavior" into oc-dev
Sudheer Shanka [Thu, 20 Apr 2017 16:32:34 +0000 (16:32 +0000)]
Merge "Revert "Add new api Activity.getStartInitiatedTime."" into oc-dev
Bryce Lee [Thu, 20 Apr 2017 16:27:51 +0000 (16:27 +0000)]
Merge "Do not pause resumed activity in resumeTopActivityUncheckedLocked." into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 16:17:08 +0000 (16:17 +0000)]
Merge "Remove QS wifi alpha state animations, they need more work" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 16:14:18 +0000 (16:14 +0000)]
Merge "Fix touch target on QS date" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 16:02:46 +0000 (16:02 +0000)]
Merge "Fix QS label layout" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 15:59:40 +0000 (15:59 +0000)]
Merge "Fix alpha on wifi disconnected icon" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 15:50:41 +0000 (15:50 +0000)]
Merge "Fix alpha on wifi connected 4 bars no inet icon" into oc-dev
Jean-Michel Trivi [Thu, 20 Apr 2017 15:45:06 +0000 (15:45 +0000)]
Merge "Revert "Revert "AudioAttributes: remove static getVolumeControlStream method""" into oc-dev
Martijn Coenen [Thu, 20 Apr 2017 15:33:28 +0000 (15:33 +0000)]
Merge "Stop hwbinder threads from app_process." into oc-dev
Philipp Weiß [Thu, 20 Apr 2017 15:28:24 +0000 (15:28 +0000)]
Merge "Redesign QSSecurityFooter dialog" into oc-dev
Philipp Weiß [Thu, 20 Apr 2017 15:26:55 +0000 (15:26 +0000)]
Merge "String fixes in QSFooter" into oc-dev
Jason Monk [Thu, 20 Apr 2017 15:26:36 +0000 (11:26 -0400)]
Fix status bar not hiding quickly
Appears to be from the delay of posting in the CommandQueue, skip
post when possible.
Test: Turn screen off the right back on.
Change-Id: I285b45544f32891ab86fd1f4a4aba3204bcbfdb4
Fixes:
36463611
Felipe Leme [Thu, 20 Apr 2017 15:21:23 +0000 (08:21 -0700)]
Added missing important-for-autofill mappings.
Bug:
36171235
Test: m update-api
Change-Id: I7bbbe7a323110c89976cab3e4f5c8f4acba407d7
Stephen Kiazyk [Tue, 4 Apr 2017 21:46:59 +0000 (14:46 -0700)]
Remove swipe to exit persistent Vr mode behavior
This behavior is somewhat redundant now
* It is currently already possible to exit Vr mode in normal
circumstances by pressing the X in the top left of the screen.
* If a 'safety hatch' is needed, one can just press the power button,
which will require going through the Don flow again, which can then be
cancelled by pressing the X button.
As it is, the swipe behavior is likely just to cause confusion (and
currently, it puts the device in a bad state where the vr app is still
running, but the screen is blank except for the overlay). My proposition
is just to remove it and use the power button as the safe/guaranteed way
to exit vr mode.
Bug:
36965697
Test: Swiping no longer drops the screen to the overlay when in a
vrflinger application.
Change-Id: I461828f5dce67361a5f4d60c47ac7d6371a4efb3
Jason Monk [Wed, 19 Apr 2017 22:41:06 +0000 (18:41 -0400)]
Add go to web action for instant apps
Test: manual
Change-Id: I8953967ac849f5a5d4129c514172238e17d54df7
Fixes:
35873804
Jason Monk [Wed, 19 Apr 2017 21:13:41 +0000 (17:13 -0400)]
Fix when instant app notif is showing
Test: manual
Change-Id: If17eddad60f8207fecf9518430a280261bde5b30
Fixes:
37107497
TreeHugger Robot [Thu, 20 Apr 2017 14:56:20 +0000 (14:56 +0000)]
Merge "Do not check user escrow state if synthetic password is not enabled yet" into oc-dev
Phil Weaver [Thu, 20 Apr 2017 14:51:37 +0000 (14:51 +0000)]
Merge "Make a11y clickable span work after node recycle" into oc-dev
Jesse Hall [Thu, 20 Apr 2017 14:51:33 +0000 (14:51 +0000)]
Merge "Vulkan compute 0 only requires variable pointers" into oc-dev
Bryce Lee [Thu, 20 Apr 2017 14:19:13 +0000 (14:19 +0000)]
Merge "Deprecate Activity#requestVisibleBehind" into oc-dev
Bryce Lee [Wed, 19 Apr 2017 17:40:42 +0000 (10:40 -0700)]
Do not pause resumed activity in resumeTopActivityUncheckedLocked.
A number of operations occur between setting the resumed activity and
notifying the activity to resume. One of these steps is updating the
configuration, which can cause the device to pause the resumed
activity. Since the activity has not been told to resume, this leads
to a pause before resume.
This changelist addresses the issue by checking whether we are in the
middle of resuming the top activity before attempting to stop the
currently set resumed activity.
Change-Id: I3b5b61de6b1b5a35b7773912b4e63d6c69096c04
Fixes:
35637717
Test: bit FrameworksServicesTests:com.android.server.am.ActivityStackTests#testNoPauseDuringResumeTopActivity
Gustav Sennton [Thu, 20 Apr 2017 13:56:59 +0000 (13:56 +0000)]
Merge "Listen to USER_STARTED instead of USER_ADDED from WebViewUpdateService." into oc-dev
Abodunrinwa Toki [Thu, 20 Apr 2017 13:30:30 +0000 (13:30 +0000)]
Merge changes from topics 'smartselectconfig', 'langidconfig' into oc-dev
* changes:
SmartSelection Config installer.
LangId Config installer.
Jason Monk [Thu, 20 Apr 2017 13:24:59 +0000 (09:24 -0400)]
Remove QS wifi alpha state animations, they need more work
Test: visual
Change-Id: Icd0e5ef30f04ffc86ba28eee67ea2508ffc95c40
Fixes:
35041035
Andrei Stingaceanu [Thu, 20 Apr 2017 13:14:01 +0000 (13:14 +0000)]
Merge "AutoSize TextView - API polish - no RuntimeException in signature" into oc-dev
Abodunrinwa Toki [Thu, 20 Apr 2017 13:08:47 +0000 (13:08 +0000)]
Merge "TRON: Log "textAssist" actions." into oc-dev
Jason Monk [Thu, 20 Apr 2017 13:07:57 +0000 (09:07 -0400)]
Fix QS label layout
Test: visual
Change-Id: Ie334ffbef07549c9ab68fc663c25c0b4b63465ca
Fixes:
37439937
phweiss [Wed, 19 Apr 2017 17:21:08 +0000 (19:21 +0200)]
String fixes in QSFooter
Only one of the strings (monitoring_title_device_owned) needs to be
translated again. For the others, only apostrophes are fixed.
Bug:
34369166
Test: string-changes only
Change-Id: I58271393f4d8a83e55fa32885e3113845f5e4f5f
(cherry picked from commit
3e559e615359be06229a3ba9048e3b9bac5e4446)
phweiss [Wed, 19 Apr 2017 18:14:51 +0000 (20:14 +0200)]
Redesign QSSecurityFooter dialog
The dialog consists now of up to four sections: Device management,
CA certificates, Network Logging and VPN.
Also, small tweaks to the footer's coloring after the theme change of QS.
Bug:
34369166
Bug:
37492743
Test: in class QSSecurityFooterTest, which is part of "runtest systemui"
Change-Id: Ibf07a26fb6c5485a152f9d447f10c0f73acb94ba
(cherry picked from commit
0330f881447b053f88de6d30c99bfe4feed3c91d)
TreeHugger Robot [Thu, 20 Apr 2017 12:59:31 +0000 (12:59 +0000)]
Merge "Add shell command for turning on/off WebView multiprocess." into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 12:52:39 +0000 (12:52 +0000)]
Merge "Api Council: hide FontsContract.Columns constructor" into oc-dev
Andrei Stingaceanu [Thu, 20 Apr 2017 10:18:58 +0000 (11:18 +0100)]
AutoSize TextView - API polish - no RuntimeException in signature
Do not mention RuntimeException subclasses in throws clauses in
method signatures.
Bug:
37514926
Test: cts-tradefed run cts-dev -m CtsWidgetTestCases -t \
android.widget.cts.TextViewTest
Change-Id: Ia5bf4cd64e12c53dd7c409b6e44efec4983ae62e
Rubin Xu [Wed, 12 Apr 2017 17:02:44 +0000 (18:02 +0100)]
Do not check user escrow state if synthetic password is not enabled yet
1. when adding escrow tokens, do not throw SecurityException if the user hasn't
migrated to synthetic password yet.
2. during migration, activate any pending escrow tokens.
3. Disable escrow before attempting to activate escrow tokens, this currently
includes whenever the user authenticates, and when synthetic password
migration happens.
Also, add some comments in SyntheticPasswordManager and remove an invalid call
to destroy escrow data.
Test: runtest frameworks-services -c com.android.server.SyntheticPasswordTests
Bug:
36776133
Change-Id: If4b9d385fb43e09d90b6dde6d25b4fcc0c6b7ddc
Merged-In: If4b9d385fb43e09d90b6dde6d25b4fcc0c6b7ddc
Clara Bayarri [Thu, 20 Apr 2017 10:31:15 +0000 (11:31 +0100)]
Api Council: hide FontsContract.Columns constructor
Bug:
37515256
Test: none
Change-Id: I2a9de7ea30ffa39af5104977f6604ce3bda220fb
Gustav Sennton [Thu, 23 Mar 2017 17:04:23 +0000 (17:04 +0000)]
Listen to USER_STARTED instead of USER_ADDED from WebViewUpdateService.
When adding a restricted user, 'hidden' applications are uninstalled for
the user after creation of the user, but before the user is 'started'.
Because WebViewUpdateService only listens to USER_ADDED and USER_REMOVED
intents it wouldn't realize that Chrome had been uninstalled for a new
restricted user (at the time of user-creation Chrome would be
installed). Instead listen to user-started/stopped intents to ensure the
restricted-user case is handled correctly.
Bug:
35813523
Test: Add a restricted user (on a Pixel C), with Chrome disabled. Start
an app using WebView (and ensure WebView doesn't crash).
Change-Id: I0c5d0a543b4bc80d269e586444b80cd3baffa11c
TreeHugger Robot [Thu, 20 Apr 2017 07:34:09 +0000 (07:34 +0000)]
Merge "AOD: Fix broken triggers after failed prox check" into oc-dev
Adrian Roos [Wed, 19 Apr 2017 21:31:03 +0000 (14:31 -0700)]
AOD: Fix broken triggers after failed prox check
Fixes an issue where after a failed prox check
we would not correctly reset mPulsePending and
thus never trigger a pulse again until the
DozeService restarts.
Also adds logging for dropped and canceled pulses
to aid diagnosing similar or different bugs
in the future.
Also adds a regression test.
Fixes:
37477968
Test: runtest -x /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/DozeTriggersTest.java
Change-Id: Ic465b7686ae1937a29d07a66fe44cf7ad18419ef
Adrian Roos [Thu, 20 Apr 2017 05:20:40 +0000 (05:20 +0000)]
Merge "A11y: Better label status bar icons" into oc-dev
Jocelyn Dang [Thu, 20 Apr 2017 04:34:10 +0000 (04:34 +0000)]
Merge "Add min and max learned battery capacity to batterystats." into oc-dev
Hugo Benichi [Thu, 20 Apr 2017 04:27:45 +0000 (04:27 +0000)]
Merge changes Ic029cc9f,Id917f3a2 into oc-dev
* changes:
NsdService: minor cleanups
Nsdmanager/NsdService: add logging
TreeHugger Robot [Thu, 20 Apr 2017 03:53:33 +0000 (03:53 +0000)]
Merge "Address API council comments" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 03:44:29 +0000 (03:44 +0000)]
Merge "Loading gps_debug configuration before use" into oc-dev
Ashutosh Joshi [Thu, 20 Apr 2017 03:10:21 +0000 (03:10 +0000)]
Merge "Ensure that LLOB sensor is names similr to other android sensors." into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 03:08:21 +0000 (03:08 +0000)]
Merge "MediaSessionService: Clear calling identity for incoming calls from apps" into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 02:45:16 +0000 (02:45 +0000)]
Merge "Fixing issue with positioning tasks when moving to fullscreen." into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 02:15:09 +0000 (02:15 +0000)]
Merge "Revert "Introduce PACKAGE_FIRST_ADDED broadcast"" into oc-dev
Peng Xu [Thu, 20 Apr 2017 02:01:28 +0000 (02:01 +0000)]
Merge "Intern Sensor object string using java String.intern()" into oc-dev
Hugo Benichi [Wed, 5 Apr 2017 05:43:29 +0000 (14:43 +0900)]
NsdService: minor cleanups
Minor cleanups in switches of processMessage and handleNativeEvent.
Test: no functional changes
Bug:
33074219
(cherry picked from commit
23dba85fff01a9f51beea8ce811fc98b582f8e71)
Merged-In: I9ad4ce812c0d2c02a671a7a871ad427e4ce29b4a
Change-Id: Ic029cc9fa007d8c485f64f4afcbd4dc10da1ae29
TreeHugger Robot [Thu, 20 Apr 2017 01:23:19 +0000 (01:23 +0000)]
Merge "Delay PiP transition to fullscreen until activities draw." into oc-dev
TreeHugger Robot [Thu, 20 Apr 2017 01:12:30 +0000 (01:12 +0000)]
Merge "Validate incoming data properly." into oc-dev
Wyatt Riley [Thu, 20 Apr 2017 00:57:14 +0000 (17:57 -0700)]
Loading gps_debug configuration before use
Was calling this after (one of) the SUPL value injections,
now calling before.
Also masking an overly verbose related log message.
Test: Build, loaded on Marlin, GPS & Xtra delete works.
Bug:
37500417
Change-Id: I768048c8b2d2a6af97a3b4b8a059b08650d616a5
TreeHugger Robot [Thu, 20 Apr 2017 01:01:03 +0000 (01:01 +0000)]
Merge "Add a null check for visibleFile." into oc-dev
Jason Monk [Thu, 20 Apr 2017 00:55:58 +0000 (20:55 -0400)]
Fix alpha on wifi connected 4 bars no inet icon
Test: visual
Change-Id: I18c92f9b71146717c84c059f55ad549b29c763ce
Fixes:
32282782
TreeHugger Robot [Thu, 20 Apr 2017 00:26:47 +0000 (00:26 +0000)]
Merge "Move expensive TextClock operations to onAttach" into oc-dev
Selim Cinek [Thu, 20 Apr 2017 00:08:51 +0000 (00:08 +0000)]
Merge changes Ic76d996f,Ib9eefacb,If1b63340,I399c66af into oc-dev
* changes:
Changed the documentation of the colorization
Fixed the appearance of colorized fullscreenintent notifications
Adapted the interpolator when using fingerprint
The row is now labeling the expand button
Jason Monk [Thu, 20 Apr 2017 00:02:16 +0000 (20:02 -0400)]
Fix alpha on wifi disconnected icon
Test: visual
Change-Id: I11b30de77805099d08c582ed12d6caac1d9fabfa
Fixes:
37516725
TreeHugger Robot [Wed, 19 Apr 2017 23:55:36 +0000 (23:55 +0000)]
Merge "Fix issue #
37470038: API Review: ServiceConnection.onBindingDead()" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 23:53:34 +0000 (23:53 +0000)]
Merge "Prevent settings from crashing when ContentProvider crashes" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 23:49:37 +0000 (23:49 +0000)]
Merge "Treat the intent filter verifier app as foreground" into oc-dev
Martijn Coenen [Wed, 19 Apr 2017 23:40:49 +0000 (16:40 -0700)]
Stop hwbinder threads from app_process.
To prevent it from hanging up.
Bug:
37500397
Bug:
34085250
Test: DismissDialogsInstrumentation test
Change-Id: Ia69f6a5676666bc9286272b82f242d7b1d0ee286
TreeHugger Robot [Wed, 19 Apr 2017 23:34:22 +0000 (23:34 +0000)]
Merge "Package installer related changes to javadoc" into oc-dev
Jason Monk [Wed, 19 Apr 2017 23:29:55 +0000 (19:29 -0400)]
Fix touch target on QS date
Test: visual
Change-Id: I361b8645c3f72be8a1dae5379546cd95475372a3
Fixes:
36157709
Phil Weaver [Thu, 30 Mar 2017 22:27:39 +0000 (15:27 -0700)]
Hide API to listen to a11y service state
Hiding and adding the requested return value, so if we
later decide to unhide it we'll be up to snuff for API
review.
Bug:
35764675
Test: Verified that the two features that listen, a11y
volume and the accessibility button on the nav bar, work
properly. Also ran accessibility CTS.
Merged-In: I47b62f2b4fd1ea4a7e697d20a3bb2c3201f6bcce
Change-Id: I4df6164772eb01b4f988c201f46c788eb7124511
Jocelyn Dang [Fri, 14 Apr 2017 20:15:14 +0000 (13:15 -0700)]
Add min and max learned battery capacity to batterystats.
BUG:
32645990
Test: manual
Change-Id: I3da569e48571cb86c640aed732abdf6c46a2bc73
TreeHugger Robot [Wed, 19 Apr 2017 23:07:34 +0000 (23:07 +0000)]
Merge "Adjust the bind timeout" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 23:07:07 +0000 (23:07 +0000)]
Merge "don't blindly reuse content providers" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 22:57:46 +0000 (22:57 +0000)]
Merge "Opt out default focus highlight for TV." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 22:56:21 +0000 (22:56 +0000)]
Merge "Fix tint on accessibility stream" into oc-dev
Christopher Tate [Wed, 19 Apr 2017 22:49:17 +0000 (15:49 -0700)]
Revert "Introduce PACKAGE_FIRST_ADDED broadcast"
This reverts commit
ee3b42af3f23c37cbd2799c1527f89ac623844be.
Bug
37219124
Test: manual
Adrian Roos [Wed, 19 Apr 2017 22:32:43 +0000 (15:32 -0700)]
A11y: Better label status bar icons
Some apps put just their app name as
the title. For those we should probably
show the text instead.
Fixes:
30739573
Test: receive notification that has the same title as app name, observe that the content description shows the title
Change-Id: I2e066507beee50c669ce34c6de33876a2474fca6
Dianne Hackborn [Wed, 19 Apr 2017 22:20:52 +0000 (22:20 +0000)]
Merge "Fix issue #
37306208: CTS: ServiceTest#testForegroundService..." into oc-dev
Garfield Tan [Mon, 17 Apr 2017 21:22:32 +0000 (14:22 -0700)]
Add a null check for visibleFile.
It's null if we're operating on an external thumbdrive/sd card etc. Add
a null check as we do in moveInMediaStore().
Test: Manual tests.
Bug:
37412897
Change-Id: Idd2c1d67a36893f980a239a9999c32369da27abd
Martijn Coenen [Tue, 18 Apr 2017 22:54:43 +0000 (15:54 -0700)]
Validate incoming data properly.
Make sure calls to readBuffer() and readEmbeddedBuffer()
get the correct size, parent and offset passed in, so
these can be validated by libhwbinder.
Modified HwBlob to take a length argument as well,
so it can be validated.
Bug:
30498700
Test: hidl_test, hidl_test_java, Youtube, Maps, Netflix, Camera
Change-Id: I28712db97ae29b46acfe952d3d92d1ce5f666a4d