313057 Commits

Author SHA1 Message Date
TreeHugger Robot
cd3f72d628 Merge "Keep spans while transforming to uppercase" into oc-dev 2017-04-12 00:02:35 +00:00
Evan Rosky
7d6bf45428 Merge "Make AdapterView auto-focusable-aware" into oc-dev 2017-04-12 00:02:25 +00:00
TreeHugger Robot
b67e105e74 Merge "Improve caching behavior of thumbnails" into oc-dev 2017-04-11 23:53:19 +00:00
TreeHugger Robot
1df5ca5911 Merge "Clean up activity a bit and disable it by default" into oc-dev 2017-04-11 23:51:53 +00:00
TreeHugger Robot
293afb3917 Merge "Ensure visible activities when device is unlocked." into oc-dev 2017-04-11 23:50:11 +00:00
TreeHugger Robot
1f58ad1a2f Merge "Grant Shell ability to clear cached app data." into oc-dev 2017-04-11 23:15:38 +00:00
Brad Ebinger
509a311976 Merge "Move @SystemApi access to ImsService" into oc-dev 2017-04-11 23:12:11 +00:00
TreeHugger Robot
b287e9907a Merge "Toast whenever a notification fails to post" into oc-dev 2017-04-11 23:00:03 +00:00
TreeHugger Robot
6acaa0382c Merge "Import translations. DO NOT MERGE" into oc-dev 2017-04-11 22:35:49 +00:00
TreeHugger Robot
911de0346c Merge "Import translations. DO NOT MERGE" into oc-dev 2017-04-11 22:28:43 +00:00
Jorim Jaggi
cdef591e52 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
2017-04-11 14:06:42 -07:00
TreeHugger Robot
8f8a71d170 Merge "Bring back the priority feature for static RRO" into oc-dev 2017-04-11 21:03:00 +00:00
TreeHugger Robot
ad724f61ad Merge "Rebase enabled overlays for every PackageParser.generateActivityInfo() call" into oc-dev 2017-04-11 21:02:28 +00:00
Nathan Harold
4e745fd4e9 Merge "Deprecate TelephonyManager.getCellLocation()" into oc-dev 2017-04-11 20:58:34 +00:00
TreeHugger Robot
bfd70fb90b Merge "Fix some maps to be HEAP_DALVIK_CODE_CACHE instead of HEAP_DALVIK_ACCOUNTING" into oc-dev 2017-04-11 20:49:51 +00:00
Roozbeh Pournader
b2d00340fd 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
2017-04-11 13:49:18 -07:00
Adrian Roos
e76f4b0d0b Merge "Revert "AOD: Wake up fully on gestures by default"" into oc-dev 2017-04-11 20:25:59 +00:00
Fabrice de Gans-Riberi
3f1febbedb Merge "AAPT2: expose return values through JNI." into oc-dev 2017-04-11 19:56:19 +00:00
Jakub Pawlowski
2d7d617e6a 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
2017-04-11 19:19:36 +00:00
Jeff Sharkey
a4daf89f0f 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
2017-04-11 13:03:54 -06:00
Svetoslav Ganov
c62250ad52 Merge "Keep a removed API to not break GCore presubmit" into oc-dev 2017-04-11 18:58:56 +00:00
Jason Monk
ad71ae1fd0 Clean up activity a bit and disable it by default
Test: visual & demo mode
Change-Id: I3718e7f58d21a28ae937064882c4edff10534701
Fixes: 36020978
2017-04-11 14:55:25 -04:00
Jack Yu
4011fff255 Merge "Deprecated ACTION_PRECISE_DATA_CONNECTION_STATE_CHANGED" into oc-dev 2017-04-11 18:45:34 +00:00
Bill Yi
6104b8ac65 Import translations. DO NOT MERGE
Change-Id: I00ba119096a1178627988e15ec6e71f637b2ac57
Auto-generated-cl: translation import
2017-04-11 11:41:51 -07:00
Svet Ganov
fc4a3004e3 Keep a removed API to not break GCore presubmit
Change-Id: Ica38b7aad2a5a8792917d0da1d497f373b118077
2017-04-11 11:40:14 -07:00
Tyler Gunn
76679ead10 Merge "Add getSelfManagedPhoneAccounts() TelecomManager API." into oc-dev 2017-04-11 18:37:03 +00:00
Adam Lesinski
fa7b34395c Merge "Make sure system UI context has the same LoadedApk as system context" into oc-dev 2017-04-11 18:30:00 +00:00
Bill Yi
7c22c80a38 Import translations. DO NOT MERGE
Change-Id: I12715892d9848e7a1efac7a7cd990baad91ad550
Auto-generated-cl: translation import
2017-04-11 11:20:51 -07:00
TreeHugger Robot
971fe468a4 Merge "Revert "Revert "Handle case when snapshot dimensions don't match""" into oc-dev 2017-04-11 18:16:00 +00:00
Todd Kennedy
7fa473b1aa Merge "add debug logs" into oc-dev 2017-04-11 18:14:23 +00:00
Wale Ogunwale
7004a8801d 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
2017-04-11 11:13:04 -07:00
Mathieu Chartier
94f11c531f 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
2017-04-11 11:07:37 -07:00
Makoto Onuki
a2ea59c9bb Merge "Expose UserHandle.getIdentifier() to CTS." into oc-dev 2017-04-11 17:51:48 +00:00
TreeHugger Robot
e62e9a274a Merge "Import translations. DO NOT MERGE" into oc-dev 2017-04-11 17:49:39 +00:00
Roozbeh Pournader
f72b0eec6e Merge "Update fontchain_lint to test new emoji font" into oc-dev 2017-04-11 17:24:32 +00:00
Jason Monk
d24ecd9b5c Merge "Fix screen pinning in seascape" into oc-dev 2017-04-11 17:09:55 +00:00
Adrian Roos
601fe4aca3 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)
2017-04-11 16:54:01 +00:00
TreeHugger Robot
5094caafc2 Merge "Hide ColorSpace.Renderer" into oc-dev 2017-04-11 16:22:57 +00:00
TreeHugger Robot
96d4ac0cc6 Merge "ImageReader/Writer: add usage flag support" into oc-dev 2017-04-11 16:17:16 +00:00
Jakub Pawlowski
326996916d 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)
2017-04-11 09:13:38 -07:00
Jakub Pawlowski
1ab569d43f 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)
2017-04-11 09:13:31 -07:00
Jakub Pawlowski
5203f76933 Bluetooth: fix comment wording
Test: manual
Bug: 30622771
Change-Id: I5a589c98553f35248b0d95d332e9f35774075b24
(cherry picked from commit e7f89b07e6fa3a99877af3298c2a80db23a591d7)
2017-04-11 09:13:18 -07:00
Fan Zhang
3151a09dac Merge "Update string description and char limits" into oc-dev 2017-04-11 16:11:36 +00:00
Makoto Onuki
cb8936eae9 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
2017-04-11 08:42:57 -07:00
Geoffrey Pitsch
cadb5dc537 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
2017-04-11 11:35:02 -04:00
TreeHugger Robot
f4077aa374 Merge "Fix race condition in removeForegroundServiceFlag" into oc-dev 2017-04-11 15:32:12 +00:00
Romain Guy
66d7da6a41 Hide ColorSpace.Renderer
Bug: 37073273
Test: Compile, make sure CTS does not rely on this API
Change-Id: Ia5d2638676be44464a173f904a21158c554b9ebf
2017-04-11 16:24:56 +02:00
Jason Monk
e763a26c11 Fix screen pinning in seascape
Test: visual
Change-Id: I7792d0f5f98e83f0b2fd57a831e82efa07533c2b
Fixes: 34072199
2017-04-11 14:16:06 +00:00
TreeHugger Robot
2d008a5fc1 Merge "Don't ensure config for activity that is about to be invisible" into oc-dev 2017-04-11 12:47:00 +00:00
Chris Warrington
014d315653 AAPT2: expose return values through JNI.
Test: Tests for JNI in the studio-master-dev branch.
Change-Id: I709595aabf31c9c2fea659c7af20a5c50d1e3d34
2017-04-11 09:21:29 +00:00