OSDN Git Service

android-x86/frameworks-base.git
7 years agoSupport flagNoPersonalizedLearning in layout XML
Yohei Yukawa [Fri, 14 Apr 2017 20:46:37 +0000 (13:46 -0700)]
Support flagNoPersonalizedLearning in layout XML

In my previous CL [1] a new flag IME_FLAG_NO_PERSONALIZED_LEARNING
was added for EditorInfo.imeOptions.  What was missed in the
previous CL is that new flag definition for layout XML and as a
result currently IME_FLAG_NO_PERSONALIZED_LEARNING is the only
IME option flag that cannot be specified in layout XML.

For instance, EditorInfo.IME_FLAG_FORCE_ASCII can be specified as
follows.

 <EditText
     android:id="@+id/edittext_force_ascii"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     android:imeOptions="actionSend|flagForceAscii" />

With this CL, application developers can specify
IME_FLAG_NO_PERSONALIZED_LEARNING as follows.

 <EditText
     android:id="@+id/edittext_no_personalized_learning"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     android:imeOptions="actionSend|flagNoPersonalizedLearning" />

 [1]: Ibf5ac3d2b8f39542baf2635c0cadbe242b059f81
      5959af13d069e77ff2b2ac729225e7d248b83a79

Bug: 28157942
Fixes: 37305520
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: Ifca0b13bf336cdc609af820aadcdb1b45ca1d5ba

7 years agoMerge "jni: isLoggable: adapt to removal of property name size limit" into oc-dev
Mark Salyzyn [Wed, 12 Apr 2017 14:49:12 +0000 (14:49 +0000)]
Merge "jni: isLoggable: adapt to removal of property name size limit" into oc-dev

7 years agoMerge "Always request keyboard shorcuts, even if there's no menu." into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 14:16:04 +0000 (14:16 +0000)]
Merge "Always request keyboard shorcuts, even if there's no menu." into oc-dev

7 years agoMerge "Improve javadocs for SecurityLog class." into oc-dev
Pavel Grafov [Wed, 12 Apr 2017 12:33:48 +0000 (12:33 +0000)]
Merge "Improve javadocs for SecurityLog class." into oc-dev

7 years agoMerge "Add helptext to bu command." into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 10:59:53 +0000 (10:59 +0000)]
Merge "Add helptext to bu command." into oc-dev

7 years agoMerge "Do not inset autofill highlight" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 09:43:06 +0000 (09:43 +0000)]
Merge "Do not inset autofill highlight" into oc-dev

7 years agoMerge "Implement enumerate in FingerprintService" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 09:35:12 +0000 (09:35 +0000)]
Merge "Implement enumerate in FingerprintService" into oc-dev

7 years agoMerge "Make "Paste as plain text" resource string public." into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 09:12:19 +0000 (09:12 +0000)]
Merge "Make "Paste as plain text" resource string public." into oc-dev

7 years agoMerge "Change AOSP launcher icon mask Test: manual b/36854903" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 09:02:10 +0000 (09:02 +0000)]
Merge "Change AOSP launcher icon mask Test: manual b/36854903" into oc-dev

7 years agoMerge "Fix doc for FLAG_DISMISS_KEYGUARD" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 05:10:59 +0000 (05:10 +0000)]
Merge "Fix doc for FLAG_DISMISS_KEYGUARD" into oc-dev

7 years agoMerge "Renaming intent action for unknown sources" into oc-dev
Suprabh Shukla [Wed, 12 Apr 2017 04:32:45 +0000 (04:32 +0000)]
Merge "Renaming intent action for unknown sources" into oc-dev

7 years agoMerge "DO NOT MERGE: Add WearDisplayService to the system server; add a SET_DISPLAY_O...
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

7 years agoMerge "DO NOT MERGE: Add WearDisplayService to the system server; add a SET_DISPLAY_O...
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

7 years agoMerge "DO NOT MERGE: Add WearDisplayService to the system server; add a SET_DISPLAY_O...
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

7 years agoMerge "Changing importance should record user locked field." into oc-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

7 years agoMerge "OtaDexOptService: Log post-reboot moves" 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

7 years agoMerge "Allow companion device mgrs channel access" 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

7 years agoMerge "Import translations. DO NOT MERGE" 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

7 years agoMake "Paste as plain text" resource string public.
Abodunrinwa Toki [Tue, 11 Apr 2017 02:47:41 +0000 (03:47 +0100)]
Make "Paste as plain text" resource string public.

Test: no test
Bug: 37164197
Change-Id: Ia15bd434e1d4ccdf9f1711db3a323c89bc2f96ff

7 years agoMerge "TIF: add TvInputManager methods to notify apps" 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

7 years agoMerge "Reset the default usb package less often" 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

7 years agoMerge "Import translations. DO NOT MERGE" 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

7 years agoMerge "Add missing transitive dependencies" into oc-dev
Colin Cross [Wed, 12 Apr 2017 00:06:02 +0000 (00:06 +0000)]
Merge "Add missing transitive dependencies" into oc-dev

7 years agoMerge "Update layoutlib to match java library changes" 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

7 years agoMerge "Keep spans while transforming to uppercase" 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

7 years agoMerge "Make AdapterView auto-focusable-aware" 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

7 years agoMerge "Improve caching behavior of thumbnails" 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

7 years agoMerge "Clean up activity a bit and disable it by default" 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

7 years agoMerge "Ensure visible activities when device is unlocked." 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

7 years agoImplement enumerate in FingerprintService
Kevin Chyn [Mon, 3 Apr 2017 20:37:48 +0000 (13:37 -0700)]
Implement enumerate in FingerprintService

Enumeration will happen only for the current active user.

Fixes 35358801
Test: manual

Change-Id: I4c935626edba6eceb1aec4f79a7b3a39313943a5

7 years agoMerge "Grant Shell ability to clear cached app data." 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

7 years agojni: isLoggable: adapt to removal of property name size limit
Mark Salyzyn [Fri, 7 Apr 2017 18:26:26 +0000 (11:26 -0700)]
jni: isLoggable: adapt to removal of property name size limit

(cherry picked from commit 8143fa57adfbb4a5cc253e4ef68663525a8f81eb)

There is no longer a name size limit to the properties, remove
illegalArgumentException if tag length is too large.

Test: build
Bug: 36696208
Change-Id: I4b4329c8c951082ed0d777cdd70ee3e773bed16c

7 years agoMerge "Move @SystemApi access to ImsService" 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

7 years agoMerge "Toast whenever a notification fails to post" 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

7 years agoFix doc for FLAG_DISMISS_KEYGUARD
Jorim Jaggi [Tue, 11 Apr 2017 22:55:57 +0000 (15:55 -0700)]
Fix doc for FLAG_DISMISS_KEYGUARD

Test: n/a
Change-Id: I7e8b0e22895e5efe839dc0f73bcfda6a67f52026
Fix: 36023803

7 years agoMerge "Import translations. DO NOT MERGE" 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

7 years agoMerge "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

7 years agoAlways request keyboard shorcuts, even if there's no menu.
Michael Wright [Tue, 11 Apr 2017 22:23:42 +0000 (23:23 +0100)]
Always request keyboard shorcuts, even if there's no menu.

Bug: 36964520
Test: cts-tradefed run cts-dev --module CtsAppTestCases -t android.app.cts.ActivityKeyboardShortcutsTest#testRequestShowKeyboardShortcuts
Change-Id: Idc2224260470dfd58a08cd8b2df5d8de67fbaea4

7 years agoImprove caching behavior of thumbnails
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

7 years agoMerge "Bring back the priority feature for static RRO" into oc-dev
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

7 years agoMerge "Rebase enabled overlays for every PackageParser.generateActivityInfo() call...
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

7 years agoMerge "Deprecate TelephonyManager.getCellLocation()" into oc-dev
Nathan Harold [Tue, 11 Apr 2017 20:58:29 +0000 (20:58 +0000)]
Merge "Deprecate TelephonyManager.getCellLocation()" into oc-dev

7 years agoMerge "Fix some maps to be HEAP_DALVIK_CODE_CACHE instead of HEAP_DALVIK_ACCOUNTING...
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

7 years agoKeep spans while transforming to uppercase
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

7 years agoDo not inset autofill highlight
Philip P. Moltmann [Tue, 11 Apr 2017 20:37:43 +0000 (13:37 -0700)]
Do not inset autofill highlight

... as requested by UX

Fixes: 37245779
Test: cts-tradefed run cts-dev -m CtsAutoFillServiceTestCases
      cts-tradefed run cts-dev -m CtsUiRenderingTestCases
          --test=android.uirendering.cts.testclasses.AutofillHighlightTests

Change-Id: I750fdac9a0205233f403b5c16124cf1a9e959a06

7 years agoMerge "Revert "AOD: Wake up fully on gestures by default"" into oc-dev
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

7 years agoMerge "AAPT2: expose return values through JNI." 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

7 years agoImport translations. DO NOT MERGE
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

7 years agoMerge changes from topic 'bt5-cherry-pickery-2' into oc-dev
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

7 years agoAllow companion device mgrs channel access
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

7 years agoGrant Shell ability to clear cached app data.
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

7 years agoTIF: add TvInputManager methods to notify apps
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

7 years agoMerge "Keep a removed API to not break GCore presubmit" into oc-dev
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

7 years agoClean up activity a bit and disable it by default
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

7 years agoMerge "Deprecated ACTION_PRECISE_DATA_CONNECTION_STATE_CHANGED" into oc-dev
Jack Yu [Tue, 11 Apr 2017 18:45:31 +0000 (18:45 +0000)]
Merge "Deprecated ACTION_PRECISE_DATA_CONNECTION_STATE_CHANGED" into oc-dev

7 years agoImport translations. DO NOT MERGE
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

7 years agoKeep a removed API to not break GCore presubmit
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

7 years agoMerge "Add getSelfManagedPhoneAccounts() TelecomManager API." into oc-dev
Tyler Gunn [Tue, 11 Apr 2017 18:36:55 +0000 (18:36 +0000)]
Merge "Add getSelfManagedPhoneAccounts() TelecomManager API." into oc-dev

7 years agoMerge "Make sure system UI context has the same LoadedApk as system context" into...
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

7 years agoImport translations. DO NOT MERGE
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

7 years agoImport translations. DO NOT MERGE
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

7 years agoMerge "Revert "Revert "Handle case when snapshot dimensions don't match""" into oc-dev
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

7 years agoMerge "add debug logs" into oc-dev
Todd Kennedy [Tue, 11 Apr 2017 18:14:18 +0000 (18:14 +0000)]
Merge "add debug logs" into oc-dev

7 years agoEnsure visible activities when device is unlocked.
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

7 years agoFix some maps to be HEAP_DALVIK_CODE_CACHE instead of HEAP_DALVIK_ACCOUNTING
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

7 years agoMerge "Expose UserHandle.getIdentifier() to CTS." into oc-dev
Makoto Onuki [Tue, 11 Apr 2017 17:51:44 +0000 (17:51 +0000)]
Merge "Expose UserHandle.getIdentifier() to CTS." into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" 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

7 years agoChanging importance should record user locked field.
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

7 years agoMerge "Update fontchain_lint to test new emoji font" into oc-dev
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

7 years agoAdd missing transitive dependencies
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)

7 years agoMerge "Fix screen pinning in seascape" into oc-dev
Jason Monk [Tue, 11 Apr 2017 17:09:51 +0000 (17:09 +0000)]
Merge "Fix screen pinning in seascape" into oc-dev

7 years agoChange AOSP launcher icon mask
Hyunyoung Song [Tue, 11 Apr 2017 17:05:37 +0000 (10:05 -0700)]
Change AOSP launcher icon mask
Test: manual
b/36854903

Change-Id: Ic8d014b2b726ff0d5daf6b33d8f13e65a5033795

7 years agoUpdate layoutlib to match java library changes
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)

7 years agoRevert "AOD: Wake up fully on gestures by default"
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)

7 years agoMerge "Hide ColorSpace.Renderer" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 16:22:54 +0000 (16:22 +0000)]
Merge "Hide ColorSpace.Renderer" into oc-dev

7 years agoMerge "ImageReader/Writer: add usage flag support" 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

7 years agoRemove enable from PeriodicAdvertisingPariameters (1/2)
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)

7 years agoBluetooth 5 fix default AdvertisingSetParameters values
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)

7 years agoBluetooth: fix comment wording
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)

7 years agoMerge "Update string description and char limits" into oc-dev
Fan Zhang [Tue, 11 Apr 2017 16:11:31 +0000 (16:11 +0000)]
Merge "Update string description and char limits" into oc-dev

7 years agoExpose UserHandle.getIdentifier() to CTS.
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

7 years agoToast whenever a notification fails to post
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

7 years agoMerge "Fix race condition in removeForegroundServiceFlag" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 15:32:08 +0000 (15:32 +0000)]
Merge "Fix race condition in removeForegroundServiceFlag" into oc-dev

7 years agoOtaDexOptService: Log post-reboot moves
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

7 years agoImprove javadocs for SecurityLog class.
Pavel Grafov [Mon, 10 Apr 2017 18:29:41 +0000 (19:29 +0100)]
Improve javadocs for SecurityLog class.

Test: checked rendering in Intellij Idea quick doc tooltip.
Bug: 34213443
Change-Id: I108df5af5a9aa05d701f2db6e2b57280f9f134b8

7 years agoHide ColorSpace.Renderer
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

7 years agoFix screen pinning in seascape
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

7 years agoMerge "Don't ensure config for activity that is about to be invisible" into oc-dev
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

7 years agoAdd helptext to bu command.
Johan Toras Halseth [Tue, 11 Apr 2017 10:49:34 +0000 (11:49 +0100)]
Add helptext to bu command.

bu is used by adb backup/restore, but since flags passed to these adb
commands are just forwarded to bu, we have no guarantee that the help
text for adb shows an up to date description of what bu can do. We
therefore add the help text to bu, such that it is easier to keep in
sync.

Test: adb shell bu help

Bug: 36170696
Change-Id: I8155d17b5c942ce19b981f4a157e7cc7810490ce

7 years agoAAPT2: expose return values through JNI.
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

7 years agoMerge "Remove .(ll)ndk suffix from (ll)ndk_library" into oc-dev
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

7 years agoMerge "Move API for disabling an autofill service to the manager" 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

7 years agoImport translations. DO NOT MERGE
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

7 years agoMerge "Revert "ViewRootImpl: Fix child lifetime."" into oc-dev
Bryce Lee [Tue, 11 Apr 2017 02:05:29 +0000 (02:05 +0000)]
Merge "Revert "ViewRootImpl: Fix child lifetime."" into oc-dev

7 years agoRevert "ViewRootImpl: Fix child lifetime."
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

7 years agoMerge "ignore RemoteException from pm if shutdown is already on-going" into oc-dev
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

7 years agoBring back the priority feature for static RRO
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

7 years agoRevert "Revert "Handle case when snapshot dimensions don't match""
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

7 years agoMerge "Ensure the system boots with a halfway sane time/date" into oc-dev
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

7 years agoDeprecate TelephonyManager.getCellLocation()
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)