OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Address review suggestions for sensor direct report related APIs" into oc-dev
Peng Xu [Thu, 13 Apr 2017 23:33:43 +0000 (23:33 +0000)]
Merge "Address review suggestions for sensor direct report related APIs" into oc-dev
am: 5ebb159a92

Change-Id: I39838189ba70cd74e726d4332e1c2adfb5b269d6

7 years agoMerge "Address review suggestions for sensor direct report related APIs" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 23:24:35 +0000 (23:24 +0000)]
Merge "Address review suggestions for sensor direct report related APIs" into oc-dev

7 years agoMerge "Actually remove the chooser APIs" into oc-dev
Makoto Onuki [Thu, 13 Apr 2017 23:17:21 +0000 (23:17 +0000)]
Merge "Actually remove the chooser APIs" into oc-dev
am: fbadd6dac9

Change-Id: Ibb59269e2da0698ebc7140c08de8265059be8033

7 years agoMerge "Improve rect-level focus ordering" into oc-dev
Evan Rosky [Thu, 13 Apr 2017 23:14:53 +0000 (23:14 +0000)]
Merge "Improve rect-level focus ordering" into oc-dev
am: 197052d6cb

Change-Id: I3e155776f9ccffb6f0a2d19b73ec73f0b8bf829b

7 years agoMerge "Actually remove the chooser APIs" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 23:08:49 +0000 (23:08 +0000)]
Merge "Actually remove the chooser APIs" into oc-dev

7 years agoMerge "AAPT2: Fix order-of-destruction crash" into oc-dev
Adam Lesinski [Thu, 13 Apr 2017 23:08:34 +0000 (23:08 +0000)]
Merge "AAPT2: Fix order-of-destruction crash" into oc-dev
am: 62b713ed73

Change-Id: I1e32861bec801645e11e36663d57d3e36bf3f133

7 years agoMerge "Improve rect-level focus ordering" into oc-dev
Evan Rosky [Thu, 13 Apr 2017 23:06:09 +0000 (23:06 +0000)]
Merge "Improve rect-level focus ordering" into oc-dev

7 years agoMerge changes Icc9c36f7,I723474e2 into oc-dev
Selim Cinek [Thu, 13 Apr 2017 23:02:41 +0000 (23:02 +0000)]
Merge changes Icc9c36f7,I723474e2 into oc-dev
am: 07525d4f25

Change-Id: I84d476d21e920fdd28e8e1f7c18d54d3eaf1e23b

7 years agoMerge "AAPT2: Fix order-of-destruction crash" into oc-dev
Adam Lesinski [Thu, 13 Apr 2017 22:53:56 +0000 (22:53 +0000)]
Merge "AAPT2: Fix order-of-destruction crash" into oc-dev

7 years agoMerge changes Icc9c36f7,I723474e2 into oc-dev
Selim Cinek [Thu, 13 Apr 2017 22:52:10 +0000 (22:52 +0000)]
Merge changes Icc9c36f7,I723474e2 into oc-dev

* changes:
  Fixed a crash when expanding
  Fixed the visual appearance on heads-up notifications

7 years agoMerge "Refine BatteryInfo and battery drawable" into oc-dev
Lei Yu [Thu, 13 Apr 2017 21:52:40 +0000 (21:52 +0000)]
Merge "Refine BatteryInfo and battery drawable" into oc-dev
am: 57af565fb7

Change-Id: Ie9fce326b23293e9f66d71f4be4b166aae310eb0

7 years agoMerge "Refine BatteryInfo and battery drawable" into oc-dev
Lei Yu [Thu, 13 Apr 2017 21:43:32 +0000 (21:43 +0000)]
Merge "Refine BatteryInfo and battery drawable" into oc-dev

7 years agoMerge "Fix A11y volume persisting/restore" into oc-dev
Jean-Michel Trivi [Thu, 13 Apr 2017 21:40:36 +0000 (21:40 +0000)]
Merge "Fix A11y volume persisting/restore" into oc-dev
am: 076a0bd0bf

Change-Id: Ida09a7781114812adbb4536fac53a3773cd69dc4

7 years agoMerge "TIF: add helper methods for making a channel browsable." into oc-dev
Dongwon Kang [Thu, 13 Apr 2017 21:32:15 +0000 (21:32 +0000)]
Merge "TIF: add helper methods for making a channel browsable." into oc-dev
am: b2eb818a7d

Change-Id: I54b92c8b773706de49ffd2e78df59568e19d3b49

7 years agoMerge "Fix A11y volume persisting/restore" into oc-dev
Jean-Michel Trivi [Thu, 13 Apr 2017 21:32:03 +0000 (21:32 +0000)]
Merge "Fix A11y volume persisting/restore" into oc-dev

7 years agoMerge "Collect background stats: syncs" into oc-dev
Bookatz [Thu, 13 Apr 2017 21:31:05 +0000 (21:31 +0000)]
Merge "Collect background stats: syncs" into oc-dev
am: a8fc7bff5a

Change-Id: Id3f2d7b2a77c74657416e492519f2205bc46218a

7 years agoMerge "TIF: add helper methods for making a channel browsable." into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 21:23:45 +0000 (21:23 +0000)]
Merge "TIF: add helper methods for making a channel browsable." into oc-dev

7 years agoMerge "Collect background stats: syncs" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 21:20:10 +0000 (21:20 +0000)]
Merge "Collect background stats: syncs" into oc-dev

7 years agoAddress review suggestions for sensor direct report related APIs
Peng Xu [Fri, 7 Apr 2017 01:37:56 +0000 (18:37 -0700)]
Address review suggestions for sensor direct report related APIs

Changes inline with bug number

Some improvements about SensorDirectChannel class.
  * Complete the doc about creation of SensorDirectChannel object.
  * Make SensorDirectChannel implements java.nio.channels.Channel.
  * Change isValid() to isOpen().
  * Make close() thread safe.
Bug: 36550285

  * Throw exception on failure of SensorManager.createDirectChannel.
  * Change to use NullPointerException when unexpected null pointer
    is passed in.
Bug: 36555061

  * Move SensorManager.configureDirectChannel() to
    SensorDirectChannel.configure().
  * Format SensorDirectChannel.configure() function doc with
    <pre></pre> to maintain the table structure.
  * Reworded Sensor.isDirectChannelTypeSupported java doc.
Bug: 36555604

Test: pass updated cts SensorDirectReportTest
Change-Id: I447121eaf414cbc94292a109a9d93d2e3c89f8f4

7 years agoMerge "Add more NetworkRecommendationProvider documentation." into oc-dev
Jeremy Joslin [Thu, 13 Apr 2017 21:04:53 +0000 (21:04 +0000)]
Merge "Add more NetworkRecommendationProvider documentation." into oc-dev
am: 5879aa4b03

Change-Id: I4e41346ea4dd9a731f8747c3e447deb0a991fc3d

7 years agoMerge "Add example to TypedValue.changingConfigurations JavaDoc" into oc-dev
Adam Lesinski [Thu, 13 Apr 2017 21:03:53 +0000 (21:03 +0000)]
Merge "Add example to TypedValue.changingConfigurations JavaDoc" into oc-dev
am: 4124851b64

Change-Id: I2bdfbdbe4e08e4b10b0fe7a2d0ed813f29d72fe7

7 years agoMerge "Add more NetworkRecommendationProvider documentation." into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 20:55:49 +0000 (20:55 +0000)]
Merge "Add more NetworkRecommendationProvider documentation." into oc-dev

7 years agoMerge "Add example to TypedValue.changingConfigurations JavaDoc" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 20:54:24 +0000 (20:54 +0000)]
Merge "Add example to TypedValue.changingConfigurations JavaDoc" into oc-dev

7 years agoMerge "Fix location status bar icon" into oc-dev
Jason Monk [Thu, 13 Apr 2017 20:35:37 +0000 (20:35 +0000)]
Merge "Fix location status bar icon" into oc-dev
am: d2b368a68d

Change-Id: Ibe7699d1ad05a5c261620838a270faf99ba66697

7 years agoMerge "Update docs for obtainStyledAttribute" into oc-dev
Adam Lesinski [Thu, 13 Apr 2017 20:34:34 +0000 (20:34 +0000)]
Merge "Update docs for obtainStyledAttribute" into oc-dev
am: 80b7a214ba

Change-Id: I66c85d892d708176f2cef6a6ef2b698976d649c9

7 years agoMerge "Remove window container from empty task when destroying." into oc-dev
Bryce Lee [Thu, 13 Apr 2017 20:33:19 +0000 (20:33 +0000)]
Merge "Remove window container from empty task when destroying." into oc-dev
am: 61bce9ab13

Change-Id: If4544085864f9fe40de4d2dd44ad4a880f79c43a

7 years agoMerge "Fix location status bar icon" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 20:26:12 +0000 (20:26 +0000)]
Merge "Fix location status bar icon" into oc-dev

7 years agoMerge "BatteryStats: Remove reading of cpu power" into oc-dev
Adam Lesinski [Thu, 13 Apr 2017 20:22:19 +0000 (20:22 +0000)]
Merge "BatteryStats: Remove reading of cpu power" into oc-dev
am: af85d84050

Change-Id: I671a51d53c035d40cb1af1428f7c0f4093445aed

7 years agoMerge "Add uncached and perspective shadows to Skia renderer" into oc-dev
Jim Van Verth [Thu, 13 Apr 2017 20:16:17 +0000 (20:16 +0000)]
Merge "Add uncached and perspective shadows to Skia renderer" into oc-dev
am: 1be9766a68

Change-Id: I8034dff9695425939a00b3f38d06615ffcc0f2b4

7 years agoMerge "Update docs for obtainStyledAttribute" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 20:15:47 +0000 (20:15 +0000)]
Merge "Update docs for obtainStyledAttribute" into oc-dev

7 years agoMerge "Add new facility to find out when a PendingIntent is canceled." into oc-dev
Dianne Hackborn [Thu, 13 Apr 2017 20:15:05 +0000 (20:15 +0000)]
Merge "Add new facility to find out when a PendingIntent is canceled." into oc-dev
am: 29c70437b3

Change-Id: I5078d76e3eb861850ef7af769badf81dbdee418a

7 years agoMerge "Fix leak in nav bar" into oc-dev
Jason Monk [Thu, 13 Apr 2017 20:13:55 +0000 (20:13 +0000)]
Merge "Fix leak in nav bar" into oc-dev
am: 0b67d53ba9

Change-Id: I46aa7def6eb54f967ab568fc459786d0401055d3

7 years agoMerge "ECBM SystemProperty cleanup" into oc-dev
Shuo Qian [Thu, 13 Apr 2017 20:11:41 +0000 (20:11 +0000)]
Merge "ECBM SystemProperty cleanup" into oc-dev
am: efb8882b47

Change-Id: I69e063bbb4c93f94d50c58a1c8af1643f5e024ca

7 years agoMerge "Remove window container from empty task when destroying." into oc-dev
Bryce Lee [Thu, 13 Apr 2017 20:10:39 +0000 (20:10 +0000)]
Merge "Remove window container from empty task when destroying." into oc-dev

7 years agoMerge "Ensure removeForegroundService checks both lists under lock" into oc-dev
Geoffrey Pitsch [Thu, 13 Apr 2017 20:10:13 +0000 (20:10 +0000)]
Merge "Ensure removeForegroundService checks both lists under lock" into oc-dev
am: c4ca1b5677

Change-Id: I81a50649ba59d28fdfc9a7b8381bcaf346555a3a

7 years agoMerge "BatteryStats: Remove reading of cpu power" into oc-dev
Adam Lesinski [Thu, 13 Apr 2017 20:09:41 +0000 (20:09 +0000)]
Merge "BatteryStats: Remove reading of cpu power" into oc-dev

7 years agoMerge "Add developer setting and system API for inband ringing support" into oc-dev
Jack He [Thu, 13 Apr 2017 20:07:44 +0000 (20:07 +0000)]
Merge "Add developer setting and system API for inband ringing support" into oc-dev
am: aadf525e1a

Change-Id: I458b5df924ca65edc4b38ee1e275b6b6f86310fe

7 years agoMerge "Add uncached and perspective shadows to Skia renderer" into oc-dev
Jim Van Verth [Thu, 13 Apr 2017 20:01:43 +0000 (20:01 +0000)]
Merge "Add uncached and perspective shadows to Skia renderer" into oc-dev

7 years agoMerge "Add new facility to find out when a PendingIntent is canceled." into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 20:01:28 +0000 (20:01 +0000)]
Merge "Add new facility to find out when a PendingIntent is canceled." into oc-dev

7 years agoMerge "Filter instant app content providers" into oc-dev
Todd Kennedy [Thu, 13 Apr 2017 19:59:28 +0000 (19:59 +0000)]
Merge "Filter instant app content providers" into oc-dev
am: 3891674204

Change-Id: I4e33d8e82a249249dfe25964cbfdb89b2f1e0318

7 years agoAAPT2: Fix order-of-destruction crash
Adam Lesinski [Thu, 13 Apr 2017 19:55:19 +0000 (12:55 -0700)]
AAPT2: Fix order-of-destruction crash

Make sure that users of StringPool are destroyed before
the StringPool itself.

Test: valgrind aapt2 optimize -o opt.apk out/target/common/obj/APPS/framework-res_intermediates/package-export.apk
Change-Id: I140c2d32f8449028976795d5d6865d83e1409b53

7 years agoMerge "Fix leak in nav bar" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 19:55:47 +0000 (19:55 +0000)]
Merge "Fix leak in nav bar" into oc-dev

7 years agoMerge "ECBM SystemProperty cleanup" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 19:53:09 +0000 (19:53 +0000)]
Merge "ECBM SystemProperty cleanup" into oc-dev

7 years agoMerge "Ensure removeForegroundService checks both lists under lock" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 19:49:55 +0000 (19:49 +0000)]
Merge "Ensure removeForegroundService checks both lists under lock" into oc-dev

7 years agoMerge "Update mobile data icon" into oc-dev
Jason Monk [Thu, 13 Apr 2017 19:46:47 +0000 (19:46 +0000)]
Merge "Update mobile data icon" into oc-dev
am: 99856429db

Change-Id: I1cb5f4e16f3832ff304894fac43eced6decd020d

7 years agoMerge "Introduce PACKAGE_FIRST_ADDED broadcast" into oc-dev
Chris Tate [Thu, 13 Apr 2017 19:45:30 +0000 (19:45 +0000)]
Merge "Introduce PACKAGE_FIRST_ADDED broadcast" into oc-dev
am: 117ac766a9

Change-Id: I9bec0f90873a5bcb9ff89eadcf7e334e9f0afb89

7 years agoMerge "Add developer setting and system API for inband ringing support" into oc-dev
Jack He [Thu, 13 Apr 2017 19:43:49 +0000 (19:43 +0000)]
Merge "Add developer setting and system API for inband ringing support" into oc-dev

7 years agoMerge "Filter instant app content providers" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 19:43:25 +0000 (19:43 +0000)]
Merge "Filter instant app content providers" into oc-dev

7 years agoMerge "Introduce setFallbackTypeface" into oc-dev
Seigo Nonaka [Thu, 13 Apr 2017 19:38:09 +0000 (19:38 +0000)]
Merge "Introduce setFallbackTypeface" into oc-dev
am: 729a515e5e

Change-Id: I3e88a1d51b8a8be7f932964917218a28ae23c5c9

7 years agoMerge "Update mobile data icon" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 19:37:31 +0000 (19:37 +0000)]
Merge "Update mobile data icon" into oc-dev

7 years agoMerge "Fix some issues came up from the reviews of the newly added APIs Test: Existin...
Yu Liu [Thu, 13 Apr 2017 19:34:48 +0000 (19:34 +0000)]
Merge "Fix some issues came up from the reviews of the newly added APIs Test: Existing unit tests still pass. BUG: 36554361 Change-Id: I6c2dab2e0df7f8578f92c70907f45aa69909892c" into oc-dev
am: e425b366ba

Change-Id: I371260b7a82bbda02f978c2396385c96fd03ec66

7 years agoMerge "Introduce PACKAGE_FIRST_ADDED broadcast" into oc-dev
Chris Tate [Thu, 13 Apr 2017 19:24:08 +0000 (19:24 +0000)]
Merge "Introduce PACKAGE_FIRST_ADDED broadcast" into oc-dev

7 years agoMerge "Introduce setFallbackTypeface" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 19:21:21 +0000 (19:21 +0000)]
Merge "Introduce setFallbackTypeface" into oc-dev

7 years agoMerge "Fix some issues came up from the reviews of the newly added APIs Test: Existin...
Yu Liu [Thu, 13 Apr 2017 19:20:58 +0000 (19:20 +0000)]
Merge "Fix some issues came up from the reviews of the newly added APIs Test: Existing unit tests still pass. BUG: 36554361 Change-Id: I6c2dab2e0df7f8578f92c70907f45aa69909892c" into oc-dev

7 years agoMerge "Quick fix to lockscreen text color." into oc-dev
Daniel Sandler [Thu, 13 Apr 2017 19:16:13 +0000 (19:16 +0000)]
Merge "Quick fix to lockscreen text color." into oc-dev
am: f06c2a01a5

Change-Id: If3ec3b915bb2defe9999b323bf7f7ce2c55ff7be

7 years agoMerge "Quick fix to lockscreen text color." into oc-dev
Daniel Sandler [Thu, 13 Apr 2017 19:06:24 +0000 (19:06 +0000)]
Merge "Quick fix to lockscreen text color." into oc-dev

7 years agoFix A11y volume persisting/restore
Jean-Michel Trivi [Thu, 13 Apr 2017 01:27:01 +0000 (18:27 -0700)]
Fix A11y volume persisting/restore

When the accessibility volume is enabled, its value wasn't persisted
  when changed because it was still using the persisting name from
  its alias (music).
When enabled, notiify the volume controller that a11y volume has
  changed so the UI also reflects the new value, now updated from
  the persisted settings.
Do not persist volumes for streams that don't have a setting name.

Test: enable Talkback, set a11y volume at a different level than media \
  then disable Talkback. Reboot and enable Talkback, verify a11y is \
  restored.
Bug: 36286073

Change-Id: Ic6c30364e164b856fc10fbf6b22c09a7b5561be1

7 years agoCollect background stats: syncs
Bookatz [Thu, 13 Apr 2017 18:59:33 +0000 (11:59 -0700)]
Collect background stats: syncs

Added background times and counts for an app's sync usage.

Bug: 35669746
Test: runtest -x
frameworks/base/core/tests/coretests/src/com/android/internal/os/BatteryStatsTests.java

Change-Id: I1c01c5044064277b97e8d330386454da3e8204da

7 years agoQuick fix to lockscreen text color.
Dan Sandler [Thu, 13 Apr 2017 18:38:40 +0000 (14:38 -0400)]
Quick fix to lockscreen text color.

Bug: 37299706
Test: visual
Change-Id: Ide48186f0f1cb4a50c77b45ae8b80a79781d7b0d

7 years agoMerge changes from topic 'cp-movies' into oc-dev
Daniel Nishi [Thu, 13 Apr 2017 18:44:53 +0000 (18:44 +0000)]
Merge changes from topic 'cp-movies' into oc-dev
am: ff97ea2eef

Change-Id: Ife4f6fb260439003a46e6510af41f8bb6c542cb7

7 years agoMerge changes from topic 'cp-movies' into oc-dev
Daniel Nishi [Thu, 13 Apr 2017 18:39:53 +0000 (18:39 +0000)]
Merge changes from topic 'cp-movies' into oc-dev

* changes:
  Use the real filters when determining Other Apps.
  Add support for movies & tv apps querying.

7 years agoAdd example to TypedValue.changingConfigurations JavaDoc
Adam Lesinski [Wed, 12 Apr 2017 22:05:53 +0000 (15:05 -0700)]
Add example to TypedValue.changingConfigurations JavaDoc

Also includes a list of possible bits that can be set.

Bug: 36676115
Change-Id: I84fd374a00debb4647719e62cf5a1ef22bb6071c
Test: builds

7 years agoMerge "Switch i18n listeners to use IME hint locales" into oc-dev
Roozbeh Pournader [Thu, 13 Apr 2017 18:33:57 +0000 (18:33 +0000)]
Merge "Switch i18n listeners to use IME hint locales" into oc-dev
am: da97b66f41

Change-Id: I9db037d0566c35c12aaed5e3f509498ca498b34f

7 years agoMerge "don't interpret milliseconds as nanoseconds" into oc-dev
Chris Wren [Thu, 13 Apr 2017 18:31:49 +0000 (18:31 +0000)]
Merge "don't interpret milliseconds as nanoseconds" into oc-dev
am: de12503268

Change-Id: I51eb680e3e966577e30647b6529e900894da60c4

7 years agoMerge "Remove support for auto-paging of cursors." into oc-dev
Steve McKay [Thu, 13 Apr 2017 18:26:43 +0000 (18:26 +0000)]
Merge "Remove support for auto-paging of cursors." into oc-dev
am: 7f0d8c8076

Change-Id: Ice100c419ce6d53721d6bbec1147bb1cc1bb7b4d

7 years agoMerge "Switch i18n listeners to use IME hint locales" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 18:23:01 +0000 (18:23 +0000)]
Merge "Switch i18n listeners to use IME hint locales" into oc-dev

7 years agoMerge "Address API review for ProxyFileDescriptorCallback" into oc-dev
Daichi Hirono [Thu, 13 Apr 2017 18:21:18 +0000 (18:21 +0000)]
Merge "Address API review for ProxyFileDescriptorCallback" into oc-dev
am: 73b54bfd6d

Change-Id: I5969b9ec58b1d9d9baf3f9a9e4bd87678416e469

7 years agoMerge "don't interpret milliseconds as nanoseconds" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 18:18:23 +0000 (18:18 +0000)]
Merge "don't interpret milliseconds as nanoseconds" into oc-dev

7 years agoMerge "Remove support for auto-paging of cursors." into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 18:12:08 +0000 (18:12 +0000)]
Merge "Remove support for auto-paging of cursors." into oc-dev

7 years agoMerge "Address API review for ProxyFileDescriptorCallback" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 18:11:45 +0000 (18:11 +0000)]
Merge "Address API review for ProxyFileDescriptorCallback" into oc-dev

7 years agoFix location status bar icon
Jason Monk [Thu, 13 Apr 2017 14:40:40 +0000 (10:40 -0400)]
Fix location status bar icon

It should have been in PhoneStatusBarPolicy, since it wasn't it
wouldn't listen until something else touched the LocationController
like QS.

Test: Open app that uses location
Change-Id: I70d1aff2a1c9bf7be53aeb72ba285b49d98c5362
Fixes: 36747248

7 years agoAdd new facility to find out when a PendingIntent is canceled.
Dianne Hackborn [Thu, 13 Apr 2017 18:01:48 +0000 (11:01 -0700)]
Add new facility to find out when a PendingIntent is canceled.

This is just an internal API in the platform, not (yet?) available
in the SDK.  But it will be useful for system services that want to
clean up state if a pending intent that has been registered with them
is canceled (either explicitly by the app, through the app being
uninstalled, etc).

Also improve the activity manager's dump of pending intents to
organize them by package, making it much easier to read (now that
we have so many active pending intents these days).

Test: ran and booted.  no CTS, since no API.

Change-Id: Iad029cfedcd77e87357eca7da1b6ae94451dd981

7 years agoActually remove the chooser APIs
Makoto Onuki [Mon, 3 Apr 2017 20:59:39 +0000 (13:59 -0700)]
Actually remove the chooser APIs

Test: build
Bug: 36186790
Change-Id: Ib03bb482c266f4c4f1080ca776c738d11a175219

7 years agoMerge "doc: Add note to Context.bindService()" into oc-dev
Andrew Solovay [Thu, 13 Apr 2017 17:57:51 +0000 (17:57 +0000)]
Merge "doc: Add note to Context.bindService()" into oc-dev
am: 2c63aa3be7

Change-Id: I35b4a37abc8573340811a0ca5f9fd479ae5f20e3

7 years agoMerge "doc: Add note to Context.bindService()" into oc-dev
Andrew Solovay [Thu, 13 Apr 2017 17:46:13 +0000 (17:46 +0000)]
Merge "doc: Add note to Context.bindService()" into oc-dev

7 years agoEnsure removeForegroundService checks both lists under lock
Geoffrey Pitsch [Thu, 13 Apr 2017 17:44:09 +0000 (13:44 -0400)]
Ensure removeForegroundService checks both lists under lock

Prior CL didn't lock properly and would still fail if a
notification was both enqueued and posted at the same time.

Test: runtest systemui-notification
Change-Id: I1bdd779ecb872f1a02ffc38b6007239eb522b521
Fixes: 36550043

7 years agoMerge "Docs: Fixes broken link in Javadoc. am: df0fd34d50 am: 506a8b39fb am: 4eff74f8...
Dave Friedman [Thu, 13 Apr 2017 17:43:44 +0000 (17:43 +0000)]
Merge "Docs: Fixes broken link in Javadoc. am: df0fd34d50 am: 506a8b39fb am: 4eff74f8cb am: 2d642f9e2d am: f125662db1" into oc-dev
am: 46802905f5

Change-Id: Idedbe69b858c4d77a610d68bfad47cd58eec9754

7 years agoMerge "Add SkiaCanvas::captureCanvasState()" into oc-dev
Matt Sarett [Thu, 13 Apr 2017 17:42:16 +0000 (17:42 +0000)]
Merge "Add SkiaCanvas::captureCanvasState()" into oc-dev
am: 59fa17a9d4

Change-Id: I434b6f2d5e26c1a0f09792ce0c22c34034ca5514

7 years agoFix leak in nav bar
Jason Monk [Thu, 13 Apr 2017 17:41:23 +0000 (13:41 -0400)]
Fix leak in nav bar

Test: runtest systemui
Change-Id: Ib082ef216f1541911acbed84942ddfd5dd065a7f
Fixes: 37220220

7 years agoMerge "Always call unbind." into oc-dev
Jeremy Joslin [Thu, 13 Apr 2017 17:41:06 +0000 (17:41 +0000)]
Merge "Always call unbind." into oc-dev
am: f726b4aa9a

Change-Id: If6fafdd633bb3c9120f00818de5f97ae2cfd7735

7 years agoMerge "Introduce FontsContract.requestFont and deprecate Typeface.create" into oc-dev
Seigo Nonaka [Thu, 13 Apr 2017 17:40:02 +0000 (17:40 +0000)]
Merge "Introduce FontsContract.requestFont and deprecate Typeface.create" into oc-dev
am: d09be1c0e9

Change-Id: I51f68dc5b1453ca4ac700ca68976efd412812eae

7 years agoMerge "Fix the issue of voice interactor getting reset after reboot." into oc-dev
Sudheer Shanka [Thu, 13 Apr 2017 17:38:59 +0000 (17:38 +0000)]
Merge "Fix the issue of voice interactor getting reset after reboot." into oc-dev
am: c59a2a7649

Change-Id: I5676e0f3927f2de123e9d5d219bd10a881754583

7 years agoMerge "Listen to RSSI_CHANGED_ACTION broadcasts in WifiTracker." into oc-dev
Sundeep Ghuman [Thu, 13 Apr 2017 17:37:57 +0000 (17:37 +0000)]
Merge "Listen to RSSI_CHANGED_ACTION broadcasts in WifiTracker." into oc-dev
am: 56fcd408e6

Change-Id: If4d14ff4f69b86af16e65736b32e3e01d06eeaf5

7 years agoDocs: Fixes broken link in Javadoc. am: df0fd34d50 am: 506a8b39fb am: 4eff74f8cb...
Dave Friedman [Thu, 13 Apr 2017 17:33:56 +0000 (17:33 +0000)]
Docs: Fixes broken link in Javadoc. am: df0fd34d50 am: 506a8b39fb am: 4eff74f8cb am: 2d642f9e2d am: f125662db1
am: 27aeab9763

Change-Id: I0879ba9238602a3af19cdc91c5ae8762d8776c4d

7 years agoAdd more NetworkRecommendationProvider documentation.
Jeremy Joslin [Thu, 13 Apr 2017 17:33:26 +0000 (10:33 -0700)]
Add more NetworkRecommendationProvider documentation.

Documented the requirements for becoming a network recommendation
provider.

Test: Built
Bug: 33632378
Change-Id: I8ec037c8688b250514cbe25a13434c7b8bef8327

7 years agoMerge "Docs: Fixes broken link in Javadoc. am: df0fd34d50 am: 506a8b39fb am: 4eff74f8...
Android Build Merger (Role) [Thu, 13 Apr 2017 17:29:09 +0000 (17:29 +0000)]
Merge "Docs: Fixes broken link in Javadoc. am: df0fd34d50 am: 506a8b39fb am: 4eff74f8cb am: 2d642f9e2d am: f125662db1" into oc-dev

7 years agoMerge "Add SkiaCanvas::captureCanvasState()" into oc-dev
Matt Sarett [Thu, 13 Apr 2017 17:28:55 +0000 (17:28 +0000)]
Merge "Add SkiaCanvas::captureCanvasState()" into oc-dev

7 years agoMerge "Always call unbind." into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 17:28:47 +0000 (17:28 +0000)]
Merge "Always call unbind." into oc-dev

7 years agoDocs: Fixes broken link in Javadoc. am: df0fd34d50 am: 506a8b39fb am: 4eff74f8cb...
Dave Friedman [Thu, 13 Apr 2017 17:28:34 +0000 (17:28 +0000)]
Docs: Fixes broken link in Javadoc. am: df0fd34d50 am: 506a8b39fb am: 4eff74f8cb am: 2d642f9e2d
am: f125662db1

Change-Id: I5220c1ef4ac51e876c3461b64e2a3dd54c9e2b48

7 years agoDocs: Fixes broken link in Javadoc. am: df0fd34d50 am: 506a8b39fb am: 4eff74f8cb...
Dave Friedman [Thu, 13 Apr 2017 17:28:18 +0000 (17:28 +0000)]
Docs: Fixes broken link in Javadoc. am: df0fd34d50 am: 506a8b39fb am: 4eff74f8cb am: 2d642f9e2d
am: f125662db1

Change-Id: Ic69e95f68255e5e0bea646cdce2c56881586d24d

7 years agoMerge "Allow notification channels to be silent." into oc-dev
Julia Reynolds [Thu, 13 Apr 2017 17:23:39 +0000 (17:23 +0000)]
Merge "Allow notification channels to be silent." into oc-dev
am: d178ec489f

Change-Id: I9e016e2523b9da200c26df2ddce642942bc0b806

7 years agoMerge "Update API, add more documentation on AdaptiveIconDrawable" into oc-dev
Hyunyoung Song [Thu, 13 Apr 2017 17:20:50 +0000 (17:20 +0000)]
Merge "Update API, add more documentation on AdaptiveIconDrawable" into oc-dev
am: 76c13a5fce

Change-Id: I060797416983056208f21c099ba21fdc8409103a

7 years agoDocs: Fixes broken link in Javadoc. am: df0fd34d50 am: 506a8b39fb am: 4eff74f8cb
Dave Friedman [Thu, 13 Apr 2017 17:19:36 +0000 (17:19 +0000)]
Docs: Fixes broken link in Javadoc. am: df0fd34d50 am: 506a8b39fb am: 4eff74f8cb
am: 2d642f9e2d

Change-Id: I5257f51a37e6e45a928befea94b2ecdb0cf01f45

7 years agoRemove window container from empty task when destroying.
Bryce Lee [Thu, 13 Apr 2017 17:02:51 +0000 (10:02 -0700)]
Remove window container from empty task when destroying.

Previously, the window container was being removed whenever we were
removing the task in a destroy mode. However, this caused issues
where an activity may still be present in the task record, leading to
a subequent change to limit this to tasks with overlays. This led to
the situation where the window container would not be destroyed when
it was supposed to, such as moving an activity to recents, but
otherwise destroying.

This changelist addresses the issue by always removing the window
container from tasks when removed from their parent stack in a
destroy mode and empty. In the recents flow, this will fire and
cleanup when the activity is destroyed.

Change-Id: I87548d6ff8e4d77b6294504d7cc78370cd5d31fa
Fixes: 37301159
Test: bit FrameworksServicesTests:com.android.server.am.ActivityStackTests

7 years agoMerge "Introduce FontsContract.requestFont and deprecate Typeface.create" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 17:13:31 +0000 (17:13 +0000)]
Merge "Introduce FontsContract.requestFont and deprecate Typeface.create" into oc-dev

7 years agoUpdate mobile data icon
Jason Monk [Thu, 13 Apr 2017 17:13:19 +0000 (13:13 -0400)]
Update mobile data icon

Test: visual
Change-Id: I21be005b0f4c4371b616377be77025412c2b58e6
Fixes: 35996345

7 years agoFixed a crash when expanding
Selim Cinek [Fri, 7 Apr 2017 00:38:27 +0000 (17:38 -0700)]
Fixed a crash when expanding

When expanding another notification while one was finishing
the animation, the system would crash.

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/ExpandHelperTest.java
Change-Id: Icc9c36f7e3bc93ff80f974d400efd3194fa8ed09
Fixes: 36531729

7 years agoIntroduce setFallbackTypeface
Seigo Nonaka [Fri, 31 Mar 2017 21:30:05 +0000 (14:30 -0700)]
Introduce setFallbackTypeface

setFallbackTypeface is returned by Builder.build() method when the
provided font is not loaded due to some reasons.
The fallback family is resolved with width/italic passed to Builder.

Bug: 36794225
Test: android.graphics.cts.TypefaceTest passes
Change-Id: I65e220aca823fd815a52437b11c8e6dc952de8e2

7 years agoMerge "Add persistentFeature application attribute." into oc-dev
Martijn Coenen [Thu, 13 Apr 2017 17:12:12 +0000 (17:12 +0000)]
Merge "Add persistentFeature application attribute." into oc-dev
am: e4960cf495

Change-Id: Idf9355d092efa1ffb7eacd9299e3a8471396d3d6

7 years agoMerge "Fix the issue of voice interactor getting reset after reboot." into oc-dev
Sudheer Shanka [Thu, 13 Apr 2017 17:09:55 +0000 (17:09 +0000)]
Merge "Fix the issue of voice interactor getting reset after reboot." into oc-dev