OSDN Git Service
Julius D'souza [Wed, 12 Apr 2017 02:01:49 +0000 (02:01 +0000)]
Merge "DO NOT MERGE: Add WearDisplayService to the system server; add a SET_DISPLAY_OFFSET permission." into cw-f-dev am:
9e3c9eeb96
am:
3c6d6f53f3 -s ours
Change-Id: Ic4af1cac3a0929db20eccd0693ec5fad834b0093
Julius D'souza [Wed, 12 Apr 2017 01:55:57 +0000 (01:55 +0000)]
Merge "DO NOT MERGE: Add WearDisplayService to the system server; add a SET_DISPLAY_OFFSET permission." into cw-f-dev
am:
9e3c9eeb96
Change-Id: Ic97ec1a7e4c5b76bcab8350102585e4dd2cd199b
Julius D'souza [Wed, 12 Apr 2017 01:41:38 +0000 (01:41 +0000)]
Merge "DO NOT MERGE: Add WearDisplayService to the system server; add a SET_DISPLAY_OFFSET permission." into cw-f-dev
TreeHugger Robot [Wed, 12 Apr 2017 01:40:55 +0000 (01:40 +0000)]
Merge "Changing importance should record user locked field." into oc-dev
Andreas Gampe [Wed, 12 Apr 2017 01:36:31 +0000 (01:36 +0000)]
Merge "OtaDexOptService: Log post-reboot moves" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 01:22:49 +0000 (01:22 +0000)]
Merge "Allow companion device mgrs channel access" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 01:07:28 +0000 (01:07 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Conrad Chen [Wed, 12 Apr 2017 00:25:33 +0000 (00:25 +0000)]
Merge "TIF: add TvInputManager methods to notify apps" into oc-dev
David Stevens [Wed, 12 Apr 2017 00:12:11 +0000 (00:12 +0000)]
Merge "Reset the default usb package less often" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 00:07:29 +0000 (00:07 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Colin Cross [Wed, 12 Apr 2017 00:06:02 +0000 (00:06 +0000)]
Merge "Add missing transitive dependencies" into oc-dev
Colin Cross [Wed, 12 Apr 2017 00:04:55 +0000 (00:04 +0000)]
Merge "Update layoutlib to match java library changes" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 00:02:32 +0000 (00:02 +0000)]
Merge "Keep spans while transforming to uppercase" into oc-dev
Evan Rosky [Wed, 12 Apr 2017 00:02:21 +0000 (00:02 +0000)]
Merge "Make AdapterView auto-focusable-aware" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 23:53:14 +0000 (23:53 +0000)]
Merge "Improve caching behavior of thumbnails" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 23:51:48 +0000 (23:51 +0000)]
Merge "Clean up activity a bit and disable it by default" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 23:50:07 +0000 (23:50 +0000)]
Merge "Ensure visible activities when device is unlocked." into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 23:15:32 +0000 (23:15 +0000)]
Merge "Grant Shell ability to clear cached app data." into oc-dev
Brad Ebinger [Tue, 11 Apr 2017 23:12:07 +0000 (23:12 +0000)]
Merge "Move @SystemApi access to ImsService" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 22:59:59 +0000 (22:59 +0000)]
Merge "Toast whenever a notification fails to post" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 22:35:45 +0000 (22:35 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 22:28:39 +0000 (22:28 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Jorim Jaggi [Mon, 3 Apr 2017 15:24:19 +0000 (17:24 +0200)]
Improve caching behavior of thumbnails
Remove the retrieval cache on system_server. It's not needed at
this point.
Instead, we cache the low-res thumbnails on SystemUI side that
will be visible when recents launches. For that, we introduce
a strong thumbnail cache, which gets filled up whenever the task
stack changes.
Also fix a couple of issues like that the visibility report was
pretty wrong as well as some tasks got unloaded because tasks were
bound before layout happend.
Also fix a merge issue where we didn't load the reduced resolution
thumbnail :/
Test: TaskSnapshotCacheTest
Test: Open a couple of apps, open recents, make sure all
thumbnails are already loaded.
Fixes:
36374895
Change-Id: Idbf1acd4ceab6a7c4656e9791e245a8b102017f2
TreeHugger Robot [Tue, 11 Apr 2017 21:02:55 +0000 (21:02 +0000)]
Merge "Bring back the priority feature for static RRO" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 21:02:24 +0000 (21:02 +0000)]
Merge "Rebase enabled overlays for every PackageParser.generateActivityInfo() call" into oc-dev
Nathan Harold [Tue, 11 Apr 2017 20:58:29 +0000 (20:58 +0000)]
Merge "Deprecate TelephonyManager.getCellLocation()" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 20:49:47 +0000 (20:49 +0000)]
Merge "Fix some maps to be HEAP_DALVIK_CODE_CACHE instead of HEAP_DALVIK_ACCOUNTING" into oc-dev
Roozbeh Pournader [Thu, 6 Apr 2017 01:26:17 +0000 (18:26 -0700)]
Keep spans while transforming to uppercase
We now use ICU's new functionality for casing edits to preserve
the spans while applying AllCapsTransformationMethod.
Test: Manual
Test: CTS tests added and pass
Bug:
7198872
Bug:
19047649
Bug:
19713814
Bug:
34853618
Bug: https://code.google.com/p/android/issues/detail?id=67509
Change-Id: I0df388e79894961efb272d497f1dcc0570a6c085
Adrian Roos [Tue, 11 Apr 2017 20:25:54 +0000 (20:25 +0000)]
Merge "Revert "AOD: Wake up fully on gestures by default"" into oc-dev
Fabrice de Gans-Riberi [Tue, 11 Apr 2017 19:56:15 +0000 (19:56 +0000)]
Merge "AAPT2: expose return values through JNI." into oc-dev
Bill Yi [Tue, 11 Apr 2017 19:41:05 +0000 (12:41 -0700)]
Import translations. DO NOT MERGE
Change-Id: I31705e9dbbd23f7e57892e12372a472c903df55e
Auto-generated-cl: translation import
Jakub Pawlowski [Tue, 11 Apr 2017 19:19:32 +0000 (19:19 +0000)]
Merge changes from topic 'bt5-cherry-pickery-2' into oc-dev
* changes:
Remove enable from PeriodicAdvertisingPariameters (1/2)
Bluetooth 5 fix default AdvertisingSetParameters values
Bluetooth: fix comment wording
Julia Reynolds [Tue, 4 Apr 2017 21:04:38 +0000 (17:04 -0400)]
Allow companion device mgrs channel access
- Callbacks when channels and groups are modified
- Allow them to read and update channels and groups
Test: runtest systemui-notification
Change-Id: Ie4d02bd4583f71f9faf27603bcc59a1ec0eeaf46
Jeff Sharkey [Mon, 10 Apr 2017 03:37:56 +0000 (21:37 -0600)]
Grant Shell ability to clear cached app data.
It already has CLEAR_APP_USER_DATA to clear everything inside app
storage, and clearing cached data is a subset of that.
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest
Bug:
36731175
Change-Id: Iefc5be6c80e2562a95424fd6fe413bdb018201a9
Conrad Chen [Thu, 6 Apr 2017 00:31:01 +0000 (17:31 -0700)]
TIF: add TvInputManager methods to notify apps
Adds TvInputManager methods to notify apps with protected broadcasts
for:
1. Disabling browsable state of preview and watch next programs.
2. Adding preview programs to watch next programs.
Test: build and verify manually to check if notifications are
broadcasted.
Bug:
35881266
Change-Id: I20fd5b63f42b2c74277315bbbd251b71c649e5c1
Svetoslav Ganov [Tue, 11 Apr 2017 18:58:50 +0000 (18:58 +0000)]
Merge "Keep a removed API to not break GCore presubmit" into oc-dev
Jason Monk [Tue, 11 Apr 2017 18:55:25 +0000 (14:55 -0400)]
Clean up activity a bit and disable it by default
Test: visual & demo mode
Change-Id: I3718e7f58d21a28ae937064882c4edff10534701
Fixes:
36020978
Jack Yu [Tue, 11 Apr 2017 18:45:31 +0000 (18:45 +0000)]
Merge "Deprecated ACTION_PRECISE_DATA_CONNECTION_STATE_CHANGED" into oc-dev
Bill Yi [Tue, 11 Apr 2017 18:41:51 +0000 (11:41 -0700)]
Import translations. DO NOT MERGE
Change-Id: I00ba119096a1178627988e15ec6e71f637b2ac57
Auto-generated-cl: translation import
Svet Ganov [Tue, 11 Apr 2017 18:40:14 +0000 (11:40 -0700)]
Keep a removed API to not break GCore presubmit
Change-Id: Ica38b7aad2a5a8792917d0da1d497f373b118077
Tyler Gunn [Tue, 11 Apr 2017 18:36:55 +0000 (18:36 +0000)]
Merge "Add getSelfManagedPhoneAccounts() TelecomManager API." into oc-dev
Adam Lesinski [Tue, 11 Apr 2017 18:29:56 +0000 (18:29 +0000)]
Merge "Make sure system UI context has the same LoadedApk as system context" into oc-dev
Bill Yi [Tue, 11 Apr 2017 18:28:05 +0000 (11:28 -0700)]
Import translations. DO NOT MERGE
Change-Id: I20af9c4b4177a5a36496e76c70870b4792944f2c
Auto-generated-cl: translation import
Bill Yi [Tue, 11 Apr 2017 18:20:51 +0000 (11:20 -0700)]
Import translations. DO NOT MERGE
Change-Id: I12715892d9848e7a1efac7a7cd990baad91ad550
Auto-generated-cl: translation import
TreeHugger Robot [Tue, 11 Apr 2017 18:15:54 +0000 (18:15 +0000)]
Merge "Revert "Revert "Handle case when snapshot dimensions don't match""" into oc-dev
Todd Kennedy [Tue, 11 Apr 2017 18:14:18 +0000 (18:14 +0000)]
Merge "add debug logs" into oc-dev
Wale Ogunwale [Mon, 10 Apr 2017 16:50:21 +0000 (09:50 -0700)]
Ensure visible activities when device is unlocked.
When the device is locked we transition all activities to the stopped
state. However, we were only resuming the activity in the focused stack
when the device is unlocked. We now:
- Ensure all visible acitvities when the device is unlocked regardless
of stack.
- If the activity is marked as visible, but in the STOPPED state, we go
ahead and restart it.
- Correctly set ActivityRecord.stopped to false when we restart an
activity into the PAUSED state.
Fixes:
37119770
Bug:
37244415
Test: Make sure docked activity state isn't STOPPED when device is
unlocked.
Change-Id: I1498eeddaa3c1f5dd5135dca56271ffc22b704f2
Mathieu Chartier [Tue, 11 Apr 2017 01:28:03 +0000 (18:28 -0700)]
Fix some maps to be HEAP_DALVIK_CODE_CACHE instead of HEAP_DALVIK_ACCOUNTING
dalvik-data-code-cache and dalvik-CompilerMetadata should be counted
in JITCache instead of .GC in dumpsys.
Bug:
37224159
Test: adb shell dumpsys meminfo -d
(cherry picked from commit
874c4cf56c0a9ea3b48468a13ec7fb78a3e2594b)
Change-Id: I41def949d91b2fdef0b3f502fe16ae436d058051
Makoto Onuki [Tue, 11 Apr 2017 17:51:44 +0000 (17:51 +0000)]
Merge "Expose UserHandle.getIdentifier() to CTS." into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 17:49:36 +0000 (17:49 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Julia Reynolds [Tue, 11 Apr 2017 15:32:44 +0000 (11:32 -0400)]
Changing importance should record user locked field.
Test: runtest systemui
Change-Id: Ia200acb2e2a2b2163fd4a728a2bfc5430070c580
Roozbeh Pournader [Tue, 11 Apr 2017 17:24:28 +0000 (17:24 +0000)]
Merge "Update fontchain_lint to test new emoji font" into oc-dev
Colin Cross [Wed, 5 Apr 2017 22:38:37 +0000 (15:38 -0700)]
Add missing transitive dependencies
Add android-support-v7-palette to SystemUI for
android-support-v7-mediarouter
Bug:
36902714
Test: m -j ANDROID_COMPILE_WITH_JACK=false checkbuild
Change-Id: I6aa18380fa338a01f73381ab0a3259ff94173ce1
(cherry picked from commit
2560663a1ed71b041e2de06918908a8f47153250)
Jason Monk [Tue, 11 Apr 2017 17:09:51 +0000 (17:09 +0000)]
Merge "Fix screen pinning in seascape" into oc-dev
Colin Cross [Wed, 29 Mar 2017 23:52:16 +0000 (16:52 -0700)]
Update layoutlib to match java library changes
javalib.jar is now only used for jars that contain dex files, so
host java libraries are now always called classes.jar. Update
layoutlib's custom rules to match. Also remove built_ext_data,
the classes.jar in built_ext_classes already contains the
resources.
Bug:
36902714
Test: layoutlib-tests
Change-Id: I522d9e3786ad7deeb291c7c1a61ec4b86be03dc2
(cherry picked from commit
15d18782065c05d6566841da43ce311e5000eddd)
Adrian Roos [Wed, 29 Mar 2017 01:02:04 +0000 (01:02 +0000)]
Revert "AOD: Wake up fully on gestures by default"
Bug:
35909567
Bug:
30876804
This reverts commit
d84a080e9488c97031fb19a88798c798fe48ac13.
Change-Id: Id51edce39967075cffe8fbe3860200cfe3a355ae
(cherry picked from commit
ae4306edba13d07bf090f07fde109d0b83e2f1e5)
TreeHugger Robot [Tue, 11 Apr 2017 16:22:54 +0000 (16:22 +0000)]
Merge "Hide ColorSpace.Renderer" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 16:17:11 +0000 (16:17 +0000)]
Merge "ImageReader/Writer: add usage flag support" into oc-dev
Jakub Pawlowski [Mon, 10 Apr 2017 20:45:16 +0000 (13:45 -0700)]
Remove enable from PeriodicAdvertisingPariameters (1/2)
Instead of setting enable to true, one can just pass null
PeriodicAdvertisingParameters and achieve same result when starting the
set.
Passing the "enable" when updating the parameters make no sense, and
might be confusing.
Experience with "timeout" field, which was a part of AdvertiseSettings
show that merging fields that go into different HCI commands can cause
problems during processing, so keep enable as separate field.
Test: manual
Bug:
30622771
Change-Id: Ida02c59eb8433537179b4d22202fe745f8b4bb3e
(cherry picked from commit
e6c453d828fec3df82708d2b0c3bb00bd0a0dbf8)
Jakub Pawlowski [Thu, 6 Apr 2017 14:22:57 +0000 (07:22 -0700)]
Bluetooth 5 fix default AdvertisingSetParameters values
Having advertiser be scannable and connectable by default is a bad
choice for new advertising set.
Bug:
30622771
Test: sl4a Bt5ScanTest
Change-Id: I4fc270e78ca4e62d3077c5cd28aa59b0518d2e77
(cherry picked from commit
010cc95583d6b93bdcc9cf7959f8470d109f8a3d)
Jakub Pawlowski [Thu, 23 Mar 2017 05:53:18 +0000 (22:53 -0700)]
Bluetooth: fix comment wording
Test: manual
Bug:
30622771
Change-Id: I5a589c98553f35248b0d95d332e9f35774075b24
(cherry picked from commit
e7f89b07e6fa3a99877af3298c2a80db23a591d7)
Fan Zhang [Tue, 11 Apr 2017 16:11:31 +0000 (16:11 +0000)]
Merge "Update string description and char limits" into oc-dev
Makoto Onuki [Mon, 10 Apr 2017 22:37:17 +0000 (15:37 -0700)]
Expose UserHandle.getIdentifier() to CTS.
This allows CTS to pass user IDs returned by APIs as UserHandle to various
ADB commands.
Test: Exposing as TestApi only; m -j
Change-Id: Iedba6d83b717baacf9e7cf97f1d32f93c191a5ca
Geoffrey Pitsch [Tue, 11 Apr 2017 15:35:02 +0000 (11:35 -0400)]
Toast whenever a notification fails to post
Help developers find their missing notifications.
Incremental change to move towards an all-channel world.
Bug:
35378789
Test: runtest systemui-notification
Change-Id: Ie3f3e307ff1f6450f5fc8eb9e34e5f566614c1f9
TreeHugger Robot [Tue, 11 Apr 2017 15:32:08 +0000 (15:32 +0000)]
Merge "Fix race condition in removeForegroundServiceFlag" into oc-dev
Andreas Gampe [Mon, 10 Apr 2017 22:48:50 +0000 (15:48 -0700)]
OtaDexOptService: Log post-reboot moves
Disable artifact checks for non-upgrade booting. Log the number of
successfully move artifacts.
(cherry picked from commit
95349c0e9664ec6392a959893f96390310e3b8a4)
Bug:
37158297
Test: m
Test: manual
Change-Id: Ic81531950582ce937e2e3b7815fb9132888d9a42
Romain Guy [Tue, 11 Apr 2017 14:24:56 +0000 (16:24 +0200)]
Hide ColorSpace.Renderer
Bug:
37073273
Test: Compile, make sure CTS does not rely on this API
Change-Id: Ia5d2638676be44464a173f904a21158c554b9ebf
Jason Monk [Tue, 28 Mar 2017 20:25:08 +0000 (16:25 -0400)]
Fix screen pinning in seascape
Test: visual
Change-Id: I7792d0f5f98e83f0b2fd57a831e82efa07533c2b
Fixes:
34072199
TreeHugger Robot [Tue, 11 Apr 2017 12:46:57 +0000 (12:46 +0000)]
Merge "Don't ensure config for activity that is about to be invisible" into oc-dev
Chris Warrington [Mon, 10 Apr 2017 10:49:59 +0000 (11:49 +0100)]
AAPT2: expose return values through JNI.
Test: Tests for JNI in the studio-master-dev branch.
Change-Id: I709595aabf31c9c2fea659c7af20a5c50d1e3d34
TreeHugger Robot [Tue, 11 Apr 2017 07:22:19 +0000 (07:22 +0000)]
Merge "Remove .(ll)ndk suffix from (ll)ndk_library" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 06:10:07 +0000 (06:10 +0000)]
Merge "Move API for disabling an autofill service to the manager" into oc-dev
Bill Yi [Tue, 11 Apr 2017 02:18:58 +0000 (19:18 -0700)]
Import translations. DO NOT MERGE
Change-Id: I8152cc56a3626db7cbafd758eeabf55a275acadc
Auto-generated-cl: translation import
Bryce Lee [Tue, 11 Apr 2017 02:05:29 +0000 (02:05 +0000)]
Merge "Revert "ViewRootImpl: Fix child lifetime."" into oc-dev
Bryce Lee [Tue, 11 Apr 2017 01:59:37 +0000 (01:59 +0000)]
Revert "ViewRootImpl: Fix child lifetime."
This reverts commit
ba29dbc3b38d9efb743d6fa7f9f8c4bb75c38b28.
The original commit causes apps such as phone and clock to not wake the
device.
Fixes:
37197491
Change-Id: I1b45cafbcbf12991d8e1e716e4d1751cd077c556
Keun-young Park [Tue, 11 Apr 2017 01:48:22 +0000 (01:48 +0000)]
Merge "ignore RemoteException from pm if shutdown is already on-going" into oc-dev
Jaekyun Seok [Mon, 10 Apr 2017 04:48:58 +0000 (13:48 +0900)]
Bring back the priority feature for static RRO
Supporting the priority feature is requested by partners because they
want to layer RRO for their customers.
Applying the priority feature on non-static RRO isn't feasible because
their priority should be managed directly by users.
Test: building succeeded and tested on sailfish device.
Bug:
37185740
Change-Id: I8ef83c5e3178bd395ec7e6498764a535f24ef235
Jorim Jaggi [Fri, 7 Apr 2017 14:33:17 +0000 (16:33 +0200)]
Revert "Revert "Handle case when snapshot dimensions don't match""
This reverts commit
ba53d8ae410976709e1413b74173a791e8dead15.
Also fixes that we always had a size mismatch.
Test: TaskSnapshotSurfaceTest
Test: Open app in different orientation than snapshot, make sure
looks ok.
Bug:
36991071
Change-Id: If572b68fd72cec7679984fdff0be5905caba69f4
Fixes:
36703868
TreeHugger Robot [Tue, 11 Apr 2017 01:05:39 +0000 (01:05 +0000)]
Merge "Ensure the system boots with a halfway sane time/date" into oc-dev
Nathan Harold [Fri, 7 Apr 2017 17:56:05 +0000 (10:56 -0700)]
Deprecate TelephonyManager.getCellLocation()
This API has been long-marked for deprecation. It has numerous problems:
-It does not support LTE
-It returns a limited subset of information
-It uses old (and poorly-chosen) sentinel values for fields that are
not provided.
Bug:
36076138
Test: compilation
Change-Id: I87004710e5d046d4534ad3a0a938540440b0e83b
(cherry picked from commit
c12d6c5983a11ca989a85dd553d11c3583ff7aaf)
Jaekyun Seok [Sat, 8 Apr 2017 23:56:00 +0000 (08:56 +0900)]
Rebase enabled overlays for every PackageParser.generateActivityInfo() call
PackageParser.generateActivityInfo() generates ApplicationInfo as well.
So enabled overlays should be rebased for the ApplicationInfo to keep
the overlay path info correctly.
Test: building succeeded and tested on sailfish device.
Bug:
37179769
Change-Id: I12727fd27c1d4cf37ad63b333792108a82efccd6
Svet Ganov [Tue, 11 Apr 2017 00:08:05 +0000 (17:08 -0700)]
Move API for disabling an autofill service to the manager
Test: the topic has a CTS test
bug:
37170723
Change-Id: I2be18968ea8df0fd3fb070fe2efc3e811b0e5a76
TreeHugger Robot [Tue, 11 Apr 2017 00:43:35 +0000 (00:43 +0000)]
Merge "Cache mEphemeralAppsDisabled state" into oc-dev
Adam Lesinski [Tue, 11 Apr 2017 00:04:36 +0000 (00:04 +0000)]
Merge "OverlayManagerService: Make broadcasts/updates explicit" into oc-dev
Zhijun He [Thu, 23 Mar 2017 00:33:47 +0000 (17:33 -0700)]
ImageReader/Writer: add usage flag support
Also add an ImageWriter ctor to take additional arugment (format)
Test: ImageReader and Writer CTS tests
Bug:
32766711
Change-Id: I99e3862dd5b9a85c9df7879c14c84b68a35718ec
Adam Lesinski [Mon, 10 Apr 2017 23:35:19 +0000 (16:35 -0700)]
Make sure system UI context has the same LoadedApk as system context
When the system Application object is created, it should be shared by
both system and system UI context.
Bug:
37111478
Test: - Open settings
Test: - adb shell am crash com.android.settings
Test: - with crash dialog open, press volume keys
Test: - observe no crash
Change-Id: I2b4656680d25fe61fee69c01ee10522aac4e2942
Chad Brubaker [Mon, 10 Apr 2017 23:34:17 +0000 (23:34 +0000)]
Merge "Fix READ_PHONE_NUMBERS label" into oc-dev
TreeHugger Robot [Mon, 10 Apr 2017 23:33:42 +0000 (23:33 +0000)]
Merge "Fix double-detach DualTimer bug" into oc-dev
Jack Yu [Mon, 10 Apr 2017 19:45:18 +0000 (12:45 -0700)]
Deprecated ACTION_PRECISE_DATA_CONNECTION_STATE_CHANGED
This broadcast intent will no longer work for the apps
running in the background. Apps should use Connectivity
Manager to listen for network changes.
Test: Telephony sanity tests
bug:
37156634
Change-Id: I5297cc5a624857d3e11a6d5fdf9369ab99ce88d4
TreeHugger Robot [Mon, 10 Apr 2017 23:22:43 +0000 (23:22 +0000)]
Merge "AAPT2: Share split functionality between link and optimize" into oc-dev
Daniel Nishi [Mon, 10 Apr 2017 23:12:17 +0000 (23:12 +0000)]
Merge "Fix crash when measuring storage." into oc-dev
Fan Zhang [Mon, 10 Apr 2017 22:53:42 +0000 (15:53 -0700)]
Update string description and char limits
Change-Id: Idba5977e614094c3a96b1101f1234f26433300c8
Fix:
36680364
Test: builds
Todd Kennedy [Mon, 10 Apr 2017 22:10:56 +0000 (15:10 -0700)]
add debug logs
Test: TreeHugger
Change-Id: I4b12acb43aa4af7a5587842fe5e2528fee8f4fed
Bookatz [Mon, 10 Apr 2017 20:10:46 +0000 (13:10 -0700)]
Fix double-detach DualTimer bug
DualTimer attempted to detach its subTimer twice when reset(true) was
called, once explicitly and once via a call to the main timer. This
fixes that problem by getting rid of the explicit detach in reset.
Bug:
37208694
Test: runtest -x
frameworks/base/core/tests/coretests/src/com/android/internal/os/BatteryStatsTests.java
and manually looked for "Removed unknown observer" error in logcat.
Change-Id: Ic5ff7d799d46236a74ab0825e108bef40bac0360
Keun-young Park [Fri, 7 Apr 2017 16:31:01 +0000 (09:31 -0700)]
ignore RemoteException from pm if shutdown is already on-going
- In new shutdown flow, adb is guaranteed to be alive while system server
is alive.
- power manager can be killed before system server is killed.
- This leads into RemoteException for shutdown request to power manager.
- If shutdown is already on-going (=sys.powerctl set), the RemoteException
should be ignored.
bug:
37096155
Test: adb shell svc power reboot|shutdown and check output to adb
Change-Id: Ia90a900d55123bd7c1bf57c90c49d35332ebfdf5
Roozbeh Pournader [Mon, 10 Apr 2017 20:52:20 +0000 (13:52 -0700)]
Update fontchain_lint to test new emoji font
The new emoji font has been update to Unicode 10/Emoji 5, and has a
new mechanism for flag fallbacks. It also shares glyphs between
gendered emoji and non-genders ones.
Test: make fontchain_lint passes
Bug:
34688862
Bug:
33276970
Bug:
34738377
Change-Id: I4d43b8c777deb93be1e6a784eaa109e2e7febd7d
Tyler Gunn [Fri, 7 Apr 2017 21:57:37 +0000 (14:57 -0700)]
Add getSelfManagedPhoneAccounts() TelecomManager API.
This is consistent with the existing getCallCapablePhoneAccounts API
which is used to get the phone accounts capable of placing phone calls.
Test: CTS
Bug:
34159263
Merged-In: I1396c63a6882947cd66721528e53b6964a9091e0
Change-Id: I1396c63a6882947cd66721528e53b6964a9091e0
(cherry picked from commit
8931707058c2680878aacc5e6b4150a9aedc0f4d)
Todd Kennedy [Mon, 10 Apr 2017 20:10:11 +0000 (20:10 +0000)]
Merge "send broadcast to the right users" into oc-dev
Wale Ogunwale [Mon, 10 Apr 2017 20:04:06 +0000 (20:04 +0000)]
Merge "Do not set outActivity if value is null." into oc-dev
Dan Willemsen [Fri, 7 Apr 2017 22:48:45 +0000 (15:48 -0700)]
Remove .(ll)ndk suffix from (ll)ndk_library
Soong handles these automatically now.
Bug:
33241851
Test: Android-aosp_arm.mk is the same before/after
Test: build.ninja is the same before/after
Test: build-aosp_arm.ninja is the same before/after
Change-Id: Ic10796e75bb886cc3f92c234714ab3e6c85112df