OSDN Git Service
TreeHugger Robot [Thu, 11 May 2017 02:24:44 +0000 (02:24 +0000)]
Merge "Use buffered DataInputStream vs RandomAccessFile" into oc-dev
Jean-Michel Trivi [Thu, 11 May 2017 02:19:52 +0000 (02:19 +0000)]
Merge "Audio focus: fix focus loss notification for older SDKs" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 02:19:00 +0000 (02:19 +0000)]
Merge "Change Wifi Picker icons to colorControlNormal." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 02:15:12 +0000 (02:15 +0000)]
Merge "Hiding text from obscured text fields." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 02:14:52 +0000 (02:14 +0000)]
Merge "Fixed that the shelf was animating the icons" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 02:08:42 +0000 (02:08 +0000)]
Merge "Move Phags-pa and Yi fonts to the end of fallback chain" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 01:59:25 +0000 (01:59 +0000)]
Merge "Add a check to investigate b/
37893215." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 01:57:04 +0000 (01:57 +0000)]
Merge "Clarify documentation for notification a11y events" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 01:48:46 +0000 (01:48 +0000)]
Merge "Lock out ResolverDrawerLayout dismissals during animations" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 01:38:11 +0000 (01:38 +0000)]
Merge "Properly position dataset picker UI" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 01:33:21 +0000 (01:33 +0000)]
Merge "AOD: Update wakeup animation" into oc-dev
Michael Wachenschwanz [Thu, 11 May 2017 01:26:05 +0000 (01:26 +0000)]
Merge "WTF Logging for catching memory issue in Parcel" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 01:13:44 +0000 (01:13 +0000)]
Merge "Remove PIP tuner items" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 00:46:31 +0000 (00:46 +0000)]
Merge "AuthenticationCallback should not be cleared onAuthenticationFailed" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 00:39:06 +0000 (00:39 +0000)]
Merge "Slight adjustments to gradient shown when dragging to dismiss" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 00:18:32 +0000 (00:18 +0000)]
Merge "Fixed autofill dumpsys and improved logging." into oc-dev
Adrian Roos [Thu, 11 May 2017 00:08:33 +0000 (00:08 +0000)]
Merge "AOD: Anchor clock at a third of the height" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 00:08:10 +0000 (00:08 +0000)]
Merge "Fixed a concurrent modification crash" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 00:05:48 +0000 (00:05 +0000)]
Merge "Adding a new config and Setting for WiFi Wakeup." into oc-dev
Makoto Onuki [Wed, 10 May 2017 23:32:39 +0000 (16:32 -0700)]
Add a check to investigate b/
37893215.
Test: Manual
Bug
37893215
Change-Id: I3a06af3828a5f51ecf4a539ef91b9a60575f68ba
Fyodor Kupolov [Wed, 10 May 2017 23:31:21 +0000 (16:31 -0700)]
Use buffered DataInputStream vs RandomAccessFile
Switching to buffered streams saved up to 50% of
BackupManagerService.onUnlockUser time:
Before:
SystemServiceManager: Service com.android.server.backup.BackupManagerService$Lifecycle took 389 ms in onUnlockUser
SystemServiceManager: Service com.android.server.backup.BackupManagerService$Lifecycle took 380 ms in onUnlockUser
After:
SystemServiceManager: Service com.android.server.backup.BackupManagerService$Lifecycle took 178 ms in onUnlockUser
SystemServiceManager: Service com.android.server.backup.BackupManagerService$Lifecycle took 155 ms in onUnlockUser
Test: manual
Bug:
37686433
Change-Id: I41185a88e8377b434fab6a3bf1fd7086758127cd
Jean-Michel Trivi [Wed, 10 May 2017 20:05:06 +0000 (13:05 -0700)]
Audio focus: fix focus loss notification for older SDKs
The feature of ducking enforced by the framework is gated by the
SDK version of the focus owner. The check was performed by
asking the SDK target level of the players to duck.
But if there were no players in the STARTED state at
the time, the check didn't report that the ducking
shouldn't be performed by the framework, and thus the
focus loss wasn't reported to the application.
The fix consists in moving the SDK check at the focus owner
level, so the check can happen regardless of whether there
are active players or not.
Add more informative logs where piids are logged (uid+pid).
In the FocusRequester class, initialize mFocusLossWasNotified
to true for the focus gain path, and don't set it to false
after gaining focus, it is properly updated instead in
the focus loss code path.
Test: launch Audible, play then pause, play a notification, verify in the logs Audible is notified of the focus loss
Bug:
37987086
Change-Id: I7c44d824b2563e71cf288ae1f256d001662a6a59
Svet Ganov [Wed, 10 May 2017 20:42:33 +0000 (13:42 -0700)]
Properly position dataset picker UI
Test: all autofill CTS tests pass
bug:
37958210
bug:
37986800
Change-Id: Ic2cb3b8c6762a922bdb7c632e451772b7a006739
Adrian Roos [Tue, 9 May 2017 00:24:26 +0000 (17:24 -0700)]
AOD: Update wakeup animation
Fixes several issues with the wakeup transition.
Bug:
34716110
Test: Trigger ambient display, press power button
Change-Id: I1fa6e0be13c80a84356a8826ed18e9477bf2aba2
Roozbeh Pournader [Wed, 10 May 2017 21:52:08 +0000 (14:52 -0700)]
Move Phags-pa and Yi fonts to the end of fallback chain
There are shared East Asian punctuation defined in the Phags-pa and
Yi fonts, which would override the default Chinese form which we
prefer. This CL moves them to the end of the fallback chain, similar
to Ic2cbc79cecf9539ace8a432f373685eeff81e106.
Test: manual
Change-Id: Ieeb4c04ca785e07a5db94006a6da31ad040b7e7a
Bug:
38182099
Makoto Onuki [Wed, 10 May 2017 23:20:35 +0000 (23:20 +0000)]
Merge "Reconnect to DAService after binding is dead" into oc-dev
Michael Wachenschwanz [Wed, 10 May 2017 18:43:44 +0000 (11:43 -0700)]
WTF Logging for catching memory issue in Parcel
Catch an exception sent from native code looking for a specific known
bug and report via wtf which code path is hitting the bug. Revert this
change once bug has been resolved.
Bug:
37298089
Test: manual
Change-Id: Ieb98a8a82a9a2cffe4d0cfbbc8333f453b3e36d5
Signed-off-by: Michael Wachenschwanz <mwachens@google.com>
TreeHugger Robot [Wed, 10 May 2017 22:24:09 +0000 (22:24 +0000)]
Merge "Offload saving bitmaps from binder threads" into oc-dev
Makoto Onuki [Wed, 10 May 2017 22:20:29 +0000 (22:20 +0000)]
Merge "Tweak for b/
37809561." into oc-dev
Kevin Chyn [Wed, 10 May 2017 21:39:55 +0000 (14:39 -0700)]
AuthenticationCallback should not be cleared onAuthenticationFailed
Fixes:
38197608
Test: 1) enroll a finger
2) enter keyguard, touch sensor with an unenrolled finger
3) touch sensor with enrolled finger
4) phone should enter keyguard
5) do this test from screen off as well
Change-Id: I1c7b060888128b4a6b492fd6a7a8ebc85d2b3353
Mady Mellor [Tue, 9 May 2017 20:20:56 +0000 (13:20 -0700)]
Slight adjustments to gradient shown when dragging to dismiss
- Adjusted the height
- Gave the asset a 90% alpha and set it as the background programmatically
Test: manual, have a PIP drag it around, note the gradient appearance
Change-Id: I7bc3262f6813f737da62201cdce6a14046f3e754
Selim Cinek [Fri, 5 May 2017 21:45:11 +0000 (14:45 -0700)]
Fixed a concurrent modification crash
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/settings/CurrentUserTrackerTest.java
Change-Id: I23261843b7366d3a66a795a41c61b7661f7ca3a6
Fixes:
38006784
Brad Ebinger [Wed, 10 May 2017 20:42:34 +0000 (20:42 +0000)]
Merge "Notify ImsService Status Correctly" into oc-dev
Chen Xu [Wed, 10 May 2017 20:31:50 +0000 (20:31 +0000)]
Merge "support horizontal scroll and zoon for webview" into oc-dev
Sergey Vasilinets [Wed, 10 May 2017 20:28:21 +0000 (20:28 +0000)]
Merge "Fix npe due to strict mode in Bitmap.sameAs" into oc-dev
Sundeep Ghuman [Mon, 8 May 2017 21:27:06 +0000 (14:27 -0700)]
Change Wifi Picker icons to colorControlNormal.
Change-Id: I63e7e3399931790f85b62857983932b32f2e1831
Bugs: b/
38001656
Test: Visual inspection of color change (open wifi settings).
Mady Mellor [Wed, 10 May 2017 19:55:06 +0000 (12:55 -0700)]
Remove PIP tuner items
Test: Check tuner for items, also try moving PIP around note it doesn't
minimize, also try long drag to dismiss, note it doesn't dismiss
Bug:
37476193
Change-Id: I1ac1abd9c75d40bd84f59dab8aba5cdb98cd59bb
Felipe Leme [Tue, 9 May 2017 00:23:52 +0000 (17:23 -0700)]
Fixed autofill dumpsys and improved logging.
Fixes:
38196286
Bug:
37997043
Test: adb shell dumpsys autofill -a
Test: CtsAutoFillServiceTestCases pass
Change-Id: Ifaae7b5c0894ecf0d16fff8a3c96e4746fe2361b
Makoto Onuki [Mon, 1 May 2017 17:05:28 +0000 (10:05 -0700)]
Reconnect to DAService after binding is dead
- When the DO/PO process crashes twice with a short interval, AM gives up
and the binding will be "died". Once binding is in this state it'll never
be re-connected.
(Still, DO/PO can disable and re-enable their DAS to force DPMS to bind again
though.)
- Detect this and re-connect after one hour.
- Back-off time will be exponentially increased and never reset until DPMS
explicitly re-connects, which happens when:
-- the device rebooted,
-- the user stopped and re-started, or
-- the DAS is disabled and re-enabled.
Test: adb shell am instrument -e class com.android.server.am.PersistentConnectionTest -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.devicepolicy.DevicePolicyConstantsTest -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.devicepolicy.DevicePolicyManagerTest -w com.android.frameworks.servicestests
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l VERBOSE -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceAdminServiceDeviceOwnerTest
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l VERBOSE -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceAdminServiceProfileOwnerTest
Bug
37711907
Change-Id: Ie0b227a94e6ce85d72a969a4dea1020baf734e2f
Adrian Roos [Fri, 28 Apr 2017 16:23:19 +0000 (09:23 -0700)]
AOD: Anchor clock at a third of the height
Change-Id: Ie9074be76f23f9c353e38b515fd5a3cd9702696d
Fixes:
37646086
Test: Trigger AOD, observe that clock does not shift in response to notifications.
TreeHugger Robot [Wed, 10 May 2017 18:39:10 +0000 (18:39 +0000)]
Merge "Fix QS footer on small screens" into oc-dev
Ruben Brunk [Wed, 10 May 2017 18:19:00 +0000 (18:19 +0000)]
Merge "Fix VR component enforcement for "2D in 3D" apps." into oc-dev
Adrian Roos [Wed, 10 May 2017 18:17:36 +0000 (18:17 +0000)]
Merge "AOD: Notification groups on Ambient Display" into oc-dev
Jason Monk [Wed, 10 May 2017 18:03:13 +0000 (18:03 +0000)]
Merge "Fix battery icon tint in QS during battery saver" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 17:41:12 +0000 (17:41 +0000)]
Merge "Fix Toast exception in NotificationManagerService" into oc-dev
Andrew Sapperstein [Wed, 10 May 2017 17:35:44 +0000 (17:35 +0000)]
Merge "Update input method menu to use proper context." into oc-dev
TreeHugger Robot [Wed, 10 May 2017 17:21:29 +0000 (17:21 +0000)]
Merge "Revert "Fixed placemente of Autofill UI for virtual views."" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 17:10:31 +0000 (17:10 +0000)]
Merge "Label the close image button" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 16:44:36 +0000 (16:44 +0000)]
Merge "If ENSURE_VERIFY_APPS is enforced, reject installation by default." into oc-dev
Brad Ebinger [Sat, 6 May 2017 00:43:41 +0000 (17:43 -0700)]
Notify ImsService Status Correctly
Modifies ImsService to allow multiple status callbacks in
for one ImsFeature. This better handles one ImsFeature
for normal/emergency calling.
Bug:
38001858
Test: Unit Testing
Merged-In: I70ae6f5349aef75aa86d54fe37a3c32459ea3afa
Change-Id: I70ae6f5349aef75aa86d54fe37a3c32459ea3afa
Bryce Lee [Wed, 10 May 2017 16:27:04 +0000 (16:27 +0000)]
Merge "Use application context getting secondary displays." into oc-dev
TreeHugger Robot [Wed, 10 May 2017 16:19:23 +0000 (16:19 +0000)]
Merge "Disable parts of tuner from user builds" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 16:16:17 +0000 (16:16 +0000)]
Merge "Update QS mobile data unavailable asset" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 16:09:00 +0000 (16:09 +0000)]
Merge "Fix brightness dialog background to be light" into oc-dev
Rebecca Silberstein [Wed, 10 May 2017 15:43:39 +0000 (15:43 +0000)]
Merge "Create a new NETWORK_SETTINGS permission" into oc-dev
Jean-Michel Trivi [Wed, 10 May 2017 15:30:58 +0000 (15:30 +0000)]
Merge changes from topic 'mediaplayer_gc' into oc-dev
* changes:
IAppOpsCallback has weak reference to PlayerBase
IPlayer has weak reference to PlayerBase
Jason Monk [Wed, 10 May 2017 14:39:16 +0000 (10:39 -0400)]
Fix battery icon tint in QS during battery saver
Test: visual
Change-Id: Id844604bfe0de141563781678980da774cc87ebc
Fixes:
37433416
TreeHugger Robot [Wed, 10 May 2017 15:18:11 +0000 (15:18 +0000)]
Merge "OtaDexoptService: Add missing return" into oc-dev
Svet Ganov [Wed, 10 May 2017 15:11:33 +0000 (08:11 -0700)]
Revert "Fixed placemente of Autofill UI for virtual views."
This reverts commit
4745fb6b29322819fdcd21647253bfed8e508137.
Change-Id: I07c108dc53d13ff6fdd16f8f486b35d8ca9a7c58
Svet Ganov [Wed, 10 May 2017 02:10:10 +0000 (19:10 -0700)]
Label the close image button
Test: manual
bug:
38182393
Change-Id: I3a1e2e18c651b02b16c8e370b6be9ec2ed5e41e5
Jeff Sharkey [Wed, 10 May 2017 15:05:51 +0000 (15:05 +0000)]
Merge "Start building SystemApi docs again; exact output." into oc-dev
Christine Franks [Wed, 10 May 2017 15:03:23 +0000 (15:03 +0000)]
Merge "Allow ogg files to be selected as ringtones" into oc-dev
Julia Reynolds [Wed, 10 May 2017 14:56:21 +0000 (14:56 +0000)]
Merge "Rename the legacy notification channel" into oc-dev
Adam Powell [Wed, 10 May 2017 14:48:30 +0000 (07:48 -0700)]
Lock out ResolverDrawerLayout dismissals during animations
Due to views being offset during the ChooserActivity animating in
direct share targets, it was possible to touch down on the sheet
attempting to tap, but have it be interpreted as a fling downward as
the relative touch position within the parent was moving. Lock the
dismiss gesture during animations to prevent this.
Bug:
36032762
Test: manual
Change-Id: I18b6f03148cbf402efc23e873262927e412ea7b7
Philipp Weiß [Wed, 10 May 2017 14:46:43 +0000 (14:46 +0000)]
Merge "Implement CACert queries in SecurityController" into oc-dev
Bryce Lee [Wed, 10 May 2017 14:45:34 +0000 (14:45 +0000)]
Merge "Prevent non-fullscreen activities from influencing orientation" into oc-dev
Daniel Sandler [Wed, 10 May 2017 14:43:00 +0000 (14:43 +0000)]
Merge "Enable notifications during an ongoing call" into oc-dev
Jason Monk [Tue, 9 May 2017 18:19:57 +0000 (14:19 -0400)]
Disable parts of tuner from user builds
They aren't quite there yet.
Test: manual
Change-Id: I5532fe4121ab85d3baed7569c66906b5219e33e9
Fixes:
37513325
Julia Reynolds [Thu, 16 Feb 2017 20:01:36 +0000 (15:01 -0500)]
Update zen introduction text
And add alarm text to QS & volume dialog.
Fixes:
31533768
Fixes:
33815404
Test: manual
Change-Id: I82f119a8bdbfbc62b0ace752dca0fbc0d5bf8a35
Jason Monk [Wed, 10 May 2017 14:12:41 +0000 (10:12 -0400)]
Update QS mobile data unavailable asset
Test: visual
Change-Id: I23cfa7644f74875bb8803bee6bd63a1041706dbb
Fixes:
37923607
TreeHugger Robot [Wed, 10 May 2017 14:09:08 +0000 (14:09 +0000)]
Merge "Don't require BROWSABLE" into oc-dev
Jason Monk [Wed, 10 May 2017 14:04:20 +0000 (10:04 -0400)]
Fix brightness dialog background to be light
Test: visual
Change-Id: I158af3aa79de39d463ac0b26ef7d73b0430df927
Fixes:
37763715
TreeHugger Robot [Wed, 10 May 2017 14:03:15 +0000 (14:03 +0000)]
Merge "Pre-O apps can see Default Channel name." into oc-dev
Pavel Grafov [Tue, 9 May 2017 18:35:35 +0000 (19:35 +0100)]
If ENSURE_VERIFY_APPS is enforced, reject installation by default.
Bug:
37738016
Bug:
37737479
Test: manually, tried to install a package when the user is still locked on an FBE device and hence verifier doesn't run as it is not crypto-aware.
Change-Id: I6d9d5dd13c8ebd49cc8e5e3381d1a04eb54f1747
TreeHugger Robot [Wed, 10 May 2017 13:13:22 +0000 (13:13 +0000)]
Merge "Make sure to notify client after Keyguard has been dismissed" into oc-dev
Julia Reynolds [Mon, 8 May 2017 19:40:25 +0000 (15:40 -0400)]
Rename the legacy notification channel
Bug:
38120923
Test: make
Change-Id: Id4ee584b1420f98da57350dbc75a6449462a9c24
Hugo Benichi [Wed, 10 May 2017 08:19:52 +0000 (08:19 +0000)]
Merge "NetworkStatsFactory: fix double accounting on IPv6 only networks" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 06:18:47 +0000 (06:18 +0000)]
Merge "Allow null fill values to support authentication case" into oc-dev
Rebecca Silberstein [Wed, 10 May 2017 06:05:09 +0000 (23:05 -0700)]
Create a new NETWORK_SETTINGS permission
Create a new signature permission that allows SystemUI to call critical
methods in Connectivity and Wifi Services.
Bug:
36760523
Test: make
Change-Id: I475e4c1c040fd3dee87b86d2845c0801195d29d1
TreeHugger Robot [Wed, 10 May 2017 06:08:09 +0000 (06:08 +0000)]
Merge "Refactor and improve logging." into oc-dev
Andreas Gampe [Wed, 10 May 2017 06:03:19 +0000 (23:03 -0700)]
OtaDexoptService: Add missing return
Add early-return for null handling.
Bug:
38186355
Test: m
Test: manual OTA
Change-Id: I9076427ab0ddb97f2c81ff208947a0d172d1b650
TreeHugger Robot [Wed, 10 May 2017 05:11:00 +0000 (05:11 +0000)]
Merge "Allow NEXT_ALARM_CLOCK_CHANGED to launch manifest receivers" into oc-dev
Sudheer Shanka [Wed, 10 May 2017 04:57:09 +0000 (04:57 +0000)]
Merge "Track activity launch failure." into oc-dev
TreeHugger Robot [Wed, 10 May 2017 04:13:06 +0000 (04:13 +0000)]
Merge "Forcing no animations to be played if swiping fast" into oc-dev
Erik Kline [Mon, 8 May 2017 08:56:35 +0000 (17:56 +0900)]
Refactor and improve logging.
Test: as follows
- build
- flashed
- booted
- "runtest frameworks-net" passed
- "dumpsys connectivity" shows new log output
Bug:
32163131
Bug:
36504926
Merged-In: Ieb9a8e3f85f41d18056a7827997f12986ff13ca1
Merged-In: I744b048224e0b8bf6fe4da763833b755441c0911
Merged-In: Ic0c384547687572058d5ef62977163b2560bfc69
Merged-In: Iae91c43d1bfd9fbedc88821a0bd3a5168ad3b719
Merged-In: I52606d4375c9b16de03123995737a994ba58b4d7
Merged-In: I35110b6479280abc650e0ee257045d241923faf9
Change-Id: I14d6da18660223f7cace156cb6594ee18928a7b0
(cherry picked from commit
1fdc2e23b5d8136e06cafd7de896b49e5f929c7f)
Jeff Sharkey [Wed, 10 May 2017 03:49:07 +0000 (03:49 +0000)]
Merge "Use "real" free space; refresh on large changes." into oc-dev
TreeHugger Robot [Wed, 10 May 2017 03:15:48 +0000 (03:15 +0000)]
Merge "Bluetooth: Fix interval low/min values" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 02:20:19 +0000 (02:20 +0000)]
Merge "Fix doc flag for device having multiple storages" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 02:11:29 +0000 (02:11 +0000)]
Merge "Close databases in onStop user" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 01:44:25 +0000 (01:44 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 01:43:52 +0000 (01:43 +0000)]
Merge "Fix broken android.view.DisabledTest." into oc-dev
TreeHugger Robot [Wed, 10 May 2017 01:39:28 +0000 (01:39 +0000)]
Merge "Fixes for handling users + default for USB" into oc-dev
Jakub Pawlowski [Tue, 9 May 2017 21:28:21 +0000 (14:28 -0700)]
Bluetooth: Fix interval low/min values
Bug:
38175945
Test: none
Change-Id: Idf487c7aafc518f2c57be78a1fa979b2c4a383d6
(cherry picked from commit
6b1f39502c7d5f71b42d82ac6d511ee0afd1191e)
Christine Franks [Tue, 9 May 2017 17:58:12 +0000 (10:58 -0700)]
Allow ogg files to be selected as ringtones
Bug:
37891455
Test: manual - open custom phone ringtone picker in settings, navigate
to an .ogg file, and it should be selectable; select it and it should
add itself to the list of available ringtones, and play its sample
correctly.
Change-Id: I33b1ff07d0b43646c807ba0994efa4f6d8d95cae
Jeff Sharkey [Wed, 10 May 2017 01:01:09 +0000 (19:01 -0600)]
Start building SystemApi docs again; exact output.
Now that we've fixed the docs build we can enable it again. Also
start using the new "-exactApi" feature to get a file with exactly
the annotated APIs instead of a giant superset. (This makes it
easier to compare diffs between releases.)
Test: make update-api && make -j32 online-system-api-sdk-docs
Bug:
38146029
Change-Id: Ib6d5d931f71ac4f50bf3223c25b50ed5765406a3
Svetoslav Ganov [Wed, 10 May 2017 00:40:24 +0000 (17:40 -0700)]
Allow null fill values to support authentication case
If a dataset needs to be authenticated the fill service
may not have the values but needs to tell the system for
which fields to show the fill UI. We now allow passing
a null value to mean the view is a part of the dataset
semantically but its value should remain unchanged.
If a dataset has no values, i.e. the related autofill ids
are mapped to null, we cannot properly filter. In this case
we always match such items regardless what the user typed.
While at this improved accessibility support for filtering
to announce when the number of items being filtered changes.
Also while at this allowed a dataset authentication to return
a response which replaces the current response and refreshes
the UI. Matching datasets with null values to any text plus
allowing a response to be returned from a dataset auth enables
the use case where there is always "Import" item at the
end of the list which when clicked can show arbitrarily more
data entries associated to other apps.
Another change is that we now provide the client state
bundle on both request and dataset auth.
Finally, this change gets rid of dataset waiting auth and
response waiting auth concepts since the reference to the
response and the dataset is piped with the auth request.
Fixed a bug where the width of the autofill UI was not
properly measured by going over all items in the adapter.
Now we measure enough height to fit the first three and the
width id the width of the widest item in the adapter.
Test: Added LoginActivityTest#testDatasetAuthTwoFieldsReplaceResponse
Added LoginActivityTest#testDatasetAuthTwoFieldsNoValues
Added LiginActivityTest#filterTextNullValuesAlwaysMatched
All autofill CTS tests pass
bug:
37724701
bug:
37424539
Change-Id: Ic19e5d7cbdbb7d110c9e7da0ad60b540cbf1aecf
TreeHugger Robot [Wed, 10 May 2017 00:32:32 +0000 (00:32 +0000)]
Merge "AOD: Disable not-yet-ready always-on feature" into oc-dev
TreeHugger Robot [Wed, 10 May 2017 00:20:50 +0000 (00:20 +0000)]
Merge "Warn when other's child is added to ListView as header/footer." into oc-dev
Hugo Benichi [Fri, 7 Apr 2017 06:20:56 +0000 (15:20 +0900)]
NetworkStatsFactory: fix double accounting on IPv6 only networks
For 464xlat scenarios on IPv6 networks, the clatd interface setup
introduces double counting of apps ipv4 traffic. NetworkStatsFactory was
accounting for this on the tx path, but not on the rx path. Also it did
not accounted for the 20 bytes added by the IPv6 header.
This patch subtract correctly the rx and tx traffic from the root uid on
the underlying interface, and also adds correctly the 20 bytes cost per
packet on the stacked interface for 464xlat traffic.
Test: added several new unit tests, based on synthetic data and real
data also.
Bug:
33681750
Change-Id: I4867fe181938d94b5594b3d88896a3c4e01d895c
Merged-In: I2675643b220acbc6110179fa937d4c313b6f5e32
(cherry picked from commit
e1bb3a14d1ee1aba2f92e5bccf659774699eaffe)
Adrian Roos [Tue, 2 May 2017 23:22:53 +0000 (16:22 -0700)]
AOD: Notification groups on Ambient Display
Bug:
36690937
Test: receive notification group on ambient display
Change-Id: I9dd91b85432e3d4309e0eb78a7b03ada87c3554e