OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Revert "Transition from Activity to Broadcast for TV Search"" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 17:52:56 +0000 (17:52 +0000)]
Merge "Revert "Transition from Activity to Broadcast for TV Search"" into oc-dev

7 years agoMerge "Change behavior of setBitmap to cleanly reset the canvas" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 17:37:01 +0000 (17:37 +0000)]
Merge "Change behavior of setBitmap to cleanly reset the canvas" into oc-dev

7 years agoMerge "Remove unused public APIs." into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 17:31:38 +0000 (17:31 +0000)]
Merge "Remove unused public APIs." into oc-dev

7 years agoMerge "Fix foreground importance bug in LocationManagerService." into oc-dev
Soonil Nagarkar [Wed, 12 Apr 2017 17:27:40 +0000 (17:27 +0000)]
Merge "Fix foreground importance bug in LocationManagerService." into oc-dev

7 years agoMerge "TIF: add review rating columns to programs" into oc-dev
Dongwon Kang [Wed, 12 Apr 2017 17:12:13 +0000 (17:12 +0000)]
Merge "TIF: add review rating columns to programs" into oc-dev

7 years agoMerge "Disallow task snapshot starting window for intent != ACTION_MAIN" into oc-dev
Jorim Jaggi [Wed, 12 Apr 2017 17:06:10 +0000 (17:06 +0000)]
Merge "Disallow task snapshot starting window for intent != ACTION_MAIN" into oc-dev

7 years agoMerge "Fix NPE in TaskSnapshotController" into oc-dev
Jorim Jaggi [Wed, 12 Apr 2017 17:04:07 +0000 (17:04 +0000)]
Merge "Fix NPE in TaskSnapshotController" into oc-dev

7 years agoMerge "Updates for QS DND tile" into oc-dev
Jason Monk [Wed, 12 Apr 2017 17:00:34 +0000 (17:00 +0000)]
Merge "Updates for QS DND tile" into oc-dev

7 years agoMerge "Visual changes to dual target tiles" into oc-dev
Jason Monk [Wed, 12 Apr 2017 16:59:56 +0000 (16:59 +0000)]
Merge "Visual changes to dual target tiles" into oc-dev

7 years agoMerge "Ensure bounds are updated together." into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 16:59:28 +0000 (16:59 +0000)]
Merge "Ensure bounds are updated together." into oc-dev

7 years agoMerge "Introduce FILE_ID for TTC fonts and variation fonts." into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 16:54:43 +0000 (16:54 +0000)]
Merge "Introduce FILE_ID for TTC fonts and variation fonts." into oc-dev

7 years agoMerge "Use the StorageStatsManager in FileCollector." into oc-dev
Daniel Nishi [Wed, 12 Apr 2017 16:37:47 +0000 (16:37 +0000)]
Merge "Use the StorageStatsManager in FileCollector." into oc-dev

7 years agoMerge "Fixing content intent on External Storage notification" into oc-dev
Dmitri Plotnikov [Wed, 12 Apr 2017 16:34:27 +0000 (16:34 +0000)]
Merge "Fixing content intent on External Storage notification" into oc-dev

7 years agoMerge "Add hidden SystemApi for two setup wizard actions" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 16:07:22 +0000 (16:07 +0000)]
Merge "Add hidden SystemApi for two setup wizard actions" into oc-dev

7 years agoMerge "VolumeShaper: update API, use "Millis" instead of "Ms"" into oc-dev
Jean-Michel Trivi [Wed, 12 Apr 2017 15:45:49 +0000 (15:45 +0000)]
Merge "VolumeShaper: update API, use "Millis" instead of "Ms"" into oc-dev

7 years agoMerge "Show x for short period of time when activity is PIP'd" into oc-dev
Mady Mellor [Wed, 12 Apr 2017 15:32:26 +0000 (15:32 +0000)]
Merge "Show x for short period of time when activity is PIP'd" into oc-dev

7 years agoMerge "Optimize HW_AV_SYNC playback by avoiding multiple timestamp block allocations...
Paul Mclean [Wed, 12 Apr 2017 15:16:17 +0000 (15:16 +0000)]
Merge "Optimize HW_AV_SYNC playback by avoiding multiple timestamp block allocations." into oc-dev

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 agoIntroduce FILE_ID for TTC fonts and variation fonts.
Seigo Nonaka [Mon, 10 Apr 2017 18:03:24 +0000 (11:03 -0700)]
Introduce FILE_ID for TTC fonts and variation fonts.

A single TTC font or variation font can be used for multiple entry
of FontResult. To share the file contents, assign same URI for those.

Bug: 36494487
Test: android.provider.FontsContractTest passes
Change-Id: Ibf24f216179a6481dee1801cd2dfb68c4bb38fac

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 agoVolumeShaper: update API, use "Millis" instead of "Ms"
Jean-Michel Trivi [Wed, 12 Apr 2017 01:52:43 +0000 (18:52 -0700)]
VolumeShaper: update API, use "Millis" instead of "Ms"

Test: make
Bug: 36785428
Change-Id: Ib77ff448bb8454453b1bd39f1491b0189b4ff15b

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 agoDisallow task snapshot starting window for intent != ACTION_MAIN
Jorim Jaggi [Tue, 11 Apr 2017 23:29:10 +0000 (16:29 -0700)]
Disallow task snapshot starting window for intent != ACTION_MAIN

We don't want to show a task snapshot if the intent wasn't the
launcher intent. Likely the app will show something different, so
we shouldn't show a snapshot in this case.

Test: AppWindowContainerControllerTests
Test: Open app, make sure we get snapshot window
Test: Open Chrome, go home, Open chrome incognito from shortcut,
make sure no flash

Change-Id: Ib608ba8070ce09f418f1036248d81eebfa354128
Fixes: 35099602

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 agoUse the StorageStatsManager in FileCollector.
Daniel Nishi [Mon, 10 Apr 2017 18:21:26 +0000 (11:21 -0700)]
Use the StorageStatsManager in FileCollector.

This should vastly improve the speed of the FileCollector.

Change-Id: I7a878a0622bbd6c758fb1d36125414d8b025e709
Fixes: 35807386
Test: Existing tests continue to pass.

7 years agoAdd hidden SystemApi for two setup wizard actions
Russell Brenner [Fri, 24 Feb 2017 19:11:47 +0000 (11:11 -0800)]
Add hidden SystemApi for two setup wizard actions

ACTION_UPGRADE_SETUP exists as an SdkConstant and is now additionally
tagged as a SystemApi. ACTION_DEVICE_INITIALIZATION_WIZARD is added
as a deprecated SystemApi to appease CTS requirements. Both APIs are
hidden.

Test: cts-tradefed run cts-dev -m CtsSignatureTestCases \
        -t android.signature.cts.IntentTest#shouldNotFindUnexpectedIntents
Bug: 33663899
Change-Id: Ib45afbfcbb9a3d3020f11c8b63fc2bcf6fc447a1
(cherry picked from commit 4cd32e5395a9e97e281823c8c57e1c18845447c4)

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 agoRevert "Transition from Activity to Broadcast for TV Search"
Powei Feng [Tue, 11 Apr 2017 23:00:45 +0000 (23:00 +0000)]
Revert "Transition from Activity to Broadcast for TV Search"

This reverts commit 1331d26142b9b3271292e3f58e7e79e1cb78d619.

Reason for revert: b/36725187

Bug: 36725187
Test: manual testing of search on Fugu

Change-Id: I02e7abeee264ceada88f220f2eddb9f92ef397bc

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 agoFix NPE in TaskSnapshotController
Jorim Jaggi [Tue, 11 Apr 2017 22:50:19 +0000 (15:50 -0700)]
Fix NPE in TaskSnapshotController

Test: Pray
Change-Id: Ie65f072b35fbf1a9a65caf5be48dabbb7abb6be8
Fixes: 36592724

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 agoShow x for short period of time when activity is PIP'd
Mady Mellor [Tue, 21 Mar 2017 17:39:42 +0000 (10:39 -0700)]
Show x for short period of time when activity is PIP'd

- Moves dismiss view out of menu container layout and manages the alpha
  for it separately (i.e. when animating menu in / out or modifying the
  alpha when dragging to dismiss)
- Shows the dismiss view when PIP mode is entered, fades out after
  menu time out, on interaction the timeout is reset

Test: Enter PIP, note 'x' that is displayed, tap on it to dismiss the PIP
      or don't tap on it and it goes away
Bug: 36900043
Change-Id: Ia596ee60cd9c0d744e459564586ba6a0a9c23d5d

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 agoRemove unused public APIs.
Seigo Nonaka [Tue, 11 Apr 2017 20:00:33 +0000 (13:00 -0700)]
Remove unused public APIs.

By I9ccafe7a53935960566243e2856e166878ca59ae, FontManager was gone.
So FontConfig is no longer need to be parcelable.
We can drop Parcel interface from FontVariationAxis.

Bug: N/A
Test: N/A
Change-Id: I33e92abf1e1063af312f0b7d9d6b8bd938d09c0e

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 agoOptimize HW_AV_SYNC playback by avoiding multiple timestamp block allocations.
Paul McLean [Tue, 11 Apr 2017 19:52:05 +0000 (12:52 -0700)]
Optimize HW_AV_SYNC playback by avoiding multiple timestamp block allocations.

Bug: 33627517
Test: CTS and Manual
Change-Id: Ic27d630d27efef48fc0d1db023aaec556e62e073

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 agoFixing content intent on External Storage notification
Dmitri Plotnikov [Tue, 11 Apr 2017 18:45:00 +0000 (11:45 -0700)]
Fixing content intent on External Storage notification

Bug: 37245861
Test: attach an external drive, tap on the notification
Change-Id: I72934fe8bff1dd86edc67ad865c82c19593af7e2

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 agoChange behavior of setBitmap to cleanly reset the canvas
Derek Sollenberger [Tue, 11 Apr 2017 17:58:45 +0000 (13:58 -0400)]
Change behavior of setBitmap to cleanly reset the canvas

 - identity matrix
 - no save stack
 - wide-open clip

This reverts commit 4f641d1e4586b027969052cc0ad6b65c1158e72e

Test: bit CtsGraphicsTestCases:.CanvasTest
Bug: 36218535
Change-Id: Id11deb06e37d6df61f1f171d424ab150d812a7a8

7 years agoVisual changes to dual target tiles
Jason Monk [Tue, 11 Apr 2017 17:57:45 +0000 (13:57 -0400)]
Visual changes to dual target tiles

Test: visual
Change-Id: I856cae03587fc9a1e49fbfbdbf1e6abfbbf114ca
Fixes: 37007988

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 agoUpdates for QS DND tile
Jason Monk [Wed, 5 Apr 2017 13:29:53 +0000 (09:29 -0400)]
Updates for QS DND tile

 - Make detail panels not close when turned off
 - Add auto-rule state for DND tile

Test: manual
Change-Id: I533cf0a27c54e84cd74ede72dcf10e2e5f9a070f
Fixes: 34765805

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)