Commit Graph

8016 Commits

Author SHA1 Message Date
Jeff Sharkey
a823c4e271 Merge "Support direct-boot tests." into nyc-dev am: 7d718bb
am: 7fc8b9c

* commit '7fc8b9ce48a74011befdaf3be15a2cc952398433':
  Support direct-boot tests.

Change-Id: I946f2a960ab0cfb0f56477a3d5e6da07d17aa5bd
2016-04-03 04:09:43 +00:00
Jeff Sharkey
7fc8b9ce48 Merge "Support direct-boot tests." into nyc-dev
am: 7d718bb

* commit '7d718bb252fe2bdee0c9c728a1e6e4892deb8ac7':
  Support direct-boot tests.

Change-Id: I65205c39260d68130de4787eb2be724006ff8a66
2016-04-03 04:07:02 +00:00
Jeff Sharkey
7d718bb252 Merge "Support direct-boot tests." into nyc-dev 2016-04-03 03:59:23 +00:00
Jeff Sharkey
b5e89c6deb Support direct-boot tests.
Add shell commands to check on current FBE status and system ready
status.  Mark variables without first-class locking as volatile.

Fix bug where UI automation would crash while device was locked by
marking it as forced direct-boot aware.

Bug: 26498834
Change-Id: Ib4dfb9350925e5413f93a09baacf84c62f2ba0ea
2016-04-02 19:31:19 -06:00
Adam Powell
029fd30188 Merge "Don\'t performPendingDeferredStart on fragments that aren\'t added" into nyc-dev am: 7af7e3d
am: eeb25cb

* commit 'eeb25cb544390bc3814481b84196d1b9b1c12e4f':
  Don't performPendingDeferredStart on fragments that aren't added

Change-Id: Ie4456bae2cc5051259f274cfdcf56a15cffdc875
2016-04-02 01:31:45 +00:00
Adam Powell
eeb25cb544 Merge "Don\'t performPendingDeferredStart on fragments that aren\'t added" into nyc-dev
am: 7af7e3d

* commit '7af7e3d18eeaa5a419192f013253afc23b5f166d':
  Don't performPendingDeferredStart on fragments that aren't added

Change-Id: I0c96bc3b550fbb19358b4694d9a662c85a2e9095
2016-04-02 01:27:09 +00:00
Adam Powell
7af7e3d18e Merge "Don't performPendingDeferredStart on fragments that aren't added" into nyc-dev 2016-04-02 01:09:00 +00:00
George Mount
175cebd77a Merge "Removed improper check on mCalledExitCoordinator." into nyc-dev am: 1747022
am: 5e61e92

* commit '5e61e92f118f6232fd11e4cbbcc6d61ec28c6826':
  Removed improper check on mCalledExitCoordinator.

Change-Id: I2a1c1719f390a0f65787255857f467196352cd8b
2016-04-01 23:23:44 +00:00
George Mount
5e61e92f11 Merge "Removed improper check on mCalledExitCoordinator." into nyc-dev
am: 1747022

* commit '1747022004c55a823d892f78a03952571d7e3c2b':
  Removed improper check on mCalledExitCoordinator.

Change-Id: Idc64dc39fe704e382f598ca6102e452e079c6859
2016-04-01 23:19:10 +00:00
George Mount
1747022004 Merge "Removed improper check on mCalledExitCoordinator." into nyc-dev 2016-04-01 23:06:59 +00:00
Joe LaPenna
cc5bb55a6a Merge "Fix NPE in AlarmManager.cancel(...)" into nyc-dev am: f38aa6b
am: 6a935d1

* commit '6a935d1aa829bd225bb1f40f8c60ee7dcd89b51e':
  Fix NPE in AlarmManager.cancel(...)

Change-Id: I2df6b1a266da854752b4f06aff1850eb6adcc010
2016-04-01 22:39:49 +00:00
Joe LaPenna
6a935d1aa8 Merge "Fix NPE in AlarmManager.cancel(...)" into nyc-dev
am: f38aa6b

* commit 'f38aa6ba2b85e24d8bc08b96a456a01d03d22f5f':
  Fix NPE in AlarmManager.cancel(...)

Change-Id: I6cb099702b9a0681e8f5c939487f3587af73e656
2016-04-01 22:29:34 +00:00
Adam Powell
b963c99c3a Don't performPendingDeferredStart on fragments that aren't added
Framework edition

When setting a user visibility hint on a fragment it was possible to
have a FragmentManager already set due to a transaction being composed
but before the commit, so only checking that we have one isn't
sufficient for determining whether we should perform a pending
deferred start. This could happen easily with ViewPager adapters. Use
isAdded() instead.

Also fix a bug where we could set our internal tracking of fragments
that need a deferred start incorrectly.

Bug 27814550

Change-Id: I3be65728650c48d27a3a9dd4ca15f52006d14ab9
2016-04-01 15:29:04 -07:00
Joe LaPenna
f38aa6ba2b Merge "Fix NPE in AlarmManager.cancel(...)" into nyc-dev 2016-04-01 22:22:46 +00:00
Joe LaPenna
33ee4bf18b Fix NPE in AlarmManager.cancel(...)
If AlarmManager.cancel is called before any component has had a chance
to register an alarm, sWrappers will not have been set, as it is only
initialized in setImpl.

When cancelling an alarm and sWrappers does not exist, log a warning and
return early.

BUG: 27972657
Change-Id: Ied10719ba1d154f97eecfc32f429fd9ce39bf747
2016-04-01 14:07:35 -07:00
Alan Viverette
5fe5ee2a0d Merge "Clean up Dialog annotations, lint warnings, and declarations" into nyc-dev am: f045808
am: b02fc79

* commit 'b02fc79930fb6f0e5da66b7b93efad58bb1b43cd':
  Clean up Dialog annotations, lint warnings, and declarations

Change-Id: I2943f62dbe414818b26f2191c54dfabafcd4da44
2016-04-01 20:31:57 +00:00
Alan Viverette
b02fc79930 Merge "Clean up Dialog annotations, lint warnings, and declarations" into nyc-dev
am: f045808

* commit 'f04580852d387fae556de0250cb18d32169c2cdb':
  Clean up Dialog annotations, lint warnings, and declarations

Change-Id: Ic6de44b10c04ccd5f94e60c6be47166cf64f317e
2016-04-01 20:27:19 +00:00
George Mount
056b7d5403 Removed improper check on mCalledExitCoordinator.
Bug 27969302

mCalledExitCoordinator can be nulled before the onResume is called,
so it cannot be used to determine whether or not the Activity is
a caller or called.

Change-Id: Ie3696ed59b89cfc8c6145d22bc230111f0813701
2016-04-01 13:19:35 -07:00
Alan Viverette
f04580852d Merge "Clean up Dialog annotations, lint warnings, and declarations" into nyc-dev 2016-04-01 20:17:16 +00:00
Adam Lesinski
bc3a1d4138 Merge "ResourcesManager: Fix a cache issue" into nyc-dev am: ce2a399
am: 75babad

* commit '75babad207ca90597be1f6aa1d3df1e82fcc5760':
  ResourcesManager: Fix a cache issue

Change-Id: I98d58cf904359b5323d205b9d96f20addc43e951
2016-04-01 19:09:12 +00:00
Adam Lesinski
75babad207 Merge "ResourcesManager: Fix a cache issue" into nyc-dev
am: ce2a399

* commit 'ce2a3990323433a3278100531ef6e9184497d058':
  ResourcesManager: Fix a cache issue

Change-Id: I6ec0fb190687fb7a421445938f71cc20aa0bf9af
2016-04-01 19:05:10 +00:00
Alan Viverette
48728c2179 Clean up Dialog annotations, lint warnings, and declarations
No functional changes.

Change-Id: If38c9d829d83e762f8c2d05c2fe060c56804b38f
2016-04-01 15:00:10 -04:00
Adam Lesinski
ce2a399032 Merge "ResourcesManager: Fix a cache issue" into nyc-dev 2016-04-01 18:53:22 +00:00
Adam Lesinski
0cd9a7ea3b ResourcesManager: Fix a cache issue
Forgot to cache the creating of ResourcesImpl during an Activity
override config update.

Bug:27644297
Change-Id: I65d9086f6d32f5adc7231aa3a1797d4f00c4b9a9
2016-04-01 11:48:10 -07:00
Alan Viverette
1acd5fe136 Merge "Refactor DatePickerDialog constructors to avoid early callback" into nyc-dev am: 228137f
am: 1174768

* commit '1174768d99492c8f90b7762eba49356ea5d7c9f2':
  Refactor DatePickerDialog constructors to avoid early callback

Change-Id: Ia05088a2995b1bd20de5999628968c1b20df04e0
2016-04-01 18:42:01 +00:00
Alan Viverette
1174768d99 Merge "Refactor DatePickerDialog constructors to avoid early callback" into nyc-dev
am: 228137f

* commit '228137fa269b7e71205174f9d0d9ce91d9a1abfc':
  Refactor DatePickerDialog constructors to avoid early callback

Change-Id: If31e64a6f0a15d60e99c8b7960f906a153a91106
2016-04-01 18:34:39 +00:00
Alan Viverette
228137fa26 Merge "Refactor DatePickerDialog constructors to avoid early callback" into nyc-dev 2016-04-01 18:22:20 +00:00
Alan Viverette
a9a75f506e Refactor DatePickerDialog constructors to avoid early callback
Bug: 27475444
Change-Id: I2536f969ca734f3977163305c1d33ee0e2e222fc
2016-04-01 13:22:10 -04:00
Clara Bayarri
1e9681c51b Merge "Remove unused import for KeyboardShortcutGroup" into nyc-dev am: 032a76f
am: ceeab49

* commit 'ceeab499ac86c16b2b8b53adc713b9796b79961c':
  Remove unused import for KeyboardShortcutGroup

Change-Id: I4119335e332e8c702878a2c734a2d73a9bb19645
2016-04-01 16:31:21 +00:00
Clara Bayarri
ceeab499ac Merge "Remove unused import for KeyboardShortcutGroup" into nyc-dev
am: 032a76f

* commit '032a76f94b457d255ebc0895bc1d8f3c0b6d8e31':
  Remove unused import for KeyboardShortcutGroup

Change-Id: Id69c4c923a3456857d73a2c21a27be962378bd12
2016-04-01 16:27:01 +00:00
Clara Bayarri
032a76f94b Merge "Remove unused import for KeyboardShortcutGroup" into nyc-dev 2016-04-01 16:18:28 +00:00
Kenny Guy
8bd03c9509 Merge "Allow PO to check if it is in a managed profile." into nyc-dev am: fa7b672
am: 5ad78db

* commit '5ad78dbd4c4722ab1e1836183bec08f4f85c2b29':
  Allow PO to check if it is in a managed profile.

Change-Id: I8c198bf17c484fee5407341181a4750f8a17fde9
2016-04-01 14:33:20 +00:00
Kenny Guy
5ad78dbd4c Merge "Allow PO to check if it is in a managed profile." into nyc-dev
am: fa7b672

* commit 'fa7b6723e6fae582bc4948394b06c0f88dc1baa3':
  Allow PO to check if it is in a managed profile.

Change-Id: I3ae227f65db8deb6a2dc622f91807538aa164c4c
2016-04-01 14:29:00 +00:00
Kenny Guy
fa7b6723e6 Merge "Allow PO to check if it is in a managed profile." into nyc-dev 2016-04-01 14:23:51 +00:00
Clara Bayarri
89203de878 Remove unused import for KeyboardShortcutGroup
Left it in accidentally when removing default method.

Change-Id: I6af0712624ffaefff4cb4ad2a9e5a86d7104d2e7
2016-04-01 14:40:34 +01:00
Christopher Tate
6c68a45108 Merge "API review: WallpaperManager" into nyc-dev am: 9c4ec06
am: e6dc55c

* commit 'e6dc55c327cb99e8dede71a25fedd81ac694bd6c':
  API review: WallpaperManager

Change-Id: I7817ac377a000eca4444101ec86b22e65b89148a
2016-03-31 19:37:11 +00:00
Christopher Tate
e6dc55c327 Merge "API review: WallpaperManager" into nyc-dev
am: 9c4ec06

* commit '9c4ec06988642e24f9cf9a0dd79d777526b0a0a6':
  API review: WallpaperManager

Change-Id: If59d4cb7bc609fee139e0874dd70efc451367522
2016-03-31 19:33:49 +00:00
Chris Tate
9c4ec06988 Merge "API review: WallpaperManager" into nyc-dev 2016-03-31 19:24:42 +00:00
Robin Lee
68d91c0a81 Merge "API to approve CA certificates" into nyc-dev am: f1fe782
am: 8d0373c

* commit '8d0373c8fdeabbe90df4d78652cf03c8f9d0fd9f':
  API to approve CA certificates

Change-Id: I86bf99827083c57bde7b14704e942d19ecc94b87
2016-03-31 18:34:38 +00:00
Robin Lee
8d0373c8fd Merge "API to approve CA certificates" into nyc-dev
am: f1fe782

* commit 'f1fe782e912d3feed9cded8fb80b179c4ee5d09c':
  API to approve CA certificates

Change-Id: Ia84876f692a79d159cbfadd5888d73557e111e37
2016-03-31 18:31:32 +00:00
Robin Lee
f1fe782e91 Merge "API to approve CA certificates" into nyc-dev 2016-03-31 18:26:32 +00:00
Joe Onorato
f518af881e Merge "Include process state in association tracking" into nyc-dev am: d0f83b7
am: d1d3cfb1

* commit 'd1d3cfb1b6c150825a350f8354aee53a76506111':
  Include process state in association tracking

Change-Id: I6153f90327964ce67be3010a1026ece4b47d545c
2016-03-31 17:55:12 +00:00
Joe Onorato
d1d3cfb1b6 Merge "Include process state in association tracking" into nyc-dev
am: d0f83b7

* commit 'd0f83b7bcadc6cfa4f39ee99ea96e48591fd6539':
  Include process state in association tracking

Change-Id: Ifff023a305ed76b15966ef30812961f528e9b434
2016-03-31 17:49:18 +00:00
Joe Onorato
d0f83b7bca Merge "Include process state in association tracking" into nyc-dev 2016-03-31 17:09:24 +00:00
Robin Lee
2f7e1e487c API to approve CA certificates
Bug: 18224038
Change-Id: Id928872cd70dac5a5ecfdcd52150fe6dea544e3b
2016-03-31 18:06:44 +01:00
Kenny Guy
ffa3840cf3 Allow PO to check if it is in a managed profile.
Method was @hide because we only intended to add
managed users in a later release, however we added
createAndManageUser which allows it.

Bug: 27261765
Change-Id: I029f8ef35a3065f7fc598b5f854c8d8cdc9c555d
2016-03-31 16:40:57 +01:00
Andrei Stingaceanu
51bc9d8e30 Merge "AfW - suspend apps - API polish" into nyc-dev am: aa60469
am: 4c0fc48

* commit '4c0fc48aa739cb7b908ac48eb7a500abe487fdbd':
  AfW - suspend apps - API polish

Change-Id: I5b244f14d7ceaec9654f10dcdf33a3ab9d7656bc
2016-03-31 15:40:28 +00:00
Andrei Stingaceanu
4c0fc48aa7 Merge "AfW - suspend apps - API polish" into nyc-dev
am: aa60469

* commit 'aa604694450539b4c99901b0714efaa79db3c87d':
  AfW - suspend apps - API polish

Change-Id: I0bbb5d6ddc8f81d70960d179cf5f37f913ccddd8
2016-03-31 15:36:58 +00:00
Andrei Stingaceanu
aa60469445 Merge "AfW - suspend apps - API polish" into nyc-dev 2016-03-31 10:57:58 +00:00
Michal Karpinski
f418f53ca6 Merge "Adjusting javadocs for process logging" into nyc-dev am: 31f59f1
am: 2d884a2

* commit '2d884a207b4dfc46f37acde4765cca987369474f':
  Adjusting javadocs for process logging

Change-Id: Ifa3d018c8eb7a1c0e8012998a98bd4852b33a382
2016-03-31 10:05:40 +00:00