OSDN Git Service

android-x86/frameworks-base.git
8 years agoam 5ef70b02: Merge "Added a note about location permission" into mnc-dev
Fyodor Kupolov [Thu, 23 Jul 2015 18:57:17 +0000 (18:57 +0000)]
am 5ef70b02: Merge "Added a note about location permission" into mnc-dev

* commit '5ef70b02ead0a1e164370fefaff27bfd1ce0d492':
  Added a note about location permission

8 years agoam 15a45e02: Merge "Angler Should Not Use Channel 11 for SoftAP" into mnc-dev
xin He [Thu, 23 Jul 2015 18:57:10 +0000 (18:57 +0000)]
am 15a45e02: Merge "Angler Should Not Use Channel 11 for SoftAP" into mnc-dev

* commit '15a45e02c3372ad5deae0a260f782cd3e5a81d58':
  Angler Should Not Use Channel 11 for SoftAP

8 years agoam f6e9a3ed: Merge "More info to support CTS, fix reconcile bug." into mnc-dev
Jeff Sharkey [Thu, 23 Jul 2015 18:57:02 +0000 (18:57 +0000)]
am f6e9a3ed: Merge "More info to support CTS, fix reconcile bug." into mnc-dev

* commit 'f6e9a3ede53ae487838c19714ad62f25a4a6ca4c':
  More info to support CTS, fix reconcile bug.

8 years agoam 4fc1b707: Merge changes from topic \'TunerLoc\' into mnc-dev
Jason Monk [Thu, 23 Jul 2015 18:56:53 +0000 (18:56 +0000)]
am 4fc1b707: Merge changes from topic \'TunerLoc\' into mnc-dev

* commit '4fc1b707442451f4a826929fc7e72967d443c73f':
  Add metrics to tuner
  Move tuner enable point to QS

8 years agoam ac73f1ef: Partially fix that beginning of animation is skipped
Jorim Jaggi [Thu, 23 Jul 2015 18:56:47 +0000 (18:56 +0000)]
am ac73f1ef: Partially fix that beginning of animation is skipped

* commit 'ac73f1efea0cb23881571e18e87ffc7f388af7ad':
  Partially fix that beginning of animation is skipped

8 years agoam 6f64e737: Merge "Fix issue #22612630: Ensure SMS/Call delivery during Doze" into...
Dianne Hackborn [Thu, 23 Jul 2015 18:56:39 +0000 (18:56 +0000)]
am 6f64e737: Merge "Fix issue #22612630: Ensure SMS/Call delivery during Doze" into mnc-dev

* commit '6f64e737f046cd9ae13e260027781acfabaa4cba':
  Fix issue #22612630: Ensure SMS/Call delivery during Doze

8 years agoam f9a82218: am 86d5fc28: Merge "aapt: expat exports its header files now."
Elliott Hughes [Thu, 23 Jul 2015 02:06:52 +0000 (02:06 +0000)]
am f9a82218: am 86d5fc28: Merge "aapt: expat exports its header files now."

* commit 'f9a8221810a0b5aaa4050becaa0aa9d492035ff3':
  aapt: expat exports its header files now.

8 years agoMerge "Added a note about location permission" into mnc-dev
Fyodor Kupolov [Wed, 22 Jul 2015 20:27:06 +0000 (20:27 +0000)]
Merge "Added a note about location permission" into mnc-dev

8 years agoam db71828c: am 2c3b9fb8: am 3ccbf3ba: Merge "Doc change: add note about not exiting...
Fred Chung [Wed, 22 Jul 2015 20:19:56 +0000 (20:19 +0000)]
am db71828c: am 2c3b9fb8: am 3ccbf3ba: Merge "Doc change: add note about not exiting on onPause()." into mnc-preview-docs

* commit 'db71828cb7bff983bd758e986b65731cb0a5b2f6':
  Doc change: add note about not exiting on onPause().

8 years agoam b7394671: Merge "Work on issue #22303510: Additional permissions aren\'t properly...
Dianne Hackborn [Wed, 22 Jul 2015 20:19:09 +0000 (20:19 +0000)]
am b7394671: Merge "Work on issue #22303510: Additional permissions aren\'t properly..." into mnc-dev

* commit 'b73946715cb9e3ca7a2702407e34f885e92a5d9a':
  Work on issue #22303510: Additional permissions aren't properly...

8 years agoam ada70be8: Merge "Add KM_MIN_MAC_LENGTH tag to HMAC and AES-GCM keys." into mnc-dev
Alex Klyubin [Wed, 22 Jul 2015 20:18:57 +0000 (20:18 +0000)]
am ada70be8: Merge "Add KM_MIN_MAC_LENGTH tag to HMAC and AES-GCM keys." into mnc-dev

* commit 'ada70be897fb7541129f1ab1f6faa94a80fca986':
  Add KM_MIN_MAC_LENGTH tag to HMAC and AES-GCM keys.

8 years agoam ff21279e: Merge "Fixed issue with not finding existing activity for background...
Wale Ogunwale [Wed, 22 Jul 2015 20:18:42 +0000 (20:18 +0000)]
am ff21279e: Merge "Fixed issue with not finding existing activity for background user" into mnc-dev

* commit 'ff21279e2cbe0bdd9c41350b7a204cabf9370377':
  Fixed issue with not finding existing activity for background user

8 years agoam 2ba3fec6: Merge "Support waiting for adb shell am stop-user to complete." into...
Kenny Guy [Wed, 22 Jul 2015 20:18:35 +0000 (20:18 +0000)]
am 2ba3fec6: Merge "Support waiting for adb shell am stop-user to complete." into mnc-dev

* commit '2ba3fec6e0222754d93ed7a491354164d113ad6e':
  Support waiting for adb shell am stop-user to complete.

8 years agoam 41cfd3f8: Merge "Fix blank tiles on QS rotate" into mnc-dev
Jason Monk [Wed, 22 Jul 2015 20:18:26 +0000 (20:18 +0000)]
am 41cfd3f8: Merge "Fix blank tiles on QS rotate" into mnc-dev

* commit '41cfd3f8c0df036345807f87b828b4b68bdaffdf':
  Fix blank tiles on QS rotate

8 years agoam a910a04b: Merge "Fix crash in NetworkControllerImpl" into mnc-dev
Jason Monk [Wed, 22 Jul 2015 20:18:19 +0000 (20:18 +0000)]
am a910a04b: Merge "Fix crash in NetworkControllerImpl" into mnc-dev

* commit 'a910a04b8a079a01d684266875eb18c318012de4':
  Fix crash in NetworkControllerImpl

8 years agoam 091f0e5c: Make FingerprintService more tolerant of fingerprintd crashes.
Jim Miller [Wed, 22 Jul 2015 20:18:03 +0000 (20:18 +0000)]
am 091f0e5c: Make FingerprintService more tolerant of fingerprintd crashes.

* commit '091f0e5c6c7f9e72a6e661c4849a2e232823075b':
  Make FingerprintService more tolerant of fingerprintd crashes.

8 years agoam bdb7d936: Merge "Update permission icons to final versions - framework" into mnc-dev
Svetoslav Ganov [Wed, 22 Jul 2015 20:17:49 +0000 (20:17 +0000)]
am bdb7d936: Merge "Update permission icons to final versions - framework" into mnc-dev

* commit 'bdb7d936512a39b6c06411d11a26824b82e5727f':
  Update permission icons to final versions - framework

8 years agoam 7c482463: Merge "Null checks to prevent NPEs in Fragments transactions." into...
George Mount [Wed, 22 Jul 2015 20:17:21 +0000 (20:17 +0000)]
am 7c482463: Merge "Null checks to prevent NPEs in Fragments transactions." into mnc-dev

* commit '7c482463cbea39cdbf2c3c8f481d82711cf0475b':
  Null checks to prevent NPEs in Fragments transactions.

8 years agoam 20df6234: Merge "Add callback to voice interaction session for lockscreen shown...
Jorim Jaggi [Wed, 22 Jul 2015 20:17:14 +0000 (20:17 +0000)]
am 20df6234: Merge "Add callback to voice interaction session for lockscreen shown" into mnc-dev

* commit '20df62345910ad390a3bb321990987757db0831d':
  Add callback to voice interaction session for lockscreen shown

8 years agoam c1244a29: Merge "Touch, wake and unlock" into mnc-dev
Jorim Jaggi [Wed, 22 Jul 2015 20:16:55 +0000 (20:16 +0000)]
am c1244a29: Merge "Touch, wake and unlock" into mnc-dev

* commit 'c1244a2995087c930842b7d5e5a35a446c5c40f7':
  Touch, wake and unlock

8 years agoMerge "Angler Should Not Use Channel 11 for SoftAP" into mnc-dev
xin He [Wed, 22 Jul 2015 19:47:53 +0000 (19:47 +0000)]
Merge "Angler Should Not Use Channel 11 for SoftAP" into mnc-dev

8 years agoMerge "More info to support CTS, fix reconcile bug." into mnc-dev
Jeff Sharkey [Wed, 22 Jul 2015 19:40:44 +0000 (19:40 +0000)]
Merge "More info to support CTS, fix reconcile bug." into mnc-dev

8 years agoMerge changes from topic 'TunerLoc' into mnc-dev
Jason Monk [Wed, 22 Jul 2015 19:29:59 +0000 (19:29 +0000)]
Merge changes from topic 'TunerLoc' into mnc-dev

* changes:
  Add metrics to tuner
  Move tuner enable point to QS

8 years agoPartially fix that beginning of animation is skipped
Jorim Jaggi [Wed, 22 Jul 2015 00:24:46 +0000 (17:24 -0700)]
Partially fix that beginning of animation is skipped

When waiting for all the windows that belong to an activity, we
skipped the main window, in case it didn't had a surface yet. This
was a problem because with SurfaceViews: They set it's visibility
extremely early in the app visibility change cycle. Then, they don't
block with the callback to SurfaceHolder.Callback2.surfaceRedrawNeeded,
so window manager thinks it has drawn the first frame already. We don't
even have a surface for the main window yet, but we start the app
transition already because we think the only interesting window for this
app token is the SurfaceView, which has supposedly already drawn.

Bug: 22207948
Change-Id: I2ddb274000fa08866e193f4fd8db3788fc55e0f1

8 years agoMerge "Fix issue #22612630: Ensure SMS/Call delivery during Doze" into mnc-dev
Dianne Hackborn [Wed, 22 Jul 2015 19:04:00 +0000 (19:04 +0000)]
Merge "Fix issue #22612630: Ensure SMS/Call delivery during Doze" into mnc-dev

8 years agoAdd metrics to tuner
Jason Monk [Thu, 16 Jul 2015 18:15:50 +0000 (14:15 -0400)]
Add metrics to tuner

Bug: 22462605
Change-Id: I075f9a25630a89e85dd17603297565988c38075b

8 years agoMove tuner enable point to QS
Jason Monk [Thu, 16 Jul 2015 12:58:15 +0000 (08:58 -0400)]
Move tuner enable point to QS

Long clicking on settings gear in QS causes it to accelarate and
spin, when released it will open and enable the tuner.  On first
opening there will be a warning dialog.

Also add way to disable tuner from tuner screen. This way it can
be removed from its former home in Developer Settings.  All tuner
settings are reset when disabled to match developer settings
behavior.

Bug: 22462605
Change-Id: Ie700a6a15e6c3caccf7cd1885da73328e6fac6ab

8 years agoMore info to support CTS, fix reconcile bug.
Jeff Sharkey [Wed, 22 Jul 2015 18:11:46 +0000 (11:11 -0700)]
More info to support CTS, fix reconcile bug.

Surface more details and commands for storage volumes to support
CTS testing.  Fix user reconciliation bug that skipped user setup on
empty volumes.

Bug: 2265880422633097
Change-Id: I4221312d1cce24d1f5a2c108095cf3cf471598ed

8 years agoam 2c3b9fb8: am 3ccbf3ba: Merge "Doc change: add note about not exiting on onPause...
Fred Chung [Wed, 22 Jul 2015 17:46:21 +0000 (17:46 +0000)]
am 2c3b9fb8: am 3ccbf3ba: Merge "Doc change: add note about not exiting on onPause()." into mnc-preview-docs

* commit '2c3b9fb86b9fb26b01fe5af2067f6513bf06acf3':
  Doc change: add note about not exiting on onPause().

8 years agoMerge "Work on issue #22303510: Additional permissions aren't properly..." into mnc-dev
Dianne Hackborn [Wed, 22 Jul 2015 16:14:59 +0000 (16:14 +0000)]
Merge "Work on issue #22303510: Additional permissions aren't properly..." into mnc-dev

8 years agoMerge "Add KM_MIN_MAC_LENGTH tag to HMAC and AES-GCM keys." into mnc-dev
Alex Klyubin [Wed, 22 Jul 2015 15:24:27 +0000 (15:24 +0000)]
Merge "Add KM_MIN_MAC_LENGTH tag to HMAC and AES-GCM keys." into mnc-dev

8 years agoMerge "Fixed issue with not finding existing activity for background user" into mnc-dev
Wale Ogunwale [Wed, 22 Jul 2015 14:21:31 +0000 (14:21 +0000)]
Merge "Fixed issue with not finding existing activity for background user" into mnc-dev

8 years agoMerge "Support waiting for adb shell am stop-user to complete." into mnc-dev
Kenny Guy [Wed, 22 Jul 2015 13:49:20 +0000 (13:49 +0000)]
Merge "Support waiting for adb shell am stop-user to complete." into mnc-dev

8 years agoMerge "Fix blank tiles on QS rotate" into mnc-dev
Jason Monk [Wed, 22 Jul 2015 12:56:40 +0000 (12:56 +0000)]
Merge "Fix blank tiles on QS rotate" into mnc-dev

8 years agoMerge "Fix crash in NetworkControllerImpl" into mnc-dev
Jason Monk [Wed, 22 Jul 2015 12:54:20 +0000 (12:54 +0000)]
Merge "Fix crash in NetworkControllerImpl" into mnc-dev

8 years agoMake FingerprintService more tolerant of fingerprintd crashes.
Jim Miller [Tue, 21 Jul 2015 23:58:46 +0000 (16:58 -0700)]
Make FingerprintService more tolerant of fingerprintd crashes.

- attempt to restart fingerprintd on the next request
- inform clients that the hardware isn't available and cancel
listeners.

Fixes bug 22492148

Change-Id: Ib27eaf7f197c6a4e6ed9b085602882904d6b794d

8 years agoam 86d5fc28: Merge "aapt: expat exports its header files now."
Elliott Hughes [Wed, 22 Jul 2015 01:12:36 +0000 (01:12 +0000)]
am 86d5fc28: Merge "aapt: expat exports its header files now."

* commit '86d5fc2874b4c17bd4f48ae307e49ba8108e11f0':
  aapt: expat exports its header files now.

8 years agoMerge "aapt: expat exports its header files now."
Elliott Hughes [Wed, 22 Jul 2015 01:00:11 +0000 (01:00 +0000)]
Merge "aapt: expat exports its header files now."

8 years agoFix issue #22612630: Ensure SMS/Call delivery during Doze
Dianne Hackborn [Wed, 22 Jul 2015 00:39:46 +0000 (17:39 -0700)]
Fix issue #22612630: Ensure SMS/Call delivery during Doze

Add whitelist timeout for SMS.

Change-Id: I3392093000ad177a93b6ef36fb18f0398a671423

8 years agoaapt: expat exports its header files now.
Elliott Hughes [Tue, 21 Jul 2015 18:39:21 +0000 (11:39 -0700)]
aapt: expat exports its header files now.

(cherrypick of 51348d2007b801c7bd7350f72e2300f1a5a41dd1)
Change-Id: Iddf0133919d38fc896f97c6796f8228a6decf174

8 years agoMerge "Update permission icons to final versions - framework" into mnc-dev
Svetoslav Ganov [Wed, 22 Jul 2015 00:06:10 +0000 (00:06 +0000)]
Merge "Update permission icons to final versions - framework" into mnc-dev

8 years agoFixed issue with not finding existing activity for background user
Wale Ogunwale [Tue, 21 Jul 2015 23:54:54 +0000 (16:54 -0700)]
Fixed issue with not finding existing activity for background user

We currently go through the list of existing activities to find
a match for the launching intent so we can re-use the activity
record if one already exist. However, we exit the search early
once we run across an activity record that doesn't belong to the
current foreground user. This will cause us to create duplicate
activity records if the launching intent is for a backround
user and an activity record already exist.

Based on https://android-review.googlesource.com/#/c/159131

Bug: 22564256
Change-Id: I4b6d94059c11fd2e621e65c8ec2c99427c15b246

8 years agoWork on issue #22303510: Additional permissions aren't properly...
Dianne Hackborn [Tue, 21 Jul 2015 23:57:51 +0000 (16:57 -0700)]
Work on issue #22303510: Additional permissions aren't properly...

...disabled after toggling them off

Keep track of whether a permission that has been declared by an app
was able to actually be installed in the system, along with an API
to find this information so that system UI can tell whether that
permission is of interest.

Also clean up some of the permission debug output.

Change-Id: If4541bedb857789b255bb18f03cad155dcda0b95

8 years agoMerge "Null checks to prevent NPEs in Fragments transactions." into mnc-dev
George Mount [Tue, 21 Jul 2015 22:51:27 +0000 (22:51 +0000)]
Merge "Null checks to prevent NPEs in Fragments transactions." into mnc-dev

8 years agoMerge "Add callback to voice interaction session for lockscreen shown" into mnc-dev
Jorim Jaggi [Tue, 21 Jul 2015 22:46:30 +0000 (22:46 +0000)]
Merge "Add callback to voice interaction session for lockscreen shown" into mnc-dev

8 years agoam 3ccbf3ba: Merge "Doc change: add note about not exiting on onPause()." into mnc...
Fred Chung [Tue, 21 Jul 2015 22:16:55 +0000 (22:16 +0000)]
am 3ccbf3ba: Merge "Doc change: add note about not exiting on onPause()." into mnc-preview-docs

* commit '3ccbf3bad50c47409de9570c422756f9e3fa518a':
  Doc change: add note about not exiting on onPause().

8 years agoMerge "Doc change: add note about not exiting on onPause()." into mnc-preview-docs
Fred Chung [Tue, 21 Jul 2015 22:06:13 +0000 (22:06 +0000)]
Merge "Doc change: add note about not exiting on onPause()." into mnc-preview-docs

8 years agoMerge "Touch, wake and unlock" into mnc-dev
Jorim Jaggi [Tue, 21 Jul 2015 21:53:09 +0000 (21:53 +0000)]
Merge "Touch, wake and unlock" into mnc-dev

8 years agoam cf051d18: Merge "Avoid NPE when no staged installs." into mnc-dev
Jeff Sharkey [Tue, 21 Jul 2015 21:38:32 +0000 (21:38 +0000)]
am cf051d18: Merge "Avoid NPE when no staged installs." into mnc-dev

* commit 'cf051d1846c347413d8c907b42f3fce74795a815':
  Avoid NPE when no staged installs.

8 years agoNull checks to prevent NPEs in Fragments transactions.
George Mount [Tue, 21 Jul 2015 21:30:24 +0000 (14:30 -0700)]
Null checks to prevent NPEs in Fragments transactions.

Bug 22631964

Change-Id: I20bc80bfb0ba5f1081d1c349b94db7c5475bcc51

8 years agoMerge "Avoid NPE when no staged installs." into mnc-dev
Jeff Sharkey [Tue, 21 Jul 2015 21:23:56 +0000 (21:23 +0000)]
Merge "Avoid NPE when no staged installs." into mnc-dev

8 years agoam 1fddd3ef: Merge "Mark isInUse per-window" into mnc-dev
John Reck [Tue, 21 Jul 2015 21:01:45 +0000 (21:01 +0000)]
am 1fddd3ef: Merge "Mark isInUse per-window" into mnc-dev

* commit '1fddd3efa9ac10e794d7bdf457b7b52c7e4614f7':
  Mark isInUse per-window

8 years agoMerge "Mark isInUse per-window" into mnc-dev
John Reck [Tue, 21 Jul 2015 20:50:27 +0000 (20:50 +0000)]
Merge "Mark isInUse per-window" into mnc-dev

8 years agoam 55a116d0: Merge "Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction" into...
Fyodor Kupolov [Tue, 21 Jul 2015 20:47:45 +0000 (20:47 +0000)]
am 55a116d0: Merge "Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction" into mnc-dev

* commit '55a116d00ca3f7b84a6af1c5c3472323ad5bc6ca':
  Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction

8 years agoMerge "aapt: expat exports its header files now." into mnc-dev-plus-aosp
Elliott Hughes [Tue, 21 Jul 2015 20:38:15 +0000 (20:38 +0000)]
Merge "aapt: expat exports its header files now." into mnc-dev-plus-aosp

8 years agoMerge "Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction" into mnc-dev
Fyodor Kupolov [Tue, 21 Jul 2015 20:32:25 +0000 (20:32 +0000)]
Merge "Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction" into mnc-dev

8 years agoam 09ba7151: Merge "Don\'t kill apps that are multi-user aware..." into mnc-dev
Amith Yamasani [Tue, 21 Jul 2015 20:16:18 +0000 (20:16 +0000)]
am 09ba7151: Merge "Don\'t kill apps that are multi-user aware..." into mnc-dev

* commit '09ba71513ba3bb092eb3effbe45953c50430ff20':
  Don't kill apps that are multi-user aware...

8 years agoMerge "Don't kill apps that are multi-user aware..." into mnc-dev
Amith Yamasani [Tue, 21 Jul 2015 20:04:19 +0000 (20:04 +0000)]
Merge "Don't kill apps that are multi-user aware..." into mnc-dev

8 years agoam 5d586dd5: Merge "KM module may consume less input than provided by finish time...
Alex Klyubin [Tue, 21 Jul 2015 20:02:21 +0000 (20:02 +0000)]
am 5d586dd5: Merge "KM module may consume less input than provided by finish time." into mnc-dev

* commit '5d586dd585a6663290b68abce433a75b5760fc5d':
  KM module may consume less input than provided by finish time.

8 years agoMerge "KM module may consume less input than provided by finish time." into mnc-dev
Alex Klyubin [Tue, 21 Jul 2015 19:50:47 +0000 (19:50 +0000)]
Merge "KM module may consume less input than provided by finish time." into mnc-dev

8 years agoam 23e19066: Merge "BatteryStats: Read /proc/wakelocks first before trying /d/wakeup_...
Adam Lesinski [Tue, 21 Jul 2015 19:41:06 +0000 (19:41 +0000)]
am 23e19066: Merge "BatteryStats: Read /proc/wakelocks first before trying /d/wakeup_sources" into mnc-dev

* commit '23e19066de2caf1db1fa0759ac49a1118b59f7a5':
  BatteryStats: Read /proc/wakelocks first before trying /d/wakeup_sources

8 years agoAdd callback to voice interaction session for lockscreen shown
Jorim Jaggi [Mon, 20 Jul 2015 22:51:40 +0000 (15:51 -0700)]
Add callback to voice interaction session for lockscreen shown

Bug: 22402726
Change-Id: Iaf83e2f2b0389d74b6ecf480aa91a34443803f7b

8 years agoam d9c2ff99: Merge "Add \'pm\' operation to set a package\'s app-linking state" into...
Christopher Tate [Tue, 21 Jul 2015 19:28:44 +0000 (19:28 +0000)]
am d9c2ff99: Merge "Add \'pm\' operation to set a package\'s app-linking state" into mnc-dev

* commit 'd9c2ff99bf9469f155eabf341880d055741e9db5':
  Add 'pm' operation to set a package's app-linking state

8 years agoMerge "BatteryStats: Read /proc/wakelocks first before trying /d/wakeup_sources"...
Adam Lesinski [Tue, 21 Jul 2015 19:26:43 +0000 (19:26 +0000)]
Merge "BatteryStats: Read /proc/wakelocks first before trying /d/wakeup_sources" into mnc-dev

8 years agoam 81adda25: Merge "Always create nodes for views backed by an adapter." into mnc-dev
Svetoslav [Tue, 21 Jul 2015 19:12:16 +0000 (19:12 +0000)]
am 81adda25: Merge "Always create nodes for views backed by an adapter." into mnc-dev

* commit '81adda25b396ee3db794bc9a7946b579d01c2aa0':
  Always create nodes for views backed by an adapter.

8 years agoMerge "Add 'pm' operation to set a package's app-linking state" into mnc-dev
Christopher Tate [Tue, 21 Jul 2015 19:11:34 +0000 (19:11 +0000)]
Merge "Add 'pm' operation to set a package's app-linking state" into mnc-dev

8 years agoBatteryStats: Read /proc/wakelocks first before trying /d/wakeup_sources
Adam Lesinski [Tue, 21 Jul 2015 19:08:56 +0000 (12:08 -0700)]
BatteryStats: Read /proc/wakelocks first before trying /d/wakeup_sources

Previously we tried to read /d/wakeup_sources to gather kernel wakelock data. If that
fails we used the older sys file /proc/wakelocks.
N7 has both /proc/wakelocks and /d/wakeup_sources, but /proc/wakelocks
has the actual data we need. All other devices are using /d/wakeup_sources, so
only N7 experienced a loss of kernel wakelock data.

The original regression was introduced here: ag/659258

Bug:22556242
Change-Id: I51ec68e957f587bc1466e24f0a1dbc8cd7753ac6

8 years agoUpdated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction
Fyodor Kupolov [Tue, 21 Jul 2015 18:48:18 +0000 (11:48 -0700)]
Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction

Bug: 21521860
Change-Id: I0c2659f84589a77432317fbc89d49716027577d3

8 years agoMerge "Always create nodes for views backed by an adapter." into mnc-dev
Svetoslav [Tue, 21 Jul 2015 19:01:05 +0000 (19:01 +0000)]
Merge "Always create nodes for views backed by an adapter." into mnc-dev

8 years agoUpdate permission icons to final versions - framework
Svet Ganov [Tue, 21 Jul 2015 18:52:21 +0000 (11:52 -0700)]
Update permission icons to final versions - framework

bug:22383613

Change-Id: I3f524fd0538a1b843b0394fa766f032835d1ecaa

8 years agoDon't kill apps that are multi-user aware...
Amith Yamasani [Tue, 21 Jul 2015 18:46:14 +0000 (11:46 -0700)]
Don't kill apps that are multi-user aware...

... when looking for background user apps that hold RECORD_AUDIO
permission.

On switching users, we kill any apps that might potentially be
recording audio. But we don't want to kill critical apps that need
to stay running because of multi-user aware services.

Bug: 22564430
Change-Id: I6d9a684d4e044cc3018f0f8181a44aa143a3baeb

8 years agoaapt: expat exports its header files now.
Elliott Hughes [Tue, 21 Jul 2015 18:39:21 +0000 (11:39 -0700)]
aapt: expat exports its header files now.

Change-Id: Iddf0133919d38fc896f97c6796f8228a6decf174
(cherry picked from commit 51348d2007b801c7bd7350f72e2300f1a5a41dd1)

8 years agoam f2805bcb: Merge "Use RingtonePlayer to get ringtone title" into mnc-dev
Todd Kennedy [Tue, 21 Jul 2015 18:22:26 +0000 (18:22 +0000)]
am f2805bcb: Merge "Use RingtonePlayer to get ringtone title" into mnc-dev

* commit 'f2805bcbe1c99ce806448a2d8c0f12b142c7cece':
  Use RingtonePlayer to get ringtone title

8 years agoMerge "Use RingtonePlayer to get ringtone title" into mnc-dev
Todd Kennedy [Tue, 21 Jul 2015 18:11:16 +0000 (18:11 +0000)]
Merge "Use RingtonePlayer to get ringtone title" into mnc-dev

8 years agoMark isInUse per-window
John Reck [Tue, 21 Jul 2015 17:23:59 +0000 (10:23 -0700)]
Mark isInUse per-window

Bug: 22509159
Change-Id: I0ae0f1fa582ee38dcb9f24ca20f0b4d0c57ccb32

8 years agoam 673ccfd4: Merge "UsbDeviceManager: add back support for USB overlays" into mnc-dev
Nick Kralevich [Tue, 21 Jul 2015 17:25:46 +0000 (17:25 +0000)]
am 673ccfd4: Merge "UsbDeviceManager: add back support for USB overlays" into mnc-dev

* commit '673ccfd45a81482d97eecf76dc0fef0dfd57be73':
  UsbDeviceManager: add back support for USB overlays

8 years agoSupport waiting for adb shell am stop-user to complete.
Kenny Guy [Mon, 20 Jul 2015 15:56:28 +0000 (16:56 +0100)]
Support waiting for adb shell am stop-user to complete.

Use stop user callback to wait for AM.stopUser to complete
if -w flag is passed to adb shell am stop-user

bug: 22599411
Change-Id: I8adbfdbb1ba69a88a67431da65f0a85035587c2d

8 years agoMerge "UsbDeviceManager: add back support for USB overlays" into mnc-dev
Nick Kralevich [Tue, 21 Jul 2015 17:16:07 +0000 (17:16 +0000)]
Merge "UsbDeviceManager: add back support for USB overlays" into mnc-dev

8 years agoam 1fcb6d3a: Merge "Respect style boundaries when measuring text" into mnc-dev
Raph Levien [Tue, 21 Jul 2015 17:04:30 +0000 (17:04 +0000)]
am 1fcb6d3a: Merge "Respect style boundaries when measuring text" into mnc-dev

* commit '1fcb6d3ae27ac95388eb036d124bd4bd0c6559cc':
  Respect style boundaries when measuring text

8 years agoMerge "Respect style boundaries when measuring text" into mnc-dev
Raph Levien [Tue, 21 Jul 2015 16:55:37 +0000 (16:55 +0000)]
Merge "Respect style boundaries when measuring text" into mnc-dev

8 years agoam 66e66831: Merge "resolved conflicts for merge of 112d8a36 to mnc-dev" into mnc-dev
Diego Perez [Tue, 21 Jul 2015 15:50:59 +0000 (15:50 +0000)]
am 66e66831: Merge "resolved conflicts for merge of 112d8a36 to mnc-dev" into mnc-dev

* commit '66e6683193f6a1d071710ea8a39b02f5129fc505':
  Render to measured size when using expand mode

8 years agoMerge "resolved conflicts for merge of 112d8a36 to mnc-dev" into mnc-dev
Diego Perez [Tue, 21 Jul 2015 15:41:08 +0000 (15:41 +0000)]
Merge "resolved conflicts for merge of 112d8a36 to mnc-dev" into mnc-dev

8 years agoam e99f20f5: Merge "Don\'t duplicate recent tasks of the same affinity." into mnc-dev
Wale Ogunwale [Tue, 21 Jul 2015 14:41:34 +0000 (14:41 +0000)]
am e99f20f5: Merge "Don\'t duplicate recent tasks of the same affinity." into mnc-dev

* commit 'e99f20f5873c00b35f2407e28e06ff9119f85088':
  Don't duplicate recent tasks of the same affinity.

8 years agoresolved conflicts for merge of 112d8a36 to mnc-dev
Diego Perez [Tue, 21 Jul 2015 14:28:10 +0000 (15:28 +0100)]
resolved conflicts for merge of 112d8a36 to mnc-dev

Change-Id: Ic9511a57db8a96f54dba0704800789a8602b9dd2

8 years agoMerge "Don't duplicate recent tasks of the same affinity." into mnc-dev
Wale Ogunwale [Tue, 21 Jul 2015 14:28:13 +0000 (14:28 +0000)]
Merge "Don't duplicate recent tasks of the same affinity." into mnc-dev

8 years agoDon't duplicate recent tasks of the same affinity.
Wale Ogunwale [Mon, 20 Jul 2015 22:43:37 +0000 (15:43 -0700)]
Don't duplicate recent tasks of the same affinity.

In change 510e554283d3dc250f836cd3e4abc36d87319333 we stated
limiting the number of document activity entries in recents
by comparing the realActivity of the tasks. This compared was
done for all tasks not just document tasks there by breaking
the use of task affinity to remove tasks with the same affinity
from recent task list. This change limits the compare of
realActivity to just document tasks.

Bug: 22564474
Bug: 18642190
Change-Id: Idc21ec311f194ab2005cb22380ca56303ae0ad94

8 years agoFix blank tiles on QS rotate
Jason Monk [Tue, 21 Jul 2015 14:18:01 +0000 (10:18 -0400)]
Fix blank tiles on QS rotate

Some tiles were skipping updates due to lack of information, make
these tiles handle a clear state better.

Bug: 22531578
Change-Id: I7bd75b3e032592a496fcaf080ce9cbe3b5cf20da

8 years agoam d6f2a9ef: am 7720eb18: Merge "Render to measured size when using expand mode"...
Diego Perez [Tue, 21 Jul 2015 13:20:23 +0000 (13:20 +0000)]
am d6f2a9ef: am 7720eb18: Merge "Render to measured size when using expand mode" into lmp-mr1-dev

* commit 'd6f2a9efbb0e0525f6cf970fd9c9b9b7082b19f9':
  Render to measured size when using expand mode

8 years agoam 7720eb18: Merge "Render to measured size when using expand mode" into lmp-mr1-dev
Diego Perez [Tue, 21 Jul 2015 13:06:52 +0000 (13:06 +0000)]
am 7720eb18: Merge "Render to measured size when using expand mode" into lmp-mr1-dev

* commit '7720eb18c1c2fe06e8f4b2f6e2936a4072494da8':
  Render to measured size when using expand mode

8 years agoMerge "Render to measured size when using expand mode" into lmp-mr1-dev
Diego Perez [Tue, 21 Jul 2015 12:56:50 +0000 (12:56 +0000)]
Merge "Render to measured size when using expand mode" into lmp-mr1-dev

8 years agoam ef3ca9f3: am 37353dc1: Merge "[RenderScript] Add docs advising users about dstAtop...
Miao Wang [Tue, 21 Jul 2015 02:34:46 +0000 (02:34 +0000)]
am ef3ca9f3: am 37353dc1: Merge "[RenderScript] Add docs advising users about dstAtop bug."

* commit 'ef3ca9f3fb3fd76359fb361a0d937ca92400725f':
  [RenderScript] Add docs advising users about dstAtop bug.

8 years agoAdd 'pm' operation to set a package's app-linking state
Christopher Tate [Mon, 20 Jul 2015 22:39:39 +0000 (15:39 -0700)]
Add 'pm' operation to set a package's app-linking state

Set an app's state:

  pm set-app-link [--user USER_ID] PACKAGE {always|ask|never|undefined}

Read an app's current state:

  pm get-app-link [--user USER_ID] PACKAGE

The latter prints to stdout one of the strings usable as an argument to
set-app-link.  If an error is encountered, the string printed to
stderr begins with "Error: ".

Bug 19628527

Change-Id: I68b6dc24445917807345a8cf5baa2078490740af

8 years agoUse RingtonePlayer to get ringtone title
Todd Kennedy [Mon, 20 Jul 2015 20:32:40 +0000 (13:32 -0700)]
Use RingtonePlayer to get ringtone title

Instead of requiring every application that calls Rintone.getTitle()
to request android.permission.READ_EXTERNAL_STORAGE, pass the call
through to the system UI process. We only do this for media store
URIs.

Bug: 22067670
Change-Id: I38cf3fb8d769ef6984c41a7b04afbbd4c57175ce

8 years agoam 37353dc1: Merge "[RenderScript] Add docs advising users about dstAtop bug."
Miao Wang [Tue, 21 Jul 2015 00:08:36 +0000 (00:08 +0000)]
am 37353dc1: Merge "[RenderScript] Add docs advising users about dstAtop bug."

* commit '37353dc13e11000473f5aa43d5713816f2b6a83f':
  [RenderScript] Add docs advising users about dstAtop bug.

8 years agoam b2eed1d6: Merge "TIF: Get or create the user state when failed to find existing...
Jae Seo [Tue, 21 Jul 2015 00:08:12 +0000 (00:08 +0000)]
am b2eed1d6: Merge "TIF: Get or create the user state when failed to find existing one" into mnc-dev

* commit 'b2eed1d6e11f38c00ce1776ade14dfa004c6119f':
  TIF: Get or create the user state when failed to find existing one

8 years agoam e95af4ab: Merge "TIF: Use copied track list for onTracksChanged() callback" into...
Terry Heo [Tue, 21 Jul 2015 00:08:05 +0000 (00:08 +0000)]
am e95af4ab: Merge "TIF: Use copied track list for onTracksChanged() callback" into mnc-dev

* commit 'e95af4ab8bda68ee80bf4d444356e0c1afb1fe99':
  TIF: Use copied track list for onTracksChanged() callback

8 years agoMerge "TIF: Get or create the user state when failed to find existing one" into mnc-dev
Jae Seo [Mon, 20 Jul 2015 23:59:22 +0000 (23:59 +0000)]
Merge "TIF: Get or create the user state when failed to find existing one" into mnc-dev

8 years agoMerge "TIF: Use copied track list for onTracksChanged() callback" into mnc-dev
Terry Heo [Mon, 20 Jul 2015 23:57:28 +0000 (23:57 +0000)]
Merge "TIF: Use copied track list for onTracksChanged() callback" into mnc-dev

8 years agoam 6444fe12: Merge "MediaSessionRecord: do not hold a lock when calling AudioSystem...
Dongwon Kang [Mon, 20 Jul 2015 23:57:22 +0000 (23:57 +0000)]
am 6444fe12: Merge "MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive" into mnc-dev

* commit '6444fe121449f1cacf4500d3098b590c74e3646d':
  MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive

8 years agoMerge "[RenderScript] Add docs advising users about dstAtop bug."
Miao Wang [Mon, 20 Jul 2015 23:57:19 +0000 (23:57 +0000)]
Merge "[RenderScript] Add docs advising users about dstAtop bug."