OSDN Git Service

android-x86/frameworks-base.git
8 years agoRemoving period from No service string to be consistent with Airplane Mode
Ian Pedowitz [Sat, 17 Oct 2015 21:08:13 +0000 (14:08 -0700)]
Removing period from No service string to be consistent with Airplane Mode

Bug: 25037917
Change-Id: Iaa1099fb06f724ebeb7d6302a78b8d010871668e

8 years agoMerge "resolved conflicts for 429e7dcd to master"
Julia Reynolds [Fri, 16 Oct 2015 20:37:46 +0000 (20:37 +0000)]
Merge "resolved conflicts for 429e7dcd to master"

8 years agoMerge "Fix documentation for setTransition to include fade."
George Mount [Fri, 16 Oct 2015 20:34:22 +0000 (20:34 +0000)]
Merge "Fix documentation for setTransition to include fade."

8 years agoresolved conflicts for 429e7dcd to master
Julia Reynolds [Fri, 16 Oct 2015 20:25:40 +0000 (16:25 -0400)]
resolved conflicts for 429e7dcd to master

Change-Id: Id0aca75915a054253d032d333defba1a38b80abe

8 years agoam 333d7e0b: (-s ours) am 6331753e: am b01a963a: am 68750116: Merge "DO NOT MERGE...
Matthew Williams [Fri, 16 Oct 2015 20:19:42 +0000 (20:19 +0000)]
am 333d7e0b: (-s ours) am 6331753e: am b01a963a: am 68750116: Merge "DO NOT MERGE Change scheduling logic to run network jobs sooner" into mnc-dr-dev

* commit '333d7e0bce5bb34de0fe9060290891d7d99b7f38':
  DO NOT MERGE Change scheduling logic to run network jobs sooner

8 years agoMerge "meminfo: Change size suffix to comply with iec, make it parseable with numfmt."
Alexander Levitskiy [Fri, 16 Oct 2015 20:04:49 +0000 (20:04 +0000)]
Merge "meminfo: Change size suffix to comply with iec, make it parseable with numfmt."

8 years agoam 542052dd: am 96faf5c8: am a762c210: Merge "Add \'until next alarm\' option to...
Julia Reynolds [Fri, 16 Oct 2015 19:55:25 +0000 (19:55 +0000)]
am 542052dd: am 96faf5c8: am a762c210: Merge "Add \'until next alarm\' option to QS zen panel." into mnc-dr-dev

* commit '542052dd83e89f7cebc07aa0004a8592efc12364':
  Add 'until next alarm' option to QS zen panel.

8 years agoam 96faf5c8: am a762c210: Merge "Add \'until next alarm\' option to QS zen panel...
Julia Reynolds [Fri, 16 Oct 2015 19:48:47 +0000 (19:48 +0000)]
am 96faf5c8: am a762c210: Merge "Add \'until next alarm\' option to QS zen panel." into mnc-dr-dev

* commit '96faf5c8fad5114dda807eee1c94a1c0dc021fe8':
  Add 'until next alarm' option to QS zen panel.

8 years agoam a762c210: Merge "Add \'until next alarm\' option to QS zen panel." into mnc-dr-dev
Julia Reynolds [Fri, 16 Oct 2015 19:41:54 +0000 (19:41 +0000)]
am a762c210: Merge "Add \'until next alarm\' option to QS zen panel." into mnc-dr-dev

* commit 'a762c210d2901bedce5b7972eb139c4d5e59dcd1':
  Add 'until next alarm' option to QS zen panel.

8 years agoam 6331753e: am b01a963a: am 68750116: Merge "DO NOT MERGE Change scheduling logic...
Matthew Williams [Fri, 16 Oct 2015 19:39:23 +0000 (19:39 +0000)]
am 6331753e: am b01a963a: am 68750116: Merge "DO NOT MERGE Change scheduling logic to run network jobs sooner" into mnc-dr-dev

* commit '6331753e3ba9d6c66c562836f28f3b6e1e178ecd':
  DO NOT MERGE Change scheduling logic to run network jobs sooner

8 years agoMerge "Add 'until next alarm' option to QS zen panel." into mnc-dr-dev
Julia Reynolds [Fri, 16 Oct 2015 19:38:22 +0000 (19:38 +0000)]
Merge "Add 'until next alarm' option to QS zen panel." into mnc-dr-dev

8 years agoFix documentation for setTransition to include fade.
George Mount [Fri, 16 Oct 2015 19:36:58 +0000 (12:36 -0700)]
Fix documentation for setTransition to include fade.

Bug 25016696

Also add annotations for FragmentTransaction methods.

Change-Id: If3d1427d83dd7c399609bf8fd9a54467224d3a35

8 years agoMerge "AAPT2: Separate out the various steps"
Adam Lesinski [Fri, 16 Oct 2015 19:16:32 +0000 (19:16 +0000)]
Merge "AAPT2: Separate out the various steps"

8 years agoAAPT2: Separate out the various steps
Adam Lesinski [Fri, 14 Aug 2015 21:26:04 +0000 (14:26 -0700)]
AAPT2: Separate out the various steps

An early refactor. Some ideas became clearer as
development continued. Now the various phases are much
clearer and more easily reusable.

Also added a ton of tests!

Change-Id: Ic8f0a70c8222370352e63533b329c40457c0903e

8 years agoMerge "Incorrect time used in some NTP server responses"
Erik Kline [Fri, 16 Oct 2015 19:02:00 +0000 (19:02 +0000)]
Merge "Incorrect time used in some NTP server responses"

8 years agoam b01a963a: am 68750116: Merge "DO NOT MERGE Change scheduling logic to run network...
Matthew Williams [Fri, 16 Oct 2015 19:01:55 +0000 (19:01 +0000)]
am b01a963a: am 68750116: Merge "DO NOT MERGE Change scheduling logic to run network jobs sooner" into mnc-dr-dev

* commit 'b01a963a2dd3e4e84eee18f691efdc7856d16ff0':
  DO NOT MERGE Change scheduling logic to run network jobs sooner

8 years agoam 68750116: Merge "DO NOT MERGE Change scheduling logic to run network jobs sooner...
Matthew Williams [Fri, 16 Oct 2015 18:55:33 +0000 (18:55 +0000)]
am 68750116: Merge "DO NOT MERGE Change scheduling logic to run network jobs sooner" into mnc-dr-dev

* commit '6875011626e5815473b5d19ddc92d4888bad29f4':
  DO NOT MERGE Change scheduling logic to run network jobs sooner

8 years agoMerge "DO NOT MERGE Change scheduling logic to run network jobs sooner" into mnc...
Matthew Williams [Fri, 16 Oct 2015 18:51:48 +0000 (18:51 +0000)]
Merge "DO NOT MERGE Change scheduling logic to run network jobs sooner" into mnc-dr-dev

8 years agoMerge "Use FastJNI for trivial MotionEvent native methods"
Chris Craik [Fri, 16 Oct 2015 18:41:04 +0000 (18:41 +0000)]
Merge "Use FastJNI for trivial MotionEvent native methods"

8 years agoUse FastJNI for trivial MotionEvent native methods
Chris Craik [Fri, 16 Oct 2015 18:39:50 +0000 (11:39 -0700)]
Use FastJNI for trivial MotionEvent native methods

Change-Id: I97d0643a6e34cb66ca5b5948ed47ebfee14fc038

8 years agoIncorrect time used in some NTP server responses
Jerry Wong [Wed, 7 Oct 2015 05:18:11 +0000 (22:18 -0700)]
Incorrect time used in some NTP server responses

Per RFC 4330, a NTP server response should be discarded when:
    - the stratum is 0 (unspecified), or
    - the leap indicator is 3 (unsync'ed), or
    - the mode is not 4 (server) / 5 (broadcast), or
    - the transmitted time is 0.

Update SntpClient so that such responses would be discarded.

Additionally:
    - make some variables suitably "final"
    - enable logging
    - add alternate requestTime() for testing
    - add some miniscule test coverage

Cherry-picked from Jerry Wong's

    https://partner-android-review.googlesource.com/#/c/460074

Bug: 24719581
Change-Id: Id11a79a6e53ce95500ed4b4d691a29c260666f6c

8 years agoMerge "Rename DisplayListData to DisplayList"
Chris Craik [Fri, 16 Oct 2015 18:36:01 +0000 (18:36 +0000)]
Merge "Rename DisplayListData to DisplayList"

8 years agoam 4c0011e9: am 824347dd: am d08f339b: am 749334bf: Merge "Fix ChooserTarget app...
Adam Powell [Fri, 16 Oct 2015 18:32:13 +0000 (18:32 +0000)]
am 4c0011e9: am 824347dd: am d08f339b: am 749334bf: Merge "Fix ChooserTarget app scoring" into mnc-dr-dev

* commit '4c0011e98212cf2b2a9e0aa2bab32c069de3b253':
  Fix ChooserTarget app scoring

8 years agoam 824347dd: am d08f339b: am 749334bf: Merge "Fix ChooserTarget app scoring" into...
Adam Powell [Fri, 16 Oct 2015 18:27:05 +0000 (18:27 +0000)]
am 824347dd: am d08f339b: am 749334bf: Merge "Fix ChooserTarget app scoring" into mnc-dr-dev

* commit '824347dd8afc3b8b40e28e4b5d0743b56e341b98':
  Fix ChooserTarget app scoring

8 years agoam d08f339b: am 749334bf: Merge "Fix ChooserTarget app scoring" into mnc-dr-dev
Adam Powell [Fri, 16 Oct 2015 18:21:58 +0000 (18:21 +0000)]
am d08f339b: am 749334bf: Merge "Fix ChooserTarget app scoring" into mnc-dr-dev

* commit 'd08f339bcc80bbf368bb7c7b9ddb77d6a9d613fd':
  Fix ChooserTarget app scoring

8 years agoam 749334bf: Merge "Fix ChooserTarget app scoring" into mnc-dr-dev
Adam Powell [Fri, 16 Oct 2015 18:13:19 +0000 (18:13 +0000)]
am 749334bf: Merge "Fix ChooserTarget app scoring" into mnc-dr-dev

* commit '749334bffbc92aeaef27c274a1586fa7365cbfdc':
  Fix ChooserTarget app scoring

8 years agoMerge "Fix ChooserTarget app scoring" into mnc-dr-dev
Adam Powell [Fri, 16 Oct 2015 18:08:36 +0000 (18:08 +0000)]
Merge "Fix ChooserTarget app scoring" into mnc-dr-dev

8 years agoam a7304cac: (-s ours) am 723900d7: am 95b84f52: am a5917b71: Merge "DO NOT MERGE...
Tyler Gunn [Fri, 16 Oct 2015 18:00:22 +0000 (18:00 +0000)]
am a7304cac: (-s ours) am 723900d7: am 95b84f52: am a5917b71: Merge "DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA." into mnc-dr-dev

* commit 'a7304cac85d8c5b0de3cbbe127516675f6cfde5c':
  DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA.

8 years agoFix ChooserTarget app scoring
Adam Powell [Fri, 16 Oct 2015 17:47:32 +0000 (10:47 -0700)]
Fix ChooserTarget app scoring

An initial sorting step before applying modifiers to the ChooserTarget
scores provided by apps was backwards, causing subsequent target
scores to be heavily penalized. Targets are then heavily influenced by
the lowest score in the set relative to the targets from other apps.

Bug 25013559

Change-Id: I39d5d7c601712fc6a19e694d5846d2c8d17a214f

8 years agoam 723900d7: am 95b84f52: am a5917b71: Merge "DO NOT MERGE Add a new carrier config...
Tyler Gunn [Fri, 16 Oct 2015 17:52:17 +0000 (17:52 +0000)]
am 723900d7: am 95b84f52: am a5917b71: Merge "DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA." into mnc-dr-dev

* commit '723900d76a45e8974f357333b72a7df0a7ec4fca':
  DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA.

8 years agoam 95b84f52: am a5917b71: Merge "DO NOT MERGE Add a new carrier config for DTMF tone...
Tyler Gunn [Fri, 16 Oct 2015 17:45:31 +0000 (17:45 +0000)]
am 95b84f52: am a5917b71: Merge "DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA." into mnc-dr-dev

* commit '95b84f52517548adbd0dff7a22c41c5c4d249c44':
  DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA.

8 years agoMerge "Revert "Use FastJNI for trivial MotionEvent native methods""
Chris Craik [Fri, 16 Oct 2015 17:43:08 +0000 (17:43 +0000)]
Merge "Revert "Use FastJNI for trivial MotionEvent native methods""

8 years agoRevert "Use FastJNI for trivial MotionEvent native methods"
Chris Craik [Fri, 16 Oct 2015 17:42:57 +0000 (17:42 +0000)]
Revert "Use FastJNI for trivial MotionEvent native methods"

This reverts commit a44cd33b98ed011a62a912406eddc051f8b3ded1.

Change-Id: I9a907b0a880368dd61b481b642b50ab57ad08de8

8 years agoam a5917b71: Merge "DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA...
Tyler Gunn [Fri, 16 Oct 2015 17:40:19 +0000 (17:40 +0000)]
am a5917b71: Merge "DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA." into mnc-dr-dev

* commit 'a5917b71b0e2f98fa6906b795b28cab059cc092b':
  DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA.

8 years agoRename DisplayListData to DisplayList
Chris Craik [Fri, 16 Oct 2015 17:24:55 +0000 (10:24 -0700)]
Rename DisplayListData to DisplayList

Change-Id: I25f6bb88ffdf9baf7e8e4e2a294aa8c9d2a4605b

8 years agoMerge "DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA." into mnc...
Tyler Gunn [Fri, 16 Oct 2015 17:36:40 +0000 (17:36 +0000)]
Merge "DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA." into mnc-dr-dev

8 years agoMerge "Disable stack cropping for docked animating windows only."
Filip Gruszczynski [Fri, 16 Oct 2015 17:32:04 +0000 (17:32 +0000)]
Merge "Disable stack cropping for docked animating windows only."

8 years agoMerge "Allow changing mouse cursor for the edges of resizable window."
Jun Mukai [Fri, 16 Oct 2015 17:13:25 +0000 (17:13 +0000)]
Merge "Allow changing mouse cursor for the edges of resizable window."

8 years agoAllow changing mouse cursor for the edges of resizable window.
Jun Mukai [Fri, 2 Oct 2015 06:18:47 +0000 (23:18 -0700)]
Allow changing mouse cursor for the edges of resizable window.

Bug: 23193951
Change-Id: I38662a61ff829e5b441e1c8b9f472eb0d75904e4

8 years agoDisable stack cropping for docked animating windows only.
Filip Gruszczynski [Thu, 15 Oct 2015 21:46:07 +0000 (14:46 -0700)]
Disable stack cropping for docked animating windows only.

Non docked windows should be cropped by the stack bounds when they
animate. An example of this is having both a docked activity and a full
screen activity resuming together. The full screen activity should be
cropped.

Bug: 24913915

Change-Id: I35ed71e7625f2fcdb5c51649be9f33d5773c162c

8 years agoam 6a82ccbc: (-s ours) am 85978d7c: am a3234f01: am 9c76f61d: Merge "DO NOT MERGE...
Abodunrinwa Toki [Fri, 16 Oct 2015 17:02:02 +0000 (17:02 +0000)]
am 6a82ccbc: (-s ours) am 85978d7c: am a3234f01: am 9c76f61d: Merge "DO NOT MERGE: Reduce delay of floating toolbar appearance." into mnc-dr-dev

* commit '6a82ccbce945fc52bdc35b1cf7661e138feeec2d':
  DO NOT MERGE: Reduce delay of floating toolbar appearance.

8 years agoMerge "Add LinearStdAllocator"
Chris Craik [Fri, 16 Oct 2015 16:57:23 +0000 (16:57 +0000)]
Merge "Add LinearStdAllocator"

8 years agoam 85978d7c: am a3234f01: am 9c76f61d: Merge "DO NOT MERGE: Reduce delay of floating...
Abodunrinwa Toki [Fri, 16 Oct 2015 16:56:38 +0000 (16:56 +0000)]
am 85978d7c: am a3234f01: am 9c76f61d: Merge "DO NOT MERGE: Reduce delay of floating toolbar appearance." into mnc-dr-dev

* commit '85978d7c36e94f107bd72166bc18f893b4817cf9':
  DO NOT MERGE: Reduce delay of floating toolbar appearance.

8 years agoMerge "Use FastJNI for trivial MotionEvent native methods"
Chris Craik [Fri, 16 Oct 2015 16:53:34 +0000 (16:53 +0000)]
Merge "Use FastJNI for trivial MotionEvent native methods"

8 years agoam a3234f01: am 9c76f61d: Merge "DO NOT MERGE: Reduce delay of floating toolbar appea...
Abodunrinwa Toki [Fri, 16 Oct 2015 16:49:19 +0000 (16:49 +0000)]
am a3234f01: am 9c76f61d: Merge "DO NOT MERGE: Reduce delay of floating toolbar appearance." into mnc-dr-dev

* commit 'a3234f01927e6908cc4e08ddcff9c1646d5a91bb':
  DO NOT MERGE: Reduce delay of floating toolbar appearance.

8 years agoam de0b34ea: am d56756fd: am 535726f6: am 0c15693e: Merge "Update docs to reflect...
Jeff Sharkey [Fri, 16 Oct 2015 16:45:35 +0000 (16:45 +0000)]
am de0b34ea: am d56756fd: am 535726f6: am 0c15693e: Merge "Update docs to reflect adoptable behavior." into mnc-dr-dev

* commit 'de0b34ea14cfd5a5d219ee6e3d15ca4b04b6ce2e':
  Update docs to reflect adoptable behavior.

8 years agoDO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA.
Roshan Pius [Fri, 14 Aug 2015 19:58:08 +0000 (12:58 -0700)]
DO NOT MERGE Add a new carrier config for DTMF tone gap in CDMA.

Adding a new carrier config key to specify the gap between the DTMF
tones sent out to the network. Setting it to 100ms by default.
This is based on a similar set of changes for IMS calls: ag/747865.

BUG: 19118840
Change-Id: Ifb64fe406509fe7c401ad1c4b4e906d6643e327b

8 years agoam 9c76f61d: Merge "DO NOT MERGE: Reduce delay of floating toolbar appearance." into...
Abodunrinwa Toki [Fri, 16 Oct 2015 16:41:26 +0000 (16:41 +0000)]
am 9c76f61d: Merge "DO NOT MERGE: Reduce delay of floating toolbar appearance." into mnc-dr-dev

* commit '9c76f61dea69e21eba3b89adbc2a00bcb522584e':
  DO NOT MERGE: Reduce delay of floating toolbar appearance.

8 years agoam 704127b1: am ad8e78c7: am 29ffdc91: am be655510: Merge "Disassociate system window...
Wale Ogunwale [Fri, 16 Oct 2015 16:41:19 +0000 (16:41 +0000)]
am 704127b1: am ad8e78c7: am 29ffdc91: am be655510: Merge "Disassociate system windows from apps" into mnc-dr-dev

* commit '704127b1a0a6762acd2de097ee28e2a7e39ee910':
  Disassociate system windows from apps

8 years agoMerge "Use StringBuilder to construct window title string."
Wale Ogunwale [Fri, 16 Oct 2015 16:38:42 +0000 (16:38 +0000)]
Merge "Use StringBuilder to construct window title string."

8 years agoam d56756fd: am 535726f6: am 0c15693e: Merge "Update docs to reflect adoptable behavi...
Jeff Sharkey [Fri, 16 Oct 2015 16:38:29 +0000 (16:38 +0000)]
am d56756fd: am 535726f6: am 0c15693e: Merge "Update docs to reflect adoptable behavior." into mnc-dr-dev

* commit 'd56756fdee9fce3d08bea769710d7173bcbc263a':
  Update docs to reflect adoptable behavior.

8 years agoMerge "DO NOT MERGE: Reduce delay of floating toolbar appearance." into mnc-dr-dev
Abodunrinwa Toki [Fri, 16 Oct 2015 16:36:28 +0000 (16:36 +0000)]
Merge "DO NOT MERGE: Reduce delay of floating toolbar appearance." into mnc-dr-dev

8 years agoam ad8e78c7: am 29ffdc91: am be655510: Merge "Disassociate system windows from apps...
Wale Ogunwale [Fri, 16 Oct 2015 16:33:48 +0000 (16:33 +0000)]
am ad8e78c7: am 29ffdc91: am be655510: Merge "Disassociate system windows from apps" into mnc-dr-dev

* commit 'ad8e78c7033b2f5977f779ff8d85a4a8a690d362':
  Disassociate system windows from apps

8 years agoam 535726f6: am 0c15693e: Merge "Update docs to reflect adoptable behavior." into...
Jeff Sharkey [Fri, 16 Oct 2015 16:33:18 +0000 (16:33 +0000)]
am 535726f6: am 0c15693e: Merge "Update docs to reflect adoptable behavior." into mnc-dr-dev

* commit '535726f637d952f172e7758e4f0faf725a838add':
  Update docs to reflect adoptable behavior.

8 years agoMerge "Add UserHandle.isSystem() api"
Xiaohui Chen [Fri, 16 Oct 2015 16:29:44 +0000 (16:29 +0000)]
Merge "Add UserHandle.isSystem() api"

8 years agoam 29ffdc91: am be655510: Merge "Disassociate system windows from apps" into mnc...
Wale Ogunwale [Fri, 16 Oct 2015 16:28:26 +0000 (16:28 +0000)]
am 29ffdc91: am be655510: Merge "Disassociate system windows from apps" into mnc-dr-dev

* commit '29ffdc91b8a6adeab036d56cb57cbd363a0196d0':
  Disassociate system windows from apps

8 years agoam 0c15693e: Merge "Update docs to reflect adoptable behavior." into mnc-dr-dev
Jeff Sharkey [Fri, 16 Oct 2015 16:25:38 +0000 (16:25 +0000)]
am 0c15693e: Merge "Update docs to reflect adoptable behavior." into mnc-dr-dev

* commit '0c15693e8de6f89fab7ca3d582f0a8605a54df9f':
  Update docs to reflect adoptable behavior.

8 years agoam be655510: Merge "Disassociate system windows from apps" into mnc-dr-dev
Wale Ogunwale [Fri, 16 Oct 2015 16:18:45 +0000 (16:18 +0000)]
am be655510: Merge "Disassociate system windows from apps" into mnc-dr-dev

* commit 'be6555105a9325d0b7073c08a0bd4dc0b5ce1fb3':
  Disassociate system windows from apps

8 years agoMerge "Update docs to reflect adoptable behavior." into mnc-dr-dev
Jeff Sharkey [Fri, 16 Oct 2015 16:18:38 +0000 (16:18 +0000)]
Merge "Update docs to reflect adoptable behavior." into mnc-dr-dev

8 years agoMerge "Disassociate system windows from apps" into mnc-dr-dev
Wale Ogunwale [Fri, 16 Oct 2015 16:14:45 +0000 (16:14 +0000)]
Merge "Disassociate system windows from apps" into mnc-dr-dev

8 years agoUse StringBuilder to construct window title string.
Wale Ogunwale [Fri, 16 Oct 2015 16:07:45 +0000 (09:07 -0700)]
Use StringBuilder to construct window title string.

Change-Id: I9193b7f5180f165d517cbfe0345f84e161b851d2

8 years agoDisassociate system windows from apps
tiger_huang [Tue, 13 Oct 2015 13:38:19 +0000 (21:38 +0800)]
Disassociate system windows from apps

With the original logic, if an app creates a system window, when the
user goes to home screen, the system window will be still there and
become unable to receive input events, because the system window will
be also changed to the stopped state with the app window, and the
current logic of ViewRootImpl forbid a stopped window receiving input
events.

This change prevents assigning the token of the app window to system
windows created by the app, so that when the app goes to the stopped
state, its system windows won't be affected (can still receive input
events).

This change is related to the following changes:
https://android.googlesource.com/platform/frameworks/base/+/a5d29971f8f4d463348e9de0f7af7e2e92a377a0
https://android.googlesource.com/platform/frameworks/base/+/15ed2754a308546a54ab1061b4e365d6fe9b898d
https://android.googlesource.com/platform/frameworks/base/+/c3672cd3f7e2bd87d6de9dada499de82b62fae84
https://android.googlesource.com/platform/frameworks/base/+/41725dedc33906aaafee36b2d6523596e2a8a52e

Bug: 24967303
Bug: https://code.google.com/p/android/issues/detail?id=189710

Change-Id: I515e47bafcf39a2b1bdf92f11f623bef8fb6263c

8 years agoDO NOT MERGE: Reduce delay of floating toolbar appearance.
Abodunrinwa Toki [Fri, 16 Oct 2015 14:54:53 +0000 (15:54 +0100)]
DO NOT MERGE: Reduce delay of floating toolbar appearance.

Bug: 21956394
Change-Id: I3db39e84afd3474b5bb53522c5a4c738ec1511bf

8 years agoam be02134c: am fceaedda: am 75693994: Merge "Disassociate system windows from apps"
Wale Ogunwale [Fri, 16 Oct 2015 14:08:14 +0000 (14:08 +0000)]
am be02134c: am fceaedda: am 75693994: Merge "Disassociate system windows from apps"

* commit 'be02134cbc7ef98e73f118aba45a92908d818553':
  Disassociate system windows from apps

8 years agoam fceaedda: am 75693994: Merge "Disassociate system windows from apps"
Wale Ogunwale [Fri, 16 Oct 2015 14:00:47 +0000 (14:00 +0000)]
am fceaedda: am 75693994: Merge "Disassociate system windows from apps"

* commit 'fceaedda41f9133a4d4213720b15950ef43dd00c':
  Disassociate system windows from apps

8 years agoam 75693994: Merge "Disassociate system windows from apps"
Wale Ogunwale [Fri, 16 Oct 2015 13:54:54 +0000 (13:54 +0000)]
am 75693994: Merge "Disassociate system windows from apps"

* commit '75693994f60bdec9a10db98ddb8addd2bc3f8bbb':
  Disassociate system windows from apps

8 years agoMerge "Disassociate system windows from apps"
Wale Ogunwale [Fri, 16 Oct 2015 13:50:35 +0000 (13:50 +0000)]
Merge "Disassociate system windows from apps"

8 years agoam 902cb106: am cf471efd: am 001a651e: am 8d6d735f: Merge "Mask IccId which gets...
Sanket Padawe [Fri, 16 Oct 2015 12:07:57 +0000 (12:07 +0000)]
am 902cb106: am cf471efd: am 001a651e: am 8d6d735f: Merge "Mask IccId which gets printed in bug reports & radio logs." into mnc-dr-dev

* commit '902cb106fe8d06274462e4cea4afb29c1ffa0c03':
  Mask IccId which gets printed in bug reports & radio logs.

8 years agoam 700d1fbd: am 401f68b9: am 510f03c5: am 56f41971: Merge "Fix issue #24571425: Devic...
Dianne Hackborn [Fri, 16 Oct 2015 12:07:32 +0000 (12:07 +0000)]
am 700d1fbd: am 401f68b9: am 510f03c5: am 56f41971: Merge "Fix issue #24571425: Device does not come out of idle mode for maintenance" into mnc-dr-dev

* commit '700d1fbd0ee0e65a3bf6587f6dd0e7d9a4e114a2':
  Fix issue #24571425: Device does not come out of idle mode for maintenance

8 years agoam d76757d7: am b36aebbe: am ffa8fd0e: am 6a032a3a: Don\'t project ripple for adequat...
Alan Viverette [Fri, 16 Oct 2015 12:07:23 +0000 (12:07 +0000)]
am d76757d7: am b36aebbe: am ffa8fd0e: am 6a032a3a: Don\'t project ripple for adequately tall spinners

* commit 'd76757d7ad1bd8fa1b45b9aefa5ddafafedffb55':
  Don't project ripple for adequately tall spinners

8 years agoDisassociate system windows from apps
tiger_huang [Tue, 13 Oct 2015 13:38:19 +0000 (21:38 +0800)]
Disassociate system windows from apps

With the original logic, if an app creates a system window, when the
user goes to home screen, the system window will be still there and
become unable to receive input events, because the system window will
be also changed to the stopped state with the app window, and the
current logic of ViewRootImpl forbid a stopped window receiving input
events.

This change prevents assigning the token of the app window to system
windows created by the app, so that when the app goes to the stopped
state, its system windows won't be affected (can still receive input
events).

This change is related to the following changes:
https://android.googlesource.com/platform/frameworks/base/+/a5d29971f8f4d463348e9de0f7af7e2e92a377a0
https://android.googlesource.com/platform/frameworks/base/+/15ed2754a308546a54ab1061b4e365d6fe9b898d
https://android.googlesource.com/platform/frameworks/base/+/c3672cd3f7e2bd87d6de9dada499de82b62fae84
https://android.googlesource.com/platform/frameworks/base/+/41725dedc33906aaafee36b2d6523596e2a8a52e

Bug:
https://code.google.com/p/android/issues/detail?id=189710

Change-Id: I515e47bafcf39a2b1bdf92f11f623bef8fb6263c

8 years agoAlso calculate minimal task size when window manager is set.
Filip Gruszczynski [Fri, 16 Oct 2015 01:20:30 +0000 (18:20 -0700)]
Also calculate minimal task size when window manager is set.

Bug: 21409825
Change-Id: If0dbbd8976607a5c0db13f608af01f21c41f45ed

8 years agoam cf471efd: am 001a651e: am 8d6d735f: Merge "Mask IccId which gets printed in bug...
Sanket Padawe [Fri, 16 Oct 2015 00:57:02 +0000 (00:57 +0000)]
am cf471efd: am 001a651e: am 8d6d735f: Merge "Mask IccId which gets printed in bug reports & radio logs." into mnc-dr-dev

* commit 'cf471efd5f722a4cb7c1094e30b111ef312ef133':
  Mask IccId which gets printed in bug reports & radio logs.

8 years agoam 001a651e: am 8d6d735f: Merge "Mask IccId which gets printed in bug reports & radio...
Sanket Padawe [Fri, 16 Oct 2015 00:51:49 +0000 (00:51 +0000)]
am 001a651e: am 8d6d735f: Merge "Mask IccId which gets printed in bug reports & radio logs." into mnc-dr-dev

* commit '001a651e4b0919239f09b25ae99d132585b5d382':
  Mask IccId which gets printed in bug reports & radio logs.

8 years agoam 8d6d735f: Merge "Mask IccId which gets printed in bug reports & radio logs." into...
Sanket Padawe [Fri, 16 Oct 2015 00:41:44 +0000 (00:41 +0000)]
am 8d6d735f: Merge "Mask IccId which gets printed in bug reports & radio logs." into mnc-dr-dev

* commit '8d6d735fa8cea74f53ba29063b72b856fef69d8e':
  Mask IccId which gets printed in bug reports & radio logs.

8 years agoMerge "Mask IccId which gets printed in bug reports & radio logs." into mnc-dr-dev
Sanket Padawe [Fri, 16 Oct 2015 00:38:55 +0000 (00:38 +0000)]
Merge "Mask IccId which gets printed in bug reports & radio logs." into mnc-dr-dev

8 years agoAdd LinearStdAllocator
Chris Craik [Fri, 16 Oct 2015 00:13:00 +0000 (17:13 -0700)]
Add LinearStdAllocator

Also fixes microbench DisplayListData leak.

Change-Id: I1c46f6d0d38650327f3df90e7b278fa7765083dc

8 years agoAPI for minimal width/height of an activity.
Filip Gruszczynski [Wed, 14 Oct 2015 22:10:12 +0000 (15:10 -0700)]
API for minimal width/height of an activity.

Bug: 21409825

Change-Id: Id6286064713672366dd4dc1f80258450a8039c36

8 years agoDO NOT MERGE Change scheduling logic to run network jobs sooner
Matthew Williams [Thu, 15 Oct 2015 23:08:05 +0000 (16:08 -0700)]
DO NOT MERGE Change scheduling logic to run network jobs sooner

BUG: 24385082
BUG: 23144425
BUG: 18117279

Run jobs with connectivity constraints as soon as the developer-allotted
delay has expired, rather than waiting for the override deadline. This
is more in tune with what developers expect, although it reduces the
amount of batching the scheduler can theoretically do.
This will also have the side effect of fixing several failing cts
tests that started breaking b/c the signal to 'run connectivity
jobs early' was removed in M and nothing was put in to replace it.

Change-Id: I7e63c2b62f2882ee906f748445bbf10c32e19c5f
(cherry picked from commit aa9843198dec910a581bdc509d3937a9ea6ceca9)

8 years agoMerge "Change scheduling logic to run network jobs sooner"
Matthew Williams [Thu, 15 Oct 2015 23:31:45 +0000 (23:31 +0000)]
Merge "Change scheduling logic to run network jobs sooner"

8 years agoam 401f68b9: am 510f03c5: am 56f41971: Merge "Fix issue #24571425: Device does not...
Dianne Hackborn [Thu, 15 Oct 2015 23:22:10 +0000 (23:22 +0000)]
am 401f68b9: am 510f03c5: am 56f41971: Merge "Fix issue #24571425: Device does not come out of idle mode for maintenance" into mnc-dr-dev

* commit '401f68b93aa9eca88d8dd126b92128bdc3371064':
  Fix issue #24571425: Device does not come out of idle mode for maintenance

8 years agoam b36aebbe: am ffa8fd0e: am 6a032a3a: Don\'t project ripple for adequately tall...
Alan Viverette [Thu, 15 Oct 2015 23:22:04 +0000 (23:22 +0000)]
am b36aebbe: am ffa8fd0e: am 6a032a3a: Don\'t project ripple for adequately tall spinners

* commit 'b36aebbe69c368294694a0c7c84e692167132037':
  Don't project ripple for adequately tall spinners

8 years agoam 510f03c5: am 56f41971: Merge "Fix issue #24571425: Device does not come out of...
Dianne Hackborn [Thu, 15 Oct 2015 23:19:06 +0000 (23:19 +0000)]
am 510f03c5: am 56f41971: Merge "Fix issue #24571425: Device does not come out of idle mode for maintenance" into mnc-dr-dev

* commit '510f03c5ac057122569264bd005b2e26f96236ae':
  Fix issue #24571425: Device does not come out of idle mode for maintenance

8 years agoam ffa8fd0e: am 6a032a3a: Don\'t project ripple for adequately tall spinners
Alan Viverette [Thu, 15 Oct 2015 23:19:00 +0000 (23:19 +0000)]
am ffa8fd0e: am 6a032a3a: Don\'t project ripple for adequately tall spinners

* commit 'ffa8fd0ed4a624833e1da10cbabeec175eef7b35':
  Don't project ripple for adequately tall spinners

8 years agoam 56f41971: Merge "Fix issue #24571425: Device does not come out of idle mode for...
Dianne Hackborn [Thu, 15 Oct 2015 23:12:39 +0000 (23:12 +0000)]
am 56f41971: Merge "Fix issue #24571425: Device does not come out of idle mode for maintenance" into mnc-dr-dev

* commit '56f41971483647e954179301ae40180063d0eba8':
  Fix issue #24571425: Device does not come out of idle mode for maintenance

8 years agoam 6a032a3a: Don\'t project ripple for adequately tall spinners
Alan Viverette [Thu, 15 Oct 2015 23:12:34 +0000 (23:12 +0000)]
am 6a032a3a: Don\'t project ripple for adequately tall spinners

* commit '6a032a3aba3741ce55679b97c2f048b523d465de':
  Don't project ripple for adequately tall spinners

8 years agoMerge "Fix issue #24571425: Device does not come out of idle mode for maintenance...
Dianne Hackborn [Thu, 15 Oct 2015 23:11:12 +0000 (23:11 +0000)]
Merge "Fix issue #24571425: Device does not come out of idle mode for maintenance" into mnc-dr-dev

8 years agoChange scheduling logic to run network jobs sooner
Matthew Williams [Thu, 15 Oct 2015 23:08:05 +0000 (16:08 -0700)]
Change scheduling logic to run network jobs sooner

BUG: 24385082
BUG: 23144425
BUG: 18117279

Run jobs with connectivity constraints as soon as the developer-allotted
delay has expired, rather than waiting for the override deadline. This
is more in tune with what developers expect, although it reduces the
amount of batching the scheduler can theoretically do.
This will also have the side effect of fixing several failing cts
tests that started breaking b/c the signal to 'run connectivity
jobs early' was removed in M and nothing was put in to replace it.

Change-Id: I7e63c2b62f2882ee906f748445bbf10c32e19c5f

8 years agomeminfo: Change size suffix to comply with iec, make it parseable with numfmt.
Sasha Levitskiy [Tue, 13 Oct 2015 23:38:16 +0000 (16:38 -0700)]
meminfo: Change size suffix to comply with iec, make it parseable with numfmt.

Re-factor to allow for future format flexibility
Add locale-specific large number thousand separator

Change-Id: If4b7c958b5f5fb7094dd4c10b4532e156e983935
Signed-off-by: Sasha Levitskiy <sanek@google.com>
8 years agoMerge "Revert "Sync SurfaceView position changes to parent render.""
Rob Carr [Thu, 15 Oct 2015 22:54:11 +0000 (22:54 +0000)]
Merge "Revert "Sync SurfaceView position changes to parent render.""

8 years agoRevert "Sync SurfaceView position changes to parent render."
Rob Carr [Thu, 15 Oct 2015 22:53:30 +0000 (22:53 +0000)]
Revert "Sync SurfaceView position changes to parent render."

This reverts commit 6104dc95606b3399356dd011ca6d71fcd954154c.

Change-Id: If9d709bc65e7a817bd2c1b5768c7c33a9317638f

8 years agoMerge "Sync SurfaceView position changes to parent render."
Rob Carr [Thu, 15 Oct 2015 22:53:15 +0000 (22:53 +0000)]
Merge "Sync SurfaceView position changes to parent render."

8 years agoDon't project ripple for adequately tall spinners
Alan Viverette [Thu, 15 Oct 2015 22:50:21 +0000 (15:50 -0700)]
Don't project ripple for adequately tall spinners

Bug: 24674907
Change-Id: I1674c14f321600a40ca20adab1d40459963d2d1b

8 years agoMask IccId which gets printed in bug reports & radio logs.
Sanket Padawe [Thu, 15 Oct 2015 22:46:39 +0000 (15:46 -0700)]
Mask IccId which gets printed in bug reports & radio logs.

Bug: 24941148
Change-Id: Ibe397f5d9b0da245e3e64f626937db4792c7f3c2

8 years agoSync SurfaceView position changes to parent render.
Robert Carr [Mon, 28 Sep 2015 17:26:16 +0000 (10:26 -0700)]
Sync SurfaceView position changes to parent render.

In order to provide pixel perfect movement of SurfaceViews
'within' other views (e.g. scrolling) we need to be able to
synchronize the attached (parent window) painting with the
movement of the SurfaceView (recall, SurfaceViews are positioned
behind their attached windows and the parent must render a
transparent region for the SurfaceView to appear). Provide
a new WindowManager method to reposition an attaching window
(that is to say, a window which has an attached window like
SurfaceView) and defer the transaction until the parent frame.
SurfaceView is hooked up to use this for movement. This is still
'racy' in the hardware accelerated case as the render thread
could be on either side of dequeing the frame we are working on.

Change-Id: Ic33915043380ab8cd9eb4920e224b35234ed867d

8 years agoMerge "Move position of bundle parceling for PA extras."
Tyler Gunn [Thu, 15 Oct 2015 22:20:15 +0000 (22:20 +0000)]
Merge "Move position of bundle parceling for PA extras."

8 years agoAdd UM.isSameProfileGroup()
Xiaohui Chen [Wed, 14 Oct 2015 22:47:04 +0000 (15:47 -0700)]
Add UM.isSameProfileGroup()

This optimizes the performance to check if two users are in the same
profile group.

Change-Id: I493a3475b848487836f4dbe01529c63165ace483

8 years agoFix issue #24571425: Device does not come out of idle mode for maintenance
Dianne Hackborn [Thu, 15 Oct 2015 21:51:06 +0000 (14:51 -0700)]
Fix issue #24571425: Device does not come out of idle mode for maintenance

Don't allow alarms to push the idle maintenance alarm later
than it was set for.

Change-Id: I947718ffc9d2b984a793d7e4f2d027d8ddeee41b

8 years agoAdd 'until next alarm' option to QS zen panel.
Julia Reynolds [Thu, 1 Oct 2015 18:34:22 +0000 (14:34 -0400)]
Add 'until next alarm' option to QS zen panel.

Unlike the implementation in LMR1, this is a countdown condition
(a countdown until the time of what was the next alarm when the
rule was created). The rule will not change if alarms change.
Also, alarms up to 7 days in the future will be considered.

Bug: 21648799
Change-Id: Id7fa9dbdbad1539e4da19b1d0e0c4395bb13e6cb
(cherry picked from commit 0842fe87b27b9e4a7aecfec25b93dba2d39f398a)

8 years agoAdd UserHandle.isSystem() api
Xiaohui Chen [Mon, 12 Oct 2015 22:56:25 +0000 (15:56 -0700)]
Add UserHandle.isSystem() api

This is added in order to deprecate the isOwner() api.

Bug: 24869636
Change-Id: I80a7a5559525faf261b9d9c7a8593e6ff5db4b22