OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "AAPT2: Prevent duplicate enums/flags"
Adam Lesinski [Tue, 17 Nov 2015 00:00:48 +0000 (00:00 +0000)]
Merge "AAPT2: Prevent duplicate enums/flags"

8 years agoAAPT2: Prevent duplicate enums/flags
Adam Lesinski [Mon, 16 Nov 2015 23:59:10 +0000 (15:59 -0800)]
AAPT2: Prevent duplicate enums/flags

Change-Id: I998cba12ac194000e9c778cb620ed7ab33003e7d

8 years agoMerge "Crop window input region to stack bounds."
Wale Ogunwale [Mon, 16 Nov 2015 23:45:13 +0000 (23:45 +0000)]
Merge "Crop window input region to stack bounds."

8 years agoMerge "AAPT2: Fix tokenizer to deal with the separator as last char"
Adam Lesinski [Mon, 16 Nov 2015 23:44:49 +0000 (23:44 +0000)]
Merge "AAPT2: Fix tokenizer to deal with the separator as last char"

8 years agoAAPT2: Fix tokenizer to deal with the separator as last char
Adam Lesinski [Mon, 16 Nov 2015 23:37:30 +0000 (15:37 -0800)]
AAPT2: Fix tokenizer to deal with the separator as last char

When the separator was the last character, the tokenizer would skip
the empty string, which is wrong.

Change-Id: I64ceb4e8d4ac48ee41d40781ab5785a3bc61b24d

8 years agoMerge "AAPT2: Fix a bug where files would only show up for one config"
Adam Lesinski [Mon, 16 Nov 2015 23:41:25 +0000 (23:41 +0000)]
Merge "AAPT2: Fix a bug where files would only show up for one config"

8 years agoMerge "fix ApplicationInfo flag collision"
Jeffrey Vander Stoep [Mon, 16 Nov 2015 23:33:53 +0000 (23:33 +0000)]
Merge "fix ApplicationInfo flag collision"

8 years agoPrepare for adding MtpDocumentsProvider tests to APCT.
Daichi Hirono [Thu, 12 Nov 2015 03:12:48 +0000 (12:12 +0900)]
Prepare for adding MtpDocumentsProvider tests to APCT.

BUG=25093356

Change-Id: I0c194e6bf3abeb632171e9be49471b9d94a0cb4c

8 years agofix ApplicationInfo flag collision
Jeff Vander Stoep [Mon, 16 Nov 2015 23:23:38 +0000 (15:23 -0800)]
fix ApplicationInfo flag collision

Give PRIVATE_FLAG_AUTOPLAY unique value

Bug: 25726468
Change-Id: I1dabe26eb4c72004ebd7e33252240e10c15c9159

8 years agoMerge "Set-up dummy animation when setting a replacing window token"
Wale Ogunwale [Mon, 16 Nov 2015 23:16:07 +0000 (23:16 +0000)]
Merge "Set-up dummy animation when setting a replacing window token"

8 years agoAAPT2: Fix a bug where files would only show up for one config
Adam Lesinski [Mon, 16 Nov 2015 23:07:54 +0000 (15:07 -0800)]
AAPT2: Fix a bug where files would only show up for one config

The set of files to build was only comparing resource name and
not configuration.

Also support --extra-packages as a colon separated list of packages.

Change-Id: I36b65cd15299cdc722b785a7891a24ca1bc4fb45

8 years agoMerge "Finish shadow support in new reorderer/renderer"
Chris Craik [Mon, 16 Nov 2015 23:08:48 +0000 (23:08 +0000)]
Merge "Finish shadow support in new reorderer/renderer"

8 years agoCrop window input region to stack bounds.
Wale Ogunwale [Mon, 16 Nov 2015 22:27:21 +0000 (14:27 -0800)]
Crop window input region to stack bounds.

Prevents the input region of a window from extending outside
the stack bounds. For example, if you have a non-sizeable
activity in docked mode you don't want the app getting touchs
when you tap on the side occupied by the other app.

Bug: 25710884
Change-Id: I044b4e87448fbd3eb51822e6d71e8ed8d06f55ec

8 years agoMerge "Clean up PopupMenu"
Alan Viverette [Mon, 16 Nov 2015 22:24:29 +0000 (22:24 +0000)]
Merge "Clean up PopupMenu"

8 years agoMerge "Clean up TimePicker"
Alan Viverette [Mon, 16 Nov 2015 22:24:12 +0000 (22:24 +0000)]
Merge "Clean up TimePicker"

8 years agoClean up PopupMenu
Alan Viverette [Mon, 16 Nov 2015 21:55:58 +0000 (16:55 -0500)]
Clean up PopupMenu

No functional changes, only refactoring:
- remove unused mShowCascadingMenus member variable
- move private interface implementations to anonymous inner classes
- move interfaces to end of class
- clean up docs formatting

Change-Id: Ib82ca0d3a3ff49207959a17b77c4ff4f11a1afc2

8 years agoMerge "Show "select a printer" as "destination" the first the the user prints"
Philip P. Moltmann [Mon, 16 Nov 2015 21:43:22 +0000 (21:43 +0000)]
Merge "Show "select a printer" as "destination" the first the the user prints"

8 years agoMerge "AAPT2: Be more strict parsing references"
Adam Lesinski [Mon, 16 Nov 2015 21:36:54 +0000 (21:36 +0000)]
Merge "AAPT2: Be more strict parsing references"

8 years agoMerge "AAPT2: Minor fixes to SymbolTable and diagnostic output"
Adam Lesinski [Mon, 16 Nov 2015 21:36:14 +0000 (21:36 +0000)]
Merge "AAPT2: Minor fixes to SymbolTable and diagnostic output"

8 years agoClean up TimePicker
Alan Viverette [Mon, 16 Nov 2015 21:10:56 +0000 (16:10 -0500)]
Clean up TimePicker

No functional changes, only refactoring:
- shorten method and variable names
- remove unused validation callback
- avoid using return in setters

Change-Id: Ie7c19cfe3c5cb515695f943c534899d37ad032bb

8 years agoSet-up dummy animation when setting a replacing window token
Wale Ogunwale [Mon, 16 Nov 2015 21:01:41 +0000 (13:01 -0800)]
Set-up dummy animation when setting a replacing window token

Set-up dummy animation so we can start treating windows associated
with the replacing app token like they are in transition before the
new app window is ready for us to run the real transition animation.
This allows us to make the right decisions at various call points
where an animation is expected to be running for a replacing window
but the real animation isn't set yet.

Also, removed unused field indicating if an app token is animating
a replacement window since it was always set to true and checked/set
to the same value as AppWindowToken.mWillReplaceWindow.

Bug: 25645069
Change-Id: Ie216ed5bd60fb2a15da61c7050c9344c48b1c5fb

8 years agoCamera: Minor documentation update am: 0b6e1bfae8 am: 0691d16759 am: 062c629e5c am...
Eino-Ville Talvala [Mon, 16 Nov 2015 20:59:58 +0000 (20:59 +0000)]
Camera: Minor documentation update am: 0b6e1bfae8 am: 0691d16759 am: 062c629e5c am: 784f0f15a9 am: c24b39e0c0 am: 579cc90e61
am: e1cbe99e5f

* commit 'e1cbe99e5ff222f5d017af83466793209e668ed7':
  Camera: Minor documentation update

8 years agoMerge "Reduce excessive locking in UserManager"
Fyodor Kupolov [Mon, 16 Nov 2015 20:52:05 +0000 (20:52 +0000)]
Merge "Reduce excessive locking in UserManager"

8 years agoCamera: Minor documentation update am: 0b6e1bfae8 am: 0691d16759 am: 062c629e5c am...
Eino-Ville Talvala [Mon, 16 Nov 2015 20:51:32 +0000 (20:51 +0000)]
Camera: Minor documentation update am: 0b6e1bfae8 am: 0691d16759 am: 062c629e5c am: 784f0f15a9 am: c24b39e0c0
am: 579cc90e61

* commit '579cc90e61598c57a8225cbea4bfe035e5e1963c':
  Camera: Minor documentation update

8 years agoCamera: Minor documentation update am: 0b6e1bfae8 am: 0691d16759 am: 062c629e5c am...
Eino-Ville Talvala [Mon, 16 Nov 2015 20:44:44 +0000 (20:44 +0000)]
Camera: Minor documentation update am: 0b6e1bfae8 am: 0691d16759 am: 062c629e5c am: 784f0f15a9
am: c24b39e0c0

* commit 'c24b39e0c0f760ac6a53d4fbbf1ed1885fd64529':
  Camera: Minor documentation update

8 years agoMerge "Extensions must load in ctor"
John Reck [Mon, 16 Nov 2015 20:36:01 +0000 (20:36 +0000)]
Merge "Extensions must load in ctor"

8 years agoCamera: Minor documentation update am: 0b6e1bfae8 am: 0691d16759 am: 062c629e5c
Eino-Ville Talvala [Mon, 16 Nov 2015 20:35:48 +0000 (20:35 +0000)]
Camera: Minor documentation update am: 0b6e1bfae8 am: 0691d16759 am: 062c629e5c
am: 784f0f15a9

* commit '784f0f15a9a2026ee1acd57f9fca4e3dff28c090':
  Camera: Minor documentation update

8 years agoAAPT2: Be more strict parsing references
Adam Lesinski [Mon, 16 Nov 2015 20:31:52 +0000 (12:31 -0800)]
AAPT2: Be more strict parsing references

Change-Id: I3d54a519687fff1e66acb8e395ef99ba01a1b845

8 years agoCamera: Minor documentation update am: 0b6e1bfae8 am: 0691d16759
Eino-Ville Talvala [Mon, 16 Nov 2015 20:27:03 +0000 (20:27 +0000)]
Camera: Minor documentation update am: 0b6e1bfae8 am: 0691d16759
am: 062c629e5c

* commit '062c629e5c6270da232bbd2800966ab5dc6c615f':
  Camera: Minor documentation update

8 years agoCamera: Minor documentation update am: 0b6e1bfae8
Eino-Ville Talvala [Mon, 16 Nov 2015 20:16:45 +0000 (20:16 +0000)]
Camera: Minor documentation update am: 0b6e1bfae8
am: 0691d16759

* commit '0691d16759bf58a93209d4ab156e96f96fed7092':
  Camera: Minor documentation update

8 years agoMerge "Switch add icons to the default menu add icon"
Philip P. Moltmann [Mon, 16 Nov 2015 20:16:23 +0000 (20:16 +0000)]
Merge "Switch add icons to the default menu add icon"

8 years agoShow "select a printer" as "destination" the first the the user prints
Philip P. Moltmann [Fri, 13 Nov 2015 23:33:40 +0000 (15:33 -0800)]
Show "select a printer" as "destination" the first the the user prints

The Spinner does not support a prompt, hence temporarily hijack the
first element and install an alternate view. Once the Spinner is touched
revert to the old behavior.

If we showed a prompt the views in the spinner cannot be recycled.

Bug: 24132864
Change-Id: Iaf97878f85388a8c6351e716117b16f34919ad84

8 years agoRemove unnecessary DisplayContent.mDisplaySizeLock synchronization.
Filip Gruszczynski [Fri, 13 Nov 2015 03:08:20 +0000 (19:08 -0800)]
Remove unnecessary DisplayContent.mDisplaySizeLock synchronization.

All operations are performed with WindowManagerService.mWindowMap lock
held, therefore the second lock is not necessary.

Change-Id: I762fb322ddeb8b45191a3d297de0d33a10674f8a

8 years agoCamera: Minor documentation update
Eino-Ville Talvala [Mon, 16 Nov 2015 20:07:02 +0000 (20:07 +0000)]
Camera: Minor documentation update
am: 0b6e1bfae8

* commit '0b6e1bfae848b7b177bba9c8119ad44cdc05684a':
  Camera: Minor documentation update

8 years agoAAPT2: Minor fixes to SymbolTable and diagnostic output
Adam Lesinski [Mon, 16 Nov 2015 19:59:14 +0000 (11:59 -0800)]
AAPT2: Minor fixes to SymbolTable and diagnostic output

The SymbolTable lookup relied on the configuration, which we NEVER
want. Now we rely solely on the symbols defined in the ResTable
and no specific configuration or value of that symbol.

Also added some better source logging.

Change-Id: I983855c283493e924b2e92a9fd8e4cb841769349

8 years agoSwitch add icons to the default menu add icon
Philip P. Moltmann [Sat, 14 Nov 2015 01:09:50 +0000 (17:09 -0800)]
Switch add icons to the default menu add icon

Also use the material search icon.

Bug: 22563699
Change-Id: Iff7c6b5cac8a9f0bf282e061d2ed09c4c0fb480a

8 years agoMerge "Add test size annotations to docsui tests."
Steve McKay [Mon, 16 Nov 2015 19:47:53 +0000 (19:47 +0000)]
Merge "Add test size annotations to docsui tests."

8 years agoMerge "pm: selinux support for AutoPlay apps"
Jeffrey Vander Stoep [Mon, 16 Nov 2015 19:38:33 +0000 (19:38 +0000)]
Merge "pm: selinux support for AutoPlay apps"

8 years agoLog errno when dup fd cannot be allocated BUG: 25165471 am: 211abad3b9 am: b45defae8e...
Erik Wolsheimer [Mon, 16 Nov 2015 19:26:12 +0000 (19:26 +0000)]
Log errno when dup fd cannot be allocated BUG: 25165471 am: 211abad3b9 am: b45defae8e am: 529893f84c am: 7698dd970f
am: ae4ab3501a

* commit 'ae4ab3501a0400940ace2d0bfdf0d7021c740603':
  Log errno when dup fd cannot be allocated BUG: 25165471

8 years agoFinish shadow support in new reorderer/renderer
Chris Craik [Fri, 13 Nov 2015 18:55:30 +0000 (10:55 -0800)]
Finish shadow support in new reorderer/renderer

Now passes alphas and light radius, and correctly transforms light
center for layers.

Also fixes begin-frame/layer clears to be damage rect aware.

Change-Id: I3b1415cd7bf1518c510145ebebdb745f494a2542

8 years agoLog errno when dup fd cannot be allocated BUG: 25165471 am: 211abad3b9 am: b45defae8e...
Erik Wolsheimer [Mon, 16 Nov 2015 19:20:35 +0000 (19:20 +0000)]
Log errno when dup fd cannot be allocated BUG: 25165471 am: 211abad3b9 am: b45defae8e am: 529893f84c
am: 7698dd970f

* commit '7698dd970fbfb81fcdc700827c1620440c6e81a1':
  Log errno when dup fd cannot be allocated BUG: 25165471

8 years agoLog errno when dup fd cannot be allocated BUG: 25165471 am: 211abad3b9 am: b45defae8e
Erik Wolsheimer [Mon, 16 Nov 2015 19:12:17 +0000 (19:12 +0000)]
Log errno when dup fd cannot be allocated BUG: 25165471 am: 211abad3b9 am: b45defae8e
am: 529893f84c

* commit '529893f84cc62893ad6111816954b0bc7c829cee':
  Log errno when dup fd cannot be allocated BUG: 25165471

8 years agoLog errno when dup fd cannot be allocated BUG: 25165471 am: 211abad3b9
Erik Wolsheimer [Mon, 16 Nov 2015 19:03:52 +0000 (19:03 +0000)]
Log errno when dup fd cannot be allocated BUG: 25165471 am: 211abad3b9
am: b45defae8e

* commit 'b45defae8e61a4fa3aba9dd08480861d10f5982a':
  Log errno when dup fd cannot be allocated BUG: 25165471

8 years agoLog errno when dup fd cannot be allocated BUG: 25165471
Erik Wolsheimer [Mon, 16 Nov 2015 18:55:29 +0000 (18:55 +0000)]
Log errno when dup fd cannot be allocated BUG: 25165471
am: 211abad3b9

* commit '211abad3b92b70dd094949c79f67e686c940fa0c':
  Log errno when dup fd cannot be allocated BUG: 25165471

8 years agoMerge "Fixed a crash with the heads up manager"
Selim Cinek [Mon, 16 Nov 2015 18:52:32 +0000 (18:52 +0000)]
Merge "Fixed a crash with the heads up manager"

8 years agoMerge "Fixed error in GroupManager"
Selim Cinek [Mon, 16 Nov 2015 18:46:33 +0000 (18:46 +0000)]
Merge "Fixed error in GroupManager"

8 years agoMerge "Fixed a bug where a notification could get removed"
Selim Cinek [Mon, 16 Nov 2015 18:44:56 +0000 (18:44 +0000)]
Merge "Fixed a bug where a notification could get removed"

8 years agoMerge "Allow clicking fullscreen intent notifications now"
Selim Cinek [Mon, 16 Nov 2015 18:43:33 +0000 (18:43 +0000)]
Merge "Allow clicking fullscreen intent notifications now"

8 years agoExtensions must load in ctor
John Reck [Mon, 16 Nov 2015 18:40:31 +0000 (10:40 -0800)]
Extensions must load in ctor

Because Caches is terrible

Change-Id: I91e2442d97664759ee2c7602eb7172f009b20d53

8 years agoLog errno when dup fd cannot be allocated
Erik Wolsheimer [Fri, 13 Nov 2015 19:54:47 +0000 (11:54 -0800)]
Log errno when dup fd cannot be allocated
BUG: 25165471

Change-Id: I7342e2b4c566325fc2e15643a7c7b6ba989ee8c7

8 years agoMerge "Move some methods to DeviceInfoUtils in SettingsLib"
Tony Mantler [Mon, 16 Nov 2015 18:12:51 +0000 (18:12 +0000)]
Merge "Move some methods to DeviceInfoUtils in SettingsLib"

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr2-dev am: 812794f0f5 -s ours
Geoff Mendal [Mon, 16 Nov 2015 17:50:57 +0000 (17:50 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev am: 812794f0f5  -s ours
am: f39bb92f5a  -s ours

* commit 'f39bb92f5a90b9d3e2e958535c16eee5a7aacd97':
  Import translations. DO NOT MERGE

8 years agoMerge "Clean up usage of temporary TypedValue in Resources"
Alan Viverette [Mon, 16 Nov 2015 17:46:58 +0000 (17:46 +0000)]
Merge "Clean up usage of temporary TypedValue in Resources"

8 years agoMove some methods to DeviceInfoUtils in SettingsLib
Tony Mantler [Tue, 10 Nov 2015 18:40:14 +0000 (10:40 -0800)]
Move some methods to DeviceInfoUtils in SettingsLib

Change-Id: I646c89c2803e4386a4b24f10ec186871768e7239

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr2-dev
Geoff Mendal [Mon, 16 Nov 2015 17:44:03 +0000 (17:44 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev
am: 812794f0f5  -s ours

* commit '812794f0f5dfba607bcdd648611317df10ca0d49':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr2-dev
Geoff Mendal [Mon, 16 Nov 2015 17:39:29 +0000 (17:39 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: f34cefdc2d -s ours...
Geoff Mendal [Mon, 16 Nov 2015 17:37:07 +0000 (17:37 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: f34cefdc2d  -s ours am: ee144ce3ba  -s ours
am: 62f520fc88  -s ours

* commit '62f520fc8872fed4b5289afdd9ab94141711e73a':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 16 Nov 2015 17:31:23 +0000 (18:31 +0100)]
Import translations. DO NOT MERGE

Change-Id: Ie5a78ca8aadcfd06937b3c917e9d7c99cdc1da0c
Auto-generated-cl: translation import

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: f34cefdc2d -s ours
Geoff Mendal [Mon, 16 Nov 2015 17:29:04 +0000 (17:29 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev am: f34cefdc2d  -s ours
am: ee144ce3ba  -s ours

* commit 'ee144ce3baec585e19da454de95d05ed0f1a0bcf':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev
Geoff Mendal [Mon, 16 Nov 2015 17:22:23 +0000 (17:22 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev
am: f34cefdc2d  -s ours

* commit 'f34cefdc2d7d2e1b702a5af8f31bdebba455f81d':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev
Geoff Mendal [Mon, 16 Nov 2015 17:17:31 +0000 (17:17 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr1.5-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 16 Nov 2015 17:16:28 +0000 (18:16 +0100)]
Import translations. DO NOT MERGE

Change-Id: I1d71c3b6382fb097a4c33f0210138537b48215f0
Auto-generated-cl: translation import

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 16 Nov 2015 17:04:31 +0000 (17:04 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 16 Nov 2015 17:01:32 +0000 (18:01 +0100)]
Import translations. DO NOT MERGE

Change-Id: Ieb29e82bd8fe81930b730e3334f59d496dfd785c
Auto-generated-cl: translation import

8 years agoMerge "Split ActivityStack.ensureActivitiesVisibleLocked."
Filip Gruszczynski [Mon, 16 Nov 2015 16:58:13 +0000 (16:58 +0000)]
Merge "Split ActivityStack.ensureActivitiesVisibleLocked."

8 years agoMerge "Revert "jni: is loggable speedup, not within signal""
Mark Salyzyn [Mon, 16 Nov 2015 16:30:42 +0000 (16:30 +0000)]
Merge "Revert "jni: is loggable speedup, not within signal""

8 years agoRevert "jni: is loggable speedup, not within signal"
Mark Salyzyn [Mon, 16 Nov 2015 16:24:52 +0000 (16:24 +0000)]
Revert "jni: is loggable speedup, not within signal"

(cherry pick of commit 421d434818aae0977b5b044dd88555a2261efac1)

This reverts commit c954fde0b6e31ec99509faf0bbc33c4c9e4d012a.

Bug: 25693940
Change-Id: I568051aad39e215d677318cd5758962e562187ef

8 years agoMerge "Obtain cached drawables using the correct Resources object"
Alan Viverette [Mon, 16 Nov 2015 15:22:19 +0000 (15:22 +0000)]
Merge "Obtain cached drawables using the correct Resources object"

8 years agoClean up usage of temporary TypedValue in Resources
Alan Viverette [Mon, 16 Nov 2015 15:19:12 +0000 (10:19 -0500)]
Clean up usage of temporary TypedValue in Resources

Reduces the amount of time that a lock is held and reduces the scope of
the lock to only manage the temporary TypedValue. Also ensures that the
typed value is consistently returned to the (single item) pool.

Additionally, performs some refactoring:
- removes unused variables and constants
- moves the NotFoundException cause into the constructor for consistency
  with other Exceptions
- inlines sPreloadedDensity which was not used anywhere
- fixes line wrapping and indentation in nearby code

Aside from improvements to locking, there are no functional changes in
this CL.

Change-Id: I8c3059261e3cc2288a086e6637ab946e0b7d3741

Clean up usage of temporary TypedValue in Resources

Reduces the amount of time that a lock is held and reduces the scope of
the lock to only manage the temporary TypedValue. Also ensures that the
typed value is consistently returned to the (single item) pool.

Additionally, performs some refactoring:
- removes unused variables and constants
- moves the NotFoundException cause into the constructor for consistency
  with other Exceptions
- inlines sPreloadedDensity which was not used anywhere
- fixes line wrapping and indentation in nearby code

Aside from improvements to locking, there are no functional changes in
this CL.

Change-Id: I8c3059261e3cc2288a086e6637ab946e0b7d3741

8 years agoObtain cached drawables using the correct Resources object
Alan Viverette [Fri, 13 Nov 2015 22:04:43 +0000 (17:04 -0500)]
Obtain cached drawables using the correct Resources object

Previously we were discarding the Resources when forwarding from the
two-arg factory method to the one-arg method. This CL also updates the
documentation for ConstantState to be slightly more comprehensive.

Bug: 25688078
Change-Id: I4fbbf43f95fe792fa6f0bf9db8fd9a7cbfa51d1d

8 years agoImport translations. DO NOT MERGE am: 83d65fea01 -s ours am: a6c50551cd -s ours...
Geoff Mendal [Mon, 16 Nov 2015 14:42:00 +0000 (14:42 +0000)]
Import translations. DO NOT MERGE am: 83d65fea01  -s ours am: a6c50551cd  -s ours am: 4510d17575  -s ours am: fb17593356  -s ours
am: b781c9593f  -s ours

* commit 'b781c9593f1ccf0dba818a52285c531669d06bf8':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE am: 83d65fea01 -s ours am: a6c50551cd -s ours...
Geoff Mendal [Mon, 16 Nov 2015 14:26:51 +0000 (14:26 +0000)]
Import translations. DO NOT MERGE am: 83d65fea01  -s ours am: a6c50551cd  -s ours am: 4510d17575  -s ours
am: fb17593356  -s ours

* commit 'fb175933566d5869e4d069334abec82f67665083':
  Import translations. DO NOT MERGE

8 years agoMerge "Take out nested synchronisation from LockdownVpn"
Robin Lee [Mon, 16 Nov 2015 14:22:54 +0000 (14:22 +0000)]
Merge "Take out nested synchronisation from LockdownVpn"

8 years agoImport translations. DO NOT MERGE am: 83d65fea01 -s ours am: a6c50551cd -s ours
Geoff Mendal [Mon, 16 Nov 2015 14:10:31 +0000 (14:10 +0000)]
Import translations. DO NOT MERGE am: 83d65fea01  -s ours am: a6c50551cd  -s ours
am: 4510d17575  -s ours

* commit '4510d175753dc4439411b19963cb4bd8bde2c2f4':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE am: 83d65fea01 -s ours
Geoff Mendal [Mon, 16 Nov 2015 13:54:50 +0000 (13:54 +0000)]
Import translations. DO NOT MERGE am: 83d65fea01  -s ours
am: a6c50551cd  -s ours

* commit 'a6c50551cdcbb70d5d65dbfe68c23e74eea245d9':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 16 Nov 2015 13:38:58 +0000 (13:38 +0000)]
Import translations. DO NOT MERGE
am: 83d65fea01  -s ours

* commit '83d65fea01c4233c80161acdd69b64fa559c3749':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 16 Nov 2015 13:35:10 +0000 (13:35 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 16 Nov 2015 13:34:04 +0000 (05:34 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ifa6072a51df82cd0f473908393b500ff8a0d5ec0
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 16 Nov 2015 13:31:02 +0000 (05:31 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ib120f1b756f35c5e144e4b35a2eae6445ccdced3
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 16 Nov 2015 13:18:40 +0000 (14:18 +0100)]
Import translations. DO NOT MERGE

Change-Id: Ia050e5148fdf971a3beb18147fd6350fc0984e04
Auto-generated-cl: translation import

8 years agoMerge "Start to use MtpDatabase in RootScanner."
Daichi Hirono [Mon, 16 Nov 2015 09:07:51 +0000 (09:07 +0000)]
Merge "Start to use MtpDatabase in RootScanner."

8 years agoStart to use MtpDatabase in RootScanner.
Daichi Hirono [Fri, 13 Nov 2015 06:42:28 +0000 (15:42 +0900)]
Start to use MtpDatabase in RootScanner.

Change-Id: Id99cb61ad8680529b5ee502ca5bb2b3cdd143235

8 years agoMerge "Prevent NPE in MediaSessionService"
Sungsoo Lim [Mon, 16 Nov 2015 08:10:27 +0000 (08:10 +0000)]
Merge "Prevent NPE in MediaSessionService"

8 years agoMediaBrowser: Handle null results properly in onLoadChildren
Sungsoo Lim [Tue, 10 Nov 2015 06:19:56 +0000 (15:19 +0900)]
MediaBrowser: Handle null results properly in onLoadChildren

Bug: 19127753
Change-Id: I7ddad87e5ec6338a74c340485fed583107709acf

8 years agoPrevent NPE in MediaSessionService
Sungsoo Lim [Mon, 16 Nov 2015 05:00:52 +0000 (14:00 +0900)]
Prevent NPE in MediaSessionService

Guard against null UserRecord when dispatching a media key event.

Bug: 22966229
Change-Id: I32f4f87e06d8af13b94bb8f28180a66517c23c33

8 years agoSplit ActivityStack.ensureActivitiesVisibleLocked.
Filip Gruszczynski [Sat, 14 Nov 2015 00:42:05 +0000 (16:42 -0800)]
Split ActivityStack.ensureActivitiesVisibleLocked.

Change-Id: I027b52f76c868bf7b0a04efcca965e812bf3d35c

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Sat, 14 Nov 2015 14:08:16 +0000 (06:08 -0800)]
Import translations. DO NOT MERGE

Change-Id: I1378e54201336a2458b2cf4f8f2982922e8e6ac5
Auto-generated-cl: translation import

8 years agoMerge "Fix bug where mExtensions was not initialized."
Christopher Ferris [Sat, 14 Nov 2015 07:14:45 +0000 (07:14 +0000)]
Merge "Fix bug where mExtensions was not initialized."

8 years agoMerge "Mechanical code clean-ups in MSG_UNBIND handler."
Yohei Yukawa [Sat, 14 Nov 2015 06:38:59 +0000 (06:38 +0000)]
Merge "Mechanical code clean-ups in MSG_UNBIND handler."

8 years agoFix bug where mExtensions was not initialized.
Christopher Ferris [Sat, 14 Nov 2015 02:15:26 +0000 (18:15 -0800)]
Fix bug where mExtensions was not initialized.

Recent changes to mExtensions moved the initialization code from the
constructor to a separate function called load. Make sure to call
this function in the initExtensions function call.

Bug: 25615666

Change-Id: Ic016232c42afefd3b5bc3e4bd5c8428a11c454ad

8 years agoMechanical code clean-ups in MSG_UNBIND handler.
Yohei Yukawa [Sat, 14 Nov 2015 02:36:21 +0000 (18:36 -0800)]
Mechanical code clean-ups in MSG_UNBIND handler.

As a preparation to fix Bug 25373872, this CL does a mechanical
code clean-ups.  Literally there is no behavior change.

Bug: 24504456
Change-Id: I6e3062bda17e748a3c5f1450d6752239dd260520

8 years agoMerge "Notify client of surface size change if it's changed from last relayout"
Chong Zhang [Sat, 14 Nov 2015 00:25:35 +0000 (00:25 +0000)]
Merge "Notify client of surface size change if it's changed from last relayout"

8 years agoNotify client of surface size change if it's changed from last relayout
Chong Zhang [Fri, 13 Nov 2015 23:40:36 +0000 (15:40 -0800)]
Notify client of surface size change if it's changed from last relayout

Not just when it's changed during this relayout.

bug: 25596610

Also add the delayed surface to removal list regardless of the show
result, it won't be destroyed until window is ready to show but we
need to add it to the list first.

bug: 25666160

Change-Id: I6fceada1bdc1de0a5b5a4d6dc261957164817330

8 years agoMerge "Add error check for float parsing and fix tests"
Chris Craik [Sat, 14 Nov 2015 00:00:05 +0000 (00:00 +0000)]
Merge "Add error check for float parsing and fix tests"

8 years agoAdd error check for float parsing and fix tests
Doris Liu [Thu, 12 Nov 2015 23:57:45 +0000 (15:57 -0800)]
Add error check for float parsing and fix tests

Change-Id: Ia4f4863d415536b3796edbcdb83c951b6cff02cf

8 years agoCamera: Minor documentation update
Eino-Ville Talvala [Mon, 9 Nov 2015 02:27:20 +0000 (18:27 -0800)]
Camera: Minor documentation update

 - Further clarify hardware.camera feature being only for the back camera

Bug: 24540625
Change-Id: I7a698740475aa4932648c8f62aab81d5f9341030

8 years agoMerge "Re-enable wifi firmware debugging"
Vinit Deshpande [Fri, 13 Nov 2015 23:22:40 +0000 (23:22 +0000)]
Merge "Re-enable wifi firmware debugging"

8 years agoReduce excessive locking in UserManager
Fyodor Kupolov [Sat, 7 Nov 2015 02:21:39 +0000 (18:21 -0800)]
Reduce excessive locking in UserManager

Bug: 24979571
Change-Id: I1cfbe48712ae26ec134354d109d2538d566b92d7

8 years agoEnsuring that fast-alt tab works from Home as well as other apps.
Winson [Thu, 12 Nov 2015 17:32:10 +0000 (09:32 -0800)]
Ensuring that fast-alt tab works from Home as well as other apps.

Change-Id: Ie4a6e95e790483c283d4257b15cf1b7dd315db28

8 years agoMerge "Fixed bug where stack crop wasn't applied when it should"
Wale Ogunwale [Fri, 13 Nov 2015 22:45:42 +0000 (22:45 +0000)]
Merge "Fixed bug where stack crop wasn't applied when it should"